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.
51 lines
1.4 KiB
C++
51 lines
1.4 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object thermophysicalProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
thermoType
|
|
{
|
|
type heRhoThermo;
|
|
mixture pureMixture;
|
|
transport const;
|
|
thermo hConst;
|
|
equationOfState rhoConst;
|
|
specie specie;
|
|
energy sensibleEnthalpy;
|
|
}
|
|
|
|
mixture
|
|
{
|
|
specie
|
|
{
|
|
molWeight 18;
|
|
}
|
|
equationOfState
|
|
{
|
|
rho 1000;
|
|
}
|
|
thermodynamics
|
|
{
|
|
Cp 4181;
|
|
Hf 0;
|
|
}
|
|
transport
|
|
{
|
|
mu 959e-6;
|
|
Pr 6.62;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|