arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1804.05010astro-ph.EPastro-ph.SR
收藏

FastChem:中性/电离气相有效复杂化学平衡计算的计算机程序及其在恒星和行星大气中的应用

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

摘要:

对于复杂的中性/电离气相化学平衡的计算,我们提出了一个半分析的通用和高效的计算机程序,称为FastChem。所应用的方法是基于多变量耦合非线性(和线性)代数方程组的求解,即质量作用定律和包括电荷平衡在内的元素守恒方程。具体地说,方程组被分解成一组耦合的非线性方程组,每个变量,这是解析求解,只要可行,以减少计算时间。值得注意的是,电子密度是通过使用Nelder和Mead的方法在低温下测定的。该程序是用面向对象的C++编写的,这使得它很容易与其他程序耦合的代码,虽然提供了一个独立的版本。FastChem可以并行使用,也可以顺序使用,在GNU通用公共许可证第3版下,可以在https://github.com/exoclime/FastChem上获得,同时还有几个示例应用程序。该代码已成功地验证了对以前的研究,其收敛行为已被测试,即使是极端的物理参数范围下降到100 K和高达1000巴。FastChem在最苛刻的化学情况下也能稳定和稳健地收敛,这有时会对以前的算法构成极端挑战。

英文摘要:

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. 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑