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:
@ -37,4 +37,6 @@ odeCoeffs
|
||||
relTol 0.01;
|
||||
}
|
||||
|
||||
#include "reactions.gas"
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -1,12 +1,3 @@
|
||||
species
|
||||
(
|
||||
CO
|
||||
CO2
|
||||
H2
|
||||
H2O
|
||||
AIR
|
||||
);
|
||||
|
||||
reactions
|
||||
{
|
||||
waterGasShift
|
||||
|
||||
@ -1,3 +1,12 @@
|
||||
species
|
||||
(
|
||||
CO
|
||||
CO2
|
||||
H2
|
||||
H2O
|
||||
AIR
|
||||
);
|
||||
|
||||
CO
|
||||
{
|
||||
specie
|
||||
|
||||
@ -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"
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user