1 | MODULE lmdz_lscp_ini |
---|
2 | |
---|
3 | IMPLICIT NONE |
---|
4 | |
---|
5 | ! PARAMETERS for lscp: |
---|
6 | !-------------------- |
---|
7 | |
---|
8 | REAL RCPD, RLSTT, RLVTT, RLMLT, RVTMP2, RTT, RD, RG, RPI |
---|
9 | !$OMP THREADPRIVATE(RCPD, RLSTT, RLVTT, RLMLT, RVTMP2, RTT, RD, RG, RPI) |
---|
10 | |
---|
11 | REAL, SAVE, PROTECTED :: seuil_neb=0.001 ! cloud fraction threshold: a cloud can precipitate when exceeded |
---|
12 | !$OMP THREADPRIVATE(seuil_neb) |
---|
13 | |
---|
14 | REAL, SAVE, PROTECTED :: min_neb_th=1e-10 ! a cloud produced by bi-gaussian really exists when exceeded |
---|
15 | !$OMP THREADPRIVATE(min_neb_th) |
---|
16 | |
---|
17 | REAL, SAVE, PROTECTED :: min_frac_thermals=1.e-10 ! minimum thermals fraction for use of bigaussian distribution |
---|
18 | !$OMP THREADPRIVATE(min_frac_thermals) |
---|
19 | |
---|
20 | INTEGER, SAVE :: lunout, prt_level ! Logical unit number and level for standard output |
---|
21 | !$OMP THREADPRIVATE(lunout,prt_level) |
---|
22 | |
---|
23 | INTEGER, SAVE, PROTECTED :: niter_lscp=5 ! number of iterations to calculate autoconversion to precipitation |
---|
24 | !$OMP THREADPRIVATE(niter_lscp) |
---|
25 | |
---|
26 | INTEGER, SAVE, PROTECTED :: iflag_evap_prec=1 ! precipitation evaporation flag. 0: nothing, 1: "old way", |
---|
27 | ! 2: Max cloud fraction above to calculate the max of reevaporation |
---|
28 | ! >=4: LTP'method i.e. evaporation in the clear-sky fraction of the mesh only |
---|
29 | ! pay attention that iflag_evap_prec=4 may lead to unrealistic and overestimated |
---|
30 | ! evaporation. Use 5 instead |
---|
31 | !$OMP THREADPRIVATE(iflag_evap_prec) |
---|
32 | |
---|
33 | REAL, SAVE, PROTECTED :: t_coup=234.0 ! temperature threshold which determines the phase |
---|
34 | ! for which the saturation vapor pressure is calculated |
---|
35 | !$OMP THREADPRIVATE(t_coup) |
---|
36 | REAL, SAVE, PROTECTED :: DDT0=0.01 ! iteration parameter |
---|
37 | !$OMP THREADPRIVATE(DDT0) |
---|
38 | |
---|
39 | REAL, SAVE, PROTECTED :: ztfondue=278.15 ! parameter to calculate melting fraction of precipitation |
---|
40 | !$OMP THREADPRIVATE(ztfondue) |
---|
41 | |
---|
42 | REAL, SAVE, PROTECTED :: temp_nowater=233.15 ! temperature below which liquid water no longer exists |
---|
43 | !$OMP THREADPRIVATE(temp_nowater) |
---|
44 | |
---|
45 | REAL, SAVE, PROTECTED :: a_tr_sca(4) ! Variables for tracers temporary: alpha parameter for scavenging, 4 possible scavenging processes |
---|
46 | !$OMP THREADPRIVATE(a_tr_sca) |
---|
47 | |
---|
48 | REAL, SAVE, PROTECTED :: min_frac_th_cld=1.e-10 ! minimum thermal fraction to compute a thermal cloud fraction |
---|
49 | !$OMP THREADPRIVATE(min_frac_th_cld) |
---|
50 | |
---|
51 | LOGICAL, SAVE, PROTECTED :: ok_radocond_snow=.false. ! take into account the mass of ice precip in the cloud ice content seen by radiation |
---|
52 | !$OMP THREADPRIVATE(ok_radocond_snow) |
---|
53 | |
---|
54 | REAL, SAVE, PROTECTED :: t_glace_min=258.0 ! lower-bound temperature parameter for cloud phase determination |
---|
55 | !$OMP THREADPRIVATE(t_glace_min) |
---|
56 | |
---|
57 | REAL, SAVE, PROTECTED :: t_glace_max=273.15 ! upper-bound temperature parameter for cloud phase determination |
---|
58 | !$OMP THREADPRIVATE(t_glace_max) |
---|
59 | |
---|
60 | REAL, SAVE, PROTECTED :: exposant_glace=1.0 ! parameter for cloud phase determination |
---|
61 | !$OMP THREADPRIVATE(exposant_glace) |
---|
62 | |
---|
63 | INTEGER, SAVE, PROTECTED :: iflag_vice=0 ! which expression for ice crystall fall velocity |
---|
64 | !$OMP THREADPRIVATE(iflag_vice) |
---|
65 | |
---|
66 | INTEGER, SAVE, PROTECTED :: iflag_t_glace=0 ! which expression for cloud phase partitioning |
---|
67 | !$OMP THREADPRIVATE(iflag_t_glace) |
---|
68 | |
---|
69 | INTEGER, SAVE, PROTECTED :: iflag_cloudth_vert=0 ! option for determining cloud fraction and content in convective boundary layers |
---|
70 | !$OMP THREADPRIVATE(iflag_cloudth_vert) |
---|
71 | |
---|
72 | INTEGER, SAVE, PROTECTED :: iflag_gammasat=0 ! which threshold for homogeneous nucleation below -40oC |
---|
73 | !$OMP THREADPRIVATE(iflag_gammasat) |
---|
74 | |
---|
75 | INTEGER, SAVE, PROTECTED :: iflag_rain_incloud_vol=0 ! use of volume cloud fraction for rain autoconversion |
---|
76 | !$OMP THREADPRIVATE(iflag_rain_incloud_vol) |
---|
77 | |
---|
78 | INTEGER, SAVE, PROTECTED :: iflag_bergeron=0 ! bergeron effect for liquid precipitation treatment |
---|
79 | !$OMP THREADPRIVATE(iflag_bergeron) |
---|
80 | |
---|
81 | INTEGER, SAVE, PROTECTED :: iflag_fisrtilp_qsat=0 ! qsat adjustment (iterative) during autoconversion |
---|
82 | !$OMP THREADPRIVATE(iflag_fisrtilp_qsat) |
---|
83 | |
---|
84 | INTEGER, SAVE, PROTECTED :: iflag_pdf=0 ! type of subgrid scale qtot pdf |
---|
85 | !$OMP THREADPRIVATE(iflag_pdf) |
---|
86 | |
---|
87 | INTEGER, SAVE, PROTECTED :: iflag_autoconversion=0 ! autoconversion option |
---|
88 | !$OMP THREADPRIVATE(iflag_autoconversion) |
---|
89 | |
---|
90 | LOGICAL, SAVE, PROTECTED :: reevap_ice=.false. ! no liquid precip for T< threshold |
---|
91 | !$OMP THREADPRIVATE(reevap_ice) |
---|
92 | |
---|
93 | REAL, SAVE, PROTECTED :: cld_lc_lsc=2.6e-4 ! liquid autoconversion coefficient, stratiform rain |
---|
94 | !$OMP THREADPRIVATE(cld_lc_lsc) |
---|
95 | |
---|
96 | REAL, SAVE, PROTECTED :: cld_lc_con=2.6e-4 ! liquid autoconversion coefficient, convective rain |
---|
97 | !$OMP THREADPRIVATE(cld_lc_con) |
---|
98 | |
---|
99 | REAL, SAVE, PROTECTED :: cld_tau_lsc=3600. ! liquid autoconversion timescale, stratiform rain |
---|
100 | !$OMP THREADPRIVATE(cld_tau_lsc) |
---|
101 | |
---|
102 | REAL, SAVE, PROTECTED :: cld_tau_con=3600. ! liquid autoconversion timescale, convective rain |
---|
103 | !$OMP THREADPRIVATE(cld_tau_con) |
---|
104 | |
---|
105 | REAL, SAVE, PROTECTED :: cld_expo_lsc=2. ! liquid autoconversion threshold exponent, stratiform rain |
---|
106 | !$OMP THREADPRIVATE(cld_expo_lsc) |
---|
107 | |
---|
108 | REAL, SAVE, PROTECTED :: cld_expo_con=2. ! liquid autoconversion threshold exponent, convective rain |
---|
109 | !$OMP THREADPRIVATE(cld_expo_con) |
---|
110 | |
---|
111 | REAL, SAVE, PROTECTED :: ffallv_lsc=1. ! tuning coefficient crystal fall velocity, stratiform |
---|
112 | !$OMP THREADPRIVATE(ffallv_lsc) |
---|
113 | |
---|
114 | REAL, SAVE, PROTECTED :: ffallv_con=1. ! tuning coefficient crystal fall velocity, convective |
---|
115 | !$OMP THREADPRIVATE(ffallv_con) |
---|
116 | |
---|
117 | REAL, SAVE, PROTECTED :: coef_eva=2e-5 ! tuning coefficient liquid precip evaporation |
---|
118 | !$OMP THREADPRIVATE(coef_eva) |
---|
119 | |
---|
120 | REAL, SAVE, PROTECTED :: coef_sub ! tuning coefficient ice precip sublimation |
---|
121 | !$OMP THREADPRIVATE(coef_sub) |
---|
122 | |
---|
123 | REAL, SAVE, PROTECTED :: expo_eva=0.5 ! tuning coefficient liquid precip evaporation |
---|
124 | !$OMP THREADPRIVATE(expo_eva) |
---|
125 | |
---|
126 | REAL, SAVE, PROTECTED :: expo_sub ! tuning coefficient ice precip sublimation |
---|
127 | !$OMP THREADPRIVATE(expo_sub) |
---|
128 | |
---|
129 | REAL, SAVE, PROTECTED :: cice_velo=1.645 ! factor in the ice fall velocity formulation |
---|
130 | !$OMP THREADPRIVATE(cice_velo) |
---|
131 | |
---|
132 | REAL, SAVE, PROTECTED :: dice_velo=0.16 ! exponent in the ice fall velocity formulation |
---|
133 | !$OMP THREADPRIVATE(dice_velo) |
---|
134 | |
---|
135 | REAL, SAVE, PROTECTED :: dist_liq=300. ! typical deph of cloud-top liquid layer in mpcs |
---|
136 | !$OMP THREADPRIVATE(dist_liq) |
---|
137 | |
---|
138 | REAL, SAVE, PROTECTED :: tresh_cl=0.0 ! cloud fraction threshold for cloud top search |
---|
139 | !$OMP THREADPRIVATE(tresh_cl) |
---|
140 | |
---|
141 | !--Parameters for poprecip |
---|
142 | LOGICAL, SAVE, PROTECTED :: ok_poprecip=.FALSE. ! use the processes-oriented formulation of precipitations |
---|
143 | !$OMP THREADPRIVATE(ok_poprecip) |
---|
144 | |
---|
145 | LOGICAL, SAVE, PROTECTED :: ok_corr_vap_evasub=.FALSE. ! use the corrected version of clear-sky water vapor for the evap / subl processes |
---|
146 | !$OMP THREADPRIVATE(ok_corr_vap_evasub) |
---|
147 | |
---|
148 | REAL, SAVE, PROTECTED :: cld_lc_lsc_snow=2.e-5 ! snow autoconversion coefficient, stratiform. default from Chaboureau and PInty 2006 |
---|
149 | !$OMP THREADPRIVATE(cld_lc_lsc_snow) |
---|
150 | |
---|
151 | REAL, SAVE, PROTECTED :: cld_lc_con_snow=2.e-5 ! snow autoconversion coefficient, convective |
---|
152 | !$OMP THREADPRIVATE(cld_lc_con_snow) |
---|
153 | |
---|
154 | REAL, SAVE, PROTECTED :: rain_int_min=1.e-5 ! Minimum local rain intensity [mm/s] before the decrease in associated precipitation fraction |
---|
155 | !$OMP THREADPRIVATE(rain_int_min) |
---|
156 | |
---|
157 | REAL, SAVE, PROTECTED :: thresh_precip_frac=1.E-6 ! precipitation fraction threshold TODO [-] |
---|
158 | !$OMP THREADPRIVATE(thresh_precip_frac) |
---|
159 | |
---|
160 | REAL, SAVE, PROTECTED :: gamma_col=1. ! A COMMENTER TODO [-] |
---|
161 | !$OMP THREADPRIVATE(gamma_col) |
---|
162 | |
---|
163 | REAL, SAVE, PROTECTED :: gamma_agg=1. ! A COMMENTER TODO [-] |
---|
164 | !$OMP THREADPRIVATE(gamma_agg) |
---|
165 | |
---|
166 | REAL, SAVE, PROTECTED :: gamma_rim=1. ! A COMMENTER TODO [-] |
---|
167 | !$OMP THREADPRIVATE(gamma_rim) |
---|
168 | |
---|
169 | REAL, SAVE, PROTECTED :: rho_rain=1000. ! A COMMENTER TODO [kg/m3] |
---|
170 | !$OMP THREADPRIVATE(rho_rain) |
---|
171 | |
---|
172 | REAL, SAVE, PROTECTED :: rho_ice=920. ! A COMMENTER TODO [kg/m3] |
---|
173 | !$OMP THREADPRIVATE(rho_ice) |
---|
174 | |
---|
175 | REAL, SAVE, PROTECTED :: r_rain=500.E-6 ! A COMMENTER TODO [m] |
---|
176 | !$OMP THREADPRIVATE(r_rain) |
---|
177 | |
---|
178 | REAL, SAVE, PROTECTED :: r_snow=1.E-3 ! A COMMENTER TODO [m] |
---|
179 | !$OMP THREADPRIVATE(r_snow) |
---|
180 | |
---|
181 | REAL, SAVE, PROTECTED :: tau_auto_snow_min=100. ! A COMMENTER TODO [s] |
---|
182 | !$OMP THREADPRIVATE(tau_auto_snow_min) |
---|
183 | |
---|
184 | REAL, SAVE, PROTECTED :: tau_auto_snow_max=1000. ! A COMMENTER TODO [s] |
---|
185 | !$OMP THREADPRIVATE(tau_auto_snow_max) |
---|
186 | |
---|
187 | REAL, SAVE, PROTECTED :: eps=1.E-10 ! A COMMENTER TODO [-] |
---|
188 | !$OMP THREADPRIVATE(eps) |
---|
189 | |
---|
190 | REAL, SAVE, PROTECTED :: gamma_melt=1. ! A COMMENTER TODO [-] |
---|
191 | !$OMP THREADPRIVATE(gamma_melt) |
---|
192 | |
---|
193 | REAL, SAVE, PROTECTED :: alpha_freez=4. ! A COMMENTER TODO [-] |
---|
194 | !$OMP THREADPRIVATE(alpha_freez) |
---|
195 | |
---|
196 | REAL, SAVE, PROTECTED :: beta_freez=0.1 ! A COMMENTER TODO [m-3.s-1] |
---|
197 | !$OMP THREADPRIVATE(beta_freez) |
---|
198 | |
---|
199 | REAL, SAVE, PROTECTED :: gamma_freez=1. ! A COMMENTER TODO [-] |
---|
200 | !$OMP THREADPRIVATE(gamma_freez) |
---|
201 | |
---|
202 | REAL, SAVE, PROTECTED :: rain_fallspeed=4. ! A COMMENTER TODO [m/s] |
---|
203 | !$OMP THREADPRIVATE(rain_fallspeed) |
---|
204 | |
---|
205 | REAL, SAVE, PROTECTED :: rain_fallspeed_clr ! A COMMENTER TODO [m/s] |
---|
206 | !$OMP THREADPRIVATE(rain_fallspeed_clr) |
---|
207 | |
---|
208 | REAL, SAVE, PROTECTED :: rain_fallspeed_cld ! A COMMENTER TODO [m/s] |
---|
209 | !$OMP THREADPRIVATE(rain_fallspeed_cld) |
---|
210 | |
---|
211 | REAL, SAVE, PROTECTED :: snow_fallspeed=1. ! A COMMENTER TODO [m/s] |
---|
212 | !$OMP THREADPRIVATE(snow_fallspeed) |
---|
213 | |
---|
214 | REAL, SAVE, PROTECTED :: snow_fallspeed_clr ! A COMMENTER TODO [m/s] |
---|
215 | !$OMP THREADPRIVATE(snow_fallspeed_clr) |
---|
216 | |
---|
217 | REAL, SAVE, PROTECTED :: snow_fallspeed_cld ! A COMMENTER TODO [m/s] |
---|
218 | !$OMP THREADPRIVATE(snow_fallspeed_cld) |
---|
219 | !--End of the parameters for poprecip |
---|
220 | |
---|
221 | ! Two parameters used for lmdz_lscp_old only |
---|
222 | INTEGER, SAVE, PROTECTED :: iflag_oldbug_fisrtilp=0, fl_cor_ebil |
---|
223 | !$OMP THREADPRIVATE(iflag_oldbug_fisrtilp,fl_cor_ebil) |
---|
224 | |
---|
225 | CONTAINS |
---|
226 | |
---|
227 | SUBROUTINE lscp_ini(dtime,lunout_in,prt_level_in,ok_ice_sursat, iflag_ratqs, fl_cor_ebil_in, RCPD_in, RLSTT_in, RLVTT_in, RLMLT_in, & |
---|
228 | RVTMP2_in, RTT_in,RD_in,RG_in,RPI_in) |
---|
229 | |
---|
230 | |
---|
231 | USE ioipsl_getin_p_mod, ONLY : getin_p |
---|
232 | USE ice_sursat_mod, ONLY: ice_sursat_init |
---|
233 | USE lmdz_cloudth_ini, ONLY : cloudth_ini |
---|
234 | |
---|
235 | REAL, INTENT(IN) :: dtime |
---|
236 | INTEGER, INTENT(IN) :: lunout_in,prt_level_in,iflag_ratqs,fl_cor_ebil_in |
---|
237 | LOGICAL, INTENT(IN) :: ok_ice_sursat |
---|
238 | |
---|
239 | REAL, INTENT(IN) :: RCPD_in, RLSTT_in, RLVTT_in, RLMLT_in |
---|
240 | REAL, INTENT(IN) :: RVTMP2_in, RTT_in, RD_in, RG_in, RPI_in |
---|
241 | character (len=20) :: modname='lscp_ini_mod' |
---|
242 | character (len=80) :: abort_message |
---|
243 | |
---|
244 | |
---|
245 | lunout=lunout_in |
---|
246 | prt_level=prt_level_in |
---|
247 | fl_cor_ebil=fl_cor_ebil_in |
---|
248 | |
---|
249 | RG=RG_in |
---|
250 | RD=RD_in |
---|
251 | RCPD=RCPD_in |
---|
252 | RLVTT=RLVTT_in |
---|
253 | RLSTT=RLSTT_in |
---|
254 | RLMLT=RLMLT_in |
---|
255 | RTT=RTT_in |
---|
256 | RG=RG_in |
---|
257 | RVTMP2=RVTMP2_in |
---|
258 | RPI=RPI_in |
---|
259 | |
---|
260 | |
---|
261 | |
---|
262 | CALL getin_p('niter_lscp',niter_lscp) |
---|
263 | CALL getin_p('iflag_evap_prec',iflag_evap_prec) |
---|
264 | CALL getin_p('seuil_neb',seuil_neb) |
---|
265 | CALL getin_p('ok_radocond_snow',ok_radocond_snow) |
---|
266 | CALL getin_p('t_glace_max',t_glace_max) |
---|
267 | CALL getin_p('t_glace_min',t_glace_min) |
---|
268 | CALL getin_p('exposant_glace',exposant_glace) |
---|
269 | CALL getin_p('iflag_vice',iflag_vice) |
---|
270 | CALL getin_p('iflag_t_glace',iflag_t_glace) |
---|
271 | CALL getin_p('iflag_cloudth_vert',iflag_cloudth_vert) |
---|
272 | CALL getin_p('iflag_gammasat',iflag_gammasat) |
---|
273 | CALL getin_p('iflag_rain_incloud_vol',iflag_rain_incloud_vol) |
---|
274 | CALL getin_p('iflag_bergeron',iflag_bergeron) |
---|
275 | CALL getin_p('iflag_fisrtilp_qsat',iflag_fisrtilp_qsat) |
---|
276 | CALL getin_p('iflag_pdf',iflag_pdf) |
---|
277 | CALL getin_p('reevap_ice',reevap_ice) |
---|
278 | CALL getin_p('cld_lc_lsc',cld_lc_lsc) |
---|
279 | CALL getin_p('cld_lc_con',cld_lc_con) |
---|
280 | CALL getin_p('cld_lc_lsc_snow',cld_lc_lsc_snow) |
---|
281 | CALL getin_p('cld_lc_con_snow',cld_lc_con_snow) |
---|
282 | CALL getin_p('cld_tau_lsc',cld_tau_lsc) |
---|
283 | CALL getin_p('cld_tau_con',cld_tau_con) |
---|
284 | CALL getin_p('cld_expo_lsc',cld_expo_lsc) |
---|
285 | CALL getin_p('cld_expo_con',cld_expo_con) |
---|
286 | CALL getin_p('ffallv_lsc',ffallv_lsc) |
---|
287 | CALL getin_p('ffallv_lsc',ffallv_con) |
---|
288 | CALL getin_p('coef_eva',coef_eva) |
---|
289 | coef_sub=coef_eva |
---|
290 | CALL getin_p('coef_eva_i',coef_sub) |
---|
291 | CALL getin_p('coef_sub',coef_sub) |
---|
292 | CALL getin_p('expo_eva',expo_eva) |
---|
293 | expo_sub=expo_eva |
---|
294 | CALL getin_p('expo_sub',expo_sub) |
---|
295 | CALL getin_p('iflag_autoconversion',iflag_autoconversion) |
---|
296 | CALL getin_p('dist_liq',dist_liq) |
---|
297 | CALL getin_p('tresh_cl',tresh_cl) |
---|
298 | CALL getin_p('iflag_oldbug_fisrtilp',iflag_oldbug_fisrtilp) |
---|
299 | CALL getin_p('ok_poprecip',ok_poprecip) |
---|
300 | CALL getin_p('ok_corr_vap_evasub',ok_corr_vap_evasub) |
---|
301 | CALL getin_p('rain_int_min',rain_int_min) |
---|
302 | CALL getin_p('gamma_agg',gamma_agg) |
---|
303 | CALL getin_p('gamma_col',gamma_col) |
---|
304 | CALL getin_p('gamma_rim',gamma_rim) |
---|
305 | CALL getin_p('gamma_freez',gamma_freez) |
---|
306 | CALL getin_p('gamma_melt',gamma_melt) |
---|
307 | CALL getin_p('r_snow',r_snow) |
---|
308 | CALL getin_p('rain_fallspeed',rain_fallspeed) |
---|
309 | rain_fallspeed_clr=rain_fallspeed |
---|
310 | rain_fallspeed_cld=rain_fallspeed |
---|
311 | CALL getin_p('rain_fallspeed_clr',rain_fallspeed_clr) |
---|
312 | CALL getin_p('rain_fallspeed_cld',rain_fallspeed_cld) |
---|
313 | CALL getin_p('snow_fallspeed',snow_fallspeed) |
---|
314 | snow_fallspeed_clr=snow_fallspeed |
---|
315 | snow_fallspeed_cld=snow_fallspeed |
---|
316 | CALL getin_p('snow_fallspeed_clr',snow_fallspeed_clr) |
---|
317 | CALL getin_p('snow_fallspeed_cld',snow_fallspeed_cld) |
---|
318 | |
---|
319 | |
---|
320 | |
---|
321 | WRITE(lunout,*) 'lscp_ini, niter_lscp:', niter_lscp |
---|
322 | WRITE(lunout,*) 'lscp_ini, iflag_evap_prec:', iflag_evap_prec |
---|
323 | WRITE(lunout,*) 'lscp_ini, seuil_neb:', seuil_neb |
---|
324 | WRITE(lunout,*) 'lscp_ini, ok_radocond_snow:', ok_radocond_snow |
---|
325 | WRITE(lunout,*) 'lscp_ini, t_glace_max:', t_glace_max |
---|
326 | WRITE(lunout,*) 'lscp_ini, t_glace_min:', t_glace_min |
---|
327 | WRITE(lunout,*) 'lscp_ini, exposant_glace:', exposant_glace |
---|
328 | WRITE(lunout,*) 'lscp_ini, iflag_vice:', iflag_vice |
---|
329 | WRITE(lunout,*) 'lscp_ini, iflag_t_glace:', iflag_t_glace |
---|
330 | WRITE(lunout,*) 'lscp_ini, iflag_cloudth_vert:', iflag_cloudth_vert |
---|
331 | WRITE(lunout,*) 'lscp_ini, iflag_gammasat:', iflag_gammasat |
---|
332 | WRITE(lunout,*) 'lscp_ini, iflag_rain_incloud_vol:', iflag_rain_incloud_vol |
---|
333 | WRITE(lunout,*) 'lscp_ini, iflag_bergeron:', iflag_bergeron |
---|
334 | WRITE(lunout,*) 'lscp_ini, iflag_fisrtilp_qsat:', iflag_fisrtilp_qsat |
---|
335 | WRITE(lunout,*) 'lscp_ini, iflag_pdf', iflag_pdf |
---|
336 | WRITE(lunout,*) 'lscp_ini, reevap_ice', reevap_ice |
---|
337 | WRITE(lunout,*) 'lscp_ini, cld_lc_lsc', cld_lc_lsc |
---|
338 | WRITE(lunout,*) 'lscp_ini, cld_lc_con', cld_lc_con |
---|
339 | WRITE(lunout,*) 'lscp_ini, cld_lc_lsc_snow', cld_lc_lsc_snow |
---|
340 | WRITE(lunout,*) 'lscp_ini, cld_lc_con_snow', cld_lc_con_snow |
---|
341 | WRITE(lunout,*) 'lscp_ini, cld_tau_lsc', cld_tau_lsc |
---|
342 | WRITE(lunout,*) 'lscp_ini, cld_tau_con', cld_tau_con |
---|
343 | WRITE(lunout,*) 'lscp_ini, cld_expo_lsc', cld_expo_lsc |
---|
344 | WRITE(lunout,*) 'lscp_ini, cld_expo_con', cld_expo_con |
---|
345 | WRITE(lunout,*) 'lscp_ini, ffallv_lsc', ffallv_lsc |
---|
346 | WRITE(lunout,*) 'lscp_ini, ffallv_con', ffallv_con |
---|
347 | WRITE(lunout,*) 'lscp_ini, coef_eva', coef_eva |
---|
348 | WRITE(lunout,*) 'lscp_ini, coef_sub', coef_sub |
---|
349 | WRITE(lunout,*) 'lscp_ini, expo_eva', expo_eva |
---|
350 | WRITE(lunout,*) 'lscp_ini, expo_sub', expo_sub |
---|
351 | WRITE(lunout,*) 'lscp_ini, iflag_autoconversion', iflag_autoconversion |
---|
352 | WRITE(lunout,*) 'lscp_ini, dist_liq', dist_liq |
---|
353 | WRITE(lunout,*) 'lscp_ini, tresh_cl', tresh_cl |
---|
354 | WRITE(lunout,*) 'lscp_ini, iflag_oldbug_fisrtilp', iflag_oldbug_fisrtilp |
---|
355 | WRITE(lunout,*) 'lscp_ini, fl_cor_ebil', fl_cor_ebil |
---|
356 | WRITE(lunout,*) 'lscp_ini, ok_poprecip', ok_poprecip |
---|
357 | WRITE(lunout,*) 'lscp_ini, ok_corr_vap_evasub', ok_corr_vap_evasub |
---|
358 | WRITE(lunout,*) 'lscp_ini, rain_int_min:', rain_int_min |
---|
359 | WRITE(lunout,*) 'lscp_ini, gamma_agg:', gamma_agg |
---|
360 | WRITE(lunout,*) 'lscp_ini, gamma_col:', gamma_col |
---|
361 | WRITE(lunout,*) 'lscp_ini, gamma_rim:', gamma_rim |
---|
362 | WRITE(lunout,*) 'lscp_ini, gamma_freez:', gamma_freez |
---|
363 | WRITE(lunout,*) 'lscp_ini, gamma_melt:', gamma_melt |
---|
364 | WRITE(lunout,*) 'lscp_ini, r_snow:', r_snow |
---|
365 | WRITE(lunout,*) 'lscp_ini, rain_fallspeed_clr:', rain_fallspeed_clr |
---|
366 | WRITE(lunout,*) 'lscp_ini, rain_fallspeed_cld:', rain_fallspeed_cld |
---|
367 | WRITE(lunout,*) 'lscp_ini, snow_fallspeed_clr:', snow_fallspeed_clr |
---|
368 | WRITE(lunout,*) 'lscp_ini, snow_fallspeed_cld:', snow_fallspeed_cld |
---|
369 | |
---|
370 | |
---|
371 | |
---|
372 | |
---|
373 | |
---|
374 | ! check for precipitation sub-time steps |
---|
375 | IF (ABS(dtime/REAL(niter_lscp)-360.0).GT.0.001) THEN |
---|
376 | WRITE(lunout,*) 'lscp: it is not expected, see Z.X.Li', dtime |
---|
377 | WRITE(lunout,*) 'I would prefer a 6 min sub-timestep' |
---|
378 | ENDIF |
---|
379 | |
---|
380 | ! check consistency between numerical resolution of autoconversion |
---|
381 | ! and other options |
---|
382 | |
---|
383 | IF (iflag_autoconversion .EQ. 2) THEN |
---|
384 | IF ((iflag_vice .NE. 0) .OR. (niter_lscp .GT. 1)) THEN |
---|
385 | abort_message = 'in lscp, iflag_autoconversion=2 requires iflag_vice=0 and niter_lscp=1' |
---|
386 | CALL abort_physic (modname,abort_message,1) |
---|
387 | ENDIF |
---|
388 | ENDIF |
---|
389 | |
---|
390 | |
---|
391 | !AA Temporary initialisation |
---|
392 | a_tr_sca(1) = -0.5 |
---|
393 | a_tr_sca(2) = -0.5 |
---|
394 | a_tr_sca(3) = -0.5 |
---|
395 | a_tr_sca(4) = -0.5 |
---|
396 | |
---|
397 | IF (ok_ice_sursat) CALL ice_sursat_init() |
---|
398 | |
---|
399 | CALL cloudth_ini(iflag_cloudth_vert,iflag_ratqs) |
---|
400 | |
---|
401 | RETURN |
---|
402 | |
---|
403 | END SUBROUTINE lscp_ini |
---|
404 | |
---|
405 | END MODULE lmdz_lscp_ini |
---|