73 name_(
dict.dictName()),
114 <<
"Pressure below triple point pressure: "
115 <<
"p = " <<
p <<
" < Pt = " << Pt_ <<
nl <<
endl;
127 while ((Thi - Tlo) > 1.0e-4)
129 if ((pv(
p,
T) -
p) <= 0)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
bool readIfPresent(const word &, T &, bool recursive=false, bool patternMatch=true) const
Find an entry if present, and assign to T.
The thermophysical properties of a liquid.
liquidProperties(const word &name, scalar W, scalar Tc, scalar Pc, scalar Vc, scalar Zc, scalar Tt, scalar Pt, scalar Tb, scalar dipm, scalar omega, scalar delta)
Construct from components.
virtual void write(Ostream &os) const =0
Write the function coefficients.
scalar s(const scalar p, const scalar T) const
Liquid entropy [J/kg/K].
virtual const word & name() const
Return the name of the liquid.
virtual scalar pvInvert(scalar p) const
Invert the vapour pressure relationship to retrieve the.
void readIfPresent(const dictionary &dict)
Read and set the properties present it the given dictionary.
Convenience class to handle the input of constant rotational speed. Reads an omega entry with default...
Base-class for thermophysical properties of solids, liquids and gases providing an interface compatib...
virtual void write(Ostream &os) const =0
Write the function coefficients.
void readIfPresent(const dictionary &dict)
Read and set the properties present it the given dictionary.
A class for handling words, derived from string.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
#define WarningInFunction
Report a warning using Foam::Warning.
const unitSet & lookup(const word &unitName)
Lookup and return the named unit from the table.
Ostream & endl(Ostream &os)
Add newline and flush stream.
defineRunTimeSelectionTable(fvConstraint, dictionary)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)
defineTypeNameAndDebug(atmosphericBoundaryLayer, 0)
void T(GeometricField< Type, GeoMesh, PrimitiveField1 > &gf, const GeometricField< Type, GeoMesh, PrimitiveField2 > &gf1)
void writeEntry(Ostream &os, const word &key, const DimensionedFieldFunction< DimensionedFieldType > &f)
const scalarList W(::W(thermo))