Changeset 133 in lmdz_wrf
- Timestamp:
- Jul 29, 2014, 11:24:27 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LMDZ_WRFmeas/WRFV3/lmdz/thermcell_plume.F90
r115 r133 89 89 90 90 REAL zw2fact,expa 91 ! Lluis92 INTEGER :: llp93 CHARACTER(LEN=50) :: lvarname, lfname94 REAL :: largest95 96 llp = 73497 lfname = 'physiq'98 largest = 10.e599 100 91 Zsat=.false. 101 92 … … 174 165 alim_star(ig,l)=alim_star(ig,l)/alim_star_tot(ig) 175 166 endif 176 IF (zlev(ig,l+1) < 0. .OR. alim_star_tot(ig) == 0.) THEN177 PRINT *,'Lluis ',ig,',',l,' negative zlev: ',zlev(ig,l+1),' null: ',alim_star_tot(ig)178 END IF179 167 enddo 180 168 enddo 181 169 alim_star_tot(:)=1. 182 183 lfname='thermcell_plume after computing alim_star'184 lvarname = 'alim_star'185 CALL check_var3D(lfname, lvarname, alim_star, ngrid, klev, largest, .FALSE.)186 lvarname = 'ztv'187 CALL check_var3D(lfname, lvarname, ztv, ngrid, klev, largest, .FALSE.)188 lvarname = 'zlev'189 CALL check_var3D(lfname, lvarname, zlev, ngrid, klev+1, largest, .FALSE.)190 170 191 171 !------------------------------------------------------------------------------ … … 212 192 enddo 213 193 ! 214 215 lfname='thermcell_plume after k=2'216 lvarname = 'zw2'217 CALL check_var3D(lfname, lvarname, zw2, ngrid, klev+1, largest, .FALSE.)218 lvarname = 'ztv'219 CALL check_var3D(lfname, lvarname, ztv, ngrid, klev, largest, .FALSE.)220 lvarname = 'zlev'221 CALL check_var3D(lfname, lvarname, zlev, ngrid, klev+1, largest, .FALSE.)222 lvarname = 'pphi'223 CALL check_var3D(lfname, lvarname, pphi, ngrid, klev, largest, .FALSE.)224 lvarname = 'alim_star'225 CALL check_var3D(lfname, lvarname, alim_star, ngrid, klev, largest, .FALSE.)226 lvarname = 'entr_star'227 CALL check_var3D(lfname, lvarname, entr_star, ngrid, klev, largest, .FALSE.)228 229 230 194 !============================================================================== 231 195 !boucle de calcul de la vitesse verticale dans le thermique … … 356 320 endif 357 321 enddo 358 lfname='thermcell_plume calcul alim_star'359 lvarname = 'alim_star'360 CALL check_var3D(lfname, lvarname, alim_star, ngrid, klev, largest, .FALSE.)361 lvarname = 'entr_star'362 CALL check_var3D(lfname, lvarname, entr_star, ngrid, klev, largest, .FALSE.)363 322 364 323 !---------------------------------------------------------------------------- … … 467 426 enddo 468 427 !========================================================================= 469 470 lfname='thermcell_plume end of vertical loop'471 lvarname = 'zw2'472 CALL check_var3D(lfname, lvarname, zw2, ngrid, klev+1, largest, .FALSE.)473 lvarname = 'ztv'474 CALL check_var3D(lfname, lvarname, ztv, ngrid, klev, largest, .FALSE.)475 lvarname = 'zlev'476 CALL check_var3D(lfname, lvarname, zlev, ngrid, klev+1, largest, .FALSE.)477 lvarname = 'pphi'478 CALL check_var3D(lfname, lvarname, pphi, ngrid, klev, largest, .FALSE.)479 lvarname = 'alim_star'480 CALL check_var3D(lfname, lvarname, alim_star, ngrid, klev, largest, .FALSE.)481 482 428 483 429 !on recalcule alim_star_tot … … 592 538 REAL fact_gamma,fact_epsilon,fact_gamma2,fact_epsilon2 593 539 REAL c2(ngrid,klev) 594 595 ! Lluis596 INTEGER :: llp597 CHARACTER(LEN=50) :: lvarname, lfname598 REAL :: largest599 600 llp = 734601 lfname = 'physiq'602 largest = 10.e5603 540 604 541 Zsat=.false. … … 675 612 END IF 676 613 alim_star_tot(ig)=alim_star_tot(ig)+alim_star(ig,l) 677 IF (zlev(ig,l+1) < 0. .OR. alim_star_tot(ig) == 0.) THEN678 PRINT *,'Lluis ',ig,',',l,' negative zlev: ',zlev(ig,l+1),' null: ',alim_star_tot(ig)679 END IF680 614 endif 681 615 enddo … … 689 623 enddo 690 624 alim_star_tot(:)=1. 691 692 lfname='thermcellV1_plume after computing alim_star'693 lvarname = 'alim_star'694 CALL check_var3D(lfname, lvarname, alim_star, ngrid, klev, largest, .FALSE.)695 lvarname = 'ztv'696 CALL check_var3D(lfname, lvarname, ztv, ngrid, klev, largest, .FALSE.)697 lvarname = 'zlev'698 CALL check_var3D(lfname, lvarname, zlev, ngrid, klev+1, largest, .FALSE.)699 700 701 625 !------------------------------------------------------------------------------ 702 626 ! Calcul dans la premiere couche … … 820 744 enddo 821 745 822 823 lfname='thermcellV1_plume after k=2'824 lvarname = 'alim_star'825 CALL check_var3D(lfname, lvarname, alim_star, ngrid, klev, largest, .FALSE.)826 lvarname = 'entr_star'827 CALL check_var3D(lfname, lvarname, entr_star, ngrid, klev, largest, .FALSE.)828 lvarname = 'detr_star'829 CALL check_var3D(lfname, lvarname, detr_star, ngrid, klev, largest, .FALSE.)830 lvarname = 'f_star'831 CALL check_var3D(lfname, lvarname, f_star, ngrid, klev, largest, .FALSE.)832 833 746 !---------------------------------------------------------------------------- 834 747 !calcul de la vitesse verticale en melangeant Tl et qt du thermique
Note: See TracChangeset
for help on using the changeset viewer.