PHYEX
0.9.5
PHYsique EXternalisée
Loading...
Searching...
No Matches
src
phyex
conv
modd_convpar_shal.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_shal
13
14
!$ACDC methods
15
16
! ########################
17
!
18
!!**** *MODD_CONVPAR_SHAL* - 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_SHAL)
33
!!
34
!! AUTHOR
35
!! ------
36
!! P. Bechtold *Laboratoire d'Aerologie*
37
!!
38
!! MODIFICATIONS
39
!! -------------
40
!! Original 26/03/96
41
!! Last modified 04/10/98
42
!! E. Bazile 05/05/09
43
!-------------------------------------------------------------------------------
44
!
45
!* 0. DECLARATIONS
46
! ------------
47
!
48
IMPLICIT NONE
49
!
50
TYPE
convpar_shal
51
REAL
::
xa25
! 25 km x 25 km reference grid area
52
!
53
REAL
::
xcrad
! cloud radius
54
REAL
::
xctime_shal
! convective adjustment time
55
REAL
::
xcdepth
! minimum necessary cloud depth
56
REAL
::
xcdepth_d
! maximum allowed cloud thickness
57
REAL
::
xdtpert
! add small Temp perturb. at LCL
58
REAL
::
xatpert
! Parameter for temp Perturb
59
REAL
::
xbtpert
! Parameter for temp Perturb
60
! (XATPERT* TKE/Cp + XBTPERT) * XDTPERT
61
REAL
::
xentr
! entrainment constant (m/Pa) = 0.2 (m)
62
!
63
REAL
::
xzlcl
! maximum allowed allowed height
64
! difference between departure level and surface
65
REAL
::
xzpbl
! minimum mixed layer depth to sustain convection
66
REAL
::
xwtrig
! constant in vertical velocity trigger
67
!
68
!
69
REAL
::
xnhgam
! accounts for non-hydrost. pressure
70
! in buoyancy term of w equation
71
! = 2 / (1+gamma)
72
REAL
::
xtfrz1
! begin of freezing interval
73
REAL
::
xtfrz2
! end of freezing interval
74
!
75
!
76
REAL
::
xstabt
! factor to assure stability in fractional time
77
! integration, routine CONVECT_CLOSURE
78
REAL
::
xstabc
! factor to assure stability in CAPE adjustment,
79
! routine CONVECT_CLOSURE
80
REAL
::
xaw
,
xbw
! Parameters for WLCL = XAW * W + XBW
81
LOGICAL
::
llsmooth
! Default=TRUE but not necessary
82
END TYPE
convpar_shal
83
!Keep global variables for parts of the code not ported to the type yet
84
REAL
::
xa25
! 25 km x 25 km reference grid area
85
!
86
REAL
::
xcrad
! cloud radius
87
REAL
::
xctime_shal
! convective adjustment time
88
REAL
::
xcdepth
! minimum necessary cloud depth
89
REAL
::
xcdepth_d
! maximum allowed cloud thickness
90
REAL
::
xdtpert
! add small Temp perturb. at LCL
91
REAL
::
xatpert
! Parameter for temp Perturb
92
REAL
::
xbtpert
! Parameter for temp Perturb
93
! (XATPERT* TKE/Cp + XBTPERT) * XDTPERT
94
REAL
::
xentr
! entrainment constant (m/Pa) = 0.2 (m)
95
!
96
REAL
::
xzlcl
! maximum allowed allowed height
97
! difference between departure level and surface
98
REAL
::
xzpbl
! minimum mixed layer depth to sustain convection
99
REAL
::
xwtrig
! constant in vertical velocity trigger
100
!
101
!
102
REAL
::
xnhgam
! accounts for non-hydrost. pressure
103
! in buoyancy term of w equation
104
! = 2 / (1+gamma)
105
REAL
::
xtfrz1
! begin of freezing interval
106
REAL
::
xtfrz2
! end of freezing interval
107
!
108
!
109
REAL
::
xstabt
! factor to assure stability in fractional time
110
! integration, routine CONVECT_CLOSURE
111
REAL
::
xstabc
! factor to assure stability in CAPE adjustment,
112
! routine CONVECT_CLOSURE
113
REAL
::
xaw
,
xbw
! Parameters for WLCL = XAW * W + XBW
114
LOGICAL
::
llsmooth
! Default=TRUE but not necessary
115
!
116
INTERFACE
ini_convpar_shal
117
MODULE PROCEDURE
ini_convpar_shal0
118
MODULE PROCEDURE
ini_convpar_shal1
119
END INTERFACE
120
121
122
123
CONTAINS
124
125
126
SUBROUTINE
ini_convpar_shal1
(CVP_SHAL)
127
128
USE
yomhook ,
ONLY
: lhook, jphook, dr_hook
129
130
TYPE
(CONVPAR_SHAL),
INTENT(OUT)
:: CVP_SHAL
131
132
REAL
(KIND=jphook) :: zhook_handle
133
134
IF
(lhook)
CALL
dr_hook(
'INI_CONVPAR_SHAL1'
,0,zhook_handle)
135
136
cvp_shal%XA25 =
xa25
137
cvp_shal%XCRAD =
xcrad
138
cvp_shal%XCTIME_SHAL =
xctime_shal
139
cvp_shal%XCDEPTH =
xcdepth
140
cvp_shal%XCDEPTH_D =
xcdepth_d
141
cvp_shal%XDTPERT =
xdtpert
142
cvp_shal%XATPERT =
xatpert
143
cvp_shal%XBTPERT =
xbtpert
144
cvp_shal%XENTR =
xentr
145
cvp_shal%XZLCL =
xzlcl
146
cvp_shal%XZPBL =
xzpbl
147
cvp_shal%XWTRIG =
xwtrig
148
cvp_shal%XNHGAM =
xnhgam
149
cvp_shal%XTFRZ1 =
xtfrz1
150
cvp_shal%XTFRZ2 =
xtfrz2
151
cvp_shal%XSTABT =
xstabt
152
cvp_shal%XSTABC =
xstabc
153
cvp_shal%XAW =
xaw
154
cvp_shal%XBW =
xbw
155
cvp_shal%LLSMOOTH =
llsmooth
156
157
IF
(lhook)
CALL
dr_hook(
'INI_CONVPAR_SHAL1'
,1,zhook_handle)
158
159
END SUBROUTINE
ini_convpar_shal1
160
161
SUBROUTINE
ini_convpar_shal0
162
USE
yomhook ,
ONLY
: lhook, dr_hook, jphook
163
! ###########################
164
!
165
!!**** *INI_CONVPAR * - routine to initialize the constants modules
166
!!
167
!! PURPOSE
168
!! -------
169
!! The purpose of this routine is to initialize the constants
170
!! stored in modules MODD_CONVPAR_SHAL
171
!!
172
!!
173
!!** METHOD
174
!! ------
175
!! The shallow convection constants are set to their numerical values
176
!!
177
!!
178
!! EXTERNAL
179
!! --------
180
!!
181
!! IMPLICIT ARGUMENTS
182
!! ------------------
183
!! Module MODD_CONVPAR_SHAL : contains deep convection constants
184
!!
185
!! REFERENCE
186
!! ---------
187
!! Book2 of the documentation (module MODD_CONVPAR_SHAL, routine INI_CONVPAR)
188
!!
189
!!
190
!! AUTHOR
191
!! ------
192
!! P. BECHTOLD * Laboratoire d'Aerologie *
193
!!
194
!! MODIFICATIONS
195
!! -------------
196
!! Original 26/03/96
197
!! Last modified 15/04/98 adapted for ARPEGE
198
!! 05/05/09 E. Bazile
199
!-------------------------------------------------------------------------------
200
!
201
!* 0. DECLARATIONS
202
! ------------
203
!
204
!
205
IMPLICIT NONE
206
!
207
!-------------------------------------------------------------------------------
208
!
209
!* 1. Set the thermodynamical and numerical constants for
210
! the deep convection parameterization
211
! ---------------------------------------------------
212
!
213
!
214
REAL
(KIND=jphook) :: zhook_handle
215
IF
(lhook)
CALL
dr_hook(
'INI_CONVPAR_SHAL0'
,0,zhook_handle)
216
xa25
= 625.e6
! 25 km x 25 km reference grid area
217
!
218
xcrad
= 50.
! cloud radius
219
xctime_shal
= 10800.
! convective adjustment time
220
xcdepth
= 0.5e3
! minimum necessary shallow cloud depth
221
xcdepth_d
= 2.5e3
! maximum allowed shallow cloud depth
222
xdtpert
= .2
! add small Temp perturbation at LCL
223
xatpert
= 0.
! 0.=original scheme , recommended = 1000.
224
xbtpert
= 1.
! 1.=original scheme , recommended = 0.
225
!
226
xentr
= 0.02
! entrainment constant (m/Pa) = 0.2 (m)
227
!
228
xzlcl
= 0.5e3
! maximum allowed allowed height
229
! difference between the DPL and the surface
230
xzpbl
= 40.e2
! minimum mixed layer depth to sustain convection
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
240
xstabt
= 0.75
! factor to assure stability in fractional time
241
! integration, routine CONVECT_CLOSURE
242
xstabc
= 0.95
! factor to assure stability in CAPE adjustment,
243
! routine CONVECT_CLOSURE
244
xaw
= 0.
! 0.= Original scheme , 1 = recommended
245
xbw
= 1.
! 1.= Original scheme , 0 = recommended
246
llsmooth
= .true.
247
!
248
!
249
IF
(lhook)
CALL
dr_hook(
'INI_CONVPAR_SHAL0'
,1,zhook_handle)
250
END SUBROUTINE
ini_convpar_shal0
251
!
252
END MODULE
modd_convpar_shal
modd_convpar_shal::ini_convpar_shal
Definition
modd_convpar_shal.F90:116
modd_convpar_shal
Definition
modd_convpar_shal.F90:12
modd_convpar_shal::xnhgam
real xnhgam
Definition
modd_convpar_shal.F90:102
modd_convpar_shal::ini_convpar_shal0
subroutine ini_convpar_shal0
Definition
modd_convpar_shal.F90:162
modd_convpar_shal::xstabc
real xstabc
Definition
modd_convpar_shal.F90:111
modd_convpar_shal::xcrad
real xcrad
Definition
modd_convpar_shal.F90:86
modd_convpar_shal::xbtpert
real xbtpert
Definition
modd_convpar_shal.F90:92
modd_convpar_shal::xzpbl
real xzpbl
Definition
modd_convpar_shal.F90:98
modd_convpar_shal::xzlcl
real xzlcl
Definition
modd_convpar_shal.F90:96
modd_convpar_shal::xcdepth
real xcdepth
Definition
modd_convpar_shal.F90:88
modd_convpar_shal::ini_convpar_shal1
subroutine ini_convpar_shal1(cvp_shal)
Definition
modd_convpar_shal.F90:127
modd_convpar_shal::xdtpert
real xdtpert
Definition
modd_convpar_shal.F90:90
modd_convpar_shal::xctime_shal
real xctime_shal
Definition
modd_convpar_shal.F90:87
modd_convpar_shal::xa25
real xa25
Definition
modd_convpar_shal.F90:84
modd_convpar_shal::xbw
real xbw
Definition
modd_convpar_shal.F90:113
modd_convpar_shal::xatpert
real xatpert
Definition
modd_convpar_shal.F90:91
modd_convpar_shal::xstabt
real xstabt
Definition
modd_convpar_shal.F90:109
modd_convpar_shal::xwtrig
real xwtrig
Definition
modd_convpar_shal.F90:99
modd_convpar_shal::llsmooth
logical llsmooth
Definition
modd_convpar_shal.F90:114
modd_convpar_shal::xtfrz1
real xtfrz1
Definition
modd_convpar_shal.F90:105
modd_convpar_shal::xtfrz2
real xtfrz2
Definition
modd_convpar_shal.F90:106
modd_convpar_shal::xcdepth_d
real xcdepth_d
Definition
modd_convpar_shal.F90:89
modd_convpar_shal::xaw
real xaw
Definition
modd_convpar_shal.F90:113
modd_convpar_shal::xentr
real xentr
Definition
modd_convpar_shal.F90:94
modd_convpar_shal::convpar_shal
Definition
modd_convpar_shal.F90:50
Generated by
1.15.0