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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 186 - (hide annotations)
Mon Mar 21 15:36:26 2016 UTC (8 years, 2 months 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 guez 185 module cv30_param_m
2 guez 3
3 guez 97 ! From LMDZ4/libf/phylmd/cvparam3.h, version 1.1.1.1, 2004/05/19 12:53:09
4 guez 3
5 guez 182 ! Parameters for Emanuel convection scheme:
6 guez 69 ! - microphysical parameters
7     ! - parameters that control the rate of approach to quasi-equilibrium
8 guez 3
9 guez 69 implicit none
10 guez 3
11 guez 69 integer minorig ! first level of convection
12 guez 186 integer nl ! limit for convection
13 guez 69 real sigd ! FRACTIONAL AREA COVERED BY UNSATURATED DNDRAFT
14     real spfac ! FRACTION OF PRECIPITATION FALLING OUTSIDE OF CLOUD
15 guez 3
16 guez 69 real pbcrit
17     ! CRITICAL CLOUD DEPTH (MB) BENEATH WHICH THE PRECIPITATION
18     ! EFFICIENCY IS ASSUMED TO BE ZERO
19 guez 3
20 guez 69 real ptcrit
21     ! CLOUD DEPTH (MB) ABOVE WHICH THE PRECIPitation EFFICIENCY IS
22     ! ASSUMED TO BE UNITY
23 guez 3
24 guez 69 real omtrain
25     real dtovsh, dpbase, dttrig
26 guez 3
27 guez 69 real dtcrit
28     ! CRITICAL BUOYANCY (K) USED TO ADJUST THE APPROACH TO
29     ! QUASI-EQUILIBRIUM. IT MUST BE LESS THAN 0.
30 guez 3
31 guez 69 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 guez 3
36 guez 69 real tau ! CHARACTERISTIC TIMESCALE USED TO COMPUTE ALPHA and BETA
37     real delta
38     real betad
39 guez 3
40 guez 69 contains
41 guez 3
42 guez 186 SUBROUTINE cv30_param(delt)
43 guez 3
44 guez 97 ! From LMDZ4/libf/phylmd/cv3_routines.F, version 1.5, 2005/07/11 15:20:02
45 guez 3
46 guez 182 ! Set parameters for Emanuel convection scheme
47 guez 3
48 guez 186 USE dimphy, ONLY: klev
49    
50 guez 69 real, intent(in):: delt ! timestep (seconds)
51 guez 3
52 guez 69 !------------------------------------------------------------
53 guez 3
54 guez 69 ! Limit levels for convection:
55     minorig = 1
56 guez 186 nl = klev - 1
57 guez 3
58 guez 69 ! "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 guez 185 end SUBROUTINE cv30_param
88 guez 69
89 guez 185 end module cv30_param_m

  ViewVC Help
Powered by ViewVC 1.1.21