50 const word& entryName,
77 liquidProperties(
dict),
98 rho_(rhs.rho_.clone()),
100 hl_(rhs.hl_.clone()),
101 Cp_(rhs.Cp_.clone()),
103 Cpg_(rhs.Cpg_.clone()),
105 mu_(rhs.mu_.clone()),
106 mug_(rhs.mug_.clone()),
107 kappa_(rhs.kappa_.clone()),
108 kappag_(rhs.kappag_.clone()),
109 sigma_(rhs.sigma_.clone()),
119 rho_->writeData(
os);
os <<
nl;
120 pv_->writeData(
os);
os <<
nl;
121 hl_->writeData(
os);
os <<
nl;
122 Cp_->writeData(
os);
os <<
nl;
123 h_->writeData(
os);
os <<
nl;
124 Cpg_->writeData(
os);
os <<
nl;
125 B_->writeData(
os);
os <<
nl;
126 mu_->writeData(
os);
os <<
nl;
127 mug_->writeData(
os);
os <<
nl;
128 kappa_->writeData(
os);
os <<
nl;
129 kappag_->writeData(
os);
os <<
nl;
130 sigma_->writeData(
os);
os <<
nl;
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
constexpr char nl
The newline '\n' character (0x0a)
liquid(const dictionary &dict)
Construct from dictionary.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Macros for easy insertion into run-time selection tables.
void reset(T *p=nullptr) noexcept
Delete managed object and set to new given pointer.
Templated placeholder function that returns an error message if called.
void writeData(Ostream &os) const
Write the function coefficients.
A class for handling words, derived from Foam::string.
static autoPtr< Function1< Type > > NewOrNone(const word &entryName, const dictionary &dict)
The thermophysical properties of a liquid.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
defineTypeNameAndDebug(combustionModel, 0)
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
virtual void writeData(Ostream &os) const =0
Write the function coefficients.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...