Go to the documentation of this file.
61 #ifndef icoTabulated_H
62 #define icoTabulated_H
73 template<
class Specie>
class icoTabulated;
75 template<
class Specie>
76 Ostream&
operator<<(Ostream&
os,
const icoTabulated<Specie>&);
83 template<
class 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>
scalar CpMCv(scalar p, scalar T) const
Return (Cp - Cv) [J/(kg K].
A class for handling words, derived from Foam::string.
scalar rho(scalar p, scalar T) const
Return density [kg/m^3].
static word typeName()
The instantiated type name.
scalar Z(scalar p, scalar T) const
Return compression factor [].
icoTabulated(const Specie &sp, const nonUniformTable &rho)
Construct from components.
autoPtr< icoTabulated > clone() const
Construct and return a clone.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
static autoPtr< icoTabulated > New(const dictionary &dict)
Selector from dictionary.
scalar H(const scalar p, const scalar T) const
Return enthalpy departure [J/kg].
static const bool isochoric
Is the equation of state is isochoric i.e. rho = const.
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.
OBJstream os(runTime.globalPath()/outputName)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
scalar Cp(scalar p, scalar T) const
Return Cp departure [J/(kg K].
scalar E(const scalar p, const scalar T) const
Return internal energy departure [J/kg].
static const bool incompressible
Is the equation of state is incompressible i.e. rho != f(p)
scalar psi(scalar p, scalar T) const
Return compressibility [s^2/m^2].
void write(Ostream &os) const
Write to Ostream.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
scalar Cv(scalar p, scalar T) const
Return Cv departure [J/(kg K].
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
scalar S(const scalar p, const scalar T) const
Return entropy departure to the integral of Cp/T [J/kg/K].