|
proteus
1.8.1
C/C++/Fortran libraries
|
#include </Users/cekees/proteus/proteus/densityRelations.h>
Public Member Functions | |
| RealGasDensity (const double *rwork) | |
| void | calc (const double &psi) |
Public Attributes | |
| double | psi_0 |
| double | oneOverZRT |
Public Attributes inherited from DensityRelation | |
| double | rho |
| double | drho |
The density of a real gas.
| [in] | psi | The pressure head (not used) |
| [in] | rwork[0] | The reference pressure head, \( \psi_0 \) |
| [in] | rwork[1] | The constant, \( 1/ZRT \), where \( Z \) is the real gas constant, \( R \) is the ideal gas constant, and \( T \) is the temperature. |
| [out] | rho | The density |
| [out] | drho | The derivative of density with respect to pressure head |
\[ \rho &= (\psi - \psi_0)/ZRT \]
Definition at line 107 of file densityRelations.h.
|
inline |
Definition at line 111 of file densityRelations.h.
|
inline |
Definition at line 115 of file densityRelations.h.
| double RealGasDensity::oneOverZRT |
Definition at line 110 of file densityRelations.h.
| double RealGasDensity::psi_0 |
Definition at line 110 of file densityRelations.h.