ENH: reactionThermo: Single component mixture

This mixture allows a reacting solver to be used with a single component
fluid without the additional case files usually required for reacting
thermodynamics.

reactionThermo: Instantiated more single component mixtures

ENH: reactionThermo: Select singleComponentMixture as pureMixture

A pureMixture can now be specified in a reacting solver. This further
enhances compatibility between non-reacting and reacting solvers.

To achieve this, mixtures now have a typeName function of the same form
as the lower thermodyanmic models. In addition, to avoid name clashes,
the reacting thermo make macros have been split into those that create
entries on multiple selection tables, and those that just add to the
reaction thermo table.
This commit is contained in:
Will Bainbridge
2017-12-01 11:12:05 +00:00
committed by Andrew Heather
parent 2193c8e31a
commit 8aabbec71e
18 changed files with 830 additions and 199 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2015-2017 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -54,43 +54,6 @@ License
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam
{
typedef
constTransport
<
species::thermo
<
hConstThermo
<
perfectFluid<specie>
>,
sensibleInternalEnergy
>
> constFluidEThermoPhysics;
};
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam
{
// multi-component liquid
makeReactionThermo
(
rhoThermo,
rhoReactionThermo,
heRhoThermo,
multiComponentMixture,
constTransport,
sensibleInternalEnergy,
hConstThermo,
perfectFluid,
specie
);
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam
{
using namespace interfaceCompositionModels;

View File

@ -214,7 +214,7 @@ makeThermo
// multiComponentMixture, sensibleInternalEnergy:
makeReactionMixtureThermo
makeReactionMixtureThermos
(
rhoThermo,
rhoReactionThermo,
@ -223,7 +223,7 @@ makeReactionMixtureThermo
constRefGasEThermoPhysics
);
makeReactionMixtureThermo
makeReactionMixtureThermos
(
rhoThermo,
rhoReactionThermo,
@ -232,7 +232,7 @@ makeReactionMixtureThermo
constRefFluidEThermoPhysics
);
makeReactionMixtureThermo
makeReactionMixtureThermos
(
rhoThermo,
rhoReactionThermo,
@ -244,7 +244,7 @@ makeReactionMixtureThermo
// multiComponentMixture, sensibleEnthalpy:
makeReactionMixtureThermo
makeReactionMixtureThermos
(
rhoThermo,
rhoReactionThermo,
@ -253,7 +253,7 @@ makeReactionMixtureThermo
constRefRhoConstHThermoPhysics
);
makeReactionMixtureThermo
makeReactionMixtureThermos
(
rhoThermo,
rhoReactionThermo,
@ -262,7 +262,7 @@ makeReactionMixtureThermo
constRefFluidHThermoPhysics
);
makeReactionMixtureThermo
makeReactionMixtureThermos
(
rhoThermo,
rhoReactionThermo,