Canoe
Comprehensive Atmosphere N' Ocean Engine
ammonium_hydrosulfide_vapors.hpp
Go to the documentation of this file.
1 #ifndef SRC_SNAP_THERMODYNAMICS_VAPORS_AMMONIUM_HYDROSULFIDE_VAPORS_HPP_
2 #define SRC_SNAP_THERMODYNAMICS_VAPORS_AMMONIUM_HYDROSULFIDE_VAPORS_HPP_
3 
4 // C/C++
5 #include <cmath>
6 
7 const double Pcgs_of_atm = 1013250.0; // atmospheres to dynes/cm**2
8 
9 inline double sat_vapor_p_NH4SH_UMich(double T) {
10  double const GOLB2 = (14.83 - (4715.0 / T));
11  return (pow(10.0, GOLB2)) * Pcgs_of_atm * Pcgs_of_atm;
12 }
13 
14 inline double sat_vapor_p_NH4SH_Lewis(double T) {
15  return pow(10., 14.82 - 4705. / T) * 101325. * 101325.;
16 }
17 
18 #endif // SRC_SNAP_THERMODYNAMICS_VAPORS_AMMONIUM_HYDROSULFIDE_VAPORS_HPP_
const double Pcgs_of_atm
double sat_vapor_p_NH4SH_UMich(double T)
double sat_vapor_p_NH4SH_Lewis(double T)