Perfect gas equation of state. More...
#include <perfectGas.H>


Public Member Functions | |
| perfectGas (const Specie &sp) | |
| Construct from components. | |
| perfectGas (const dictionary &dict) | |
| Construct from dictionary. | |
| perfectGas (const word &name, const perfectGas &) | |
| Construct as named copy. | |
| autoPtr< perfectGas > | 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 perfectGas &) |
| void | operator*= (const scalar) |
Static Public Member Functions | |
| static autoPtr< perfectGas > | New (const dictionary &dict) |
| static word | typeName () |
| Return the instantiated type name. | |
Static Public Attributes | |
| static const bool | incompressible = false |
| Is the equation of state is incompressible i.e. rho != f(p). | |
| static const bool | isochoric = false |
| Is the equation of state is isochoric i.e. rho = const. | |
Friends | |
| perfectGas | operator+ (const perfectGas &, const perfectGas &) |
| perfectGas | operator* (const scalar s, const perfectGas &) |
| perfectGas | operator== (const perfectGas &, const perfectGas &) |
| Ostream & | operator<< (Ostream &, const perfectGas &) |
Perfect gas equation of state.
Definition at line 84 of file perfectGas.H.
|
inline |
Construct from components.
Definition at line 29 of file perfectGasI.H.
Referenced by operator*, operator+, operator+=(), operator<<, operator==, and perfectGas().

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

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

|
inlinestatic |
Definition at line 57 of file perfectGasI.H.
References dict, and Foam::New().

|
inlinestatic |
Return the instantiated type name.
Definition at line 122 of file perfectGas.H.
|
inline |
Return density [kg/m^3].
Definition at line 69 of file perfectGasI.H.
References p, R, and Foam::T().

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

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

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

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

|
inline |
Return entropy [J/(kg K)].
Definition at line 104 of file perfectGasI.H.
References Foam::log(), p, Foam::constant::thermodynamic::Pstd, R, and Foam::T().

|
inline |
Return compressibility rho/p [s^2/m^2].
Definition at line 111 of file perfectGasI.H.
References p, R, and Foam::T().

|
inline |
Return compression factor [].
Definition at line 118 of file perfectGasI.H.

|
inline |
| void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 36 of file perfectGas.C.
References os().

|
inline |
Definition at line 134 of file perfectGasI.H.
References perfectGas().

|
inline |
Definition at line 141 of file perfectGasI.H.
References s().

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