FastChem: A computer program for efficient complex chemical equilibrium calculations in the neutral/ionized gas phase with applications to stellar and planetary atmospheres

J. W. Stock, D. Kitzmann, A. B. C. Patzer, E. Sedlmayr
4/13/2018
astro-ph.EPastro-ph.SR

Official code: NewStrangeWorlds/FastChem (58 stars, C++, GPL-3.0, last commit 2026-11-03).

Abstract

For the calculation of complex neutral/ionized gas phase chemical equilibria, we present a semi-analytical versatile and efficient computer program, called FastChem. The applied method is based on the solution of a system of coupled nonlinear (and linear) algebraic equations, namely the law of mass action and the element conservation equations including charge balance, in many variables.

Show full abstract

Specifically, the system of equations is decomposed into a set of coupled nonlinear equations in one variable each, which are solved analytically whenever feasible to reduce computation time. Notably, the electron density is determined by using the method of Nelder and Mead at low temperatures. The program is written in object-oriented C++ which makes it easy to couple the code with other programs, although a stand-alone version is provided. FastChem can be used in parallel or sequentially and is available under the GNU General Public License version 3 at https://github.com/exoclime/FastChem together with several sample applications. The code has been successfully validated against previous studies and its convergence behavior has been tested even for extreme physical parameter ranges down to 100 K and up to 1000 bar. FastChem converges stable and robust in even most demanding chemical situations, which posed sometimes extreme challenges for previous algorithms.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

An ultra-fast equilibrium chemistry

5826C++, PythonDec 30, 20174 weeks agoGPL-3.0

Similar Papers

Cite this paper

@article{stock2018fastchem,
  title  = {FastChem: A computer program for efficient complex chemical equilibrium calculations in the neutral/ionized gas phase with applications to stellar and planetary atmospheres},
  author = {J. W. Stock and D. Kitzmann and A. B. C. Patzer and E. Sedlmayr},
  year   = {2018},
  eprint = {1804.05010},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1804.05010}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1804.05010.svg)](https://codeofpaper.com/paper/1804.05010)

Discussion