Canoe
Comprehensive Atmosphere N' Ocean Engine
sodium_vapors.hpp
Go to the documentation of this file.
1
#ifndef SRC_SNAP_THERMODYNAMICS_VAPORS_SODIUM_VAPORS_HPP_
2
#define SRC_SNAP_THERMODYNAMICS_VAPORS_SODIUM_VAPORS_HPP_
3
4
// TODO(cli) check this equation
5
inline
double
sat_vapor_p_Na_H2S_Visscher
(
double
T,
double
pH2S) {
6
double
log10p = 8.55 - 13889. / T - 0.5 * log10(pH2S / 1E5);
7
return
1.E5 * pow(10., log10p);
8
}
9
10
#endif
// SRC_SNAP_THERMODYNAMICS_VAPORS_SODIUM_VAPORS_HPP_
sat_vapor_p_Na_H2S_Visscher
double sat_vapor_p_Na_H2S_Visscher(double T, double pH2S)
Definition:
sodium_vapors.hpp:5
src
snap
thermodynamics
vapors
sodium_vapors.hpp
Generated by
1.9.1