75 Tc_(
dict.get<scalar>(
"Tc")),
76 Pc_(
dict.get<scalar>(
"Pc")),
77 Vc_(
dict.get<scalar>(
"Vc")),
78 Zc_(
dict.get<scalar>(
"Zc")),
79 Tt_(
dict.get<scalar>(
"Tt")),
80 Pt_(
dict.get<scalar>(
"Pt")),
81 Tb_(
dict.get<scalar>(
"Tb")),
82 dipm_(
dict.get<scalar>(
"dipm")),
83 omega_(
dict.get<scalar>(
"omega")),
84 delta_(
dict.get<scalar>(
"delta"))
97 auto* ctorPtr = ConstructorTable(
name);
105 *ConstructorTablePtr_
127 if (
dict.
found(
"defaultCoeffs") && !hadExplicitType)
131 if (
dict.
get<
bool>(
"defaultCoeffs"))
133 return New(liquidType);
136 auto* ctorPtr = dictionaryConstructorTable(liquidType);
145 *dictionaryConstructorTablePtr_
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.0e-4)
208 if ((pv(
p,
T) -
p) <= 0)
226 thermophysicalProperties::readIfPresent(
dict);
242 thermophysicalProperties::writeData(
os);
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
compactSpatialTensor S
The joint motion sub-space (3-DoF)
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
const dictionary & optionalSubDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary, otherwise return this dictionary.
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const
word dictName() const
The local dictionary name (final part of scoped name)
The thermophysical properties of a liquid.
virtual void writeData(Ostream &os) const =0
Write the function coefficients.
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.
Base-class for thermophysical properties of solids, liquids and gases providing an interface compatib...
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalErrorInLookup(lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalError.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
OBJstream os(runTime.globalPath()/outputName)
#define WarningInFunction
Report a warning using Foam::Warning.
#define DebugInFunction
Report an information message using Foam::Info.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.