Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
flexpart
flexpart
Commits
5fc7b686
Commit
5fc7b686
authored
Jul 16, 2019
by
Ignacio Pisso
Browse files
small changes in get_wetscav, check positivity of alpha
parent
7cebaf32
Changes
2
Show whitespace changes
Inline
Side-by-side
src/FLEXPART.f90
View file @
5fc7b686
...
...
@@ -79,7 +79,7 @@ program flexpart
! FLEXPART version string
flexversion_major
=
'10'
! Major version number, also used for species file names
flexversion
=
'Version '
//
trim
(
flexversion_major
)//
'.4 (2019-07-1
4
)'
flexversion
=
'Version '
//
trim
(
flexversion_major
)//
'.4 (2019-07-1
6
)'
verbosity
=
0
! Read the pathnames where input/output files are stored
...
...
src/get_wetscav.f90
View file @
5fc7b686
...
...
@@ -294,15 +294,15 @@ subroutine get_wetscav(itime,ltsample,loutnext,jpart,ks,grfraction,inc_count,blc
if
(
act_temp
.le.
253.
)
then
liq_frac
=
0
ice_frac
=
1
else
if
(
act_temp
.ge.
273.
15
)
then
else
if
(
act_temp
.ge.
273.
)
then
liq_frac
=
1
ice_frac
=
0
else
! sec bugfix after FLEXPART paper review, liq_frac was 1-liq_frac
! IP bugfix v10.4, calculate ice_frac and liq_frac
ice_frac
=
((
act_temp
-273.
)/(
273.-253.
))
**
2.
liq_frac
=
1
-
ice_frac
!((act_temp-253.)/(273.-253.))**2.
!
liq_frac = 1-ice_frac !((act_temp-253.)/(273.-253.))**2.
liq_frac
=
max
(
0.
,
1.
-
ice_frac
)
end
if
! ZHG: Calculate the aerosol partition based on cloud phase and Ai and Bi
! frac_act = liq_frac*ccn_aero(ks) +(1-liq_frac)*in_aero(ks)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment