Changeset 2480 for trunk/LMDZ.GENERIC/libf
- Timestamp:
- Mar 16, 2021, 11:28:16 AM (4 years ago)
- Location:
- trunk/LMDZ.GENERIC/libf/phystd
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/thermcell_flux.F90
r2177 r2480 177 177 print *, '- - - - - - - - - - - - - - - - - - - - - - - - - - - - -' 178 178 DO k=nlay,1,-1 179 print *, ' k, fm ', k+1, fm(igout,k+1)179 print *, 'fm,w ', fm(igout,k+1), zw2(igout,k+1) 180 180 print *, 'entr,detr', entr(igout,k), detr(igout,k) 181 181 ENDDO 182 print *, ' k, fm ', 1, fm(igout,1)182 print *, 'fm,w ', fm(igout,1), zw2(igout,1) 183 183 print *, '---------------------------------------------------------' 184 184 CALL abort … … 222 222 fm(ig,l+1) = fm(ig,l) + entr(ig,l) 223 223 entr(ig,l+1) = entr(ig,l+1) + ddd 224 ELSE 224 225 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 225 226 ! AB: Simulation abort (try to reduce the physical time step). 226 227 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 227 ELSE 228 entr(ig,l) = entr(ig,l) + eee 229 igout = ig 230 lout = l 231 labort_physic = .true. 228 ! entr(ig,l) = entr(ig,l) + eee 229 ! igout = ig 230 ! lout = l 231 ! labort_physic = .true. 232 232 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 233 ! AB: We can renormalize the plume mass fluxes. I think it does not work. 234 234 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 ! ELSE236 235 ! fact = max(fact, eee0 / emax) 237 ! entr(ig,l) = eee0 238 ! ncorecfact = ncorecfact + 1 236 fact = eee0 / emax 237 entr(ig,l) = eee0 238 ncorecfact = ncorecfact + 1 239 239 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 240 240 ! AB: The renormalization can be just applied in the local plume. 241 241 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 !DO k=lmin(ig),lmax(ig)243 !entr(ig,k) = entr(ig,k) * emax / eee0244 !detr(ig,k) = detr(ig,k) * emax / eee0245 !fm(ig,k) = fm(ig,k) * emax / eee0246 !ENDDO242 DO k=lmin(ig),lmax(ig) 243 entr(ig,k) = entr(ig,k) * emax / eee0 244 detr(ig,k) = detr(ig,k) * emax / eee0 245 fm(ig,k) = fm(ig,k) * emax / eee0 246 ENDDO 247 247 ENDIF 248 248 ENDIF … … 264 264 print *, '- - - - - - - - - - - - - - - - - - - - - - - - - - - - -' 265 265 DO k=nlay,1,-1 266 print *, 'fm ', fm(igout,k+1)266 print *, 'fm,w ', fm(igout,k+1), zw2(igout,k+1) 267 267 print *, 'entr,detr', entr(igout,k), detr(igout,k) 268 268 ENDDO 269 print *, 'fm ', fm(igout,1)269 print *, 'fm,w ', fm(igout,1), zw2(igout,1) 270 270 print *, '---------------------------------------------------------' 271 271 CALL abort -
trunk/LMDZ.GENERIC/libf/phystd/thermcell_height.F90
r2177 r2480 2 2 ! 3 3 ! 4 SUBROUTINE thermcell_height(ngrid,nlay,lmin,lmix,lmax, zlev,&5 z min,zmix,zmax,zw2,wmax,f_star)4 SUBROUTINE thermcell_height(ngrid,nlay,lmin,lmix,lmax, & 5 zlev,zmin,zmix,zmax,zw2,wmax,f_star) 6 6 7 7 -
trunk/LMDZ.GENERIC/libf/phystd/thermcell_main.F90
r2232 r2480 383 383 384 384 !------------------------------------------------------------------------------- 385 ! Calcul du transport vertical de la temperature potentielle385 ! Potential temperature 386 386 !------------------------------------------------------------------------------- 387 387 … … 396 396 397 397 !------------------------------------------------------------------------------- 398 ! Calcul du transport vertical des traceurs398 ! Tracers 399 399 !------------------------------------------------------------------------------- 400 400 … … 405 405 406 406 !------------------------------------------------------------------------------- 407 ! Calcul du transport vertical du moment horizontal407 ! Horizontal momentum 408 408 !------------------------------------------------------------------------------- 409 409 -
trunk/LMDZ.GENERIC/libf/phystd/thermcell_mod.F90
r2144 r2480 13 13 REAL,SAVE :: r_aspect_thermals ! 1.0 Aspect ratio of the thermals (width / height) 14 14 REAL,SAVE :: tau_thermals ! 0. Relaxation time 15 REAL,SAVE :: betalpha ! 0.9 - between 0 (e=d ) and 1 (rho*fraca=cst)15 REAL,SAVE :: betalpha ! 0.9 - between 0 (e=d=0) and 1 (rho*fraca=cst) 16 16 REAL,SAVE :: afact ! 2./3. - buoyancy acceleration efficiency, between 0 and 1 17 17 REAL,SAVE :: fact_epsilon ! 2.e-3 - turbulence and friction deceleration
Note: See TracChangeset
for help on using the changeset viewer.