mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-01 03:00:13 -04:00
Added value for ideal gas constant from CODATA 2010 for use with normalization of ideal gas constants with mixtures
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -96,6 +96,8 @@ std::string get_csv_parameter_list();
|
||||
/// These are constants for the compositions
|
||||
enum composition_types{IFRAC_MASS, IFRAC_MOLE, IFRAC_VOLUME, IFRAC_UNDEFINED, IFRAC_PURE};
|
||||
|
||||
const long double R_u_CODATA = 8.3144621; ///< The value for the ideal gas constant in J/mol/K according to CODADA 2010. This value is used to harmonize all the ideal gas constants. This is especially important in the critical region.
|
||||
|
||||
/// These are constants for the phases of the fluid
|
||||
enum phases{iphase_liquid, ///< Subcritical liquid
|
||||
iphase_supercritical, ///< Supercritical (p > pc, T > Tc)
|
||||
|
||||
Reference in New Issue
Block a user