RhoConst (rho = const) of state. More...
#include <rhoConst.H>


Public Member Functions | |
| rhoConst (const Specie &sp, const scalar rho) | |
| Construct from components. | |
| rhoConst (const dictionary &dict) | |
| Construct from dictionary. | |
| rhoConst (const word &name, const rhoConst &) | |
| Construct as named copy. | |
| autoPtr< rhoConst > | clone () const |
| Construct and return a clone. | |
| scalar | rho (scalar p, scalar T) const |
| Return density [kg/m^3]. | |
| scalar | H (const scalar p, const scalar T) const |
| Return enthalpy departure [J/kg]. | |
| 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]. | |
| scalar | Cv (scalar p, scalar T) const |
| Return Cv departure [J/(kg K]. | |
| scalar | S (const scalar p, const scalar T) const |
| Return entropy [J/(kg K)]. | |
| scalar | psi (scalar p, scalar T) const |
| Return compressibility rho/p [s^2/m^2]. | |
| scalar | Z (scalar p, scalar T) const |
| Return compression factor []. | |
| scalar | CpMCv (scalar p, scalar T) const |
| Return (Cp - Cv) [J/(kg K]. | |
| void | write (Ostream &os) const |
| Write to Ostream. | |
| void | operator+= (const rhoConst &) |
| void | operator*= (const scalar) |
Static Public Member Functions | |
| static word | typeName () |
| Return the instantiated type name. | |
Static Public Attributes | |
| static const bool | incompressible = true |
| Is the equation of state is incompressible i.e. rho != f(p). | |
| static const bool | isochoric = true |
| Is the equation of state is isochoric i.e. rho = const. | |
Friends | |
| rhoConst | operator+ (const rhoConst &, const rhoConst &) |
| rhoConst | operator* (const scalar s, const rhoConst &) |
| rhoConst | operator== (const rhoConst &, const rhoConst &) |
| Ostream & | operator<< (Ostream &, const rhoConst &) |
RhoConst (rho = const) of state.
Definition at line 84 of file rhoConst.H.
|
inline |
Construct from components.
Definition at line 26 of file rhoConstI.H.
References rho().
Referenced by operator*, operator+, operator+=(), operator<<, operator==, and rhoConst().


| rhoConst | ( | const dictionary & | dict | ) |
|
inline |
Construct as named copy.
References Foam::name(), and rhoConst().

|
inline |
Construct and return a clone.
Definition at line 53 of file rhoConstI.H.
References Foam::New().

|
inlinestatic |
Return the instantiated type name.
Definition at line 126 of file rhoConst.H.
|
inline |
Return density [kg/m^3].
Definition at line 62 of file rhoConstI.H.
Referenced by rhoConst().


|
inline |
Return enthalpy departure [J/kg].
Definition at line 69 of file rhoConstI.H.

|
inline |
Return Cp departure [J/(kg K].
Definition at line 76 of file rhoConstI.H.

|
inline |
Return internal energy departure [J/kg].
Definition at line 83 of file rhoConstI.H.

|
inline |
Return Cv departure [J/(kg K].
Definition at line 90 of file rhoConstI.H.

|
inline |
Return entropy [J/(kg K)].
Definition at line 97 of file rhoConstI.H.

|
inline |
Return compressibility rho/p [s^2/m^2].
Definition at line 104 of file rhoConstI.H.

|
inline |
Return compression factor [].
Definition at line 111 of file rhoConstI.H.

|
inline |
Return (Cp - Cv) [J/(kg K].
Definition at line 118 of file rhoConstI.H.

| void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 37 of file rhoConst.C.
References os().

|
inline |
Definition at line 127 of file rhoConstI.H.
References Foam::mag(), rhoConst(), and Y.

|
inline |
Definition at line 143 of file rhoConstI.H.
References s().

|
friend |
References rhoConst().
References rhoConst(), and s().
|
friend |
References rhoConst().
References rhoConst().
|
static |
Is the equation of state is incompressible i.e. rho != f(p).
Definition at line 137 of file rhoConst.H.
|
static |
Is the equation of state is isochoric i.e. rho = const.
Definition at line 142 of file rhoConst.H.