hitran2refr  Richard J. Mathar, J. Opt. A: Pure Appl. Opt. 9 (2007) 470
WagnerPruss.h
Go to the documentation of this file.
1 #pragma once
2 
3 using namespace std ;
4 
10 class WagnerPruss {
11 public:
14  double T ;
15 
18  double pSatur ;
19 
20  WagnerPruss(double kelvin) ;
21 
22  double n(const double humidity) const ;
23 
24  double P(const double humidity) const ;
25 
26 protected:
27 
28  double rho(const double humidity) const ;
29 
30 private:
31  // incorporate WAgner J Phys Chem Ref Data, not 23 (1994) but 31 (2002)
32  // parts of the Wagner-Pruss tables
33  struct tab62aS { int ci; int di; double ti; double ni ; } ;
34  static const tab62aS tab62a[] ;
35  struct tab62bS { int di; int ti; double ni; int alphi; int beti; double gami; int epsi ;} ;
36  static const tab62bS tab62b[] ;
37  struct tab62cS { double ai; double bi; double Bi; double ni; int Ci; int Di; double Ai; double beti ;} ;
38  static const tab62cS tab62c[] ;
39 
40  static const double R=0.46151805 ; // kJ/Kg/K equation 6.3
41  static const double rhoc= 322e3 ; // kg/m^3 after (3.2) and (6.2)
42  static const double Tc=647.096; // Kelvin equation 6.1
43  static const double M= 18.015268 ; // molar mass grames per mol, p 395
44 
45  double tau ;
46 
47  double pWPruss() const ;
48 
49  double dDeltaddelta(const int i, const double dmin1, const double theta) const ;
50 
51  double Phi_delta_r(const double delta) const ;
52 
53 
54 } ;
Definition: WagnerPruss.h:10
STL namespace.
Definition: WagnerPruss.h:35
double tau
Definition: WagnerPruss.h:45
double ni
Definition: WagnerPruss.h:37
double ti
Definition: WagnerPruss.h:33
double T
Definition: WagnerPruss.h:14
Definition: WagnerPruss.h:33
int ti
Definition: WagnerPruss.h:35
Definition: WagnerPruss.h:37
double pSatur
Definition: WagnerPruss.h:18