00001 #ifndef SORPISOHANSEN_H 00002 #define SORPISOHANSEN_H 00003 00004 #include <stdio.h> 00005 #include "genfile.h" 00006 00007 /** 00008 class contains Hansen sorption isotherm 00009 00010 K.K. Hansen: Sorption Isotherms: A Catalog and a Data Base. 00011 Water Vapor Transmisson Through Building Materials and Systems: 00012 Mechanisms and Measurement. ASTM STP 1039 00013 00014 19. 11. 2012, JK 00015 */ 00016 class sorpisohansen 00017 { 00018 public: 00019 sorpisohansen (void); 00020 ~sorpisohansen (void); 00021 00022 void read (XFILE *in); 00023 void print (FILE *out); 00024 00025 double derivative_relhum (double rh); 00026 double hansen_sorption_isotherm (double rh); 00027 double hansen_inverse_sorption_isotherm (double w); 00028 00029 /// maximum hygroscopically bound water by adsorption 00030 double uh; 00031 /// empirical fixed exponent 00032 double n; 00033 /// coefficient A = u_n/u_h (u_n - non-evaporable water content) 00034 double a; 00035 }; 00036 00037 #endif