/[lmdze]/trunk/Sources/phylmd/CV30_routines/cv30_param.f
ViewVC logotype

Contents of /trunk/Sources/phylmd/CV30_routines/cv30_param.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 186 - (show annotations)
Mon Mar 21 15:36:26 2016 UTC (8 years, 1 month ago) by guez
File size: 2326 byte(s)
Removed variables nlm and nlp of module cv30_param_m. We do not
believe much in the benefit of these intermediary variables so we go
for clarity.

Removed variable noff of module cv30_param_m. Never used anywhere
else. Just set the value of nl explicitly in cv30_param.

Removed argument nd of cv30_param. Only called with nd = klev.

Replaced calls to zilch by array assignments. There was a strange
double call to zilch with the same arguments in cv30_mixing.

Removed procedure cv_flag. Just set the value of variable cvflag_grav
of module cvflag at declaration.

1 module cv30_param_m
2
3 ! From LMDZ4/libf/phylmd/cvparam3.h, version 1.1.1.1, 2004/05/19 12:53:09
4
5 ! Parameters for Emanuel convection scheme:
6 ! - microphysical parameters
7 ! - parameters that control the rate of approach to quasi-equilibrium
8
9 implicit none
10
11 integer minorig ! first level of convection
12 integer nl ! limit for convection
13 real sigd ! FRACTIONAL AREA COVERED BY UNSATURATED DNDRAFT
14 real spfac ! FRACTION OF PRECIPITATION FALLING OUTSIDE OF CLOUD
15
16 real pbcrit
17 ! CRITICAL CLOUD DEPTH (MB) BENEATH WHICH THE PRECIPITATION
18 ! EFFICIENCY IS ASSUMED TO BE ZERO
19
20 real ptcrit
21 ! CLOUD DEPTH (MB) ABOVE WHICH THE PRECIPitation EFFICIENCY IS
22 ! ASSUMED TO BE UNITY
23
24 real omtrain
25 real dtovsh, dpbase, dttrig
26
27 real dtcrit
28 ! CRITICAL BUOYANCY (K) USED TO ADJUST THE APPROACH TO
29 ! QUASI-EQUILIBRIUM. IT MUST BE LESS THAN 0.
30
31 real beta, alpha
32 ! PARAMETERS THAT CONTROL THE RATE OF APPROACH TO QUASI-EQUILIBRIUM
33 ! (THEIR STANDARD VALUES ARE 1.0 AND 0.96, RESPECTIVELY) (BETA MUST
34 ! BE LESS THAN OR EQUAL TO 1)
35
36 real tau ! CHARACTERISTIC TIMESCALE USED TO COMPUTE ALPHA and BETA
37 real delta
38 real betad
39
40 contains
41
42 SUBROUTINE cv30_param(delt)
43
44 ! From LMDZ4/libf/phylmd/cv3_routines.F, version 1.5, 2005/07/11 15:20:02
45
46 ! Set parameters for Emanuel convection scheme
47
48 USE dimphy, ONLY: klev
49
50 real, intent(in):: delt ! timestep (seconds)
51
52 !------------------------------------------------------------
53
54 ! Limit levels for convection:
55 minorig = 1
56 nl = klev - 1
57
58 ! "Microphysical" parameters:
59
60 sigd = 0.01
61 spfac = 0.15
62 pbcrit = 150.0
63 ptcrit = 500.0
64 ! cf. FH epmax = 0.993
65
66 omtrain = 45.0 ! used also for snow (no distinction rain/snow)
67
68 ! Misc:
69 dtovsh = -0.2 ! dT for overshoot
70 dpbase = -40. ! definition cloud base (400m above LCL)
71 dttrig = 5. ! (loose) condition for triggering
72
73 ! Rate of approach to quasi-equilibrium:
74 dtcrit = -2.0
75 tau = 8000.
76 beta = 1.0 - delt/tau
77 alpha = 1.5E-3 * delt/tau
78 ! Increase alpha to compensate W decrease:
79 alpha = alpha*1.5
80
81 ! Interface cloud parameterization:
82 delta=0.01 ! cld
83
84 ! Interface with boundary-layer (gust factor): (sb)
85 betad=10.0 ! original value (from convect 4.3)
86
87 end SUBROUTINE cv30_param
88
89 end module cv30_param_m

  ViewVC Help
Powered by ViewVC 1.1.21