/[lmdze]/trunk/Sources/phylmd/CV3_routines/cv3_param.f
ViewVC logotype

Contents of /trunk/Sources/phylmd/CV3_routines/cv3_param.f

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.21