Changeset 179 in lmdz_wrf for trunk/WRFV3/lmdz
- Timestamp:
- Oct 10, 2014, 12:40:39 PM (10 years ago)
- Location:
- trunk/WRFV3/lmdz
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WRFV3/lmdz/calltherm.F90
r142 r179 126 126 endif 127 127 128 ! L. Fita, LMD July 2014. Initializing tendencies and variables 129 d_t_the = 0. 130 d_q_the = 0. 131 d_u_the = 0. 132 d_v_the = 0. 133 Alp = 0. 134 Ale = 0. 128 ! L. Fita, LMD July 2014. Initializing tendencies and variables (should 129 ! be done?) 130 ! d_t_the = 0. 131 ! d_q_the = 0. 132 ! d_u_the = 0. 133 ! d_v_the = 0. 134 ! Alp = 0. 135 ! Ale = 0. 135 136 136 137 ! Incrementer le compteur de la physique -
trunk/WRFV3/lmdz/thermcell_main.F90
r178 r179 251 251 ! 252 252 253 ! L. Fita, LMD July 2014. Initializing variables. 253 ! L. Fita, LMD July 2014. Initializing variables. (Should be done?) 254 254 ! Some not initializated according to values: iflag_trig_bl, iflag_clos_bl 255 PRINT *,' Lluis debut thermcell_main i Alp_bl Ale_bl __'256 DO l=1, ngrid257 PRINT *, l, Alp_bl(l), Ale_bl(l)258 END DO259 260 255 !! zdthladj = 0. 261 256 !! pbl_tke_max0 = 0. … … 492 487 ! print*,'THERM thermcell_main iflag_thermals_ed=',iflag_thermals_ed 493 488 if (iflag_thermals_ed<=9) then 494 PRINT *,' Lluis going to thermcell_plume!!!!'495 489 ! print*,'THERM NOUVELLE/NOUVELLE Arnaud' 496 490 CALL thermcell_plume(itap,ngrid,nlay,ptimestep,ztv,zthl,po,zl,rhobarz,& … … 501 495 502 496 elseif (iflag_thermals_ed>9) then 503 PRINT *,' Lluis going to thermcellV1_plume!!!!'504 497 ! print*,'THERM RIO et al 2010, version d Arnaud' 505 498 CALL thermcellV1_plume(itap,ngrid,nlay,ptimestep,ztv,zthl,po,zl,rhobarz,& … … 510 503 511 504 endif 512 PRINT *,' Lluis in thermcell_main iflag_thermals_ed: ', &513 iflag_thermals_ed, ' ig=528 ',zw2(528,:)514 505 515 506 if (prt_level.ge.1) print*,'apres thermcell_plume ',lev_out … … 610 601 & detr,zqla,lev_out,lunout1,igout) 611 602 !IM 060508 & detr,zqla,zmax,lev_out,lunout,igout) 612 PRINT *,' Lluis after thermcell_flux2 ig=528 zw2: ',zw2(528,:)613 603 614 604 if (prt_level.ge.1) print*,'thermcell_main apres thermcell_flux' … … 755 745 if (prt_level.ge.10)write(lunout,*) & 756 746 & 'WARNING thermcell_main wth2=0. si zw2 > 1.e-10' 757 PRINT *,' Lluis in thermcell_main ig=528 l wth3 zf2 fraca zw2 ___'758 747 do l=1,nlay 759 748 do ig=1,ngrid … … 769 758 wth3(ig,l)=zf2*(1-2.*fraca(ig,l))/(1-fraca(ig,l)) & 770 759 & *zw2(ig,l)*zw2(ig,l)*zw2(ig,l) 771 IF (ig == 528) PRINT *, l, wth3(ig,l), zf2, &772 fraca(ig,l), zw2(ig,l)773 ! PRINT *, ig, l, wth3(ig,l), zf2, &774 ! fraca(ig,l), zw2(ig,l)775 760 q2(ig,l)=zf2*(zqta(ig,l)*1000.-po(ig,l)*1000.)**2 776 761 !test: on calcul q2/po=ratqsc … … 1016 1001 enddo 1017 1002 enddo 1018 PRINT *,' Lluis in thermcell_main i Alp_bl Srhobarz Swth3 ' //&1019 'Ale_bl Szw2 ______', alp_bl_k1020 DO l=1, ngrid1021 PRINT *, l, Alp_bl(l), SUM(rhobarz(l,:)), SUM(wth3(l,:)), &1022 Ale_bl(l), SUM(zw2(l,:))1023 END DO1024 1003 1025 1004 !test:calcul de la ponderation des couches pour KE -
trunk/WRFV3/lmdz/thermcell_plume.F90
r178 r179 191 191 endif 192 192 enddo 193 PRINT *,' Lluis in themcell_plume ig actvie l zw2 ztv zlev pphi ___'194 DO ig=1,ngrid195 PRINT *,ig, active(ig), 1, zw2(ig,1), ztv(ig,1), zlev(ig,1), pphi(ig,1), &196 2, zw2(ig,2), ztv(ig,2), zlev(ig,2), pphi(ig,2)197 END DO198 193 ! 199 194 !============================================================================== … … 608 603 do ig=1,ngrid 609 604 if (ztv(ig,l)> ztv(ig,l+1) .and. ztv(ig,1)>=ztv(ig,l) ) then 610 ! L. Fita, LMD July 2014. Adding IF for zlev == 0. 611 IF ( zlev(ig,l+1) < 0.) THEN612 alim_star(ig,l) = 0.613 ELSE605 ! L. Fita, LMD July 2014. Adding IF for zlev == 0. NOT NEEDED!! 606 !! IF ( zlev(ig,l+1) < 0.) THEN 607 !! alim_star(ig,l) = 0. 608 !! ELSE 614 609 alim_star(ig,l)=MAX((ztv(ig,l)-ztv(ig,l+1)),0.) & 615 610 & *sqrt(zlev(ig,l+1)) 616 611 lalim(ig)=l+1 617 END IF612 !! END IF 618 613 alim_star_tot(ig)=alim_star_tot(ig)+alim_star(ig,l) 619 614 endif … … 650 645 endif 651 646 enddo 652 PRINT *,' Lluis in themcellV1_plume ig actvie l zw2 ztv zlev pphi ___'653 DO ig=1,ngrid654 PRINT *,ig, active(ig), 1, zw2(ig,1), ztv(ig,1), zlev(ig,1), pphi(ig,1), &655 2, zw2(ig,2), ztv(ig,2), zlev(ig,2), pphi(ig,2)656 END DO657 647 ! 658 648
Note: See TracChangeset
for help on using the changeset viewer.