ENH: Adding thermo using polynomial transport, JANAF and ideal gas.

This thermo is used with multiComponentMixture in rhoThermo type
This commit is contained in:
sergio
2018-04-06 08:46:17 -07:00
parent 40e7d389d8
commit a65b189741
2 changed files with 46 additions and 2 deletions

View File

@ -3,7 +3,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-2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2012-2017 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation | Copyright (C) 2018 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
@ -260,6 +260,14 @@ makeReactionMixtureThermo
icoPoly8EThermoPhysics icoPoly8EThermoPhysics
); );
makeReactionMixtureThermo
(
rhoThermo,
rhoReactionThermo,
heRhoThermo,
multiComponentMixture,
icoPoly8TranspJanafEThermoPhysics
);
// Multi-component reaction thermo // Multi-component reaction thermo
@ -365,6 +373,14 @@ makeReactionMixtureThermo
icoPoly8HThermoPhysics icoPoly8HThermoPhysics
); );
makeReactionMixtureThermo
(
rhoThermo,
rhoReactionThermo,
heRhoThermo,
multiComponentMixture,
icoPoly8TranspJanafHThermoPhysics
);
// Multi-component reaction thermo // Multi-component reaction thermo

View File

@ -3,7 +3,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-2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation | Copyright (C) 2018 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
@ -120,6 +120,20 @@ namespace Foam
8 8
> icoPoly8HThermoPhysics; > icoPoly8HThermoPhysics;
typedef
polynomialTransport
<
species::thermo
<
janafThermo
<
perfectGas<specie>
>,
sensibleEnthalpy
>,
8
> icoPoly8TranspJanafHThermoPhysics;
// thermo physics types based on sensibleInternalEnergy // thermo physics types based on sensibleInternalEnergy
typedef typedef
@ -188,6 +202,20 @@ namespace Foam
>, >,
8 8
> icoPoly8EThermoPhysics; > icoPoly8EThermoPhysics;
typedef
polynomialTransport
<
species::thermo
<
janafThermo
<
perfectGas<specie>
>,
sensibleInternalEnergy
>,
8
> icoPoly8TranspJanafEThermoPhysics;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //