mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Adding thermoPhysicsTypes for sensibleInternalEnergy
and instanciating reactionThermos, Reactions, chemistrySolver solidChemistrySolvers and readers. chemkinReader uses the sensibleEnthalpy base of thermoType
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -38,11 +38,12 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
namespace combustionModels
|
namespace combustionModels
|
||||||
{
|
{
|
||||||
|
// Combustion models based on sensibleEnthalpy
|
||||||
makeCombustionTypesThermo
|
makeCombustionTypesThermo
|
||||||
(
|
(
|
||||||
FSD,
|
FSD,
|
||||||
psiThermoCombustion,
|
psiThermoCombustion,
|
||||||
gasThermoPhysics,
|
gasHThermoPhysics,
|
||||||
psiCombustionModel
|
psiCombustionModel
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -50,7 +51,7 @@ namespace combustionModels
|
|||||||
(
|
(
|
||||||
FSD,
|
FSD,
|
||||||
psiThermoCombustion,
|
psiThermoCombustion,
|
||||||
constGasThermoPhysics,
|
constGasHThermoPhysics,
|
||||||
psiCombustionModel
|
psiCombustionModel
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -58,7 +59,7 @@ namespace combustionModels
|
|||||||
(
|
(
|
||||||
FSD,
|
FSD,
|
||||||
rhoThermoCombustion,
|
rhoThermoCombustion,
|
||||||
gasThermoPhysics,
|
gasHThermoPhysics,
|
||||||
rhoCombustionModel
|
rhoCombustionModel
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -66,7 +67,40 @@ namespace combustionModels
|
|||||||
(
|
(
|
||||||
FSD,
|
FSD,
|
||||||
rhoThermoCombustion,
|
rhoThermoCombustion,
|
||||||
constGasThermoPhysics,
|
constGasHThermoPhysics,
|
||||||
|
rhoCombustionModel
|
||||||
|
);
|
||||||
|
|
||||||
|
// Combustion models based on sensibleInternalEnergy
|
||||||
|
makeCombustionTypesThermo
|
||||||
|
(
|
||||||
|
FSD,
|
||||||
|
psiThermoCombustion,
|
||||||
|
gasEThermoPhysics,
|
||||||
|
psiCombustionModel
|
||||||
|
);
|
||||||
|
|
||||||
|
makeCombustionTypesThermo
|
||||||
|
(
|
||||||
|
FSD,
|
||||||
|
psiThermoCombustion,
|
||||||
|
constGasEThermoPhysics,
|
||||||
|
psiCombustionModel
|
||||||
|
);
|
||||||
|
|
||||||
|
makeCombustionTypesThermo
|
||||||
|
(
|
||||||
|
FSD,
|
||||||
|
rhoThermoCombustion,
|
||||||
|
gasEThermoPhysics,
|
||||||
|
rhoCombustionModel
|
||||||
|
);
|
||||||
|
|
||||||
|
makeCombustionTypesThermo
|
||||||
|
(
|
||||||
|
FSD,
|
||||||
|
rhoThermoCombustion,
|
||||||
|
constGasEThermoPhysics,
|
||||||
rhoCombustionModel
|
rhoCombustionModel
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -36,11 +36,12 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
namespace combustionModels
|
namespace combustionModels
|
||||||
{
|
{
|
||||||
|
// Combustion models based on sensibleEnthalpy
|
||||||
makeCombustionTypesThermo
|
makeCombustionTypesThermo
|
||||||
(
|
(
|
||||||
diffusion,
|
diffusion,
|
||||||
psiThermoCombustion,
|
psiThermoCombustion,
|
||||||
gasThermoPhysics,
|
gasHThermoPhysics,
|
||||||
psiCombustionModel
|
psiCombustionModel
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -48,7 +49,7 @@ namespace combustionModels
|
|||||||
(
|
(
|
||||||
diffusion,
|
diffusion,
|
||||||
psiThermoCombustion,
|
psiThermoCombustion,
|
||||||
constGasThermoPhysics,
|
constGasHThermoPhysics,
|
||||||
psiCombustionModel
|
psiCombustionModel
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -56,7 +57,7 @@ namespace combustionModels
|
|||||||
(
|
(
|
||||||
diffusion,
|
diffusion,
|
||||||
rhoThermoCombustion,
|
rhoThermoCombustion,
|
||||||
gasThermoPhysics,
|
gasHThermoPhysics,
|
||||||
rhoCombustionModel
|
rhoCombustionModel
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -64,7 +65,41 @@ namespace combustionModels
|
|||||||
(
|
(
|
||||||
diffusion,
|
diffusion,
|
||||||
rhoThermoCombustion,
|
rhoThermoCombustion,
|
||||||
constGasThermoPhysics,
|
constGasHThermoPhysics,
|
||||||
|
rhoCombustionModel
|
||||||
|
);
|
||||||
|
|
||||||
|
// Combustion models based on sensibleInternalEnergy
|
||||||
|
|
||||||
|
makeCombustionTypesThermo
|
||||||
|
(
|
||||||
|
diffusion,
|
||||||
|
psiThermoCombustion,
|
||||||
|
gasEThermoPhysics,
|
||||||
|
psiCombustionModel
|
||||||
|
);
|
||||||
|
|
||||||
|
makeCombustionTypesThermo
|
||||||
|
(
|
||||||
|
diffusion,
|
||||||
|
psiThermoCombustion,
|
||||||
|
constGasEThermoPhysics,
|
||||||
|
psiCombustionModel
|
||||||
|
);
|
||||||
|
|
||||||
|
makeCombustionTypesThermo
|
||||||
|
(
|
||||||
|
diffusion,
|
||||||
|
rhoThermoCombustion,
|
||||||
|
gasEThermoPhysics,
|
||||||
|
rhoCombustionModel
|
||||||
|
);
|
||||||
|
|
||||||
|
makeCombustionTypesThermo
|
||||||
|
(
|
||||||
|
diffusion,
|
||||||
|
rhoThermoCombustion,
|
||||||
|
constGasEThermoPhysics,
|
||||||
rhoCombustionModel
|
rhoCombustionModel
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -36,11 +36,13 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
namespace combustionModels
|
namespace combustionModels
|
||||||
{
|
{
|
||||||
|
// Combustion models based on sensibleEnthalpy
|
||||||
|
|
||||||
makeCombustionTypesThermo
|
makeCombustionTypesThermo
|
||||||
(
|
(
|
||||||
infinitelyFastChemistry,
|
infinitelyFastChemistry,
|
||||||
psiThermoCombustion,
|
psiThermoCombustion,
|
||||||
gasThermoPhysics,
|
gasHThermoPhysics,
|
||||||
psiCombustionModel
|
psiCombustionModel
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -48,7 +50,7 @@ namespace combustionModels
|
|||||||
(
|
(
|
||||||
infinitelyFastChemistry,
|
infinitelyFastChemistry,
|
||||||
psiThermoCombustion,
|
psiThermoCombustion,
|
||||||
constGasThermoPhysics,
|
constGasHThermoPhysics,
|
||||||
psiCombustionModel
|
psiCombustionModel
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -56,7 +58,7 @@ namespace combustionModels
|
|||||||
(
|
(
|
||||||
infinitelyFastChemistry,
|
infinitelyFastChemistry,
|
||||||
rhoThermoCombustion,
|
rhoThermoCombustion,
|
||||||
gasThermoPhysics,
|
gasHThermoPhysics,
|
||||||
rhoCombustionModel
|
rhoCombustionModel
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -64,7 +66,41 @@ namespace combustionModels
|
|||||||
(
|
(
|
||||||
infinitelyFastChemistry,
|
infinitelyFastChemistry,
|
||||||
rhoThermoCombustion,
|
rhoThermoCombustion,
|
||||||
constGasThermoPhysics,
|
constGasHThermoPhysics,
|
||||||
|
rhoCombustionModel
|
||||||
|
);
|
||||||
|
|
||||||
|
// Combustion models based on sensibleInternalEnergy
|
||||||
|
|
||||||
|
makeCombustionTypesThermo
|
||||||
|
(
|
||||||
|
infinitelyFastChemistry,
|
||||||
|
psiThermoCombustion,
|
||||||
|
gasEThermoPhysics,
|
||||||
|
psiCombustionModel
|
||||||
|
);
|
||||||
|
|
||||||
|
makeCombustionTypesThermo
|
||||||
|
(
|
||||||
|
infinitelyFastChemistry,
|
||||||
|
psiThermoCombustion,
|
||||||
|
constGasEThermoPhysics,
|
||||||
|
psiCombustionModel
|
||||||
|
);
|
||||||
|
|
||||||
|
makeCombustionTypesThermo
|
||||||
|
(
|
||||||
|
infinitelyFastChemistry,
|
||||||
|
rhoThermoCombustion,
|
||||||
|
gasEThermoPhysics,
|
||||||
|
rhoCombustionModel
|
||||||
|
);
|
||||||
|
|
||||||
|
makeCombustionTypesThermo
|
||||||
|
(
|
||||||
|
infinitelyFastChemistry,
|
||||||
|
rhoThermoCombustion,
|
||||||
|
constGasEThermoPhysics,
|
||||||
rhoCombustionModel
|
rhoCombustionModel
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -39,39 +39,76 @@ Description
|
|||||||
|
|
||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
|
// Chemistry moldels based on sensibleEnthalpy
|
||||||
makeChemistryModel
|
makeChemistryModel
|
||||||
(
|
(
|
||||||
chemistryModel,
|
chemistryModel,
|
||||||
psiChemistryModel,
|
psiChemistryModel,
|
||||||
constGasThermoPhysics
|
constGasHThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
makeChemistryModel
|
makeChemistryModel
|
||||||
(
|
(
|
||||||
chemistryModel,
|
chemistryModel,
|
||||||
psiChemistryModel,
|
psiChemistryModel,
|
||||||
gasThermoPhysics
|
gasHThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
makeChemistryModel
|
makeChemistryModel
|
||||||
(
|
(
|
||||||
chemistryModel,
|
chemistryModel,
|
||||||
psiChemistryModel,
|
psiChemistryModel,
|
||||||
constIncompressibleGasThermoPhysics
|
constIncompressibleGasHThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
makeChemistryModel
|
makeChemistryModel
|
||||||
(
|
(
|
||||||
chemistryModel,
|
chemistryModel,
|
||||||
psiChemistryModel,
|
psiChemistryModel,
|
||||||
incompressibleGasThermoPhysics
|
incompressibleGasHThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
makeChemistryModel
|
makeChemistryModel
|
||||||
(
|
(
|
||||||
chemistryModel,
|
chemistryModel,
|
||||||
psiChemistryModel,
|
psiChemistryModel,
|
||||||
icoPoly8ThermoPhysics
|
icoPoly8HThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
// Chemistry moldels based on sensibleInternalEnergy
|
||||||
|
makeChemistryModel
|
||||||
|
(
|
||||||
|
chemistryModel,
|
||||||
|
psiChemistryModel,
|
||||||
|
constGasEThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
makeChemistryModel
|
||||||
|
(
|
||||||
|
chemistryModel,
|
||||||
|
psiChemistryModel,
|
||||||
|
gasEThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
makeChemistryModel
|
||||||
|
(
|
||||||
|
chemistryModel,
|
||||||
|
psiChemistryModel,
|
||||||
|
constIncompressibleGasEThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
makeChemistryModel
|
||||||
|
(
|
||||||
|
chemistryModel,
|
||||||
|
psiChemistryModel,
|
||||||
|
incompressibleGasEThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
makeChemistryModel
|
||||||
|
(
|
||||||
|
chemistryModel,
|
||||||
|
psiChemistryModel,
|
||||||
|
icoPoly8EThermoPhysics
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -39,39 +39,77 @@ Description
|
|||||||
|
|
||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
|
// Chemistry moldels based on sensibleEnthalpy
|
||||||
makeChemistryModel
|
makeChemistryModel
|
||||||
(
|
(
|
||||||
chemistryModel,
|
chemistryModel,
|
||||||
rhoChemistryModel,
|
rhoChemistryModel,
|
||||||
constGasThermoPhysics
|
constGasHThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
makeChemistryModel
|
makeChemistryModel
|
||||||
(
|
(
|
||||||
chemistryModel,
|
chemistryModel,
|
||||||
rhoChemistryModel,
|
rhoChemistryModel,
|
||||||
gasThermoPhysics
|
gasHThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
makeChemistryModel
|
makeChemistryModel
|
||||||
(
|
(
|
||||||
chemistryModel,
|
chemistryModel,
|
||||||
rhoChemistryModel,
|
rhoChemistryModel,
|
||||||
constIncompressibleGasThermoPhysics
|
constIncompressibleGasHThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
makeChemistryModel
|
makeChemistryModel
|
||||||
(
|
(
|
||||||
chemistryModel,
|
chemistryModel,
|
||||||
rhoChemistryModel,
|
rhoChemistryModel,
|
||||||
incompressibleGasThermoPhysics
|
incompressibleGasHThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
makeChemistryModel
|
makeChemistryModel
|
||||||
(
|
(
|
||||||
chemistryModel,
|
chemistryModel,
|
||||||
rhoChemistryModel,
|
rhoChemistryModel,
|
||||||
icoPoly8ThermoPhysics
|
icoPoly8HThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// Chemistry moldels based on sensibleInternalEnergy
|
||||||
|
makeChemistryModel
|
||||||
|
(
|
||||||
|
chemistryModel,
|
||||||
|
rhoChemistryModel,
|
||||||
|
constGasEThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
makeChemistryModel
|
||||||
|
(
|
||||||
|
chemistryModel,
|
||||||
|
rhoChemistryModel,
|
||||||
|
gasEThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
makeChemistryModel
|
||||||
|
(
|
||||||
|
chemistryModel,
|
||||||
|
rhoChemistryModel,
|
||||||
|
constIncompressibleGasEThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
makeChemistryModel
|
||||||
|
(
|
||||||
|
chemistryModel,
|
||||||
|
rhoChemistryModel,
|
||||||
|
incompressibleGasEThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
makeChemistryModel
|
||||||
|
(
|
||||||
|
chemistryModel,
|
||||||
|
rhoChemistryModel,
|
||||||
|
icoPoly8EThermoPhysics
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,24 +33,61 @@ License
|
|||||||
|
|
||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
makeChemistrySolverTypes(psiChemistryModel, constGasThermoPhysics);
|
// Chemistry solvers based on sensibleEnthalpy
|
||||||
makeChemistrySolverTypes(psiChemistryModel, gasThermoPhysics);
|
makeChemistrySolverTypes(psiChemistryModel, constGasHThermoPhysics);
|
||||||
|
makeChemistrySolverTypes(psiChemistryModel, gasHThermoPhysics);
|
||||||
makeChemistrySolverTypes
|
makeChemistrySolverTypes
|
||||||
(
|
(
|
||||||
psiChemistryModel,
|
psiChemistryModel,
|
||||||
constIncompressibleGasThermoPhysics
|
constIncompressibleGasHThermoPhysics
|
||||||
);
|
);
|
||||||
makeChemistrySolverTypes(psiChemistryModel, incompressibleGasThermoPhysics);
|
makeChemistrySolverTypes
|
||||||
makeChemistrySolverTypes(psiChemistryModel, icoPoly8ThermoPhysics);
|
(
|
||||||
makeChemistrySolverTypes(rhoChemistryModel, constGasThermoPhysics);
|
psiChemistryModel,
|
||||||
makeChemistrySolverTypes(rhoChemistryModel, gasThermoPhysics);
|
incompressibleGasHThermoPhysics)
|
||||||
|
;
|
||||||
|
makeChemistrySolverTypes(psiChemistryModel, icoPoly8HThermoPhysics);
|
||||||
|
makeChemistrySolverTypes(rhoChemistryModel, constGasHThermoPhysics);
|
||||||
|
makeChemistrySolverTypes(rhoChemistryModel, gasHThermoPhysics);
|
||||||
makeChemistrySolverTypes
|
makeChemistrySolverTypes
|
||||||
(
|
(
|
||||||
rhoChemistryModel,
|
rhoChemistryModel,
|
||||||
constIncompressibleGasThermoPhysics
|
constIncompressibleGasHThermoPhysics
|
||||||
);
|
);
|
||||||
makeChemistrySolverTypes(rhoChemistryModel, incompressibleGasThermoPhysics);
|
makeChemistrySolverTypes
|
||||||
makeChemistrySolverTypes(rhoChemistryModel, icoPoly8ThermoPhysics);
|
(
|
||||||
|
rhoChemistryModel,
|
||||||
|
incompressibleGasHThermoPhysics
|
||||||
|
);
|
||||||
|
makeChemistrySolverTypes(rhoChemistryModel, icoPoly8HThermoPhysics);
|
||||||
|
|
||||||
|
// Chemistry solvers based on sensibleInternalEnergy
|
||||||
|
makeChemistrySolverTypes(psiChemistryModel, constGasEThermoPhysics);
|
||||||
|
makeChemistrySolverTypes(psiChemistryModel, gasEThermoPhysics);
|
||||||
|
makeChemistrySolverTypes
|
||||||
|
(
|
||||||
|
psiChemistryModel,
|
||||||
|
constIncompressibleGasEThermoPhysics
|
||||||
|
);
|
||||||
|
makeChemistrySolverTypes
|
||||||
|
(
|
||||||
|
psiChemistryModel,
|
||||||
|
incompressibleGasEThermoPhysics
|
||||||
|
);
|
||||||
|
makeChemistrySolverTypes(psiChemistryModel, icoPoly8EThermoPhysics);
|
||||||
|
makeChemistrySolverTypes(rhoChemistryModel, constGasEThermoPhysics);
|
||||||
|
makeChemistrySolverTypes(rhoChemistryModel, gasEThermoPhysics);
|
||||||
|
makeChemistrySolverTypes
|
||||||
|
(
|
||||||
|
rhoChemistryModel,
|
||||||
|
constIncompressibleGasEThermoPhysics
|
||||||
|
);
|
||||||
|
makeChemistrySolverTypes
|
||||||
|
(
|
||||||
|
rhoChemistryModel,
|
||||||
|
incompressibleGasEThermoPhysics
|
||||||
|
);
|
||||||
|
makeChemistrySolverTypes(rhoChemistryModel, icoPoly8EThermoPhysics);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -37,23 +37,50 @@ namespace Foam
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
makeChemistryReader(constGasThermoPhysics);
|
// Solid chemistry readers based on sensibleEnthalpy
|
||||||
makeChemistryReader(gasThermoPhysics);
|
|
||||||
makeChemistryReader(constIncompressibleGasThermoPhysics);
|
|
||||||
makeChemistryReader(incompressibleGasThermoPhysics);
|
|
||||||
makeChemistryReader(icoPoly8ThermoPhysics);
|
|
||||||
makeChemistryReader(hConstSolidThermoPhysics);
|
|
||||||
makeChemistryReader(hExponentialSolidThermoPhysics);
|
|
||||||
|
|
||||||
makeChemistryReaderType(foamChemistryReader, constGasThermoPhysics);
|
makeChemistryReader(constGasHThermoPhysics);
|
||||||
makeChemistryReaderType(foamChemistryReader, gasThermoPhysics);
|
makeChemistryReader(gasHThermoPhysics);
|
||||||
|
makeChemistryReader(constIncompressibleGasHThermoPhysics);
|
||||||
|
makeChemistryReader(incompressibleGasHThermoPhysics);
|
||||||
|
makeChemistryReader(icoPoly8HThermoPhysics);
|
||||||
|
|
||||||
|
makeChemistryReaderType(foamChemistryReader, constGasHThermoPhysics);
|
||||||
|
makeChemistryReaderType(foamChemistryReader, gasHThermoPhysics);
|
||||||
makeChemistryReaderType
|
makeChemistryReaderType
|
||||||
(
|
(
|
||||||
foamChemistryReader,
|
foamChemistryReader,
|
||||||
constIncompressibleGasThermoPhysics
|
constIncompressibleGasHThermoPhysics
|
||||||
);
|
);
|
||||||
makeChemistryReaderType(foamChemistryReader, incompressibleGasThermoPhysics);
|
makeChemistryReaderType(foamChemistryReader, incompressibleGasHThermoPhysics);
|
||||||
makeChemistryReaderType(foamChemistryReader, icoPoly8ThermoPhysics);
|
makeChemistryReaderType(foamChemistryReader, icoPoly8HThermoPhysics);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Solid chemistry readers based on sensibleInternalEnergy
|
||||||
|
|
||||||
|
makeChemistryReader(constGasEThermoPhysics);
|
||||||
|
makeChemistryReader(gasEThermoPhysics);
|
||||||
|
makeChemistryReader(constIncompressibleGasEThermoPhysics);
|
||||||
|
makeChemistryReader(incompressibleGasEThermoPhysics);
|
||||||
|
makeChemistryReader(icoPoly8EThermoPhysics);
|
||||||
|
|
||||||
|
makeChemistryReaderType(foamChemistryReader, constGasEThermoPhysics);
|
||||||
|
makeChemistryReaderType(foamChemistryReader, gasEThermoPhysics);
|
||||||
|
makeChemistryReaderType
|
||||||
|
(
|
||||||
|
foamChemistryReader,
|
||||||
|
constIncompressibleGasEThermoPhysics
|
||||||
|
);
|
||||||
|
makeChemistryReaderType(foamChemistryReader, incompressibleGasEThermoPhysics);
|
||||||
|
makeChemistryReaderType(foamChemistryReader, icoPoly8EThermoPhysics);
|
||||||
|
|
||||||
|
|
||||||
|
// Solid chemistry readers for solids based on sensibleInternalEnergy
|
||||||
|
|
||||||
|
makeChemistryReader(hConstSolidThermoPhysics);
|
||||||
|
makeChemistryReader(hExponentialSolidThermoPhysics);
|
||||||
|
|
||||||
makeChemistryReaderType(foamChemistryReader, hConstSolidThermoPhysics);
|
makeChemistryReaderType(foamChemistryReader, hConstSolidThermoPhysics);
|
||||||
makeChemistryReaderType(foamChemistryReader, hExponentialSolidThermoPhysics);
|
makeChemistryReaderType(foamChemistryReader, hExponentialSolidThermoPhysics);
|
||||||
|
|
||||||
|
|||||||
@ -296,13 +296,13 @@ List<specieElement> currentSpecieComposition(5);
|
|||||||
scalar currentLowT = 0;
|
scalar currentLowT = 0;
|
||||||
scalar currentHighT = 0;
|
scalar currentHighT = 0;
|
||||||
scalar currentCommonT = 0;
|
scalar currentCommonT = 0;
|
||||||
gasThermoPhysics::coeffArray highCpCoeffs(scalarList(7));
|
gasHThermoPhysics::coeffArray highCpCoeffs(scalarList(7));
|
||||||
gasThermoPhysics::coeffArray lowCpCoeffs(scalarList(7));
|
gasHThermoPhysics::coeffArray lowCpCoeffs(scalarList(7));
|
||||||
|
|
||||||
gasReaction::specieCoeffs currentSpecieCoeff;
|
gasHReaction::specieCoeffs currentSpecieCoeff;
|
||||||
|
|
||||||
DynamicList<gasReaction::specieCoeffs> lhs;
|
DynamicList<gasHReaction::specieCoeffs> lhs;
|
||||||
DynamicList<gasReaction::specieCoeffs> rhs;
|
DynamicList<gasHReaction::specieCoeffs> rhs;
|
||||||
|
|
||||||
scalarList ArrheniusCoeffs(3);
|
scalarList ArrheniusCoeffs(3);
|
||||||
DynamicList<scalar> reactionCoeffs;
|
DynamicList<scalar> reactionCoeffs;
|
||||||
@ -312,7 +312,7 @@ label currentThirdBodyIndex = -1;
|
|||||||
word reactionCoeffsName = word::null;
|
word reactionCoeffsName = word::null;
|
||||||
HashTable<scalarList> reactionCoeffsTable;
|
HashTable<scalarList> reactionCoeffsTable;
|
||||||
|
|
||||||
DynamicList<gasReaction::specieCoeffs> *lrhsPtr = &lhs;
|
DynamicList<gasHReaction::specieCoeffs> *lrhsPtr = &lhs;
|
||||||
|
|
||||||
reactionType rType = unknownReactionType;
|
reactionType rType = unknownReactionType;
|
||||||
reactionRateType rrType = Arrhenius;
|
reactionRateType rrType = Arrhenius;
|
||||||
@ -609,7 +609,7 @@ bool finishReaction = false;
|
|||||||
|
|
||||||
<readThermoLineLabel4>{thermoLineLabel4} {
|
<readThermoLineLabel4>{thermoLineLabel4} {
|
||||||
|
|
||||||
HashPtrTable<gasThermoPhysics>::iterator specieThermoIter
|
HashPtrTable<gasHThermoPhysics>::iterator specieThermoIter
|
||||||
(
|
(
|
||||||
speciesThermo_.find(currentSpecieName)
|
speciesThermo_.find(currentSpecieName)
|
||||||
);
|
);
|
||||||
@ -622,7 +622,7 @@ bool finishReaction = false;
|
|||||||
speciesThermo_.insert
|
speciesThermo_.insert
|
||||||
(
|
(
|
||||||
currentSpecieName,
|
currentSpecieName,
|
||||||
new gasThermoPhysics
|
new gasHThermoPhysics
|
||||||
(
|
(
|
||||||
janafThermo<perfectGas<specie> >
|
janafThermo<perfectGas<specie> >
|
||||||
(
|
(
|
||||||
@ -1429,7 +1429,7 @@ bool finishReaction = false;
|
|||||||
|
|
||||||
<readReactionOrder>{reactionCoeff}{endReactionCoeffs} {
|
<readReactionOrder>{reactionCoeff}{endReactionCoeffs} {
|
||||||
|
|
||||||
DynamicList<gasReaction::specieCoeffs>& lrhs = *lrhsPtr;
|
DynamicList<gasHReaction::specieCoeffs>& lrhs = *lrhsPtr;
|
||||||
|
|
||||||
bool found = false;
|
bool found = false;
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -46,7 +46,7 @@ License
|
|||||||
|
|
||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
addChemistryReaderType(chemkinReader, gasThermoPhysics);
|
addChemistryReaderType(chemkinReader, gasHThermoPhysics);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -168,8 +168,8 @@ template<class ReactionRateType>
|
|||||||
void Foam::chemkinReader::addReactionType
|
void Foam::chemkinReader::addReactionType
|
||||||
(
|
(
|
||||||
const reactionType rType,
|
const reactionType rType,
|
||||||
DynamicList<gasReaction::specieCoeffs>& lhs,
|
DynamicList<gasHReaction::specieCoeffs>& lhs,
|
||||||
DynamicList<gasReaction::specieCoeffs>& rhs,
|
DynamicList<gasHReaction::specieCoeffs>& rhs,
|
||||||
const ReactionRateType& rr
|
const ReactionRateType& rr
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
@ -180,9 +180,9 @@ void Foam::chemkinReader::addReactionType
|
|||||||
reactions_.append
|
reactions_.append
|
||||||
(
|
(
|
||||||
new IrreversibleReaction
|
new IrreversibleReaction
|
||||||
<Reaction, gasThermoPhysics, ReactionRateType>
|
<Reaction, gasHThermoPhysics, ReactionRateType>
|
||||||
(
|
(
|
||||||
Reaction<gasThermoPhysics>
|
Reaction<gasHThermoPhysics>
|
||||||
(
|
(
|
||||||
speciesTable_,
|
speciesTable_,
|
||||||
lhs.shrink(),
|
lhs.shrink(),
|
||||||
@ -200,9 +200,9 @@ void Foam::chemkinReader::addReactionType
|
|||||||
reactions_.append
|
reactions_.append
|
||||||
(
|
(
|
||||||
new ReversibleReaction
|
new ReversibleReaction
|
||||||
<Reaction, gasThermoPhysics, ReactionRateType>
|
<Reaction, gasHThermoPhysics, ReactionRateType>
|
||||||
(
|
(
|
||||||
Reaction<gasThermoPhysics>
|
Reaction<gasHThermoPhysics>
|
||||||
(
|
(
|
||||||
speciesTable_,
|
speciesTable_,
|
||||||
lhs.shrink(),
|
lhs.shrink(),
|
||||||
@ -240,8 +240,8 @@ void Foam::chemkinReader::addPressureDependentReaction
|
|||||||
(
|
(
|
||||||
const reactionType rType,
|
const reactionType rType,
|
||||||
const fallOffFunctionType fofType,
|
const fallOffFunctionType fofType,
|
||||||
DynamicList<gasReaction::specieCoeffs>& lhs,
|
DynamicList<gasHReaction::specieCoeffs>& lhs,
|
||||||
DynamicList<gasReaction::specieCoeffs>& rhs,
|
DynamicList<gasHReaction::specieCoeffs>& rhs,
|
||||||
const scalarList& efficiencies,
|
const scalarList& efficiencies,
|
||||||
const scalarList& k0Coeffs,
|
const scalarList& k0Coeffs,
|
||||||
const scalarList& kInfCoeffs,
|
const scalarList& kInfCoeffs,
|
||||||
@ -423,8 +423,8 @@ void Foam::chemkinReader::addPressureDependentReaction
|
|||||||
|
|
||||||
void Foam::chemkinReader::addReaction
|
void Foam::chemkinReader::addReaction
|
||||||
(
|
(
|
||||||
DynamicList<gasReaction::specieCoeffs>& lhs,
|
DynamicList<gasHReaction::specieCoeffs>& lhs,
|
||||||
DynamicList<gasReaction::specieCoeffs>& rhs,
|
DynamicList<gasHReaction::specieCoeffs>& rhs,
|
||||||
const scalarList& efficiencies,
|
const scalarList& efficiencies,
|
||||||
const reactionType rType,
|
const reactionType rType,
|
||||||
const reactionRateType rrType,
|
const reactionRateType rrType,
|
||||||
@ -499,9 +499,9 @@ void Foam::chemkinReader::addReaction
|
|||||||
reactions_.append
|
reactions_.append
|
||||||
(
|
(
|
||||||
new NonEquilibriumReversibleReaction
|
new NonEquilibriumReversibleReaction
|
||||||
<Reaction, gasThermoPhysics, ArrheniusReactionRate>
|
<Reaction, gasHThermoPhysics, ArrheniusReactionRate>
|
||||||
(
|
(
|
||||||
Reaction<gasThermoPhysics>
|
Reaction<gasHThermoPhysics>
|
||||||
(
|
(
|
||||||
speciesTable_,
|
speciesTable_,
|
||||||
lhs.shrink(),
|
lhs.shrink(),
|
||||||
@ -554,11 +554,11 @@ void Foam::chemkinReader::addReaction
|
|||||||
new NonEquilibriumReversibleReaction
|
new NonEquilibriumReversibleReaction
|
||||||
<
|
<
|
||||||
Reaction,
|
Reaction,
|
||||||
gasThermoPhysics,
|
gasHThermoPhysics,
|
||||||
thirdBodyArrheniusReactionRate
|
thirdBodyArrheniusReactionRate
|
||||||
>
|
>
|
||||||
(
|
(
|
||||||
Reaction<gasThermoPhysics>
|
Reaction<gasHThermoPhysics>
|
||||||
(
|
(
|
||||||
speciesTable_,
|
speciesTable_,
|
||||||
lhs.shrink(),
|
lhs.shrink(),
|
||||||
@ -661,9 +661,9 @@ void Foam::chemkinReader::addReaction
|
|||||||
reactions_.append
|
reactions_.append
|
||||||
(
|
(
|
||||||
new NonEquilibriumReversibleReaction
|
new NonEquilibriumReversibleReaction
|
||||||
<Reaction, gasThermoPhysics, LandauTellerReactionRate>
|
<Reaction, gasHThermoPhysics, LandauTellerReactionRate>
|
||||||
(
|
(
|
||||||
Reaction<gasThermoPhysics>
|
Reaction<gasHThermoPhysics>
|
||||||
(
|
(
|
||||||
speciesTable_,
|
speciesTable_,
|
||||||
lhs.shrink(),
|
lhs.shrink(),
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -61,7 +61,7 @@ namespace Foam
|
|||||||
|
|
||||||
class chemkinReader
|
class chemkinReader
|
||||||
:
|
:
|
||||||
public chemistryReader<gasThermoPhysics>,
|
public chemistryReader<gasHThermoPhysics>,
|
||||||
public yyFlexLexer
|
public yyFlexLexer
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -199,13 +199,13 @@ private:
|
|||||||
HashTable<phase> speciePhase_;
|
HashTable<phase> speciePhase_;
|
||||||
|
|
||||||
//- Table of the thermodynamic data given in the CHEMKIN file
|
//- Table of the thermodynamic data given in the CHEMKIN file
|
||||||
HashPtrTable<gasThermoPhysics> speciesThermo_;
|
HashPtrTable<gasHThermoPhysics> speciesThermo_;
|
||||||
|
|
||||||
//- Table of species composition
|
//- Table of species composition
|
||||||
HashTable<List<specieElement> > specieComposition_;
|
HashTable<List<specieElement> > specieComposition_;
|
||||||
|
|
||||||
//- List of the reactions
|
//- List of the reactions
|
||||||
ReactionList<gasThermoPhysics> reactions_;
|
ReactionList<gasHThermoPhysics> reactions_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
// Private Member Functions
|
||||||
@ -257,8 +257,8 @@ private:
|
|||||||
void addReactionType
|
void addReactionType
|
||||||
(
|
(
|
||||||
const reactionType rType,
|
const reactionType rType,
|
||||||
DynamicList<gasReaction::specieCoeffs>& lhs,
|
DynamicList<gasHReaction::specieCoeffs>& lhs,
|
||||||
DynamicList<gasReaction::specieCoeffs>& rhs,
|
DynamicList<gasHReaction::specieCoeffs>& rhs,
|
||||||
const ReactionRateType& rr
|
const ReactionRateType& rr
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -267,8 +267,8 @@ private:
|
|||||||
(
|
(
|
||||||
const reactionType rType,
|
const reactionType rType,
|
||||||
const fallOffFunctionType fofType,
|
const fallOffFunctionType fofType,
|
||||||
DynamicList<gasReaction::specieCoeffs>& lhs,
|
DynamicList<gasHReaction::specieCoeffs>& lhs,
|
||||||
DynamicList<gasReaction::specieCoeffs>& rhs,
|
DynamicList<gasHReaction::specieCoeffs>& rhs,
|
||||||
const scalarList& thirdBodyEfficiencies,
|
const scalarList& thirdBodyEfficiencies,
|
||||||
const scalarList& k0Coeffs,
|
const scalarList& k0Coeffs,
|
||||||
const scalarList& kInfCoeffs,
|
const scalarList& kInfCoeffs,
|
||||||
@ -280,8 +280,8 @@ private:
|
|||||||
|
|
||||||
void addReaction
|
void addReaction
|
||||||
(
|
(
|
||||||
DynamicList<gasReaction::specieCoeffs>& lhs,
|
DynamicList<gasHReaction::specieCoeffs>& lhs,
|
||||||
DynamicList<gasReaction::specieCoeffs>& rhs,
|
DynamicList<gasHReaction::specieCoeffs>& rhs,
|
||||||
const scalarList& thirdBodyEfficiencies,
|
const scalarList& thirdBodyEfficiencies,
|
||||||
const reactionType rType,
|
const reactionType rType,
|
||||||
const reactionRateType rrType,
|
const reactionRateType rrType,
|
||||||
@ -364,7 +364,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
//- Table of the thermodynamic data given in the CHEMKIN file
|
//- Table of the thermodynamic data given in the CHEMKIN file
|
||||||
const HashPtrTable<gasThermoPhysics>& speciesThermo() const
|
const HashPtrTable<gasHThermoPhysics>& speciesThermo() const
|
||||||
{
|
{
|
||||||
return speciesThermo_;
|
return speciesThermo_;
|
||||||
}
|
}
|
||||||
@ -376,7 +376,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
//- List of the reactions
|
//- List of the reactions
|
||||||
const ReactionList<gasThermoPhysics>& reactions() const
|
const ReactionList<gasHThermoPhysics>& reactions() const
|
||||||
{
|
{
|
||||||
return reactions_;
|
return reactions_;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -179,7 +179,7 @@ makeReactionThermo
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// Multi-component thermo
|
// Multi-component thermo for sensible enthalpy
|
||||||
|
|
||||||
makeReactionMixtureThermo
|
makeReactionMixtureThermo
|
||||||
(
|
(
|
||||||
@ -187,7 +187,7 @@ makeReactionMixtureThermo
|
|||||||
psiReactionThermo,
|
psiReactionThermo,
|
||||||
hePsiThermo,
|
hePsiThermo,
|
||||||
multiComponentMixture,
|
multiComponentMixture,
|
||||||
constGasThermoPhysics
|
constGasHThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
makeReactionMixtureThermo
|
makeReactionMixtureThermo
|
||||||
@ -196,11 +196,32 @@ makeReactionMixtureThermo
|
|||||||
psiReactionThermo,
|
psiReactionThermo,
|
||||||
hePsiThermo,
|
hePsiThermo,
|
||||||
multiComponentMixture,
|
multiComponentMixture,
|
||||||
gasThermoPhysics
|
gasHThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// Multi-component reaction thermo
|
// Multi-component thermo for internal energy
|
||||||
|
|
||||||
|
makeReactionMixtureThermo
|
||||||
|
(
|
||||||
|
psiThermo,
|
||||||
|
psiReactionThermo,
|
||||||
|
hePsiThermo,
|
||||||
|
multiComponentMixture,
|
||||||
|
constGasEThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
makeReactionMixtureThermo
|
||||||
|
(
|
||||||
|
psiThermo,
|
||||||
|
psiReactionThermo,
|
||||||
|
hePsiThermo,
|
||||||
|
multiComponentMixture,
|
||||||
|
gasEThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// Multi-component reaction thermo for sensible enthalpy
|
||||||
|
|
||||||
makeReactionMixtureThermo
|
makeReactionMixtureThermo
|
||||||
(
|
(
|
||||||
@ -208,7 +229,7 @@ makeReactionMixtureThermo
|
|||||||
psiReactionThermo,
|
psiReactionThermo,
|
||||||
hePsiThermo,
|
hePsiThermo,
|
||||||
reactingMixture,
|
reactingMixture,
|
||||||
constGasThermoPhysics
|
constGasHThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
makeReactionMixtureThermo
|
makeReactionMixtureThermo
|
||||||
@ -217,7 +238,7 @@ makeReactionMixtureThermo
|
|||||||
psiReactionThermo,
|
psiReactionThermo,
|
||||||
hePsiThermo,
|
hePsiThermo,
|
||||||
reactingMixture,
|
reactingMixture,
|
||||||
gasThermoPhysics
|
gasHThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
makeReactionMixtureThermo
|
makeReactionMixtureThermo
|
||||||
@ -226,7 +247,37 @@ makeReactionMixtureThermo
|
|||||||
psiReactionThermo,
|
psiReactionThermo,
|
||||||
hePsiThermo,
|
hePsiThermo,
|
||||||
singleStepReactingMixture,
|
singleStepReactingMixture,
|
||||||
gasThermoPhysics
|
gasHThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// Multi-component reaction thermo for internal energy
|
||||||
|
|
||||||
|
makeReactionMixtureThermo
|
||||||
|
(
|
||||||
|
psiThermo,
|
||||||
|
psiReactionThermo,
|
||||||
|
hePsiThermo,
|
||||||
|
reactingMixture,
|
||||||
|
constGasEThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
makeReactionMixtureThermo
|
||||||
|
(
|
||||||
|
psiThermo,
|
||||||
|
psiReactionThermo,
|
||||||
|
hePsiThermo,
|
||||||
|
reactingMixture,
|
||||||
|
gasEThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
makeReactionMixtureThermo
|
||||||
|
(
|
||||||
|
psiThermo,
|
||||||
|
psiReactionThermo,
|
||||||
|
hePsiThermo,
|
||||||
|
singleStepReactingMixture,
|
||||||
|
gasEThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -213,7 +213,7 @@ makeReactionThermo
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// Multi-component thermo
|
// Multi-component thermo for internal energy
|
||||||
|
|
||||||
makeReactionMixtureThermo
|
makeReactionMixtureThermo
|
||||||
(
|
(
|
||||||
@ -221,7 +221,7 @@ makeReactionMixtureThermo
|
|||||||
rhoReactionThermo,
|
rhoReactionThermo,
|
||||||
heRhoThermo,
|
heRhoThermo,
|
||||||
multiComponentMixture,
|
multiComponentMixture,
|
||||||
constGasThermoPhysics
|
constGasEThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
makeReactionMixtureThermo
|
makeReactionMixtureThermo
|
||||||
@ -230,7 +230,7 @@ makeReactionMixtureThermo
|
|||||||
rhoReactionThermo,
|
rhoReactionThermo,
|
||||||
heRhoThermo,
|
heRhoThermo,
|
||||||
multiComponentMixture,
|
multiComponentMixture,
|
||||||
gasThermoPhysics
|
gasEThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
makeReactionMixtureThermo
|
makeReactionMixtureThermo
|
||||||
@ -239,7 +239,7 @@ makeReactionMixtureThermo
|
|||||||
rhoReactionThermo,
|
rhoReactionThermo,
|
||||||
heRhoThermo,
|
heRhoThermo,
|
||||||
multiComponentMixture,
|
multiComponentMixture,
|
||||||
constIncompressibleGasThermoPhysics
|
constIncompressibleGasEThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
makeReactionMixtureThermo
|
makeReactionMixtureThermo
|
||||||
@ -248,7 +248,7 @@ makeReactionMixtureThermo
|
|||||||
rhoReactionThermo,
|
rhoReactionThermo,
|
||||||
heRhoThermo,
|
heRhoThermo,
|
||||||
multiComponentMixture,
|
multiComponentMixture,
|
||||||
incompressibleGasThermoPhysics
|
incompressibleGasEThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
makeReactionMixtureThermo
|
makeReactionMixtureThermo
|
||||||
@ -257,7 +257,114 @@ makeReactionMixtureThermo
|
|||||||
rhoReactionThermo,
|
rhoReactionThermo,
|
||||||
heRhoThermo,
|
heRhoThermo,
|
||||||
multiComponentMixture,
|
multiComponentMixture,
|
||||||
icoPoly8ThermoPhysics
|
icoPoly8EThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// Multi-component reaction thermo
|
||||||
|
|
||||||
|
makeReactionMixtureThermo
|
||||||
|
(
|
||||||
|
rhoThermo,
|
||||||
|
rhoReactionThermo,
|
||||||
|
heRhoThermo,
|
||||||
|
reactingMixture,
|
||||||
|
constGasEThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
makeReactionMixtureThermo
|
||||||
|
(
|
||||||
|
rhoThermo,
|
||||||
|
rhoReactionThermo,
|
||||||
|
heRhoThermo,
|
||||||
|
reactingMixture,
|
||||||
|
gasEThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
makeReactionMixtureThermo
|
||||||
|
(
|
||||||
|
rhoThermo,
|
||||||
|
rhoReactionThermo,
|
||||||
|
heRhoThermo,
|
||||||
|
reactingMixture,
|
||||||
|
constIncompressibleGasEThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
makeReactionMixtureThermo
|
||||||
|
(
|
||||||
|
rhoThermo,
|
||||||
|
rhoReactionThermo,
|
||||||
|
heRhoThermo,
|
||||||
|
reactingMixture,
|
||||||
|
incompressibleGasEThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
makeReactionMixtureThermo
|
||||||
|
(
|
||||||
|
rhoThermo,
|
||||||
|
rhoReactionThermo,
|
||||||
|
heRhoThermo,
|
||||||
|
reactingMixture,
|
||||||
|
icoPoly8EThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
makeReactionMixtureThermo
|
||||||
|
(
|
||||||
|
rhoThermo,
|
||||||
|
rhoReactionThermo,
|
||||||
|
heRhoThermo,
|
||||||
|
singleStepReactingMixture,
|
||||||
|
gasEThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Multi-component thermo for sensible enthalpy
|
||||||
|
|
||||||
|
makeReactionMixtureThermo
|
||||||
|
(
|
||||||
|
rhoThermo,
|
||||||
|
rhoReactionThermo,
|
||||||
|
heRhoThermo,
|
||||||
|
multiComponentMixture,
|
||||||
|
constGasHThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
makeReactionMixtureThermo
|
||||||
|
(
|
||||||
|
rhoThermo,
|
||||||
|
rhoReactionThermo,
|
||||||
|
heRhoThermo,
|
||||||
|
multiComponentMixture,
|
||||||
|
gasHThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
makeReactionMixtureThermo
|
||||||
|
(
|
||||||
|
rhoThermo,
|
||||||
|
rhoReactionThermo,
|
||||||
|
heRhoThermo,
|
||||||
|
multiComponentMixture,
|
||||||
|
constIncompressibleGasHThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
makeReactionMixtureThermo
|
||||||
|
(
|
||||||
|
rhoThermo,
|
||||||
|
rhoReactionThermo,
|
||||||
|
heRhoThermo,
|
||||||
|
multiComponentMixture,
|
||||||
|
incompressibleGasHThermoPhysics
|
||||||
|
);
|
||||||
|
|
||||||
|
makeReactionMixtureThermo
|
||||||
|
(
|
||||||
|
rhoThermo,
|
||||||
|
rhoReactionThermo,
|
||||||
|
heRhoThermo,
|
||||||
|
multiComponentMixture,
|
||||||
|
icoPoly8HThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
@ -269,7 +376,7 @@ makeReactionMixtureThermo
|
|||||||
rhoReactionThermo,
|
rhoReactionThermo,
|
||||||
heRhoThermo,
|
heRhoThermo,
|
||||||
reactingMixture,
|
reactingMixture,
|
||||||
constGasThermoPhysics
|
constGasHThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
makeReactionMixtureThermo
|
makeReactionMixtureThermo
|
||||||
@ -278,7 +385,7 @@ makeReactionMixtureThermo
|
|||||||
rhoReactionThermo,
|
rhoReactionThermo,
|
||||||
heRhoThermo,
|
heRhoThermo,
|
||||||
reactingMixture,
|
reactingMixture,
|
||||||
gasThermoPhysics
|
gasHThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
makeReactionMixtureThermo
|
makeReactionMixtureThermo
|
||||||
@ -287,7 +394,7 @@ makeReactionMixtureThermo
|
|||||||
rhoReactionThermo,
|
rhoReactionThermo,
|
||||||
heRhoThermo,
|
heRhoThermo,
|
||||||
reactingMixture,
|
reactingMixture,
|
||||||
constIncompressibleGasThermoPhysics
|
constIncompressibleGasHThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
makeReactionMixtureThermo
|
makeReactionMixtureThermo
|
||||||
@ -296,7 +403,7 @@ makeReactionMixtureThermo
|
|||||||
rhoReactionThermo,
|
rhoReactionThermo,
|
||||||
heRhoThermo,
|
heRhoThermo,
|
||||||
reactingMixture,
|
reactingMixture,
|
||||||
incompressibleGasThermoPhysics
|
incompressibleGasHThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
makeReactionMixtureThermo
|
makeReactionMixtureThermo
|
||||||
@ -305,7 +412,7 @@ makeReactionMixtureThermo
|
|||||||
rhoReactionThermo,
|
rhoReactionThermo,
|
||||||
heRhoThermo,
|
heRhoThermo,
|
||||||
reactingMixture,
|
reactingMixture,
|
||||||
icoPoly8ThermoPhysics
|
icoPoly8HThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
makeReactionMixtureThermo
|
makeReactionMixtureThermo
|
||||||
@ -314,7 +421,7 @@ makeReactionMixtureThermo
|
|||||||
rhoReactionThermo,
|
rhoReactionThermo,
|
||||||
heRhoThermo,
|
heRhoThermo,
|
||||||
singleStepReactingMixture,
|
singleStepReactingMixture,
|
||||||
gasThermoPhysics
|
gasHThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -46,7 +46,7 @@ namespace Foam
|
|||||||
ODESolidChemistryModel,
|
ODESolidChemistryModel,
|
||||||
solidChemistryModel,
|
solidChemistryModel,
|
||||||
hConstSolidThermoPhysics,
|
hConstSolidThermoPhysics,
|
||||||
gasThermoPhysics
|
gasHThermoPhysics
|
||||||
);
|
);
|
||||||
|
|
||||||
makeSolidChemistryModel
|
makeSolidChemistryModel
|
||||||
@ -54,7 +54,7 @@ namespace Foam
|
|||||||
ODESolidChemistryModel,
|
ODESolidChemistryModel,
|
||||||
solidChemistryModel,
|
solidChemistryModel,
|
||||||
hExponentialSolidThermoPhysics,
|
hExponentialSolidThermoPhysics,
|
||||||
gasThermoPhysics
|
gasHThermoPhysics
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -41,7 +41,7 @@ namespace Foam
|
|||||||
ode,
|
ode,
|
||||||
solidChemistryModel,
|
solidChemistryModel,
|
||||||
hConstSolidThermoPhysics,
|
hConstSolidThermoPhysics,
|
||||||
gasThermoPhysics
|
gasHThermoPhysics
|
||||||
)
|
)
|
||||||
|
|
||||||
makeSolidChemistrySolverType
|
makeSolidChemistrySolverType
|
||||||
@ -49,7 +49,7 @@ namespace Foam
|
|||||||
ode,
|
ode,
|
||||||
solidChemistryModel,
|
solidChemistryModel,
|
||||||
hExponentialSolidThermoPhysics,
|
hExponentialSolidThermoPhysics,
|
||||||
gasThermoPhysics
|
gasHThermoPhysics
|
||||||
)
|
)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -43,16 +43,31 @@ Description
|
|||||||
|
|
||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
typedef Reaction<constGasThermoPhysics> constGasReaction;
|
// sensible enthalpy based reactions
|
||||||
|
typedef Reaction<constGasHThermoPhysics> constGasHReaction;
|
||||||
|
|
||||||
typedef Reaction<gasThermoPhysics> gasReaction;
|
typedef Reaction<gasHThermoPhysics> gasHReaction;
|
||||||
|
|
||||||
typedef Reaction<constIncompressibleGasThermoPhysics>
|
typedef Reaction<constIncompressibleGasHThermoPhysics>
|
||||||
constIncompressibleGasReaction;
|
constIncompressibleGasHReaction;
|
||||||
|
|
||||||
typedef Reaction<incompressibleGasThermoPhysics> incompressibleGasReaction;
|
typedef Reaction<incompressibleGasHThermoPhysics>
|
||||||
|
incompressibleGasHReaction;
|
||||||
|
|
||||||
typedef Reaction<icoPoly8ThermoPhysics> icoPoly8Reaction;
|
typedef Reaction<icoPoly8HThermoPhysics> icoPoly8HReaction;
|
||||||
|
|
||||||
|
// internal ennergy based reactions
|
||||||
|
typedef Reaction<constGasEThermoPhysics> constGasEReaction;
|
||||||
|
|
||||||
|
typedef Reaction<gasEThermoPhysics> gasEReaction;
|
||||||
|
|
||||||
|
typedef Reaction<constIncompressibleGasEThermoPhysics>
|
||||||
|
constIncompressibleGasEReaction;
|
||||||
|
|
||||||
|
typedef Reaction<incompressibleGasEThermoPhysics>
|
||||||
|
incompressibleGasEReaction;
|
||||||
|
|
||||||
|
typedef Reaction<icoPoly8EThermoPhysics> icoPoly8EReaction;
|
||||||
}
|
}
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -37,7 +37,9 @@ Description
|
|||||||
#include "incompressiblePerfectGas.H"
|
#include "incompressiblePerfectGas.H"
|
||||||
#include "hConstThermo.H"
|
#include "hConstThermo.H"
|
||||||
#include "janafThermo.H"
|
#include "janafThermo.H"
|
||||||
|
|
||||||
#include "sensibleEnthalpy.H"
|
#include "sensibleEnthalpy.H"
|
||||||
|
#include "sensibleInternalEnergy.H"
|
||||||
#include "thermo.H"
|
#include "thermo.H"
|
||||||
#include "sutherlandTransport.H"
|
#include "sutherlandTransport.H"
|
||||||
#include "constTransport.H"
|
#include "constTransport.H"
|
||||||
@ -50,6 +52,7 @@ Description
|
|||||||
|
|
||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
|
// thermo physics types based on sensibleEnthalpy
|
||||||
typedef
|
typedef
|
||||||
constTransport
|
constTransport
|
||||||
<
|
<
|
||||||
@ -61,7 +64,7 @@ namespace Foam
|
|||||||
>,
|
>,
|
||||||
sensibleEnthalpy
|
sensibleEnthalpy
|
||||||
>
|
>
|
||||||
> constGasThermoPhysics;
|
> constGasHThermoPhysics;
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
sutherlandTransport
|
sutherlandTransport
|
||||||
@ -74,7 +77,7 @@ namespace Foam
|
|||||||
>,
|
>,
|
||||||
sensibleEnthalpy
|
sensibleEnthalpy
|
||||||
>
|
>
|
||||||
> gasThermoPhysics;
|
> gasHThermoPhysics;
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
constTransport
|
constTransport
|
||||||
@ -87,7 +90,7 @@ namespace Foam
|
|||||||
>,
|
>,
|
||||||
sensibleEnthalpy
|
sensibleEnthalpy
|
||||||
>
|
>
|
||||||
> constIncompressibleGasThermoPhysics;
|
> constIncompressibleGasHThermoPhysics;
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
sutherlandTransport
|
sutherlandTransport
|
||||||
@ -100,7 +103,7 @@ namespace Foam
|
|||||||
>,
|
>,
|
||||||
sensibleEnthalpy
|
sensibleEnthalpy
|
||||||
>
|
>
|
||||||
> incompressibleGasThermoPhysics;
|
> incompressibleGasHThermoPhysics;
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
polynomialTransport
|
polynomialTransport
|
||||||
@ -115,7 +118,76 @@ namespace Foam
|
|||||||
sensibleEnthalpy
|
sensibleEnthalpy
|
||||||
>,
|
>,
|
||||||
8
|
8
|
||||||
> icoPoly8ThermoPhysics;
|
> icoPoly8HThermoPhysics;
|
||||||
|
|
||||||
|
|
||||||
|
// thermo physics types based on sensibleInternalEnergy
|
||||||
|
typedef
|
||||||
|
constTransport
|
||||||
|
<
|
||||||
|
species::thermo
|
||||||
|
<
|
||||||
|
hConstThermo
|
||||||
|
<
|
||||||
|
perfectGas<specie>
|
||||||
|
>,
|
||||||
|
sensibleInternalEnergy
|
||||||
|
>
|
||||||
|
> constGasEThermoPhysics;
|
||||||
|
|
||||||
|
typedef
|
||||||
|
sutherlandTransport
|
||||||
|
<
|
||||||
|
species::thermo
|
||||||
|
<
|
||||||
|
janafThermo
|
||||||
|
<
|
||||||
|
perfectGas<specie>
|
||||||
|
>,
|
||||||
|
sensibleInternalEnergy
|
||||||
|
>
|
||||||
|
> gasEThermoPhysics;
|
||||||
|
|
||||||
|
typedef
|
||||||
|
constTransport
|
||||||
|
<
|
||||||
|
species::thermo
|
||||||
|
<
|
||||||
|
hConstThermo
|
||||||
|
<
|
||||||
|
incompressiblePerfectGas<specie>
|
||||||
|
>,
|
||||||
|
sensibleInternalEnergy
|
||||||
|
>
|
||||||
|
> constIncompressibleGasEThermoPhysics;
|
||||||
|
|
||||||
|
typedef
|
||||||
|
sutherlandTransport
|
||||||
|
<
|
||||||
|
species::thermo
|
||||||
|
<
|
||||||
|
janafThermo
|
||||||
|
<
|
||||||
|
incompressiblePerfectGas<specie>
|
||||||
|
>,
|
||||||
|
sensibleInternalEnergy
|
||||||
|
>
|
||||||
|
> incompressibleGasEThermoPhysics;
|
||||||
|
|
||||||
|
typedef
|
||||||
|
polynomialTransport
|
||||||
|
<
|
||||||
|
species::thermo
|
||||||
|
<
|
||||||
|
hPolynomialThermo
|
||||||
|
<
|
||||||
|
icoPolynomial<specie, 8>,
|
||||||
|
8
|
||||||
|
>,
|
||||||
|
sensibleInternalEnergy
|
||||||
|
>,
|
||||||
|
8
|
||||||
|
> icoPoly8EThermoPhysics;
|
||||||
}
|
}
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -31,8 +31,11 @@ License
|
|||||||
|
|
||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
makeIRReactions(gasThermoPhysics, LangmuirHinshelwoodReactionRate)
|
makeIRReactions(gasHThermoPhysics, LangmuirHinshelwoodReactionRate)
|
||||||
makeIRReactions(icoPoly8ThermoPhysics, LangmuirHinshelwoodReactionRate)
|
makeIRReactions(icoPoly8HThermoPhysics, LangmuirHinshelwoodReactionRate)
|
||||||
|
|
||||||
|
makeIRReactions(gasEThermoPhysics, LangmuirHinshelwoodReactionRate)
|
||||||
|
makeIRReactions(icoPoly8EThermoPhysics, LangmuirHinshelwoodReactionRate)
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -83,15 +83,26 @@ License
|
|||||||
|
|
||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
makeReactions(constGasThermoPhysics, constGasReaction)
|
// sensible enthalpy based reactions
|
||||||
makeReactions(gasThermoPhysics, gasReaction)
|
makeReactions(constGasHThermoPhysics, constGasHReaction)
|
||||||
|
makeReactions(gasHThermoPhysics, gasHReaction)
|
||||||
makeReactions
|
makeReactions
|
||||||
(
|
(
|
||||||
constIncompressibleGasThermoPhysics,
|
constIncompressibleGasHThermoPhysics,
|
||||||
constIncompressibleGasReaction
|
constIncompressibleGasHReaction
|
||||||
)
|
)
|
||||||
makeReactions(incompressibleGasThermoPhysics, incompressibleGasReaction)
|
makeReactions(incompressibleGasHThermoPhysics, incompressibleGasHReaction)
|
||||||
makeReactions(icoPoly8ThermoPhysics, icoPoly8Reaction)
|
makeReactions(icoPoly8HThermoPhysics, icoPoly8HReaction)
|
||||||
|
|
||||||
|
makeReactions(constGasEThermoPhysics, constGasEReaction)
|
||||||
|
makeReactions(gasEThermoPhysics, gasEReaction)
|
||||||
|
makeReactions
|
||||||
|
(
|
||||||
|
constIncompressibleGasEThermoPhysics,
|
||||||
|
constIncompressibleGasEReaction
|
||||||
|
)
|
||||||
|
makeReactions(incompressibleGasEThermoPhysics, incompressibleGasEReaction)
|
||||||
|
makeReactions(icoPoly8EThermoPhysics, icoPoly8EReaction)
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
Reference in New Issue
Block a user