Changeset 4843 for LMDZ6/trunk/libf/phylmd/lmdz_thermcell_alp.F90
- Timestamp:
- Mar 4, 2024, 6:58:03 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/lmdz_thermcell_alp.F90
r4593 r4843 11 11 & ,pcon,rhobarz,wth3,wmax_sec,lalim,fm,alim_star,zmax & ! in 12 12 ! 13 & , ale_bl,alp_bl,lalim_conv,wght_th & ! out13 & ,zcong,ale_bl,alp_bl,lalim_conv,wght_th & ! out 14 14 & ,zlcl,fraca0,w0,w_conv,therm_tke_max0,env_tke_max0 & ! out 15 & ,n2,s2, ale_bl_stat & ! out15 & ,n2,s2,strig,ale_bl_stat & ! out 16 16 & ,therm_tke_max,env_tke_max & ! out 17 17 & ,alp_bl_det,alp_bl_fluct_m,alp_bl_fluct_tke & ! out … … 50 50 real, intent(in) :: pplay(ngrid,nlay),pplev(ngrid,nlay+1) 51 51 integer, intent(in), dimension(ngrid) ::lmax,lalim 52 real, intent(in), dimension(ngrid) :: zmax 52 real, intent(in), dimension(ngrid) :: zmax, zcong 53 53 real, intent(in), dimension(ngrid,nlay+1) :: zw2 54 54 real, intent(in), dimension(ngrid,nlay+1) :: fraca … … 69 69 integer, intent(out), dimension(ngrid) :: lalim_conv 70 70 real, intent(out), dimension(ngrid) :: zlcl,fraca0,w0,w_conv 71 real, intent(out), dimension(ngrid) :: therm_tke_max0,env_tke_max0,n2,s2,ale_bl_stat 71 real, intent(out), dimension(ngrid) :: therm_tke_max0,env_tke_max0,n2,s2,ale_bl_stat,strig 72 72 real, intent(out), dimension(ngrid,nlay) :: therm_tke_max,env_tke_max 73 73 real, intent(out), dimension(ngrid) :: alp_bl_det,alp_bl_fluct_m,alp_bl_fluct_tke … … 94 94 real, parameter :: zmax_moy_coef=0.33 95 95 real, dimension(ngrid) :: depth ! Epaisseur moyenne du cumulus 96 real, dimension(ngrid) :: zcong_moy 96 97 real, dimension(ngrid) :: w_max ! Vitesse max statistique 97 98 real, dimension(ngrid) :: s_max(ngrid) … … 119 120 s2(ig) = 0. 120 121 ale_bl_stat(ig) = 0. 122 strig(ig) = 0. 121 123 alp_bl_det(ig) = 0. 122 124 alp_bl_fluct_m(ig) = 0. … … 249 251 s_max(:)=0. 250 252 253 254 251 255 !-----Epaisseur du nuage (depth) et détermination de la queue du spectre de panaches (n2,s2) et du panache le plus gros (s_max) 252 256 do ig=1,ngrid … … 270 274 ! print *,'avant Calcul de Wmax ' !!jyg 271 275 276 !CR: calcul de strig 277 if (iflag_strig.eq.0) then 278 strig(:)=s_trig 279 else if (iflag_strig.eq.1) then 280 do ig=1,ngrid 281 ! zcong_moy(ig)=zlcl(ig)+zmax_moy_coef*(zcong(ig)-zlcl(ig)) 282 ! strig(ig)=(hcoef*(zcong_moy(ig)-zlcl(ig))+hmin(ig))**2 283 strig(ig)=(zcong(ig)-zlcl(ig))**2 284 enddo 285 else if (iflag_strig.eq.2) then 286 do ig=1,ngrid 287 if (h_trig.gt.zlcl(ig)) then 288 strig(ig)=(h_trig-zlcl(ig))**2 289 else 290 strig(ig)=s_trig 291 endif 292 enddo 293 endif 294 272 295 susqr2pi=su_cst*sqrt(2.*Rpi) 273 296 reuler=exp(1.)
Note: See TracChangeset
for help on using the changeset viewer.