Incompressible of equation of state using uniform tabulated density vs pressure and temperature. More...
Public Member Functions | |
rhoTabulated (const Specie &sp, const table2D &rho) | |
Construct from components. More... | |
rhoTabulated (const word &name, const dictionary &dict) | |
Construct from name and dictionary. More... | |
rhoTabulated (const word &name, const rhoTabulated &) | |
Construct as named copy. More... | |
autoPtr< rhoTabulated > | 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 contribution [J/kg]. More... | |
scalar | Cp (scalar p, scalar T) const |
Return Cp contribution [J/(kg K]. More... | |
scalar | e (const scalar p, const scalar T) const |
Return internal energy contribution [J/kg]. More... | |
scalar | Cv (scalar p, scalar T) const |
Return Cv contribution [J/(kg K]. More... | |
scalar | sp (const scalar p, const scalar T) const |
Return entropy contribution to the integral of Cp/T [J/kg/K]. More... | |
scalar | sv (const scalar p, const scalar T) const |
Return entropy contribution to the integral of Cv/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... | |
scalar | alphav (const scalar p, const scalar T) const |
Return volumetric coefficient of thermal expansion [1/T]. More... | |
void | write (Ostream &os) const |
Write to Ostream. More... | |
void | operator+= (const rhoTabulated &) |
void | operator*= (const scalar) |
Static Public Member Functions | |
static word | typeName () |
Return the instantiated type name. More... | |
Static Public Attributes | |
static const bool | incompressible = false |
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 | |
rhoTabulated | operator+ (const rhoTabulated &, const rhoTabulated &) |
rhoTabulated | operator* (const scalar s, const rhoTabulated &) |
rhoTabulated | operator== (const rhoTabulated &, const rhoTabulated &) |
Ostream & | operator (Ostream &, const rhoTabulated &) |
Incompressible of equation of state using uniform tabulated density vs pressure and temperature.
Thermodynamic contributions derived from tabulated density data are not sufficiently accurate and hence the h, Cp, e, Cv, sp, sv and CpMCv are not implemented. Thus this equation of state should be used in conjunction with hTabulated or eTabulated thermodynamics in which both the energy and heat capacity are tabulated w.r.t. pressure and temperature avoiding the need for equation of state contributions.
Property | Description |
---|---|
rho | Density vs pressure and temperature table |
Example of the specification of the equation of state:
equationOfState { rho { pLow 1e4; pHigh 5e5; Tlow 200; Thigh 1500; values <m> <n> ( (..........) . . . (..........) ); } }
Definition at line 132 of file rhoTabulated.H.
|
inline |
Construct from components.
Definition at line 31 of file rhoTabulatedI.H.
rhoTabulated | ( | const word & | name, |
const dictionary & | dict | ||
) |
Construct from name and dictionary.
Definition at line 32 of file rhoTabulated.C.
References Foam::dimDensity, Foam::dimPressure, and Foam::dimTemperature.
|
inline |
Construct as named copy.
|
inline |
Construct and return a clone.
Definition at line 56 of file rhoTabulatedI.H.
|
inlinestatic |
Return the instantiated type name.
Definition at line 172 of file rhoTabulated.H.
|
inline |
Return density [kg/m^3].
Definition at line 68 of file rhoTabulatedI.H.
|
inline |
Return enthalpy contribution [J/kg].
Not implemented
Definition at line 79 of file rhoTabulatedI.H.
References NotImplemented.
|
inline |
Return Cp contribution [J/(kg K].
Not implemented
Definition at line 91 of file rhoTabulatedI.H.
References NotImplemented.
|
inline |
Return internal energy contribution [J/kg].
Not implemented
Definition at line 103 of file rhoTabulatedI.H.
References NotImplemented.
|
inline |
Return Cv contribution [J/(kg K].
Not implemented
Definition at line 115 of file rhoTabulatedI.H.
References NotImplemented.
|
inline |
Return entropy contribution to the integral of Cp/T [J/kg/K].
Not implemented
Definition at line 127 of file rhoTabulatedI.H.
References NotImplemented.
|
inline |
Return entropy contribution to the integral of Cv/T [J/kg/K].
Not implemented
Definition at line 139 of file rhoTabulatedI.H.
References NotImplemented.
|
inline |
Return compressibility [s^2/m^2].
Definition at line 151 of file rhoTabulatedI.H.
|
inline |
|
inline |
Return (Cp - Cv) [J/(kg K].
Not implemented
Definition at line 173 of file rhoTabulatedI.H.
References NotImplemented.
|
inline |
Return volumetric coefficient of thermal expansion [1/T].
Definition at line 185 of file rhoTabulatedI.H.
References p, rho, and Foam::T().
void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 51 of file rhoTabulated.C.
References dictionary::add(), dict, dictionaryName::dictName(), Foam::indent(), and Foam::vtkWriteOps::write().
|
inline |
Definition at line 198 of file rhoTabulatedI.H.
References noCoefficientMixing.
|
inline |
Definition at line 208 of file rhoTabulatedI.H.
References noCoefficientMixing.
|
friend |
|
friend |
|
friend |
|
friend |
|
static |
Is the equation of state is incompressible i.e. rho != f(p)
Definition at line 181 of file rhoTabulated.H.
|
static |
Is the equation of state is isochoric i.e. rho = const.
Definition at line 184 of file rhoTabulated.H.