Incompressible of equation of state using non-uniform tabulated density vs temperature. More...
Public Member Functions | |
icoTabulated (const Specie &sp, const nonUniformTable &rho) | |
Construct from components. More... | |
icoTabulated (const dictionary &dict) | |
Construct from dictionary. More... | |
icoTabulated (const word &name, const icoTabulated &) | |
Construct as named copy. More... | |
autoPtr< icoTabulated > | clone () const |
Construct and return a clone. More... | |
scalar | rho (scalar p, scalar T) const |
Return density [kg/m^3]. More... | |
scalar | H (const scalar p, const scalar T) const |
Return enthalpy departure [J/kg]. More... | |
scalar | Cp (scalar p, scalar T) const |
Return Cp departure [J/(kg K]. More... | |
scalar | E (const scalar p, const scalar T) const |
Return internal energy departure [J/kg]. More... | |
scalar | Cv (scalar p, scalar T) const |
Return Cv departure [J/(kg K]. More... | |
scalar | S (const scalar p, const scalar T) const |
Return entropy departure to the integral of Cp/T [J/kg/K]. More... | |
scalar | psi (scalar p, scalar T) const |
Return compressibility [s^2/m^2]. More... | |
scalar | Z (scalar p, scalar T) const |
Return compression factor []. More... | |
scalar | CpMCv (scalar p, scalar T) const |
Return (Cp - Cv) [J/(kg K]. More... | |
void | write (Ostream &os) const |
Write to Ostream. More... | |
Static Public Member Functions | |
static autoPtr< icoTabulated > | New (const dictionary &dict) |
Selector from dictionary. More... | |
static word | typeName () |
The instantiated type name. More... | |
Static Public Attributes | |
static const bool | incompressible = true |
Is the equation of state is incompressible i.e. rho != f(p) More... | |
static const bool | isochoric = false |
Is the equation of state is isochoric i.e. rho = const. More... | |
Friends | |
Ostream & | operator (Ostream &, const icoTabulated &) |
Incompressible of equation of state using non-uniform tabulated density vs temperature.
Property | Description |
---|---|
rho | Density vs temperature table |
Example of the specification of the equation of state:
equationOfState { rho ( (200 1010) (350 1000) (400 980) ); }
Definition at line 74 of file icoTabulated.H.
|
inline |
Construct from components.
Definition at line 28 of file icoTabulatedI.H.
|
explicit |
Construct from dictionary.
Definition at line 28 of file icoTabulated.C.
|
inline |
Construct as named copy.
|
inline |
Construct and return a clone.
Definition at line 54 of file icoTabulatedI.H.
References Foam::New().
|
inlinestatic |
Selector from dictionary.
Definition at line 62 of file icoTabulatedI.H.
References dict, and Foam::New().
|
inlinestatic |
The instantiated type name.
Definition at line 136 of file icoTabulated.H.
|
inline |
Return density [kg/m^3].
Definition at line 72 of file icoTabulatedI.H.
|
inline |
Return enthalpy departure [J/kg].
Definition at line 83 of file icoTabulatedI.H.
References p, rho, and Foam::T().
|
inline |
Return Cp departure [J/(kg K].
Definition at line 94 of file icoTabulatedI.H.
|
inline |
Return internal energy departure [J/kg].
Definition at line 105 of file icoTabulatedI.H.
|
inline |
Return Cv departure [J/(kg K].
Definition at line 116 of file icoTabulatedI.H.
|
inline |
Return entropy departure to the integral of Cp/T [J/kg/K].
Definition at line 127 of file icoTabulatedI.H.
|
inline |
Return compressibility [s^2/m^2].
Definition at line 138 of file icoTabulatedI.H.
|
inline |
Return compression factor [].
Definition at line 149 of file icoTabulatedI.H.
|
inline |
Return (Cp - Cv) [J/(kg K].
Definition at line 160 of file icoTabulatedI.H.
void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 38 of file icoTabulated.C.
References Ostream::beginBlock(), Ostream::endBlock(), os(), Foam::vtk::write(), and Ostream::writeEntry().
|
friend |
|
static |
Is the equation of state is incompressible i.e. rho != f(p)
Definition at line 147 of file icoTabulated.H.
|
static |
Is the equation of state is isochoric i.e. rho = const.
Definition at line 152 of file icoTabulated.H.