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:
Ian Bell
2014-09-06 18:01:55 +02:00
parent 047f63861d
commit 05e29c85ae

View File

@@ -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)