151 template<
class Liqu
id>
155 const dictionary&
dict 158 l.liquidProperties::readIfPresent(
dict);
175 template<
class Liqu
id>
182 l.liquidProperties::writeData(
os);
os <<
nl;
183 l.rho_.writeData(
os);
os <<
nl;
184 l.pv_.writeData(
os);
os <<
nl;
185 l.hl_.writeData(
os);
os <<
nl;
186 l.Cp_.writeData(
os);
os <<
nl;
187 l.h_.writeData(
os);
os <<
nl;
188 l.Cpg_.writeData(
os);
os <<
nl;
189 l.B_.writeData(
os);
os <<
nl;
190 l.mu_.writeData(
os);
os <<
nl;
191 l.mug_.writeData(
os);
os <<
nl;
192 l.kappa_.writeData(
os);
os <<
nl;
193 l.kappag_.writeData(
os);
os <<
nl;
194 l.sigma_.writeData(
os);
os <<
nl;
scalar delta() const
Solubility parameter [(J/m^3)^(1/2)].
A list of keyword definitions, which are a keyword followed by a number of values (eg...
constexpr char nl
The newline '\n' character (0x0a)
void readIfPresent(const dictionary &dict)
Read and set the properties present it the given dictionary.
Ostream & endl(Ostream &os)
Add newline and flush stream.
scalar Y() const
No of moles of this species in mixture.
scalar Ha(const scalar p, const scalar T) const
Absolute Enthalpy [J/kg].
scalar Pt() const
Triple point pressure [Pa].
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
scalar dipm() const
Dipole moment [].
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find an entry (const access) with the given keyword.
scalar limit(const scalar T) const
Limit temperature to be within the range.
scalar Tc() const
Critical temperature [K].
scalar Zc() const
Critical compressibility factor.
scalar Hc() const
Chemical enthalpy [J/kg].
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
scalar psi(scalar p, scalar T) const
Liquid compressibility rho/p [s^2/m^2].
A class for handling words, derived from Foam::string.
scalar CpMCv(scalar p, scalar T) const
Return (Cp - Cv) [J/(kg K].
scalar Vc() const
Critical volume [m^3/kmol].
An Ostream is an abstract base class for all output systems (streams, files, token lists...
scalar Hs(const scalar p, const scalar T) const
Sensible enthalpy [J/kg].
const volScalarField & Cp
OBJstream os(runTime.globalPath()/outputName)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
const dimensionedScalar h
Planck constant.
virtual void writeData(Ostream &os) const =0
Write the function coefficients.
scalar omega() const
Pitzer's acentric factor [].
scalar Pc() const
Critical pressure [Pa].
meshDefDict readIfPresent("polyMeshPatches", polyPatchNames)
scalar alphah(const scalar p, const scalar T) const
Liquid thermal diffusivity of enthalpy [kg/ms].
scalar Tb() const
Normal boiling temperature [K].
scalar Tt() const
Triple point temperature [K].