Perfect gas equation of state. More...
#include <specie/perfectGas.H>
Inheritance diagram for perfectGas:
Collaboration diagram for perfectGas:Public Member Functions | |
| perfectGas (const specie &sp) | |
| Construct from components. | |
| perfectGas (Istream &) | |
| Construct from Istream. | |
| 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 | psi (scalar p, scalar T) const |
| Return compressibility rho/p [s^2/m^2]. | |
| scalar | Z (scalar p, scalar T) const |
| Return compression factor []. | |
| void | operator+= (const perfectGas &) |
| void | operator-= (const perfectGas &) |
| void | operator*= (const scalar) |
Public Member Functions inherited from specie | |
| specie (const word &name, const scalar nMoles, const scalar molWeight) | |
| Construct from components with name. | |
| specie (const specie &) | |
| Construct as copy. | |
| specie (const word &name, const specie &) | |
| Construct as named copy. | |
| specie (Istream &) | |
| Construct from Istream. | |
| scalar | W () const |
| Molecular weight [kg/kmol]. | |
| scalar | nMoles () const |
| No of moles of this species in mixture. | |
| scalar | R () const |
| Gas constant [J/(kg K)]. | |
| void | operator= (const specie &) |
| void | operator+= (const specie &) |
| void | operator-= (const specie &) |
Static Public Member Functions | |
| static autoPtr< perfectGas > | New (Istream &is) |
Friends | |
| perfectGas | operator+ (const perfectGas &, const perfectGas &) |
| perfectGas | operator- (const perfectGas &, const perfectGas &) |
| perfectGas | operator* (const scalar s, const perfectGas &) |
| perfectGas | operator== (const perfectGas &, const perfectGas &) |
| Ostream & | operator<< (Ostream &, const perfectGas &) |
Additional Inherited Members | |
Static Public Attributes inherited from specie | |
| static const scalar | RR = dimensionedConstant("R", 8314.51) |
| Universal gas constant [J/(kmol K)]. | |
| static const scalar | Pstd = dimensionedConstant("Pstd", 1.0e5) |
| Standard pressure [Pa]. | |
| static const scalar | Tstd = dimensionedConstant("Tstd", 298.15) |
| Standard temperature [K]. | |
|
inline |
Construct from components.
Definition at line 37 of file perfectGasI.H.
Referenced by perfectGas::clone(), and perfectGas::New().
| perfectGas | ( | Istream & | is | ) |
|
inline |
Construct as named copy.
Definition at line 48 of file perfectGasI.H.
|
inline |
Construct and return a clone.
Definition at line 55 of file perfectGasI.H.
References perfectGas::perfectGas().
|
inlinestatic |
Definition at line 62 of file perfectGasI.H.
References perfectGas::perfectGas().
|
inline |
Return density [kg/m^3].
Definition at line 71 of file perfectGasI.H.
References specie::R(), and Foam::T().
|
inline |
Return compressibility rho/p [s^2/m^2].
Definition at line 77 of file perfectGasI.H.
References specie::R(), and Foam::T().
|
inline |
Return compression factor [].
Definition at line 83 of file perfectGasI.H.
|
inline |
Definition at line 91 of file perfectGasI.H.
|
inline |
Definition at line 96 of file perfectGasI.H.
|
inline |
Reimplemented from specie.
Definition at line 101 of file perfectGasI.H.
|
friend |
Definition at line 110 of file perfectGasI.H.
|
friend |
Definition at line 124 of file perfectGasI.H.
|
friend |
Definition at line 138 of file perfectGasI.H.
|
friend |
Definition at line 148 of file perfectGasI.H.
|
friend |
Definition at line 49 of file perfectGas.C.