10.4.1_peseiGFS_025bugfixes+enhancementsdevrelease-10release-10.4.1scaling-bug
Last change
on this file since 3481cc1 was
3481cc1,
checked in by Ignacio Pisso <ip@…>, 4 years ago
|
move license from headers to a different file
|
-
Property mode set to
100644
|
File size:
611 bytes
|
Line | |
---|
1 | real function ew(x) |
---|
2 | |
---|
3 | !**************************************************************** |
---|
4 | !SAETTIGUNGSDAMPFDRUCK UEBER WASSER IN PA. X IN KELVIN. |
---|
5 | !NACH DER GOFF-GRATCH-FORMEL. |
---|
6 | !**************************************************************** |
---|
7 | |
---|
8 | implicit none |
---|
9 | |
---|
10 | real :: x, y, a, c, d |
---|
11 | |
---|
12 | ew=0. |
---|
13 | if(x.le.0.) stop 'sorry: t not in [k]' |
---|
14 | y=373.16/x |
---|
15 | a=-7.90298*(y-1.) |
---|
16 | a=a+(5.02808*0.43429*alog(y)) |
---|
17 | c=(1.-(1./y))*11.344 |
---|
18 | c=-1.+(10.**c) |
---|
19 | c=-1.3816*c/(10.**7) |
---|
20 | d=(1.-y)*3.49149 |
---|
21 | d=-1.+(10.**d) |
---|
22 | d=8.1328*d/(10.**3) |
---|
23 | y=a+c+d |
---|
24 | ew=101324.6*(10.**y) ! Saettigungsdampfdruck in Pa |
---|
25 | |
---|
26 | end function ew |
---|
Note: See
TracBrowser
for help on using the repository browser.