source: trunk/LMDZ.MARS/libf/phymars/co2sat.F @ 1944

Last change on this file since 1944 was 1617, checked in by jaudouard, 8 years ago

Added modifications for CO2 clouds scheme in physiq_mod.F and added several routines and variables for CO2 microphysics. October 2016 Joachim Audouard

  • Property svn:executable set to *
File size: 1.0 KB
Line 
1      SUBROUTINE co2sat(naersize,t,p,psat)
2c       SUBROUTINE co2sat(naersize,t,p,qsat) JA
3      IMPLICIT NONE
4
5c=======================================================================
6c
7c
8c  now:  straight psat of CO2 (or qsat of CO2 but need of mmean)
9c
10c=======================================================================
11
12c   declarations:
13c   -------------
14c   arguments:
15c   ----------
16
17c   INPUT
18      integer naersize
19      real t(naersize) , p(naersize)
20c   OUTPUT
21c      real qsat(naersize) JA
22      real psat(naersize)
23
24c   local:
25c   ------
26      INTEGER i
27      REAL r2,r3,r4 , To, es
28      SAVE r2,r3,r4
29      DATA r2,r3,r4/611.14,21.875,7.66/
30      SAVE To
31      DATA To/273.16/
32         
33      do i=1,naersize
34
35
36c        pression de vapeur saturante (James et al. 1992):
37
38          psat(i)  = 1.382 * 1e12 * exp(-3182.48/t(i)) !; (Pa)
39
40c         OR:
41
42c         qsat(i) = psat/p(i)*44.01/mmean ! Need of updated information on mmean
43c         qsat(i) = max(qsat(i), 1.e-30)
44
45
46      enddo
47c      qsat=psat JA
48         
49
50      RETURN
51      END
52
Note: See TracBrowser for help on using the repository browser.