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,5 +37,6 @@ odeCoeffs
relTol 1e-1;
}
#include "reactions"
// ************************************************************************* //

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type heRhoThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -27,6 +27,5 @@ thermoType
}
#include "speciesThermo"
#include "reactions"
// ************************************************************************* //

View File

@ -37,5 +37,6 @@ odeCoeffs
relTol 1e-1;
}
#include "reactions"
// ************************************************************************* //

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type heRhoThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -27,6 +27,5 @@ thermoType
}
#include "speciesThermo"
#include "reactions"
// ************************************************************************* //

View File

@ -37,5 +37,6 @@ odeCoeffs
relTol 1e-1;
}
#include "reactions"
// ************************************************************************* //

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type heRhoThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -27,6 +27,5 @@ thermoType
}
#include "speciesThermo"
#include "reactions"
// ************************************************************************* //

View File

@ -53,5 +53,6 @@ tabulation
method none;
}
#include "reactions"
// ************************************************************************* //

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type heRhoThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -27,6 +27,5 @@ thermoType
}
#include "speciesThermo"
#include "reactions"
// ************************************************************************* //

View File

@ -37,5 +37,6 @@ odeCoeffs
relTol 1e-1;
}
#include "reactions"
// ************************************************************************* //

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type heRhoThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -27,6 +27,5 @@ thermoType
}
#include "speciesThermo"
#include "reactions"
// ************************************************************************* //

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type hePsiThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
equationOfState perfectGas;

View File

@ -31,4 +31,6 @@ odeCoeffs
eps 0.05;
}
#include "reactions"
// ************************************************************************* //

View File

@ -15,12 +15,6 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
wood
char
);
gaseousSpecies
(
gas

View File

@ -15,6 +15,12 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
wood
char
);
wood
{
specie

View File

@ -17,7 +17,7 @@ FoamFile
thermoType
{
type heSolidThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport constIso;
thermo hConst;
equationOfState rhoConst;
@ -56,6 +56,5 @@ gas
}
#include "thermo.solid"
#include "reactions"
// ************************************************************************* //

View File

@ -15,15 +15,6 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
O2
H2O
C3H8
CO2
N2
);
reactions
{
propaneReaction
@ -33,5 +24,4 @@ reactions
}
}
// ************************************************************************* //

View File

@ -15,6 +15,15 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
O2
H2O
C3H8
CO2
N2
);
O2
{
specie

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type hePsiThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -30,9 +30,6 @@ inertSpecie N2;
fuel C3H8;
#include "reactions"
#include "thermo.compressibleGas"
liquids
@ -45,4 +42,6 @@ solids
{
}
#include "reactions"
// ************************************************************************* //

View File

@ -32,5 +32,6 @@ odeCoeffs
relTol 0.01;
}
#include "reactions"
// ************************************************************************* //

View File

@ -15,12 +15,6 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
wood
char
);
gaseousSpecies
(
gas

View File

@ -15,6 +15,12 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
wood
char
);
wood
{
specie

View File

@ -17,7 +17,7 @@ FoamFile
thermoType
{
type heSolidThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport constIso;
thermo hConst;
equationOfState rhoConst;
@ -57,6 +57,5 @@ gas
}
#include "thermo.solid"
#include "reactions"
// ************************************************************************* //

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type hePsiThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -30,10 +30,7 @@ inertSpecie N2;
fuel C3H8;
#include "thermo.compressibleGas"
#include "reactions"
#include "thermo.compressibleGas"
// ************************************************************************* //

View File

@ -185,7 +185,7 @@ greyMeanCombustionCoeffs
scatterModel none;
sootModel mixtureFraction<gasHThermoPhysics>;
sootModel none; // mixtureFraction<gasHThermoPhysics>;
mixtureFractionCoeffs
{

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type hePsiThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;

View File

@ -1,28 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object chemistryProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
chemistryType
{
solver noChemistrySolver;
}
chemistry off;
initialChemicalTimeStep 1e-07;
// ************************************************************************* //

View File

@ -15,15 +15,6 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
O2
H2O
CH4
CO2
N2
);
reactions
{
propaneReaction
@ -33,5 +24,4 @@ reactions
}
}
// ************************************************************************* //

View File

@ -15,6 +15,15 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
O2
H2O
CH4
CO2
N2
);
O2
{
specie

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type hePsiThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -30,10 +30,7 @@ inertSpecie N2;
fuel CH4;
#include "thermo.compressibleGas"
#include "reactions"
#include "thermo.compressibleGas"
// ************************************************************************* //

View File

@ -140,5 +140,6 @@ tabulation
variableTimeStep true;
}
#include "reactionsGRI"
// ************************************************************************* //

View File

@ -19,7 +19,7 @@ thermoType
{
type hePsiThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -30,6 +30,5 @@ thermoType
inertSpecie N2;
#include "thermo.compressibleGasGRI"
#include "reactionsGRI"
// ************************************************************************* //

View File

@ -53,4 +53,6 @@ tabulation
tolerance 3e-3;
}
#include "reactionsGRI"
// ************************************************************************* //

View File

@ -1,56 +1,3 @@
elements
5
(
O
H
C
N
Ar
)
;
species
36
(
H2
H
O
O2
OH
H2O
HO2
H2O2
C
CH
CH2
CH2(S)
CH3
CH4
CO
CO2
HCO
CH2O
CH2OH
CH3O
CH3OH
C2H
C2H2
C2H3
C2H4
C2H5
C2H6
HCCO
CH2CO
HCCOH
N2
AR
C3H7
C3H8
CH2CHO
CH3CHO
)
;
reactions
{
un-named-reaction-0
@ -60,7 +7,7 @@ reactions
A 1.2e+11;
beta -1;
Ta 0;
coeffs
coeffs
36
(
(H2 2.4)
@ -109,7 +56,7 @@ reactions
A 5e+11;
beta -1;
Ta 0;
coeffs
coeffs
36
(
(H2 2)
@ -244,7 +191,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -454,7 +401,7 @@ reactions
A 2.8e+12;
beta -0.86;
Ta 0;
coeffs
coeffs
36
(
(H2 1)
@ -543,7 +490,7 @@ reactions
A 1e+12;
beta -1;
Ta 0;
coeffs
coeffs
36
(
(H2 0)
@ -616,7 +563,7 @@ reactions
A 2.2e+16;
beta -2;
Ta 0;
coeffs
coeffs
36
(
(H2 0.73)
@ -731,7 +678,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -807,7 +754,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -883,7 +830,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -959,7 +906,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -1027,7 +974,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -1103,7 +1050,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -1195,7 +1142,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -1311,7 +1258,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -1379,7 +1326,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -1447,7 +1394,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -1523,7 +1470,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -1599,7 +1546,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -1715,7 +1662,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -1791,7 +1738,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -1931,7 +1878,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -2279,7 +2226,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -2411,7 +2358,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -2527,7 +2474,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -2675,7 +2622,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -2789,7 +2736,7 @@ reactions
A 1.87e+14;
beta -1;
Ta 8554.25106;
coeffs
coeffs
36
(
(H2 2)
@ -2904,7 +2851,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -3036,7 +2983,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -3216,7 +3163,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -3340,7 +3287,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -3448,7 +3395,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -3524,7 +3471,7 @@ reactions
}
thirdBodyEfficiencies
{
coeffs
coeffs
36
(
(H2 2)
@ -3608,6 +3555,5 @@ reactions
Ta 0;
}
}
Tlow 250;
Thigh 5000;

View File

@ -1,3 +1,5 @@
species 36 ( H2 H O O2 OH H2O HO2 H2O2 C CH CH2 CH2(S) CH3 CH4 CO CO2 HCO CH2O CH2OH CH3O CH3OH C2H C2H2 C2H3 C2H4 C2H5 C2H6 HCCO CH2CO HCCOH N2 AR C3H7 C3H8 CH2CHO CH3CHO );
OH
{
specie

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type hePsiThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -29,6 +29,5 @@ thermoType
inertSpecie N2;
#include "thermo.compressibleGasGRI"
#include "reactionsGRI"
// ************************************************************************* //

View File

@ -18,7 +18,7 @@ application reactingFoam;
startFrom startTime;
startTime 10;
startTime 0;
stopAt endTime;

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type hePsiThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;

View File

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

View File

@ -15,24 +15,6 @@ Notes:
configuration. It should not be considered general-purpose.
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object reactions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
O2
H2O
CH4
CO2
N2
);
reactions
{
@ -46,5 +28,4 @@ reactions
}
}
// ************************************************************************* //

View File

@ -5,15 +5,15 @@
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermo.compressibleGas;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
O2
H2O
CH4
CO2
N2
);
O2
{

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type hePsiThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -28,10 +28,6 @@ thermoType
inertSpecie N2;
#include "reactions"
#include "thermo.compressibleGas"
// ************************************************************************* //

View File

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

View File

@ -15,24 +15,6 @@ Notes:
configuration. It should not be considered general-purpose.
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object reactions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
O2
H2O
CH4
CO2
N2
);
reactions
{
@ -46,5 +28,4 @@ reactions
}
}
// ************************************************************************* //

View File

@ -5,15 +5,15 @@
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermo.compressibleGas;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
O2
H2O
CH4
CO2
N2
);
O2
{

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type hePsiThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -28,10 +28,6 @@ thermoType
inertSpecie N2;
#include "reactions"
#include "thermo.compressibleGas"
// ************************************************************************* //

View File

@ -45,4 +45,6 @@ tabulation
tolerance 3e-3;
}
#include "reactionsGRI"
// ************************************************************************* //

View File

@ -1,73 +1,3 @@
elements
5
(
O
H
C
N
Ar
)
;
species
53
(
CH4
CH2O
CH3O
H
O2
H2
O
OH
H2O
HO2
H2O2
C
CH
CH2
CH2(S)
CH3
CO
CO2
HCO
CH2OH
CH3OH
C2H
C2H2
C2H3
C2H4
C2H5
C2H6
HCCO
CH2CO
HCCOH
N
NH
NH2
NH3
NNH
NO
NO2
N2O
HNO
CN
HCN
H2CN
HCNN
HCNO
HOCN
HNCO
NCO
N2
AR
C3H7
C3H8
CH2CHO
CH3CHO
)
;
reactions
{
un-named-reaction-0

View File

@ -1,3 +1,62 @@
species
53
(
CH4
CH2O
CH3O
H
O2
H2
O
OH
H2O
HO2
H2O2
C
CH
CH2
CH2(S)
CH3
CO
CO2
HCO
CH2OH
CH3OH
C2H
C2H2
C2H3
C2H4
C2H5
C2H6
HCCO
CH2CO
HCCOH
N
NH
NH2
NH3
NNH
NO
NO2
N2O
HNO
CN
HCN
H2CN
HCNN
HCNO
HOCN
HNCO
NCO
N2
AR
C3H7
C3H8
CH2CHO
CH3CHO
)
;
OH
{
specie

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type hePsiThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -28,8 +28,6 @@ thermoType
inertSpecie N2;
#include "reactionsGRI"
#include "thermo.compressibleGasGRI"
// ************************************************************************* //

View File

@ -30,5 +30,6 @@ odeCoeffs
relTol 0.1;
}
#include "reactionsGRI"
// ************************************************************************* //

View File

@ -1,73 +1,3 @@
elements
5
(
O
H
C
N
Ar
)
;
species
53
(
CH4
CH2O
CH3O
H
O2
H2
O
OH
H2O
HO2
H2O2
C
CH
CH2
CH2(S)
CH3
CO
CO2
HCO
CH2OH
CH3OH
C2H
C2H2
C2H3
C2H4
C2H5
C2H6
HCCO
CH2CO
HCCOH
N
NH
NH2
NH3
NNH
NO
NO2
N2O
HNO
CN
HCN
H2CN
HCNN
HCNO
HOCN
HNCO
NCO
N2
AR
C3H7
C3H8
CH2CHO
CH3CHO
)
;
reactions
{
un-named-reaction-0

View File

@ -1,3 +1,62 @@
species
53
(
CH4
CH2O
CH3O
H
O2
H2
O
OH
H2O
HO2
H2O2
C
CH
CH2
CH2(S)
CH3
CO
CO2
HCO
CH2OH
CH3OH
C2H
C2H2
C2H3
C2H4
C2H5
C2H6
HCCO
CH2CO
HCCOH
N
NH
NH2
NH3
NNH
NO
NO2
N2O
HNO
CN
HCN
H2CN
HCNN
HCNO
HOCN
HNCO
NCO
N2
AR
C3H7
C3H8
CH2CHO
CH3CHO
)
;
OH
{
specie

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type hePsiThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -28,8 +28,6 @@ thermoType
inertSpecie N2;
#include "reactionsGRI"
#include "thermo.compressibleGasGRI"
// ************************************************************************* //

View File

@ -45,4 +45,6 @@ tabulation
tolerance 3e-3;
}
#include "reactionsGRI"
// ************************************************************************* //

View File

@ -1,73 +1,3 @@
elements
5
(
O
H
C
N
Ar
)
;
species
53
(
CH4
CH2O
CH3O
H
O2
H2
O
OH
H2O
HO2
H2O2
C
CH
CH2
CH2(S)
CH3
CO
CO2
HCO
CH2OH
CH3OH
C2H
C2H2
C2H3
C2H4
C2H5
C2H6
HCCO
CH2CO
HCCOH
N
NH
NH2
NH3
NNH
NO
NO2
N2O
HNO
CN
HCN
H2CN
HCNN
HCNO
HOCN
HNCO
NCO
N2
AR
C3H7
C3H8
CH2CHO
CH3CHO
)
;
reactions
{
un-named-reaction-0

View File

@ -1,3 +1,62 @@
species
53
(
CH4
CH2O
CH3O
H
O2
H2
O
OH
H2O
HO2
H2O2
C
CH
CH2
CH2(S)
CH3
CO
CO2
HCO
CH2OH
CH3OH
C2H
C2H2
C2H3
C2H4
C2H5
C2H6
HCCO
CH2CO
HCCOH
N
NH
NH2
NH3
NNH
NO
NO2
N2O
HNO
CN
HCN
H2CN
HCNN
HCNO
HOCN
HNCO
NCO
N2
AR
C3H7
C3H8
CH2CHO
CH3CHO
)
;
OH
{
specie

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type hePsiThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -28,8 +28,6 @@ thermoType
inertSpecie N2;
#include "reactionsGRI"
#include "thermo.compressibleGasGRI"
// ************************************************************************* //

View File

@ -36,5 +36,6 @@ EulerImplicitCoeffs
equilibriumRateLimiter off;
}
#include "reactions"
// ************************************************************************* //

View File

@ -22,24 +22,6 @@ Notes:
divergence in regions without any fuel.
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant/gas";
object reactions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
O2
H2O
CH4
CO2
N2
);
reactions
{
@ -53,5 +35,4 @@ reactions
}
}
// ************************************************************************* //

View File

@ -5,15 +5,15 @@
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermo.compressibleGas;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
O2
H2O
CH4
CO2
N2
);
O2
{

View File

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

View File

@ -37,5 +37,6 @@ odeCoeffs
relTol 1e-1;
}
#include "reactions"
// ************************************************************************* //

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type hePsiThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -26,11 +26,8 @@ thermoType
specie specie;
}
#include "speciesThermo"
#include "reactions"
inertSpecie N2;
liquids

View File

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

View File

@ -15,24 +15,6 @@ Notes:
configuration. It should not be considered general-purpose.
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object reactions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
O2
H2O
CH4
CO2
N2
);
reactions
{
@ -46,5 +28,4 @@ reactions
}
}
// ************************************************************************* //

View File

@ -5,15 +5,15 @@
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermo.compressibleGas;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
O2
H2O
CH4
CO2
N2
);
O2
{

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type heRhoThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -28,10 +28,6 @@ thermoType
inertSpecie N2;
#include "reactions"
#include "thermo.compressibleGas"
// ************************************************************************* //

View File

@ -24,5 +24,6 @@ chemistry off;
initialChemicalTimeStep 1e-07;
#include "reactions"
// ************************************************************************* //

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type heRhoThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -26,9 +26,6 @@ thermoType
specie specie;
}
#include "reactions"
#include "speciesThermo"
inertSpecie N2;

View File

@ -36,5 +36,6 @@ odeCoeffs
eps 0.05;
}
#include "reactions"
// ************************************************************************* //

View File

@ -5,25 +5,8 @@
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object reactions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
N2
O2
H2O
);
reactions
{}
// ************************************************************************* //

View File

@ -5,15 +5,13 @@
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermo.incompressiblePoly;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
N2
O2
H2O
);
N2
{

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type heRhoThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport polynomial;
thermo hPolynomial;
energy sensibleInternalEnergy;
@ -26,9 +26,6 @@ thermoType
specie specie;
}
#include "reactions"
#include "thermo.incompressiblePoly"
liquids

View File

@ -24,5 +24,6 @@ chemistry off;
initialChemicalTimeStep 1e-07;
#include "reactions"
// ************************************************************************* //

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type heRhoThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -26,9 +26,6 @@ thermoType
specie specie;
}
#include "reactions"
#include "speciesThermo"
inertSpecie N2;

View File

@ -24,4 +24,6 @@ chemistry off;
initialChemicalTimeStep 1e-7;
#include "reactions"
// ************************************************************************* //

View File

@ -5,24 +5,8 @@
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object reactions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
air
H2O
);
reactions
{}
// ************************************************************************* //

View File

@ -5,15 +5,12 @@
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermo.incompressiblePoly;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
air
H2O
);
N2
{

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type heRhoThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport polynomial;
thermo hPolynomial;
energy sensibleInternalEnergy;
@ -26,9 +26,6 @@ thermoType
specie specie;
}
#include "reactions"
#include "thermo.incompressiblePoly"
inertSpecie air;

View File

@ -24,5 +24,6 @@ chemistry off;
initialChemicalTimeStep 1e-07;
#include "reactions"
// ************************************************************************* //

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type heRhoThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -26,9 +26,6 @@ thermoType
specie specie;
}
#include "reactions"
#include "speciesThermo"
inertSpecie N2;

View File

@ -24,5 +24,6 @@ chemistry off;
initialChemicalTimeStep 1e-07;
#include "reactions"
// ************************************************************************* //

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type heRhoThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -26,9 +26,6 @@ thermoType
specie specie;
}
#include "reactions"
#include "speciesThermo"
inertSpecie N2;

View File

@ -36,5 +36,6 @@ odeCoeffs
eps 0.05;
}
#include "reactions"
// ************************************************************************* //

View File

@ -5,24 +5,8 @@
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object reactions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
air
H2O
);
reactions
{}
// ************************************************************************* //

View File

@ -5,15 +5,12 @@
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermo.incompressiblePoly;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
air
H2O
);
N2
{

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type heRhoThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport polynomial;
thermo hPolynomial;
energy sensibleInternalEnergy;
@ -26,9 +26,6 @@ thermoType
specie specie;
}
#include "reactions"
#include "thermo.incompressiblePoly"
inertSpecie air;

View File

@ -24,5 +24,6 @@ chemistry off;
initialChemicalTimeStep 1e-07; // NOT USED
#include "reactions"
// ************************************************************************* //

View File

@ -5,24 +5,8 @@
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object reactions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
air
H2O
);
reactions
{}
// ************************************************************************* //

View File

@ -5,15 +5,12 @@
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermo.incompressiblePoly;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
air
H2O
);
N2
{

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type heRhoThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport polynomial;
thermo hPolynomial;
energy sensibleInternalEnergy;
@ -26,9 +26,6 @@ thermoType
specie specie;
}
#include "reactions"
#include "thermo.incompressiblePoly"
inertSpecie air;

View File

@ -24,5 +24,6 @@ chemistry off;
initialChemicalTimeStep 1e-07; // NOT USED
#include "reactions"
// ************************************************************************* //

View File

@ -5,24 +5,8 @@
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object reactions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
air
H2O
);
reactions
{}
// ************************************************************************* //

View File

@ -5,15 +5,12 @@
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermo.incompressiblePoly;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
species
(
air
H2O
);
N2
{

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type heRhoThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport polynomial;
thermo hPolynomial;
energy sensibleEnthalpy;
@ -26,9 +26,6 @@ thermoType
specie specie;
}
#include "reactions"
#include "thermo.incompressiblePoly"
inertSpecie air;

View File

@ -30,5 +30,6 @@ odeCoeffs
eps 0.05;
}
#include "reactions"
// ************************************************************************* //

View File

@ -18,7 +18,7 @@ FoamFile
thermoType
{
type hePsiThermo;
mixture reactingMixture;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
@ -40,6 +40,4 @@ liquids
solids
{}
#include "reactions"
// ************************************************************************* //

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

Some files were not shown because too many files have changed in this diff Show More