Chemical Reactions

Enabling the Chemical Reactions solver and specifying model options.

Description

Type

Default

chemistry.solve

Specified name(s) of the chemical reactions types or None to disable the reactions solver.

String

None

The following inputs must be preceded by the “chemistry.” prefix

Description

Type

Default

[reaction0].reaction

Chemical formula for the given reaction. The string given as input must not contain white spaces and the reaction direction has to be specified as ‘–>’ or ‘<–’. Chemical species phases must be defined as ‘(g)’ for the fluid phase or ‘(s)’ for the solid phase.

String

None

chemistry.solve = my_reaction0 my_reaction1

my_reaction0.reaction = Fe2O3(s)+CO(g)-->2.FeO(s)+CO2(g)
my_reaction1.reaction = FeO(s)+0.25O2(g)-->0.5Fe2O3(s)