Changeset 313 for trunk/LMDZ.MARS/libf/phymars/thermcell_main_mars.F90
- Timestamp:
- Oct 10, 2011, 12:03:17 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/thermcell_main_mars.F90
r300 r313 41 41 REAL, INTENT(OUT) :: pdvadj(ngridmx,nlayermx) 42 42 REAL, INTENT(OUT) :: pdqadj(ngridmx,nlayermx,nqmx) 43 REAL, INTENT(OUT) :: pdq2adj(ngridmx,nlayermx) 43 ! REAL, INTENT(OUT) :: pdq2adj(ngridmx,nlayermx) 44 REAL :: pdq2adj(ngridmx,nlayermx) 44 45 REAL, INTENT(OUT) :: zw2(ngridmx,nlayermx+1) 45 46 46 47 ! Diagnostics 47 48 REAL, INTENT(OUT) :: heatFlux(ngridmx,nlayermx) ! interface heatflux 48 49 REAL, INTENT(OUT) :: buoyancyOut(ngridmx,nlayermx) ! interlayer buoyancy term50 REAL, INTENT(OUT) :: buoyancyEst(ngridmx,nlayermx) ! interlayer estimated buoyancy term49 REAL, INTENT(OUT) :: heatFlux_down(ngridmx,nlayermx) ! interface heat flux from downdraft 50 ! REAL, INTENT(OUT) :: buoyancyOut(ngridmx,nlayermx) ! interlayer buoyancy term 51 ! REAL, INTENT(OUT) :: buoyancyEst(ngridmx,nlayermx) ! interlayer estimated buoyancy term 51 52 52 53 ! dummy variables when output not needed : … … 54 55 ! REAL :: heatFlux(ngridmx,nlayermx) ! interface heatflux 55 56 ! REAL :: heatFlux_down(ngridmx,nlayermx) ! interface heat flux from downdraft 56 !REAL :: buoyancyOut(ngridmx,nlayermx) ! interlayer buoyancy term57 !REAL :: buoyancyEst(ngridmx,nlayermx) ! interlayer estimated buoyancy term57 REAL :: buoyancyOut(ngridmx,nlayermx) ! interlayer buoyancy term 58 REAL :: buoyancyEst(ngridmx,nlayermx) ! interlayer estimated buoyancy term 58 59 59 60 … … 526 527 !--------------------------------------------------------------------------- 527 528 528 DO tic=0,3 529 529 DO tic=0,6 ! internal convergence loop 530 530 activetmp(:)=active(:) .and. f_star(:,l+1)>1.e-10 531 531 do ig=1,ngridmx … … 538 538 endif 539 539 enddo 540 541 activetmp(:)=activetmp(:).and.(abs(ztla(:,l)-ztva(:,l)).gt.0.01) 540 542 541 543 do ig=1,ngridmx … … 600 602 enddo 601 603 602 ENDDO 604 ENDDO ! of tic 605 603 606 !--------------------------------------------------------------------------- 604 607 !initialisations pour le calcul de la hauteur du thermique, de l'inversion et de la vitesse verticale max … … 1402 1405 !------------------------------------------------------------------ 1403 1406 1404 modname='tke'1405 call thermcell_dqupdown(ngridmx,nlayermx,ptimestep,fm,entr,detr, &1406 & masse,pq2,pdq2adj,ztvd,fm_down,ztv,modname,lmax)1407 ! modname='tke' 1408 ! call thermcell_dqupdown(ngridmx,nlayermx,ptimestep,fm,entr,detr, & 1409 ! & masse,pq2,pdq2adj,ztvd,fm_down,ztv,modname,lmax) 1407 1410 1408 1411 ! =========================================================================== … … 1434 1437 do ig=1,ngridmx 1435 1438 heatFlux(ig,l)=fm(ig,l)*(teta_th_int(ig,l)-teta_env_int(ig,l))/(rhobarz(ig,l)) 1436 buoyancyOut(ig,l)=g*(ztva(ig,l)-ztv(ig,l))/ztv(ig,l)1437 buoyancyEst(ig,l)=g*(ztva_est(ig,l)-ztv(ig,l))/ztv(ig,l)1439 ! buoyancyOut(ig,l)=g*(ztva(ig,l)-ztv(ig,l))/ztv(ig,l) 1440 ! buoyancyEst(ig,l)=g*(ztva_est(ig,l)-ztv(ig,l))/ztv(ig,l) 1438 1441 heatFlux_down(ig,l)=fm_down(ig,l)*(teta_down_int(ig,l)-teta_env_int(ig,l))/rhobarz(ig,l) 1439 1442 enddo
Note: See TracChangeset
for help on using the changeset viewer.