The reactingMixture model describes a single phase mixture that is
defined using individual, possibly reacting species.
Usage🔗
The reactingMixture is set in the top-level thermoType dictionary:
thermoType
{
mixture reactingMixture;
<...>
}
Specie and reaction properties are introduced by the chemistryReader, e.g.
to specify the foamChemistryReader:
chemistryReader foamChemistryReader;
foamChemistryFile <path-to-reactions-file>;
foamChemistryThermoFile "path-to-thermophysical-properties-file";
For example:
chemistryReader foamChemistryReader;
foamChemistryFile "<constant>/reactions";
foamChemistryThermoFile "<constant>/thermo";
The foamChemistryFile contains entries for:
elements (<list-of-elements>);
species (<list-of-species>)
reactions
{
// List of reactions in dictionary format
}
The foamChemistryThermoFile contains descriptions for each specie whose
requirements depend on the top-level thermoType options
detailed earlier.
Initial conditions🔗
See multiComponentMixture initial conditions.
Further information🔗
Source code
Example usage:
- reactingFoam
counterFlowFlame2Dtutorial: $FOAM_TUTORIALS/combustion/reactingFoam/laminar/counterFlowFlame2D
