The defaultCoeffs entry is now redundant and supported only for backward
compatibility. To specify a liquid with default coefficients simply leave the
coefficients dictionary empty:
liquids
{
H2O {}
}
Any or all of the coefficients may be overridden by specifying the properties in
the coefficients dictionary, e.g.
liquids
{
H2O
{
rho
{
a 1000;
b 0;
c 0;
d 0;
}
}
}
46 lines
1.3 KiB
C++
46 lines
1.3 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;
|
|
location "constant";
|
|
object thermophysicalProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
thermoType
|
|
{
|
|
type heRhoThermo;
|
|
mixture reactingMixture;
|
|
transport polynomial;
|
|
thermo hPolynomial;
|
|
energy sensibleEnthalpy;
|
|
equationOfState icoPolynomial;
|
|
specie specie;
|
|
}
|
|
|
|
chemistryReader foamChemistryReader;
|
|
|
|
foamChemistryFile "$FOAM_CASE/constant/reactions";
|
|
|
|
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.incompressiblePoly";
|
|
|
|
inertSpecie air;
|
|
|
|
liquids
|
|
{
|
|
H2O {}
|
|
}
|
|
|
|
solids
|
|
{}
|
|
|
|
|
|
// ************************************************************************* //
|