50 const word& entryName,
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()),
118 liquidProperties::writeData(
os);
os <<
nl;
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;
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Templated placeholder function that returns an error message if called.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
void reset(autoPtr< T > &&other) noexcept
Delete managed object and set to new given pointer.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
The thermophysical properties of a liquid.
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
void writeData(Ostream &os) const
Write the function coefficients.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
OBJstream os(runTime.globalPath()/outputName)
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< Function1< Type > > NewOrNone(const word &entryName, const dictionary &dict)
constexpr char nl
The newline '\n' character (0x0a)