GFS_025dev
Last change
on this file since 467460a was
467460a,
checked in by Espen Sollum ATMOS <eso@…>, 4 years ago
|
First commit of files from Hachinger
|
-
Property mode set to
100644
|
File size:
780 bytes
|
Line | |
---|
1 | ! SPDX-FileCopyrightText: FLEXPART 1998-2019, see flexpart_license.txt |
---|
2 | ! SPDX-License-Identifier: GPL-3.0-or-later |
---|
3 | |
---|
4 | real function ew(x) |
---|
5 | |
---|
6 | !**************************************************************** |
---|
7 | !SAETTIGUNGSDAMPFDRUCK UEBER WASSER IN PA. X IN KELVIN. |
---|
8 | !NACH DER GOFF-GRATCH-FORMEL. |
---|
9 | !**************************************************************** |
---|
10 | |
---|
11 | implicit none |
---|
12 | |
---|
13 | real :: x, y, a, c, d |
---|
14 | |
---|
15 | ew=0. |
---|
16 | if(x.le.0.) then |
---|
17 | write(*,*) 'in ew.f90: x=', x |
---|
18 | stop 'sorry: t not in [k]' |
---|
19 | end if |
---|
20 | |
---|
21 | y=373.16/x |
---|
22 | a=-7.90298*(y-1.) |
---|
23 | a=a+(5.02808*0.43429*alog(y)) |
---|
24 | c=(1.-(1./y))*11.344 |
---|
25 | c=-1.+(10.**c) |
---|
26 | c=-1.3816*c/(10.**7) |
---|
27 | d=(1.-y)*3.49149 |
---|
28 | d=-1.+(10.**d) |
---|
29 | d=8.1328*d/(10.**3) |
---|
30 | y=a+c+d |
---|
31 | ew=101324.6*(10.**y) ! Saettigungsdampfdruck in Pa |
---|
32 | |
---|
33 | end function ew |
---|
Note: See
TracBrowser
for help on using the repository browser.