OverviewΒΆ
FastChem is an open-source computer program that can calculate the gas phase chemical equilibrium composition as well as equilibrium condensation and rainout of general systems for a given temperature, pressure, and element abundances.
FastChem uses a semi-analytical approach to solve the non-linear system of mass action law equations for the gas-phase calculations, which results in a massive increase in computational performance over other approaches like Gibbs minimisation.
The general concept and the original version 1.0 are described by Stock et al. (2018) (Paper I). Version 1.0, however, is restricted to systems that are dominated by hydrogen and helium and required an additional iteration to account for the pressure of the system. Version 2.0 can be applied to arbitrary element compositions and is described by Stock, Kitzmann & Patzer (2022) (Paper II). Paper III (Kitzmann, Stock & Patzer (2024)) introduced stoichiometric condensates for calculations of equilibrium condensation and rainout to FastChem.
The current version FastChem 4 resolves convergence issues in both gas phase and condensate calculations, uses log-based element densities as primary variables to avoid numerical underflow, and adds a wide range of new elements and chemical species. This allows FastChem to converge at temperatures as low as 1 K (without ions).
Since the ionisation equilibrium becomes numerically meaningless at low temperatures, FastChem by default does not solve for ions below a temperature of 1000 K. In this case, all ions are switched off and the electron density is set to its minimum value. This threshold can be changed or disabled via the internal parameter electronMinTemperature (see Internal parameters).