1 | real*8 function psv(T) |
---|
2 | C saturation vapor pressure of H2O ice [Pascal] |
---|
3 | C input is temperature [Kelvin] |
---|
4 | implicit none |
---|
5 | real*8 T |
---|
6 | |
---|
7 | C-----parametrization 1 |
---|
8 | c real*8 DHmelt,DHvap,DHsub,R,pt,Tt,C |
---|
9 | c parameter (DHmelt=6008.,DHvap=45050.) |
---|
10 | c parameter (DHsub=DHmelt+DHvap) ! sublimation enthalpy [J/mol] |
---|
11 | c parameter (R=8.314,pt=6.11e2,Tt=273.16) |
---|
12 | c C = (DHsub/R)*(1./T - 1./Tt) |
---|
13 | c psv = pt*exp(-C) |
---|
14 | |
---|
15 | C-----parametrization 2 |
---|
16 | C eq. (2) in Murphy & Koop, Q. J. R. Meteor. Soc. 131, 1539 (2005) |
---|
17 | C 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 | |
---|
22 | C-----parametrization 3 |
---|
23 | C eq. (7) in Murphy & Koop, Q. J. R. Meteor. Soc. 131, 1539 (2005) |
---|
24 | c 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) |
---|
31 | C inverse of psv |
---|
32 | C input is partial pressure [Pascal] |
---|
33 | C output is temperature [Kelvin] |
---|
34 | implicit none |
---|
35 | real*8 p |
---|
36 | |
---|
37 | C-----inverse of parametrization 1 |
---|
38 | c real*8 DHmelt,DHvap,DHsub,R,pt,Tt |
---|
39 | c parameter (DHmelt=6008.,DHvap=45050.) |
---|
40 | c parameter (DHsub=DHmelt+DHvap) |
---|
41 | c parameter (R=8.314,pt=6.11e2,Tt=273.16) |
---|
42 | c frostpoint = 1./(1./Tt-R/DHsub*log(p/pt)) |
---|
43 | |
---|
44 | C-----inverse of parametrization 2 |
---|
45 | C 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 | |
---|
50 | C-----approximate inverse of parametrization 3 |
---|
51 | C eq. (8) in Murphy & Koop (2005) |
---|
52 | c frostpoint = (1.814625*log(p) + 6190.134)/(29.120 - log(p)) |
---|
53 | |
---|
54 | end |
---|