|
proteus
1.8.1
C/C++/Fortran libraries
|
#include </Users/cekees/proteus/proteus/densityRelations.h>
Public Member Functions | |
| IdealGasDensity (const double *rwork) | |
| void | calc (const double &psi) |
Public Attributes | |
| double | T |
| double | W |
| double | R |
| double | convFactor |
| double | WoverRT |
| double | rho0 |
| double | psi0 |
Public Attributes inherited from DensityRelation | |
| double | rho |
| double | drho |
The density of an ideal gas.
| [in] | psi | The pressure head |
| [in] | rwork[0] | The temperature in say [K], \( T \) |
| [in] | rwork[1] | The molar weight of the gas in say [kg]/[mol], \( W \), |
| [in] | rwork[2] | The ideal gas weight constant in say [J]/[mol]/[K], \( R \) |
| [in] | rwork[3] | Conversion factor for input pressure head to pressure units consistent with W, R, and T, ie rho_0*|g| |
| [in] | rwork[4] | reference density, say in [kg]/[m^3] |
| [in] | rwork[5] | reference pressure head, say in [m] |
| [out] | rho | The density |
| [out] | drho | The derivative of density with respect to pressure head |
\[ \rho &= rho_0 + (\psi - psi0) d W/RT \]
Definition at line 136 of file densityRelations.h.
|
inline |
Definition at line 140 of file densityRelations.h.
|
inline |
Definition at line 150 of file densityRelations.h.
| double IdealGasDensity::convFactor |
Definition at line 139 of file densityRelations.h.
| double IdealGasDensity::psi0 |
Definition at line 139 of file densityRelations.h.
| double IdealGasDensity::R |
Definition at line 139 of file densityRelations.h.
| double IdealGasDensity::rho0 |
Definition at line 139 of file densityRelations.h.
| double IdealGasDensity::T |
Definition at line 139 of file densityRelations.h.
| double IdealGasDensity::W |
Definition at line 139 of file densityRelations.h.
| double IdealGasDensity::WoverRT |
Definition at line 139 of file densityRelations.h.