PHYEX
0.9.5
PHYsique EXternalisée
Loading...
Searching...
No Matches
src
phyex
conv
modd_convpar.F90
Go to the documentation of this file.
1
!MNH_LIC Copyright 1994-2024 CNRS, Meteo-France and Universite Paul Sabatier
2
!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
3
!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
4
!MNH_LIC for details. version 1.
5
!-----------------------------------------------------------------
6
!--------------- special set of characters for RCS information
7
!-----------------------------------------------------------------
8
! $Source$ $Revision$
9
! MASDEV4_7 modd 2006/05/18 13:07:25
10
!-----------------------------------------------------------------
11
! ######spl
12
MODULE
modd_convpar
13
14
!$ACDC methods
15
16
! ###################
17
!
18
!!**** *MODD_CONVPAR* - Declaration of convection constants
19
!!
20
!! PURPOSE
21
!! -------
22
! The purpose of this declarative module is to declare the
23
! constants in the deep convection parameterization.
24
!
25
!!
26
!!** IMPLICIT ARGUMENTS
27
!! ------------------
28
!! None
29
!!
30
!! REFERENCE
31
!! ---------
32
!! Book2 of documentation of Meso-NH (MODD_CONVPAR)
33
!!
34
!! AUTHOR
35
!! ------
36
!! P. Bechtold *Laboratoire d'Aerologie*
37
!!
38
!! MODIFICATIONS
39
!! -------------
40
!! Original 26/03/96
41
!! Last modified 15/11/96
42
!-------------------------------------------------------------------------------
43
!
44
!* 0. DECLARATIONS
45
! ------------
46
!
47
IMPLICIT NONE
48
!
49
TYPE
convpar_t
50
REAL
::
xa25
! 25 km x 25 km reference grid area
51
!
52
REAL
::
xcrad
! cloud radius
53
REAL
::
xcdepth
! minimum necessary cloud depth
54
REAL
::
xentr
! entrainment constant (m/Pa) = 0.2 (m)
55
!
56
REAL
::
xzlcl
! maximum allowed allowed height
57
! difference between departure level and surface
58
REAL
::
xzpbl
! minimum mixed layer depth to sustain convection
59
REAL
::
xwtrig
! constant in vertical velocity trigger
60
!
61
!
62
REAL
::
xnhgam
! accounts for non-hydrost. pressure
63
! in buoyancy term of w equation
64
! = 2 / (1+gamma)
65
REAL
::
xtfrz1
! begin of freezing interval
66
REAL
::
xtfrz2
! end of freezing interval
67
!
68
REAL
::
xrhdbc
! relative humidity below cloud in downdraft
69
!
70
REAL
::
xrconv
! constant in precipitation conversion
71
REAL
::
xstabt
! factor to assure stability in fractional time
72
! integration, routine CONVECT_CLOSURE
73
REAL
::
xstabc
! factor to assure stability in CAPE adjustment,
74
! routine CONVECT_CLOSURE
75
REAL
::
xusrdpth
! pressure thickness used to compute updraft
76
! moisture supply rate for downdraft
77
REAL
::
xmeldpth
! layer (Pa) through which precipitation melt is
78
! allowed below melting level
79
REAL
::
xuvdp
! constant for pressure perturb in momentum transport
80
END TYPE
convpar_t
81
82
!Keep global variables for parts of the code not ported to the type yet
83
REAL
::
xa25
! 25 km x 25 km reference grid area
84
!
85
REAL
::
xcrad
! cloud radius
86
REAL
::
xcdepth
! minimum necessary cloud depth
87
REAL
::
xentr
! entrainment constant (m/Pa) = 0.2 (m)
88
!
89
REAL
::
xzlcl
! maximum allowed allowed height
90
! difference between departure level and surface
91
REAL
::
xzpbl
! minimum mixed layer depth to sustain convection
92
REAL
::
xwtrig
! constant in vertical velocity trigger
93
!
94
!
95
REAL
::
xnhgam
! accounts for non-hydrost. pressure
96
! in buoyancy term of w equation
97
! = 2 / (1+gamma)
98
REAL
::
xtfrz1
! begin of freezing interval
99
REAL
::
xtfrz2
! end of freezing interval
100
!
101
REAL
::
xrhdbc
! relative humidity below cloud in downdraft
102
!
103
REAL
::
xrconv
! constant in precipitation conversion
104
REAL
::
xstabt
! factor to assure stability in fractional time
105
! integration, routine CONVECT_CLOSURE
106
REAL
::
xstabc
! factor to assure stability in CAPE adjustment,
107
! routine CONVECT_CLOSURE
108
REAL
::
xusrdpth
! pressure thickness used to compute updraft
109
! moisture supply rate for downdraft
110
REAL
::
xmeldpth
! layer (Pa) through which precipitation melt is
111
! allowed below melting level
112
REAL
::
xuvdp
! constant for pressure perturb in momentum transport
113
114
INTERFACE
ini_convpar
115
MODULE PROCEDURE
ini_convpar0
116
MODULE PROCEDURE
ini_convpar1
117
END INTERFACE
118
119
120
121
CONTAINS
122
123
124
SUBROUTINE
ini_convpar1
(CONVPAR)
125
126
USE
yomhook ,
ONLY
: lhook, jphook, dr_hook
127
128
TYPE
(CONVPAR_T),
INTENT (OUT)
:: CONVPAR
129
130
REAL
(KIND=jphook) :: zhook_handle
131
132
IF
(lhook)
CALL
dr_hook(
'INI_CONVPAR1'
,0,zhook_handle)
133
134
convpar%XA25 =
xa25
135
convpar%XCRAD =
xcrad
136
convpar%XCDEPTH =
xcdepth
137
convpar%XENTR =
xentr
138
convpar%XZLCL =
xzlcl
139
convpar%XZPBL =
xzpbl
140
convpar%XWTRIG =
xwtrig
141
convpar%XNHGAM =
xnhgam
142
convpar%XTFRZ1 =
xtfrz1
143
convpar%XTFRZ2 =
xtfrz2
144
convpar%XRHDBC =
xrhdbc
145
convpar%XRCONV =
xrconv
146
convpar%XSTABT =
xstabt
147
convpar%XSTABC =
xstabc
148
convpar%XUSRDPTH =
xusrdpth
149
convpar%XMELDPTH =
xmeldpth
150
convpar%XUVDP =
xuvdp
151
152
IF
(lhook)
CALL
dr_hook(
'INI_CONVPAR1'
,1,zhook_handle)
153
154
END SUBROUTINE
ini_convpar1
155
156
SUBROUTINE
ini_convpar0
(OE1)
157
! ######################
158
!
159
!!**** *INI_CONVPAR * - routine to initialize the constants modules
160
!!
161
!! PURPOSE
162
!! -------
163
! The purpose of this routine is to initialize the constants
164
! stored in modules MODD_CONVPAR, MODD_CST, MODD_CONVPAREXT.
165
!
166
!
167
!!** METHOD
168
!! ------
169
!! The deep convection constants are set to their numerical values
170
!!
171
!!
172
!! EXTERNAL
173
!! --------
174
!!
175
!! IMPLICIT ARGUMENTS
176
!! ------------------
177
!! Module MODD_CONVPAR : contains deep convection constants
178
!!
179
!! REFERENCE
180
!! ---------
181
!! Book2 of the documentation (module MODD_CONVPAR, routine INI_CONVPAR)
182
!!
183
!!
184
!! AUTHOR
185
!! ------
186
!! P. BECHTOLD * Laboratoire d'Aerologie *
187
!!
188
!! MODIFICATIONS
189
!! -------------
190
!! Original 26/03/96
191
!! Last modified 15/04/98 adapted for ARPEGE
192
!-------------------------------------------------------------------------------
193
!
194
!* 0. DECLARATIONS
195
! ------------
196
!
197
!
198
USE
yomhook ,
ONLY
: lhook, jphook, dr_hook
199
IMPLICIT NONE
200
LOGICAL
,
OPTIONAL
,
INTENT(IN)
:: OE1
201
LOGICAL
:: LE1
202
!
203
REAL
(KIND=jphook) :: zhook_handle
204
!
205
IF
(.NOT.
PRESENT
(oe1))
THEN
206
le1=.false.
207
ELSE
208
le1=oe1
209
ENDIF
210
!
211
!-------------------------------------------------------------------------------
212
!
213
!* 1. Set the thermodynamical and numerical constants for
214
! the deep convection parameterization
215
! ---------------------------------------------------
216
!
217
!
218
IF
(lhook)
CALL
dr_hook(
'INI_CONVPAR0'
,0,zhook_handle)
219
220
IF
(.NOT. le1)
THEN
221
xa25
= 625.e6
! 25 km x 25 km reference grid area
222
!
223
xcrad
= 1500.
! cloud radius
224
xcdepth
= 2.5e3
! minimum necessary cloud depth
225
xentr
= 0.03
! entrainment constant (m/Pa) = 0.2 (m)
226
!
227
xzlcl
= 3.5e3
! maximum allowed allowed height
228
! difference between the surface and the LCL
229
xzpbl
= 60.e2
! minimum mixed layer depth to sustain convection
230
xwtrig
= 6.00
! constant in vertical velocity trigger
231
!
232
!
233
xnhgam
= 1.3333
! accounts for non-hydrost. pressure
234
! in buoyancy term of w equation
235
! = 2 / (1+gamma)
236
xtfrz1
= 268.16
! begin of freezing interval
237
xtfrz2
= 248.16
! end of freezing interval
238
!
239
xrhdbc
= 0.9
! relative humidity below cloud in downdraft
240
241
xrconv
= 0.015
! constant in precipitation conversion
242
xstabt
= 0.75
! factor to assure stability in fractional time
243
! integration, routine CONVECT_CLOSURE
244
xstabc
= 0.95
! factor to assure stability in CAPE adjustment,
245
! routine CONVECT_CLOSURE
246
xusrdpth
= 165.e2
! pressure thickness used to compute updraft
247
! moisture supply rate for downdraft
248
xmeldpth
= 100.e2
! layer (Pa) through which precipitation melt is
249
! allowed below downdraft
250
xuvdp
= 0.7
! constant for pressure perturb in momentum transport
251
ELSE
252
xa25
= 625.e6
! 25 km x 25 km reference grid area
253
!
254
xcrad
= 500.
! cloud radius
255
xcdepth
= 3.e3
! minimum necessary cloud depth
256
xentr
= 0.03
! entrainment constant (m/Pa) = 0.2 (m)
257
!
258
xzlcl
= 3.5e3
! maximum allowed allowed height
259
! difference between the surface and the LCL
260
xzpbl
= 60.e2
! minimum mixed layer depth to sustain convection
261
xwtrig
= 6.00
! constant in vertical velocity trigger
262
!
263
!
264
xnhgam
= 1.3333
! accounts for non-hydrost. pressure
265
! in buoyancy term of w equation
266
! = 2 / (1+gamma)
267
xtfrz1
= 268.16
! begin of freezing interval
268
xtfrz2
= 248.16
! end of freezing interval
269
!
270
xrhdbc
= 0.9
! relative humidity below cloud in downdraft
271
272
xrconv
= 0.015
! constant in precipitation conversion
273
xstabt
= 0.75
! factor to assure stability in fractional time
274
! integration, routine CONVECT_CLOSURE
275
xstabc
= 0.95
! factor to assure stability in CAPE adjustment,
276
! routine CONVECT_CLOSURE
277
xusrdpth
= 165.e2
! pressure thickness used to compute updraft
278
! moisture supply rate for downdraft
279
xmeldpth
= 200.e2
! layer (Pa) through which precipitation melt is
280
! allowed below downdraft
281
xuvdp
= 0.7
! constant for pressure perturb in momentum transport
282
ENDIF
283
!
284
!
285
IF
(lhook)
CALL
dr_hook(
'INI_CONVPAR0'
,1,zhook_handle)
286
END SUBROUTINE
ini_convpar0
287
!
288
END MODULE
modd_convpar
modd_convpar::ini_convpar
Definition
modd_convpar.F90:114
modd_convpar
Definition
modd_convpar.F90:12
modd_convpar::ini_convpar0
subroutine ini_convpar0(oe1)
Definition
modd_convpar.F90:157
modd_convpar::xa25
real xa25
Definition
modd_convpar.F90:83
modd_convpar::xzlcl
real xzlcl
Definition
modd_convpar.F90:89
modd_convpar::xcrad
real xcrad
Definition
modd_convpar.F90:85
modd_convpar::xcdepth
real xcdepth
Definition
modd_convpar.F90:86
modd_convpar::ini_convpar1
subroutine ini_convpar1(convpar)
Definition
modd_convpar.F90:125
modd_convpar::xstabc
real xstabc
Definition
modd_convpar.F90:106
modd_convpar::xnhgam
real xnhgam
Definition
modd_convpar.F90:95
modd_convpar::xuvdp
real xuvdp
Definition
modd_convpar.F90:112
modd_convpar::xmeldpth
real xmeldpth
Definition
modd_convpar.F90:110
modd_convpar::xstabt
real xstabt
Definition
modd_convpar.F90:104
modd_convpar::xzpbl
real xzpbl
Definition
modd_convpar.F90:91
modd_convpar::xtfrz1
real xtfrz1
Definition
modd_convpar.F90:98
modd_convpar::xtfrz2
real xtfrz2
Definition
modd_convpar.F90:99
modd_convpar::xusrdpth
real xusrdpth
Definition
modd_convpar.F90:108
modd_convpar::xrhdbc
real xrhdbc
Definition
modd_convpar.F90:101
modd_convpar::xentr
real xentr
Definition
modd_convpar.F90:87
modd_convpar::xrconv
real xrconv
Definition
modd_convpar.F90:103
modd_convpar::xwtrig
real xwtrig
Definition
modd_convpar.F90:92
modd_convpar::convpar_t
Definition
modd_convpar.F90:49
Generated by
1.15.0