1 #ifndef SRC_SNAP_THERMODYNAMICS_VAPORS_HYDROGEN_SULFIDE_VAPORS_HPP_
2 #define SRC_SNAP_THERMODYNAMICS_VAPORS_HYDROGEN_SULFIDE_VAPORS_HPP_
7 inline double Pcgs_from_torr(
double P) {
return (1013250.0 / 760.0) * P; }
12 double log10T = log10(T);
14 x = 7.7547 - 976.0 / T - 0.12058 * log10T;
16 x = 15.4859 - 1264.3574 / T - 2.86206 * log10T;
18 x = 57.19 - 2461.84 / T - 18.443 * log10T;
27 result = pow(10., 4.43681 - (829.439 / (T - 25.412)));
29 result = pow(10., 4.52887 - (958.587 / (T - 0.539)));
37 double log10T = log10(T);
43 double x =
A + B / T + C * log10(T) + D * T;
44 return 1.E5 * pow(10.0, x);
69 for (
int i = 1; i < 7; i++) {
70 x = x +
a[i] / pow(T, i);
72 return 1.E5 * exp(x +
a[0]);
double Pcgs_from_torr(double P)
double sat_vapor_p_H2S_solid_Hubner(double T)
double sat_vapor_p_H2S_solid_Fray(double T)
double sat_vapor_p_H2S_Antoine(double T)
double sat_vapor_p_H2S_solid_UMich(double T)