source: trunk/LMDZ.COMMON/libf/evolution/psv.f @ 3470

Last change on this file since 3470 was 3470, checked in by evos, 4 weeks ago

we added the option to use NS dynamical subsurface ice in the model to more realisticly calculate the amount of ice in the subsurface and therfore the subsurface thermal inertia

File size: 1.6 KB
Line 
1      real*8 function psv(T)
2C     saturation vapor pressure of H2O ice [Pascal]
3C     input is temperature [Kelvin]
4      implicit none
5      real*8 T
6
7C-----parametrization 1
8c      real*8 DHmelt,DHvap,DHsub,R,pt,Tt,C
9c      parameter (DHmelt=6008.,DHvap=45050.)
10c      parameter (DHsub=DHmelt+DHvap) ! sublimation enthalpy [J/mol]
11c      parameter (R=8.314,pt=6.11e2,Tt=273.16)
12c      C = (DHsub/R)*(1./T - 1./Tt)
13c      psv = pt*exp(-C)
14
15C-----parametrization 2
16C     eq. (2) in Murphy & Koop, Q. J. R. Meteor. Soc. 131, 1539 (2005)
17C     differs from parametrization 1 by only 0.1%
18      real*8 A,B
19      parameter (A=-6143.7, B=28.9074)
20      psv = exp(A/T+B)  ! Clapeyron
21
22C-----parametrization 3     
23C     eq. (7) in Murphy & Koop, Q. J. R. Meteor. Soc. 131, 1539 (2005)
24c     psv = exp(9.550426 - 5723.265/T + 3.53068*log(T) - 0.00728332*T)
25     
26      end
27
28
29     
30      real*8 function frostpoint(p)
31C     inverse of psv
32C     input is partial pressure [Pascal]
33C     output is temperature [Kelvin]
34      implicit none
35      real*8 p
36     
37C-----inverse of parametrization 1
38c      real*8 DHmelt,DHvap,DHsub,R,pt,Tt
39c      parameter (DHmelt=6008.,DHvap=45050.)
40c      parameter (DHsub=DHmelt+DHvap)
41c      parameter (R=8.314,pt=6.11e2,Tt=273.16)
42c      frostpoint = 1./(1./Tt-R/DHsub*log(p/pt))
43     
44C-----inverse of parametrization 2
45C     inverse of eq. (2) in Murphy & Koop (2005)
46      real*8 A,B
47      parameter (A=-6143.7, B=28.9074)
48      frostpoint = A / (log(p) - B)
49
50C-----approximate inverse of parametrization 3
51C     eq. (8) in Murphy & Koop (2005)
52c      frostpoint = (1.814625*log(p) + 6190.134)/(29.120 - log(p))
53     
54      end
Note: See TracBrowser for help on using the repository browser.