The per species property record: the scalar data that describe a gas but do not depend on the state. More...
#include <cl_GT_GasData.hpp>
Public Member Functions | |
| GasData ()=default | |
| ~GasData ()=default | |
| bool | has_crit () const |
| bool | has_cubic () const |
| const string & | label () const |
| const string & | name () const |
| const string & | cas () const |
| const real & | R () const |
| const real & | M () const |
| const real & | acentric () const |
| const real & | dipole () const |
| const real & | Hf () const |
| const real & | Href () const |
| const real & | Sref () const |
| const Cell< string > & | elements () const |
| const Map< string, real > & | composition () const |
| real | component_multiplicity (const string &aLabel) const |
| const real & | T_crit () const |
| const real & | p_crit () const |
| const real & | rho_crit () const |
| const real & | Z_crit () const |
| const Vector< real > & | srk () const |
| const Vector< real > & | pr () const |
Protected Member Functions | |
| void | set_label (const string &aLabel) |
| void | set_name (const string &aName) |
| void | set_cas_number (const string &aCasNumber) |
| void | set_molar_mass (const real &aM) |
| void | set_t_crit (const real aTcrit) |
| void | set_p_crit (const real aPcrit) |
| void | set_rho_crit (const real &aRhocrit) |
| void | set_z_crit (const real &aZcrit) |
| void | set_acentric_factor (const real &aOmega) |
| void | set_dipole_moment (const real &aDipole) |
| void | set_formation_enthalpy (const real &aHf) |
| void | set_reference_enthalpy (const real &aHref) |
| void | set_reference_entropy (const real &aSref) |
| Vector< real > & | srk () |
| Vector< real > & | pr () |
| void | set_cubic_flag () |
The per species property record: the scalar data that describe a gas but do not depend on the state.
Three tables feed it. thermo.inp supplies the label and the molar mass; gasdata.inp adds the critical point, the acentric factor, the dipole moment and the CAS number; cubicalpha.inp adds the fitted alpha function coefficients for the cubic equations of state, keyed on that CAS number.
has_crit() is the gate for every real gas path - it is true only when the full set T_crit, p_crit, Z_crit, acentric and dipole is present, so a species missing any one of them stays ideal gas. has_cubic() likewise reports whether the alpha function coefficients were found.
Units are SI throughout even where the source file is not: molar mass in kg/mol ( the file is g/mol ), critical pressure in Pa ( the file is bar ), dipole moment in debye.
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
inlineprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inline |
|
inline |
|
inline |