Last change
on this file since 2349 was
2349,
checked in by aslmd, 4 years ago
|
Cancelled commits 2347 and 2348. Still no luck, more serious than thought.
|
-
Property svn:executable set to
*
|
File size:
1.0 KB
|
Line | |
---|
1 | SUBROUTINE co2sat(naersize,t,p,psat) |
---|
2 | c SUBROUTINE co2sat(naersize,t,p,qsat) JA |
---|
3 | IMPLICIT NONE |
---|
4 | |
---|
5 | c======================================================================= |
---|
6 | c |
---|
7 | c |
---|
8 | c now: straight psat of CO2 (or qsat of CO2 but need of mmean) |
---|
9 | c |
---|
10 | c======================================================================= |
---|
11 | |
---|
12 | c declarations: |
---|
13 | c ------------- |
---|
14 | c arguments: |
---|
15 | c ---------- |
---|
16 | |
---|
17 | c INPUT |
---|
18 | integer naersize |
---|
19 | real t(naersize) , p(naersize) |
---|
20 | c OUTPUT |
---|
21 | c real qsat(naersize) JA |
---|
22 | real psat(naersize) |
---|
23 | |
---|
24 | c local: |
---|
25 | c ------ |
---|
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 | |
---|
36 | c pression de vapeur saturante (James et al. 1992): |
---|
37 | |
---|
38 | psat(i) = 1.382 * 1e12 * exp(-3182.48/t(i)) !; (Pa) |
---|
39 | |
---|
40 | c OR: |
---|
41 | |
---|
42 | c qsat(i) = psat/p(i)*44.01/mmean ! Need of updated information on mmean |
---|
43 | c qsat(i) = max(qsat(i), 1.e-30) |
---|
44 | |
---|
45 | |
---|
46 | enddo |
---|
47 | c qsat=psat JA |
---|
48 | |
---|
49 | |
---|
50 | RETURN |
---|
51 | END |
---|
52 | |
---|
Note: See
TracBrowser
for help on using the repository browser.