StandardChemistryModel: Separate the reaction system from the mixture thermodynamics

This allows much greater flexibility in the instantiation of reaction system
which may in general depend on fields other than the thermodynamic state.  This
also simplifies mixture thermodynamics removing the need for the reactingMixture
and the instantiation of all the thermodynamic package combinations depending on
it.
This commit is contained in:
Henry Weller
2019-08-03 15:11:00 +01:00
parent 509133ecbb
commit 05208f64dc
120 changed files with 464 additions and 1180 deletions

View File

@ -37,4 +37,6 @@ odeCoeffs
relTol 0.01;
}
#include "reactions.gas"
// ************************************************************************* //

View File

@ -1,12 +1,3 @@
species
(
CO
CO2
H2
H2O
AIR
);
reactions
{
waterGasShift

View File

@ -1,3 +1,12 @@
species
(
CO
CO2
H2
H2O
AIR
);
CO
{
specie

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type heRhoThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
equationOfState perfectGas;
@ -29,6 +29,5 @@ thermoType
inertSpecie AIR;
#include "thermo.gas"
#include "reactions.gas"
// ************************************************************************* //