Changeset 179 in lmdz_wrf for trunk


Ignore:
Timestamp:
Oct 10, 2014, 12:40:39 PM (10 years ago)
Author:
lfita
Message:

No Ale, Alp, ... values because pphi is at the intermediate level!!!
Removing raw prints of checkig for Ale, Alp

Location:
trunk/WRFV3
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/WRFV3/lmdz/calltherm.F90

    r142 r179  
    126126      endif
    127127
    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.
    135136
    136137! Incrementer le compteur de la physique
  • trunk/WRFV3/lmdz/thermcell_main.F90

    r178 r179  
    251251!
    252252
    253 ! L. Fita, LMD July 2014. Initializing variables.
     253! L. Fita, LMD July 2014. Initializing variables. (Should be done?)
    254254!   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, ngrid
    257         PRINT *, l, Alp_bl(l), Ale_bl(l)
    258       END DO
    259 
    260255!!     zdthladj = 0.
    261256!!     pbl_tke_max0 = 0.
     
    492487!      print*,'THERM thermcell_main iflag_thermals_ed=',iflag_thermals_ed
    493488      if (iflag_thermals_ed<=9) then
    494          PRINT *,'  Lluis going to thermcell_plume!!!!'
    495489!         print*,'THERM NOUVELLE/NOUVELLE Arnaud'
    496490         CALL thermcell_plume(itap,ngrid,nlay,ptimestep,ztv,zthl,po,zl,rhobarz,&
     
    501495
    502496      elseif (iflag_thermals_ed>9) then
    503          PRINT *,'  Lluis going to thermcellV1_plume!!!!'
    504497!        print*,'THERM RIO et al 2010, version d Arnaud'
    505498         CALL thermcellV1_plume(itap,ngrid,nlay,ptimestep,ztv,zthl,po,zl,rhobarz,&
     
    510503
    511504      endif
    512       PRINT *,'  Lluis in thermcell_main iflag_thermals_ed: ',       &
    513         iflag_thermals_ed, ' ig=528 ',zw2(528,:)
    514505
    515506      if (prt_level.ge.1) print*,'apres thermcell_plume ',lev_out
     
    610601     &       detr,zqla,lev_out,lunout1,igout)
    611602!IM 060508    &       detr,zqla,zmax,lev_out,lunout,igout)
    612       PRINT *,'  Lluis after thermcell_flux2 ig=528 zw2: ',zw2(528,:)
    613603
    614604      if (prt_level.ge.1) print*,'thermcell_main apres thermcell_flux'
     
    755745      if (prt_level.ge.10)write(lunout,*)                                &
    756746    &     'WARNING thermcell_main wth2=0. si zw2 > 1.e-10'
    757       PRINT *,'  Lluis in thermcell_main ig=528 l wth3 zf2 fraca zw2 ___'
    758747      do l=1,nlay
    759748         do ig=1,ngrid
     
    769758            wth3(ig,l)=zf2*(1-2.*fraca(ig,l))/(1-fraca(ig,l))  &
    770759     &                *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)
    775760            q2(ig,l)=zf2*(zqta(ig,l)*1000.-po(ig,l)*1000.)**2
    776761!test: on calcul q2/po=ratqsc
     
    10161001      enddo
    10171002      enddo
    1018       PRINT *,'  Lluis in thermcell_main i Alp_bl Srhobarz Swth3 ' //&
    1019         'Ale_bl Szw2 ______', alp_bl_k
    1020       DO l=1, ngrid
    1021         PRINT *, l, Alp_bl(l), SUM(rhobarz(l,:)), SUM(wth3(l,:)),    &
    1022            Ale_bl(l), SUM(zw2(l,:))
    1023       END DO
    10241003
    10251004!test:calcul de la ponderation des couches pour KE
  • trunk/WRFV3/lmdz/thermcell_plume.F90

    r178 r179  
    191191    endif
    192192enddo
    193   PRINT *,'  Lluis in themcell_plume ig actvie l zw2 ztv zlev pphi ___'
    194   DO ig=1,ngrid
    195     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 DO
    198193!
    199194!==============================================================================
     
    608603         do ig=1,ngrid
    609604            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.) THEN
    612                  alim_star(ig,l) = 0.
    613                ELSE
     605! 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
    614609                 alim_star(ig,l)=MAX((ztv(ig,l)-ztv(ig,l+1)),0.)  &
    615610     &                       *sqrt(zlev(ig,l+1))
    616611                 lalim(ig)=l+1
    617                END IF
     612!!               END IF
    618613               alim_star_tot(ig)=alim_star_tot(ig)+alim_star(ig,l)
    619614            endif
     
    650645    endif
    651646enddo
    652   PRINT *,'  Lluis in themcellV1_plume ig actvie l zw2 ztv zlev pphi ___'
    653   DO ig=1,ngrid
    654     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 DO
    657647!
    658648
  • trunk/WRFV3/phys/module_lmdz_phys.F

    r175 r179  
    134134       & wrfUtenddestagg, wrfVtenddestagg
    135135    REAL, DIMENSION((wime-wims-2*wbdyw)*(wjme-wjms-2*wbdyw), wkms:wkme-1) ::         &
    136        & TValues, TtendValues, HalfPressValues, WFluxMassValues
     136       & GeopotValues, TValues, TtendValues, HalfPressValues, WFluxMassValues
    137137    REAL, DIMENSION((wime-wims-2*wbdyw)*(wjme-wjms-2*wbdyw), wkms:wkme-1) ::         &  !! DE-STAGGED !!
    138138       & UValues, UtendValues
     
    140140       & VValues, VtendValues
    141141    REAL, DIMENSION((wime-wims-2*wbdyw)*(wjme-wjms-2*wbdyw), wkms:wkme) ::           &  !! Z-STAGG !!
    142        & FullPressValues, GeopotValues
     142       & FullPressValues
    143143    REAL, DIMENSION((wime-wims-2*wbdyw)*(wjme-wjms-2*wbdyw)) ::                      & 
    144144       & sfcGeopotValues
     
    148148    REAL, DIMENSION(wims:wime,wkms:wkme,wjms:wjme)       :: wrfWValues,              &
    149149       & 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
    151152    REAL, DIMENSION(wims:wime,wjms:wjme)                 :: wrf_sfcgeopot
    152153
     
    264265! wrf_basegeopot: WRF base of geopotential
    265266! wrf_geopot: WRF geopotential
     267! wrf_geopot_half: WRF geopotential at the half eta level
    266268! wrf_psfctend: WRF surface pressure tendency
    267269! wrf_sfcgeopot: WRF surface geopotential
     
    982984    wrf_P = wrf_baseP + wrf_perP
    983985    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.
    984988    wrf_sfcgeopot = wrf_grid%ht*g
    985989! de-staggering winds
     
    10701074    CALL mat_vect(wrf_P, dimx, dimy, dimz, wbdyw, HalfPressValues)
    10711075    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)
    10731077    CALL mat_vect(wrfZFluxMassValues, dimx, dimy, dimz, wbdyw, WFluxMassValues)
    10741078
Note: See TracChangeset for help on using the changeset viewer.