ENH: rho/psiReactionThermos: add PengRobinsonGas to the thermos

This commit is contained in:
Kutalmis Bercin
2023-06-06 16:50:25 +01:00
parent 30d29f2303
commit a2b3187188
10 changed files with 411 additions and 2 deletions

View File

@ -63,6 +63,13 @@ namespace Foam
gasHThermoPhysics gasHThermoPhysics
); );
makeChemistryModelType
(
StandardChemistryModel,
psiReactionThermo,
PengRobinsonGasHThermoPhysics
);
makeChemistryModelType makeChemistryModelType
( (
StandardChemistryModel, StandardChemistryModel,
@ -120,6 +127,13 @@ namespace Foam
gasHThermoPhysics gasHThermoPhysics
); );
makeChemistryModelType
(
StandardChemistryModel,
rhoReactionThermo,
PengRobinsonGasHThermoPhysics
);
makeChemistryModelType makeChemistryModelType
( (
StandardChemistryModel, StandardChemistryModel,
@ -177,6 +191,13 @@ namespace Foam
gasHThermoPhysics gasHThermoPhysics
); );
makeChemistryModelType
(
TDACChemistryModel,
psiReactionThermo,
PengRobinsonGasHThermoPhysics
);
makeChemistryModelType makeChemistryModelType
( (
TDACChemistryModel, TDACChemistryModel,
@ -234,6 +255,13 @@ namespace Foam
gasHThermoPhysics gasHThermoPhysics
); );
makeChemistryModelType
(
TDACChemistryModel,
rhoReactionThermo,
PengRobinsonGasHThermoPhysics
);
makeChemistryModelType makeChemistryModelType
( (
TDACChemistryModel, TDACChemistryModel,
@ -292,6 +320,13 @@ namespace Foam
gasEThermoPhysics gasEThermoPhysics
); );
makeChemistryModelType
(
StandardChemistryModel,
psiReactionThermo,
PengRobinsonGasEThermoPhysics
);
makeChemistryModelType makeChemistryModelType
( (
StandardChemistryModel, StandardChemistryModel,
@ -350,6 +385,13 @@ namespace Foam
gasEThermoPhysics gasEThermoPhysics
); );
makeChemistryModelType
(
StandardChemistryModel,
rhoReactionThermo,
PengRobinsonGasEThermoPhysics
);
makeChemistryModelType makeChemistryModelType
( (
StandardChemistryModel, StandardChemistryModel,
@ -407,6 +449,13 @@ namespace Foam
gasEThermoPhysics gasEThermoPhysics
); );
makeChemistryModelType
(
TDACChemistryModel,
psiReactionThermo,
PengRobinsonGasEThermoPhysics
);
makeChemistryModelType makeChemistryModelType
( (
TDACChemistryModel, TDACChemistryModel,
@ -464,6 +513,13 @@ namespace Foam
gasEThermoPhysics gasEThermoPhysics
); );
makeChemistryModelType
(
TDACChemistryModel,
rhoReactionThermo,
PengRobinsonGasEThermoPhysics
);
makeChemistryModelType makeChemistryModelType
( (
TDACChemistryModel, TDACChemistryModel,

View File

@ -40,6 +40,11 @@ namespace Foam
makeChemistryReductionMethods(psiReactionThermo, constGasHThermoPhysics); makeChemistryReductionMethods(psiReactionThermo, constGasHThermoPhysics);
makeChemistryReductionMethods(psiReactionThermo, gasHThermoPhysics); makeChemistryReductionMethods(psiReactionThermo, gasHThermoPhysics);
makeChemistryReductionMethods makeChemistryReductionMethods
(
psiReactionThermo,
PengRobinsonGasHThermoPhysics
);
makeChemistryReductionMethods
( (
psiReactionThermo, psiReactionThermo,
constIncompressibleGasHThermoPhysics constIncompressibleGasHThermoPhysics
@ -62,6 +67,11 @@ namespace Foam
makeChemistryReductionMethods(rhoReactionThermo, constGasHThermoPhysics); makeChemistryReductionMethods(rhoReactionThermo, constGasHThermoPhysics);
makeChemistryReductionMethods(rhoReactionThermo, gasHThermoPhysics); makeChemistryReductionMethods(rhoReactionThermo, gasHThermoPhysics);
makeChemistryReductionMethods makeChemistryReductionMethods
(
rhoReactionThermo,
PengRobinsonGasHThermoPhysics
);
makeChemistryReductionMethods
( (
rhoReactionThermo, rhoReactionThermo,
constIncompressibleGasHThermoPhysics constIncompressibleGasHThermoPhysics
@ -86,6 +96,11 @@ namespace Foam
makeChemistryReductionMethods(psiReactionThermo, constGasEThermoPhysics); makeChemistryReductionMethods(psiReactionThermo, constGasEThermoPhysics);
makeChemistryReductionMethods(psiReactionThermo, gasEThermoPhysics); makeChemistryReductionMethods(psiReactionThermo, gasEThermoPhysics);
makeChemistryReductionMethods makeChemistryReductionMethods
(
psiReactionThermo,
PengRobinsonGasEThermoPhysics
);
makeChemistryReductionMethods
( (
psiReactionThermo, psiReactionThermo,
constIncompressibleGasEThermoPhysics constIncompressibleGasEThermoPhysics
@ -108,6 +123,11 @@ namespace Foam
makeChemistryReductionMethods(rhoReactionThermo, constGasEThermoPhysics); makeChemistryReductionMethods(rhoReactionThermo, constGasEThermoPhysics);
makeChemistryReductionMethods(rhoReactionThermo, gasEThermoPhysics); makeChemistryReductionMethods(rhoReactionThermo, gasEThermoPhysics);
makeChemistryReductionMethods makeChemistryReductionMethods
(
rhoReactionThermo,
PengRobinsonGasEThermoPhysics
);
makeChemistryReductionMethods
( (
rhoReactionThermo, rhoReactionThermo,
constIncompressibleGasEThermoPhysics constIncompressibleGasEThermoPhysics

View File

@ -39,6 +39,7 @@ namespace Foam
// Chemistry solvers based on sensibleEnthalpy // Chemistry solvers based on sensibleEnthalpy
makeChemistryTabulationMethods(psiReactionThermo, constGasHThermoPhysics); makeChemistryTabulationMethods(psiReactionThermo, constGasHThermoPhysics);
makeChemistryTabulationMethods(psiReactionThermo, gasHThermoPhysics); makeChemistryTabulationMethods(psiReactionThermo, gasHThermoPhysics);
makeChemistryTabulationMethods(psiReactionThermo, PengRobinsonGasHThermoPhysics);
makeChemistryTabulationMethods makeChemistryTabulationMethods
( (
psiReactionThermo, psiReactionThermo,
@ -62,6 +63,7 @@ namespace Foam
makeChemistryTabulationMethods(rhoReactionThermo, constGasHThermoPhysics); makeChemistryTabulationMethods(rhoReactionThermo, constGasHThermoPhysics);
makeChemistryTabulationMethods(rhoReactionThermo, gasHThermoPhysics); makeChemistryTabulationMethods(rhoReactionThermo, gasHThermoPhysics);
makeChemistryTabulationMethods(rhoReactionThermo, PengRobinsonGasHThermoPhysics);
makeChemistryTabulationMethods makeChemistryTabulationMethods
( (
rhoReactionThermo, rhoReactionThermo,
@ -87,6 +89,7 @@ namespace Foam
makeChemistryTabulationMethods(psiReactionThermo, constGasEThermoPhysics); makeChemistryTabulationMethods(psiReactionThermo, constGasEThermoPhysics);
makeChemistryTabulationMethods(psiReactionThermo, gasEThermoPhysics); makeChemistryTabulationMethods(psiReactionThermo, gasEThermoPhysics);
makeChemistryTabulationMethods(psiReactionThermo, PengRobinsonGasEThermoPhysics);
makeChemistryTabulationMethods makeChemistryTabulationMethods
( (
psiReactionThermo, psiReactionThermo,
@ -110,6 +113,7 @@ namespace Foam
makeChemistryTabulationMethods(rhoReactionThermo, constGasEThermoPhysics); makeChemistryTabulationMethods(rhoReactionThermo, constGasEThermoPhysics);
makeChemistryTabulationMethods(rhoReactionThermo, gasEThermoPhysics); makeChemistryTabulationMethods(rhoReactionThermo, gasEThermoPhysics);
makeChemistryTabulationMethods(rhoReactionThermo, PengRobinsonGasEThermoPhysics);
makeChemistryTabulationMethods makeChemistryTabulationMethods
( (
rhoReactionThermo, rhoReactionThermo,

View File

@ -38,6 +38,7 @@ namespace Foam
// Chemistry solvers based on sensibleEnthalpy // Chemistry solvers based on sensibleEnthalpy
makeChemistrySolverTypes(psiReactionThermo, constGasHThermoPhysics); makeChemistrySolverTypes(psiReactionThermo, constGasHThermoPhysics);
makeChemistrySolverTypes(psiReactionThermo, gasHThermoPhysics); makeChemistrySolverTypes(psiReactionThermo, gasHThermoPhysics);
makeChemistrySolverTypes(psiReactionThermo, PengRobinsonGasHThermoPhysics);
makeChemistrySolverTypes makeChemistrySolverTypes
( (
psiReactionThermo, psiReactionThermo,
@ -61,6 +62,7 @@ namespace Foam
makeChemistrySolverTypes(rhoReactionThermo, constGasHThermoPhysics); makeChemistrySolverTypes(rhoReactionThermo, constGasHThermoPhysics);
makeChemistrySolverTypes(rhoReactionThermo, gasHThermoPhysics); makeChemistrySolverTypes(rhoReactionThermo, gasHThermoPhysics);
makeChemistrySolverTypes(rhoReactionThermo, PengRobinsonGasHThermoPhysics);
makeChemistrySolverTypes makeChemistrySolverTypes
( (
rhoReactionThermo, rhoReactionThermo,
@ -84,6 +86,7 @@ namespace Foam
// Chemistry solvers based on sensibleInternalEnergy // Chemistry solvers based on sensibleInternalEnergy
makeChemistrySolverTypes(psiReactionThermo, constGasEThermoPhysics); makeChemistrySolverTypes(psiReactionThermo, constGasEThermoPhysics);
makeChemistrySolverTypes(psiReactionThermo, gasEThermoPhysics); makeChemistrySolverTypes(psiReactionThermo, gasEThermoPhysics);
makeChemistrySolverTypes(psiReactionThermo, PengRobinsonGasEThermoPhysics);
makeChemistrySolverTypes makeChemistrySolverTypes
( (
psiReactionThermo, psiReactionThermo,
@ -105,6 +108,7 @@ namespace Foam
makeChemistrySolverTypes(rhoReactionThermo, constGasEThermoPhysics); makeChemistrySolverTypes(rhoReactionThermo, constGasEThermoPhysics);
makeChemistrySolverTypes(rhoReactionThermo, gasEThermoPhysics); makeChemistrySolverTypes(rhoReactionThermo, gasEThermoPhysics);
makeChemistrySolverTypes(rhoReactionThermo, PengRobinsonGasEThermoPhysics);
makeChemistrySolverTypes makeChemistrySolverTypes
( (
rhoReactionThermo, rhoReactionThermo,

View File

@ -6,6 +6,7 @@
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Copyright (C) 2011-2015 OpenFOAM Foundation Copyright (C) 2011-2015 OpenFOAM Foundation
Copyright (C) 2023 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
@ -43,6 +44,7 @@ namespace Foam
makeChemistryReader(constGasHThermoPhysics); makeChemistryReader(constGasHThermoPhysics);
makeChemistryReader(gasHThermoPhysics); makeChemistryReader(gasHThermoPhysics);
makeChemistryReader(PengRobinsonGasHThermoPhysics);
makeChemistryReader(constIncompressibleGasHThermoPhysics); makeChemistryReader(constIncompressibleGasHThermoPhysics);
makeChemistryReader(incompressibleGasHThermoPhysics); makeChemistryReader(incompressibleGasHThermoPhysics);
makeChemistryReader(icoPoly8HThermoPhysics); makeChemistryReader(icoPoly8HThermoPhysics);
@ -53,6 +55,7 @@ makeChemistryReader(constHThermoPhysics);
makeChemistryReaderType(foamChemistryReader, constGasHThermoPhysics); makeChemistryReaderType(foamChemistryReader, constGasHThermoPhysics);
makeChemistryReaderType(foamChemistryReader, gasHThermoPhysics); makeChemistryReaderType(foamChemistryReader, gasHThermoPhysics);
makeChemistryReaderType(foamChemistryReader, PengRobinsonGasHThermoPhysics);
makeChemistryReaderType makeChemistryReaderType
( (
foamChemistryReader, foamChemistryReader,
@ -70,6 +73,7 @@ makeChemistryReaderType(foamChemistryReader, constHThermoPhysics);
makeChemistryReader(constGasEThermoPhysics); makeChemistryReader(constGasEThermoPhysics);
makeChemistryReader(gasEThermoPhysics); makeChemistryReader(gasEThermoPhysics);
makeChemistryReader(PengRobinsonGasEThermoPhysics);
makeChemistryReader(constIncompressibleGasEThermoPhysics); makeChemistryReader(constIncompressibleGasEThermoPhysics);
makeChemistryReader(incompressibleGasEThermoPhysics); makeChemistryReader(incompressibleGasEThermoPhysics);
makeChemistryReader(icoPoly8EThermoPhysics); makeChemistryReader(icoPoly8EThermoPhysics);
@ -80,6 +84,7 @@ makeChemistryReader(constEThermoPhysics);
makeChemistryReaderType(foamChemistryReader, constGasEThermoPhysics); makeChemistryReaderType(foamChemistryReader, constGasEThermoPhysics);
makeChemistryReaderType(foamChemistryReader, gasEThermoPhysics); makeChemistryReaderType(foamChemistryReader, gasEThermoPhysics);
makeChemistryReaderType(foamChemistryReader, PengRobinsonGasEThermoPhysics);
makeChemistryReaderType makeChemistryReaderType
( (
foamChemistryReader, foamChemistryReader,

View File

@ -6,6 +6,7 @@
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Copyright (C) 2011-2017 OpenFOAM Foundation Copyright (C) 2011-2017 OpenFOAM Foundation
Copyright (C) 2023 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
@ -32,6 +33,7 @@ License
#include "specie.H" #include "specie.H"
#include "perfectGas.H" #include "perfectGas.H"
#include "PengRobinsonGas.H"
#include "hConstThermo.H" #include "hConstThermo.H"
#include "janafThermo.H" #include "janafThermo.H"
#include "sensibleEnthalpy.H" #include "sensibleEnthalpy.H"
@ -181,6 +183,131 @@ makeReactionThermos
specie specie
); );
// Peng Robinson
makeReactionThermos
(
psiThermo,
psiReactionThermo,
hePsiThermo,
homogeneousMixture,
constTransport,
sensibleEnthalpy,
hConstThermo,
PengRobinsonGas,
specie
);
makeReactionThermos
(
psiThermo,
psiReactionThermo,
hePsiThermo,
inhomogeneousMixture,
constTransport,
sensibleEnthalpy,
hConstThermo,
PengRobinsonGas,
specie
);
makeReactionThermos
(
psiThermo,
psiReactionThermo,
hePsiThermo,
veryInhomogeneousMixture,
constTransport,
sensibleEnthalpy,
hConstThermo,
PengRobinsonGas,
specie
);
// sutherlandTransport, hConstThermo
makeReactionThermos
(
psiThermo,
psiReactionThermo,
hePsiThermo,
homogeneousMixture,
sutherlandTransport,
sensibleEnthalpy,
hConstThermo,
PengRobinsonGas,
specie
);
makeReactionThermos
(
psiThermo,
psiReactionThermo,
hePsiThermo,
inhomogeneousMixture,
sutherlandTransport,
sensibleEnthalpy,
hConstThermo,
PengRobinsonGas,
specie
);
makeReactionThermos
(
psiThermo,
psiReactionThermo,
hePsiThermo,
veryInhomogeneousMixture,
sutherlandTransport,
sensibleEnthalpy,
hConstThermo,
PengRobinsonGas,
specie
);
// sutherlandTransport, janafThermo
makeReactionThermos
(
psiThermo,
psiReactionThermo,
hePsiThermo,
homogeneousMixture,
sutherlandTransport,
sensibleEnthalpy,
janafThermo,
PengRobinsonGas,
specie
);
makeReactionThermos
(
psiThermo,
psiReactionThermo,
hePsiThermo,
inhomogeneousMixture,
sutherlandTransport,
sensibleEnthalpy,
janafThermo,
PengRobinsonGas,
specie
);
makeReactionThermos
(
psiThermo,
psiReactionThermo,
hePsiThermo,
veryInhomogeneousMixture,
sutherlandTransport,
sensibleEnthalpy,
janafThermo,
PengRobinsonGas,
specie
);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Multi-component thermo for sensible enthalpy // Multi-component thermo for sensible enthalpy
@ -245,6 +372,15 @@ makeThermoPhysicsReactionThermos
gasHThermoPhysics gasHThermoPhysics
); );
makeThermoPhysicsReactionThermos
(
psiThermo,
psiReactionThermo,
hePsiThermo,
reactingMixture,
PengRobinsonGasHThermoPhysics
);
// Single-step reaction thermo for sensible enthalpy // Single-step reaction thermo for sensible enthalpy
@ -278,6 +414,15 @@ makeThermoPhysicsReactionThermos
gasEThermoPhysics gasEThermoPhysics
); );
makeThermoPhysicsReactionThermos
(
psiThermo,
psiReactionThermo,
hePsiThermo,
reactingMixture,
PengRobinsonGasEThermoPhysics
);
// Single-step reaction thermo for internal energy // Single-step reaction thermo for internal energy

View File

@ -33,6 +33,7 @@ License
#include "specie.H" #include "specie.H"
#include "perfectGas.H" #include "perfectGas.H"
#include "PengRobinsonGas.H"
#include "incompressiblePerfectGas.H" #include "incompressiblePerfectGas.H"
#include "hConstThermo.H" #include "hConstThermo.H"
#include "janafThermo.H" #include "janafThermo.H"
@ -222,6 +223,130 @@ makeReactionThermos
specie specie
); );
// Peng Robinson
makeReactionThermos
(
rhoThermo,
rhoReactionThermo,
heRhoThermo,
homogeneousMixture,
constTransport,
sensibleEnthalpy,
hConstThermo,
PengRobinsonGas,
specie
);
makeReactionThermos
(
rhoThermo,
rhoReactionThermo,
heRhoThermo,
inhomogeneousMixture,
constTransport,
sensibleEnthalpy,
hConstThermo,
PengRobinsonGas,
specie
);
makeReactionThermos
(
rhoThermo,
rhoReactionThermo,
heRhoThermo,
veryInhomogeneousMixture,
constTransport,
sensibleEnthalpy,
hConstThermo,
PengRobinsonGas,
specie
);
// sutherlandTransport, hConstThermo
makeReactionThermos
(
rhoThermo,
rhoReactionThermo,
heRhoThermo,
homogeneousMixture,
sutherlandTransport,
sensibleEnthalpy,
hConstThermo,
PengRobinsonGas,
specie
);
makeReactionThermos
(
rhoThermo,
rhoReactionThermo,
heRhoThermo,
inhomogeneousMixture,
sutherlandTransport,
sensibleEnthalpy,
hConstThermo,
PengRobinsonGas,
specie
);
makeReactionThermos
(
rhoThermo,
rhoReactionThermo,
heRhoThermo,
veryInhomogeneousMixture,
sutherlandTransport,
sensibleEnthalpy,
hConstThermo,
PengRobinsonGas,
specie
);
// sutherlandTransport, janafThermo
makeReactionThermos
(
rhoThermo,
rhoReactionThermo,
heRhoThermo,
homogeneousMixture,
sutherlandTransport,
sensibleEnthalpy,
janafThermo,
PengRobinsonGas,
specie
);
makeReactionThermos
(
rhoThermo,
rhoReactionThermo,
heRhoThermo,
inhomogeneousMixture,
sutherlandTransport,
sensibleEnthalpy,
janafThermo,
PengRobinsonGas,
specie
);
makeReactionThermos
(
rhoThermo,
rhoReactionThermo,
heRhoThermo,
veryInhomogeneousMixture,
sutherlandTransport,
sensibleEnthalpy,
janafThermo,
PengRobinsonGas,
specie
);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Multi-component thermo for internal energy // Multi-component thermo for internal energy
@ -382,6 +507,14 @@ makeThermoPhysicsReactionThermos
constEThermoPhysics constEThermoPhysics
); );
makeThermoPhysicsReactionThermos
(
rhoThermo,
rhoReactionThermo,
heRhoThermo,
reactingMixture,
PengRobinsonGasEThermoPhysics
);
// Single-step reaction thermo for internal energy // Single-step reaction thermo for internal energy
@ -394,7 +527,6 @@ makeThermoPhysicsReactionThermos
gasEThermoPhysics gasEThermoPhysics
); );
// Single-component thermo for internal energy // Single-component thermo for internal energy
makeThermoPhysicsReactionThermo makeThermoPhysicsReactionThermo
@ -581,6 +713,15 @@ makeThermoPhysicsReactionThermos
constHThermoPhysics constHThermoPhysics
); );
makeThermoPhysicsReactionThermos
(
rhoThermo,
rhoReactionThermo,
heRhoThermo,
reactingMixture,
PengRobinsonGasHThermoPhysics
);
// Reaction thermo for sensible enthalpy // Reaction thermo for sensible enthalpy
makeThermoPhysicsReactionThermos makeThermoPhysicsReactionThermos

View File

@ -6,6 +6,7 @@
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Copyright (C) 2011-2013 OpenFOAM Foundation Copyright (C) 2011-2013 OpenFOAM Foundation
Copyright (C) 2023 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
@ -50,6 +51,8 @@ namespace Foam
typedef Reaction<gasHThermoPhysics> gasHReaction; typedef Reaction<gasHThermoPhysics> gasHReaction;
typedef Reaction<PengRobinsonGasHThermoPhysics> PengRobinsonGasHReaction;
typedef Reaction<constIncompressibleGasHThermoPhysics> typedef Reaction<constIncompressibleGasHThermoPhysics>
constIncompressibleGasHReaction; constIncompressibleGasHReaction;
@ -71,6 +74,8 @@ namespace Foam
typedef Reaction<gasEThermoPhysics> gasEReaction; typedef Reaction<gasEThermoPhysics> gasEReaction;
typedef Reaction<PengRobinsonGasEThermoPhysics> PengRobinsonGasEReaction;
typedef Reaction<constIncompressibleGasEThermoPhysics> typedef Reaction<constIncompressibleGasEThermoPhysics>
constIncompressibleGasEReaction; constIncompressibleGasEReaction;

View File

@ -6,7 +6,7 @@
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Copyright (C) 2011-2017 OpenFOAM Foundation Copyright (C) 2011-2017 OpenFOAM Foundation
Copyright (C) 2018 OpenCFD Ltd. Copyright (C) 2018-2023 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
@ -37,6 +37,7 @@ Description
#include "specie.H" #include "specie.H"
#include "perfectGas.H" #include "perfectGas.H"
#include "PengRobinsonGas.H"
#include "incompressiblePerfectGas.H" #include "incompressiblePerfectGas.H"
#include "rPolynomial.H" #include "rPolynomial.H"
#include "perfectFluid.H" #include "perfectFluid.H"
@ -91,6 +92,19 @@ namespace Foam
> >
> gasHThermoPhysics; > gasHThermoPhysics;
typedef
sutherlandTransport
<
species::thermo
<
janafThermo
<
PengRobinsonGas<specie>
>,
sensibleEnthalpy
>
> PengRobinsonGasHThermoPhysics;
typedef typedef
constTransport constTransport
< <
@ -244,6 +258,19 @@ namespace Foam
> >
> gasEThermoPhysics; > gasEThermoPhysics;
typedef
sutherlandTransport
<
species::thermo
<
janafThermo
<
PengRobinsonGas<specie>
>,
sensibleInternalEnergy
>
> PengRobinsonGasEThermoPhysics;
typedef typedef
constTransport constTransport
< <

View File

@ -87,6 +87,7 @@ namespace Foam
// sensible enthalpy based reactions // sensible enthalpy based reactions
makeReactions(constGasHThermoPhysics, constGasHReaction) makeReactions(constGasHThermoPhysics, constGasHReaction)
makeReactions(gasHThermoPhysics, gasHReaction) makeReactions(gasHThermoPhysics, gasHReaction)
makeReactions(PengRobinsonGasHThermoPhysics, PengRobinsonGasHReaction)
makeReactions makeReactions
( (
constIncompressibleGasHThermoPhysics, constIncompressibleGasHThermoPhysics,
@ -105,6 +106,7 @@ namespace Foam
makeReactions(constGasEThermoPhysics, constGasEReaction) makeReactions(constGasEThermoPhysics, constGasEReaction)
makeReactions(gasEThermoPhysics, gasEReaction) makeReactions(gasEThermoPhysics, gasEReaction)
makeReactions(PengRobinsonGasEThermoPhysics, PengRobinsonGasEReaction)
makeReactions makeReactions
( (
constIncompressibleGasEThermoPhysics, constIncompressibleGasEThermoPhysics,