Incompressible gas equation of state using a constant reference pressure in the perfect gas equation of state rather than the local pressure so that the density only varies with temperature and composition. More...
Public Member Functions | |
incompressiblePerfectGas (const Specie &sp, const scalar pRef) | |
Construct from components. More... | |
incompressiblePerfectGas (const dictionary &dict) | |
Construct from dictionary. More... | |
incompressiblePerfectGas (const word &name, const incompressiblePerfectGas &) | |
Construct as named copy. More... | |
autoPtr< incompressiblePerfectGas > | 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 [J/(kg K)]. More... | |
scalar | psi (scalar p, scalar T) const |
Return compressibility rho/p [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... | |
void | operator= (const incompressiblePerfectGas &) |
void | operator+= (const incompressiblePerfectGas &) |
void | operator*= (const scalar) |
Static Public Member Functions | |
static autoPtr< incompressiblePerfectGas > | New (const dictionary &dict) |
static word | typeName () |
Return 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 | |
incompressiblePerfectGas | operator+ (const incompressiblePerfectGas &, const incompressiblePerfectGas &) |
incompressiblePerfectGas | operator* (const scalar s, const incompressiblePerfectGas &) |
incompressiblePerfectGas | operator== (const incompressiblePerfectGas &, const incompressiblePerfectGas &) |
Ostream & | operator (Ostream &, const incompressiblePerfectGas &) |
Incompressible gas equation of state using a constant reference pressure in the perfect gas equation of state rather than the local pressure so that the density only varies with temperature and composition.
Definition at line 54 of file incompressiblePerfectGas.H.
|
inline |
Construct from components.
Definition at line 35 of file incompressiblePerfectGasI.H.
incompressiblePerfectGas | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 35 of file incompressiblePerfectGas.C.
|
inline |
Construct as named copy.
|
inline |
Construct and return a clone.
Definition at line 58 of file incompressiblePerfectGasI.H.
References Foam::New().
|
inlinestatic |
Definition at line 67 of file incompressiblePerfectGasI.H.
References dict, and Foam::New().
|
inlinestatic |
Return the instantiated type name.
Definition at line 130 of file incompressiblePerfectGas.H.
|
inline |
Return density [kg/m^3].
Definition at line 79 of file incompressiblePerfectGasI.H.
|
inline |
Return enthalpy departure [J/kg].
Definition at line 90 of file incompressiblePerfectGasI.H.
|
inline |
Return Cp departure [J/(kg K].
Definition at line 101 of file incompressiblePerfectGasI.H.
|
inline |
Return internal energy departure [J/kg].
Definition at line 112 of file incompressiblePerfectGasI.H.
|
inline |
Return Cv departure [J/(kg K].
Definition at line 123 of file incompressiblePerfectGasI.H.
|
inline |
Return entropy [J/(kg K)].
Definition at line 134 of file incompressiblePerfectGasI.H.
|
inline |
Return compressibility rho/p [s^2/m^2].
Definition at line 145 of file incompressiblePerfectGasI.H.
|
inline |
Return compression factor [].
Definition at line 156 of file incompressiblePerfectGasI.H.
|
inline |
Return (Cp - Cv) [J/(kg K].
Definition at line 167 of file incompressiblePerfectGasI.H.
void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 47 of file incompressiblePerfectGas.C.
References Ostream::beginBlock(), Ostream::endBlock(), Foam::vtk::write(), and Ostream::writeEntry().
|
inline |
Definition at line 180 of file incompressiblePerfectGasI.H.
|
inline |
Definition at line 191 of file incompressiblePerfectGasI.H.
References Foam::mag(), and Y.
|
inline |
Definition at line 209 of file incompressiblePerfectGasI.H.
References s.
|
friend |
|
friend |
|
friend |
|
friend |
|
static |
Is the equation of state is incompressible i.e. rho != f(p)
Definition at line 141 of file incompressiblePerfectGas.H.
|
static |
Is the equation of state is isochoric i.e. rho = const.
Definition at line 144 of file incompressiblePerfectGas.H.