10.4.1_peseiGFS_025bugfixes+enhancementsdevrelease-10release-10.4.1scaling-bug
Last change
on this file was
92fab65,
checked in by Ignacio Pisso <ip@…>, 4 years ago
|
add SPDX-License-Identifier to all .f90 files
|
-
Property mode set to
100644
|
File size:
727 bytes
|
Rev | Line | |
---|
[92fab65] | 1 | ! SPDX-FileCopyrightText: FLEXPART 1998-2019, see flexpart_license.txt |
---|
| 2 | ! SPDX-License-Identifier: GPL-3.0-or-later |
---|
[332fbbd] | 3 | |
---|
[e200b7a] | 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.) stop 'sorry: t not in [k]' |
---|
| 17 | y=373.16/x |
---|
| 18 | a=-7.90298*(y-1.) |
---|
| 19 | a=a+(5.02808*0.43429*alog(y)) |
---|
| 20 | c=(1.-(1./y))*11.344 |
---|
| 21 | c=-1.+(10.**c) |
---|
| 22 | c=-1.3816*c/(10.**7) |
---|
| 23 | d=(1.-y)*3.49149 |
---|
| 24 | d=-1.+(10.**d) |
---|
| 25 | d=8.1328*d/(10.**3) |
---|
| 26 | y=a+c+d |
---|
| 27 | ew=101324.6*(10.**y) ! Saettigungsdampfdruck in Pa |
---|
| 28 | |
---|
| 29 | end function ew |
---|
Note: See
TracBrowser
for help on using the repository browser.