73template<
class Specie>
class icoTabulated;
76Ostream&
operator<<(Ostream&
os,
const icoTabulated<Specie>&);
102 const nonUniformTable&
rho
123 return "icoTabulated<" +
word(Specie::typeName_()) +
'>';
136 inline scalar
rho(scalar
p, scalar
T)
const;
139 inline scalar
H(
const scalar
p,
const scalar
T)
const;
142 inline scalar
Cp(scalar
p, scalar
T)
const;
145 inline scalar
E(
const scalar
p,
const scalar
T)
const;
148 inline scalar
Cv(scalar
p, scalar
T)
const;
151 inline scalar
S(
const scalar
p,
const scalar
T)
const;
154 inline scalar
psi(scalar
p, scalar
T)
const;
157 inline scalar
Z(scalar
p, scalar
T)
const;
160 inline scalar
CpMCv(scalar
p, scalar
T)
const;
171 friend Ostream& operator<< <Specie>
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.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Incompressible of equation of state using non-uniform tabulated density vs temperature.
scalar E(const scalar p, const scalar T) const
Return internal energy departure [J/kg].
icoTabulated(const word &name, const icoTabulated &)
Construct as named copy.
scalar H(const scalar p, const scalar T) const
Return enthalpy departure [J/kg].
static word typeName()
The instantiated type name.
scalar S(const scalar p, const scalar T) const
Return entropy departure to the integral of Cp/T [J/kg/K].
scalar CpMCv(scalar p, scalar T) const
Return (Cp - Cv) [J/(kg K].
autoPtr< icoTabulated > clone() const
Construct and return a clone.
static const bool isochoric
Is the equation of state is isochoric i.e. rho = const.
static autoPtr< icoTabulated > New(const dictionary &dict)
Selector from dictionary.
static const bool incompressible
Is the equation of state is incompressible i.e. rho != f(p)
scalar Z(scalar p, scalar T) const
Return compression factor [].
A class for handling words, derived from Foam::string.
const volScalarField & psi
const volScalarField & Cv
const volScalarField & Cp
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.