liquidProperties: Simplified dictionary format
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;
}
}
}
This commit is contained in:
@ -36,13 +36,10 @@ foamChemistryFile "$FOAM_CASE/constant/reactions";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.compressibleGas";
|
||||
|
||||
|
||||
liquids
|
||||
{
|
||||
H2O
|
||||
{
|
||||
defaultCoeffs yes;
|
||||
}
|
||||
{}
|
||||
}
|
||||
|
||||
solids
|
||||
|
||||
@ -36,10 +36,7 @@ inertSpecie N2;
|
||||
|
||||
liquids
|
||||
{
|
||||
H2O
|
||||
{
|
||||
defaultCoeffs yes;
|
||||
}
|
||||
H2O {}
|
||||
}
|
||||
|
||||
solids
|
||||
@ -47,7 +44,7 @@ solids
|
||||
C
|
||||
{
|
||||
defaultCoeffs no;
|
||||
// if defaultCoeffs no properties should be :
|
||||
|
||||
CCoeffs
|
||||
{
|
||||
rho 2010;
|
||||
@ -57,10 +54,8 @@ solids
|
||||
emissivity 1.0;
|
||||
}
|
||||
}
|
||||
ash
|
||||
{
|
||||
defaultCoeffs yes;
|
||||
}
|
||||
|
||||
ash {}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -36,16 +36,11 @@ inertSpecie N2;
|
||||
|
||||
liquids
|
||||
{
|
||||
H2O
|
||||
{
|
||||
defaultCoeffs yes;
|
||||
}
|
||||
H2O {}
|
||||
}
|
||||
|
||||
solids
|
||||
{
|
||||
// none
|
||||
}
|
||||
{}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -36,16 +36,11 @@ inertSpecie N2;
|
||||
|
||||
liquids
|
||||
{
|
||||
H2O
|
||||
{
|
||||
defaultCoeffs yes;
|
||||
}
|
||||
H2O {}
|
||||
}
|
||||
|
||||
solids
|
||||
{
|
||||
// none
|
||||
}
|
||||
{}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -36,16 +36,11 @@ inertSpecie N2;
|
||||
|
||||
liquids
|
||||
{
|
||||
H2O
|
||||
{
|
||||
defaultCoeffs yes;
|
||||
}
|
||||
H2O {}
|
||||
}
|
||||
|
||||
solids
|
||||
{
|
||||
// none
|
||||
}
|
||||
{}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -36,16 +36,11 @@ inertSpecie N2;
|
||||
|
||||
liquids
|
||||
{
|
||||
H2O
|
||||
{
|
||||
defaultCoeffs yes;
|
||||
}
|
||||
H2O {}
|
||||
}
|
||||
|
||||
solids
|
||||
{
|
||||
// none
|
||||
}
|
||||
{}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -36,16 +36,11 @@ foamChemistryThermoFile "$FOAM_CASE/constant/thermo.incompressiblePoly";
|
||||
|
||||
liquids
|
||||
{
|
||||
H2O
|
||||
{
|
||||
defaultCoeffs yes;
|
||||
}
|
||||
H2O {}
|
||||
}
|
||||
|
||||
solids
|
||||
{
|
||||
// none
|
||||
}
|
||||
{}
|
||||
|
||||
inertSpecie N2;
|
||||
|
||||
|
||||
@ -38,16 +38,11 @@ inertSpecie air;
|
||||
|
||||
liquids
|
||||
{
|
||||
H2O
|
||||
{
|
||||
defaultCoeffs yes;
|
||||
}
|
||||
H2O {}
|
||||
}
|
||||
|
||||
solids
|
||||
{
|
||||
// none
|
||||
}
|
||||
{}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -38,16 +38,11 @@ inertSpecie air;
|
||||
|
||||
liquids
|
||||
{
|
||||
H2O
|
||||
{
|
||||
defaultCoeffs yes;
|
||||
}
|
||||
H2O {}
|
||||
}
|
||||
|
||||
solids
|
||||
{
|
||||
// none
|
||||
}
|
||||
{}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -36,18 +36,14 @@ inertSpecie air;
|
||||
|
||||
liquids
|
||||
{
|
||||
H2O
|
||||
{
|
||||
defaultCoeffs yes;
|
||||
}
|
||||
H2O {}
|
||||
}
|
||||
|
||||
solids
|
||||
{
|
||||
// none
|
||||
}
|
||||
{}
|
||||
|
||||
// de-activate the pressure-work term when running local time-stepping
|
||||
dpdt no;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -36,16 +36,11 @@ inertSpecie air;
|
||||
|
||||
liquids
|
||||
{
|
||||
H2O
|
||||
{
|
||||
defaultCoeffs yes;
|
||||
}
|
||||
H2O {}
|
||||
}
|
||||
|
||||
solids
|
||||
{
|
||||
// none
|
||||
}
|
||||
{}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -36,15 +36,11 @@ inertSpecie N2;
|
||||
|
||||
liquids
|
||||
{
|
||||
C7H16
|
||||
{
|
||||
defaultCoeffs yes;
|
||||
}
|
||||
C7H16 {}
|
||||
}
|
||||
|
||||
solids
|
||||
{
|
||||
// none
|
||||
}
|
||||
{}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user