Ignore:
Timestamp:
Jan 24, 2023, 2:16:46 PM (16 months ago)
Author:
evignon
Message:

Attention les yeux, commission qui enterine la premiere version
operationnelle des downdrafts dans LMDZ. Speciale dedicace a Fleur

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/thermcell_main.F90

    r4381 r4396  
    479479      endif
    480480
     481!------------------------------------------------------------------
     482! Calcul de la fraction de l'ascendance
     483!------------------------------------------------------------------
     484      do ig=1,ngrid
     485         fraca(ig,1)=0.
     486         fraca(ig,nlay+1)=0.
     487      enddo
     488      do l=2,nlay
     489         do ig=1,ngrid
     490            if (zw2(ig,l).gt.1.e-10) then
     491            fraca(ig,l)=fm(ig,l)/(rhobarz(ig,l)*zw2(ig,l))
     492            else
     493            fraca(ig,l)=0.
     494            endif
     495         enddo
     496      enddo
     497     
    481498!c------------------------------------------------------------------
    482499!   calcul du transport vertical
     
    485502        print*,'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'
    486503        print*,'WARNING !!! routine thermcell_down en cours de developpement'
    487         CALL thermcell_updown_dq(ngrid,nlay,ptimestep,lmax,entr0,detr0,0.5*detr0,0.5*entr0,masse,zthl)
    488       ENDIF
     504        ! on veut transporter la temperature potentielle, l'eau totale, qté de mouvement
     505        CALL thermcell_updown_dq(ngrid,nlay,ptimestep,lmax,entr0,detr0,0.5*detr0,0.5*entr0,masse,zthl,zdthladj)
     506        CALL thermcell_updown_dq(ngrid,nlay,ptimestep,lmax,entr0,detr0,0.5*detr0,0.5*entr0,masse,po,pdoadj)
     507        CALL thermcell_updown_dq(ngrid,nlay,ptimestep,lmax,entr0,detr0,0.5*detr0,0.5*entr0,masse,zu,pduadj)
     508        CALL thermcell_updown_dq(ngrid,nlay,ptimestep,lmax,entr0,detr0,0.5*detr0,0.5*entr0,masse,zv,pdvadj)
     509      ELSE
    489510      !--------------------------------------------------------------
    490511
    491       call thermcell_dq(ngrid,nlay,dqimpl,ptimestep,fm0,entr0,masse,  &
    492      &                    zthl,zdthladj,zta,lev_out)
    493       call thermcell_dq(ngrid,nlay,dqimpl,ptimestep,fm0,entr0,masse,  &
    494      &                   po,pdoadj,zoa,lev_out)
     512        call thermcell_dq(ngrid,nlay,dqimpl,ptimestep,fm0,entr0,masse,  &
     513        &                    zthl,zdthladj,zta,lev_out)
     514        call thermcell_dq(ngrid,nlay,dqimpl,ptimestep,fm0,entr0,masse,  &
     515        &                   po,pdoadj,zoa,lev_out)
    495516
    496517#ifdef ISO
     
    534555
    535556
    536 
    537 !------------------------------------------------------------------
    538 ! Calcul de la fraction de l'ascendance
    539 !------------------------------------------------------------------
    540       do ig=1,ngrid
    541          fraca(ig,1)=0.
    542          fraca(ig,nlay+1)=0.
    543       enddo
    544       do l=2,nlay
    545          do ig=1,ngrid
    546             if (zw2(ig,l).gt.1.e-10) then
    547             fraca(ig,l)=fm(ig,l)/(rhobarz(ig,l)*zw2(ig,l))
    548             else
    549             fraca(ig,l)=0.
    550             endif
    551          enddo
    552       enddo
    553      
    554557!------------------------------------------------------------------
    555558!  calcul du transport vertical du moment horizontal
     
    576579
    577580      endif
     581    ENDIF
    578582
    579583!     print*,'13 OK convect8'
Note: See TracChangeset for help on using the changeset viewer.