- Timestamp:
- Oct 10, 2014, 12:40:39 PM (10 years ago)
- Location:
- trunk/WRFV3
- Files:
-
- 4 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 -
trunk/WRFV3/phys/module_lmdz_phys.F
r175 r179 134 134 & wrfUtenddestagg, wrfVtenddestagg 135 135 REAL, DIMENSION((wime-wims-2*wbdyw)*(wjme-wjms-2*wbdyw), wkms:wkme-1) :: & 136 & TValues, TtendValues, HalfPressValues, WFluxMassValues136 & GeopotValues, TValues, TtendValues, HalfPressValues, WFluxMassValues 137 137 REAL, DIMENSION((wime-wims-2*wbdyw)*(wjme-wjms-2*wbdyw), wkms:wkme-1) :: & !! DE-STAGGED !! 138 138 & UValues, UtendValues … … 140 140 & VValues, VtendValues 141 141 REAL, DIMENSION((wime-wims-2*wbdyw)*(wjme-wjms-2*wbdyw), wkms:wkme) :: & !! Z-STAGG !! 142 & FullPressValues , GeopotValues142 & FullPressValues 143 143 REAL, DIMENSION((wime-wims-2*wbdyw)*(wjme-wjms-2*wbdyw)) :: & 144 144 & sfcGeopotValues … … 148 148 REAL, DIMENSION(wims:wime,wkms:wkme,wjms:wjme) :: wrfWValues, & 149 149 & wrfPERMASSValues, wrfZFluxMassValues 150 REAL, DIMENSION(wims:wime,wkms:wkme,wjms:wjme) :: wrf_geopot, w3Dmat 150 REAL, DIMENSION(wims:wime,wkms:wkme,wjms:wjme) :: wrf_geopot, w3Dmat,& 151 & wrf_geopot_half 151 152 REAL, DIMENSION(wims:wime,wjms:wjme) :: wrf_sfcgeopot 152 153 … … 264 265 ! wrf_basegeopot: WRF base of geopotential 265 266 ! wrf_geopot: WRF geopotential 267 ! wrf_geopot_half: WRF geopotential at the half eta level 266 268 ! wrf_psfctend: WRF surface pressure tendency 267 269 ! wrf_sfcgeopot: WRF surface geopotential … … 982 984 wrf_P = wrf_baseP + wrf_perP 983 985 wrf_geopot = wrf_basegeopot + wrf_pergeopot 986 wrf_geopot_half(:,wkms:wkme-1,:) = ( wrf_geopot(:,wkms:wkme-1,:) + & 987 wrf_geopot(:,wkms+1:wkme,:))/2. 984 988 wrf_sfcgeopot = wrf_grid%ht*g 985 989 ! de-staggering winds … … 1070 1074 CALL mat_vect(wrf_P, dimx, dimy, dimz, wbdyw, HalfPressValues) 1071 1075 CALL mat_vect_zstagg(wrf_fullpres, dimx, dimy, dimz+1, wbdyw, FullPressValues) 1072 CALL mat_vect _zstagg(wrf_geopot, dimx, dimy, dimz+1, wbdyw, GeopotValues)1076 CALL mat_vect(wrf_geopot_half, dimx, dimy, dimz, wbdyw, GeopotValues) 1073 1077 CALL mat_vect(wrfZFluxMassValues, dimx, dimy, dimz, wbdyw, WFluxMassValues) 1074 1078
Note: See TracChangeset
for help on using the changeset viewer.