Go to the documentation of this file.
82 dipm_(
dict.
get<scalar>(
"dipm")),
83 omega_(
dict.
get<scalar>(
"omega")),
97 auto* ctorPtr = ConstructorTable(
name);
105 *ConstructorTablePtr_
115 const dictionary&
dict
127 if (
dict.
found(
"defaultCoeffs") && !hadExplicitType)
131 if (
dict.
get<
bool>(
"defaultCoeffs"))
133 return New(liquidType);
136 auto* ctorPtr = dictionaryConstructorTable(liquidType);
145 *dictionaryConstructorTablePtr_
149 return autoPtr<liquidProperties>
155 auto* ctorPtr = dictionaryConstructorTable(liquidType);
164 *dictionaryConstructorTablePtr_
193 <<
"Pressure below triple point pressure: "
194 <<
"p = " <<
p <<
" < Pt = " << Pt_ <<
nl <<
endl;
206 while ((Thi - Tlo) > 1.0
e-4)
208 if ((pv(
p,
T) -
p) <= 0)
A class for handling words, derived from Foam::string.
static autoPtr< liquidProperties > New(const word &name)
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
virtual void writeData(Ostream &os) const =0
Ostream & endl(Ostream &os)
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Base-class for thermophysical properties of solids, liquids and gases providing an interface compatib...
The thermophysical properties of a liquid.
liquidProperties(scalar W, scalar Tc, scalar Pc, scalar Vc, scalar Zc, scalar Tt, scalar Pt, scalar Tb, scalar dipm, scalar omega, scalar delta)
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual void writeData(Ostream &os) const =0
scalar S(const scalar p, const scalar T) const
virtual scalar pvInvert(scalar p) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
#define FatalErrorInLookup(lookupTag, lookupName, lookupTable)
OBJstream os(runTime.globalPath()/outputName)
errorManipArg< error, int > exit(error &err, const int errNo=1)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
void readIfPresent(const dictionary &dict)
void readIfPresent(const dictionary &dict)
const dimensionedScalar e
const dictionary & optionalSubDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
word name(const expressions::valueTypeCode typeCode)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
defineTypeNameAndDebug(combustionModel, 0)
#define WarningInFunction
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const