Ignore:
Timestamp:
Mar 24, 2010, 1:41:35 PM (14 years ago)
Author:
idelkadi
Message:

Optimisation des thermiques

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/branches/LMDZ4V5.0-dev/libf/phylmd/thermcellV0_main.F90

    r1299 r1330  
    225225!Initialisation
    226226!
    227 !    IF (1.eq.0) THEN
    228 !     do ig=1,klon     
    229 !FH/IM 130308     if ((debut).or.((.not.debut).and.(f0(ig).lt.1.e-10))) then
    230 !     if ((.not.debut).and.(f0(ig).lt.1.e-10)) then
    231 !           f0(ig)=1.e-5
    232 !           zmax0(ig)=40.
    233 !v1d        therm=.false.
    234 !     endif
    235 !     enddo
    236 !    ENDIF !(1.eq.0) THEN
    237227     if (prt_level.ge.10)write(lunout,*)                                &
    238228    &     'WARNING thermcell_main f0=max(f0,1.e-2)'
    239229     do ig=1,klon
    240       if (prt_level.ge.20) then
    241        print*,'th_main ig f0',ig,f0(ig)
    242       endif
    243230         f0(ig)=max(f0(ig),1.e-2)
    244 !IMmarche pas ?!       if (f0(ig)<1.e-2) f0(ig)=1.e-2
    245231     enddo
    246232
     
    637623            zf2=zf/(1.-zf)
    638624!
    639       if (prt_level.ge.10) print*,'14e OK convect8 ig,l,zf,zf2',ig,l,zf,zf2
    640 !
    641       if (prt_level.ge.10) print*,'14f OK convect8 ig,l,zha zh zpspsk ',ig,l,zha(ig,l),zh(ig,l),zpspsk(ig,l)
    642625            thetath2(ig,l)=zf2*(zha(ig,l)-zh(ig,l)/zpspsk(ig,l))**2
    643626            if(zw2(ig,l).gt.1.e-10) then
     
    649632            wth3(ig,l)=zf2*(1-2.*fraca(ig,l))/(1-fraca(ig,l))  &
    650633     &                *zw2(ig,l)*zw2(ig,l)*zw2(ig,l)
    651       if (prt_level.ge.10) print*,'14g OK convect8 ig,l,po',ig,l,po(ig,l)
    652634            q2(ig,l)=zf2*(zqta(ig,l)*1000.-po(ig,l)*1000.)**2
    653635!test: on calcul q2/po=ratqsc
     
    655637         enddo
    656638      enddo
    657 !calcul de ale_bl et alp_bl
    658 !pour le calcul d'une valeur intégrée entre la surface et lmax
     639
     640      if (prt_level.ge.10) then
     641          print*,'14e OK convect8 ig,l,zf,zf2',ig,l,zf,zf2
     642          ig=igout
     643          do l=1,nlay
     644             print*,'14f OK convect8 ig,l,zha zh zpspsk ',ig,l,zha(ig,l),zh(ig,l),zpspsk(ig,l)
     645          enddo
     646          do l=1,nlay
     647             print*,'14g OK convect8 ig,l,po',ig,l,po(ig,l)
     648          enddo
     649      endif
     650
    659651      do ig=1,ngrid
    660652      alp_int(ig)=0.
Note: See TracChangeset for help on using the changeset viewer.