Ignore:
Timestamp:
Jul 3, 2017, 6:15:15 PM (7 years ago)
Author:
fhourdin
Message:

Les insectes ont parfois une carapace solide.
Correction d'une correction qui en avait oublié un précédente.
(Frédéric pour Marie-Pierre)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/dyn1d/lmdz1d.F90

    r2920 r2933  
    2020       wake_deltaq, wake_deltat, wake_s, wake_dens, &
    2121       zgam, zmax0, zmea, zpic, zsig, &
    22        zstd, zthe, zval, ale_bl, ale_bl_trig, alp_bl
     22       zstd, zthe, zval, ale_bl, ale_bl_trig, alp_bl, ql_ancien, qs_ancien, &
     23       prlw_ancien, prsw_ancien, prw_ancien
    2324 
    2425   USE dimphy
     
    206207      REAL, ALLOCATABLE, DIMENSION(:,:):: d_q_adv
    207208      REAL, ALLOCATABLE, DIMENSION(:,:):: d_q_nudge
    208 !      REAL, ALLOCATABLE, DIMENSION(:):: d_t_adv
     209!      REAL, ALLOCATABLE, DIMENSION(:):: d_th_adv
    209210
    210211!---------------------------------------------------------------------
     
    580581      allocate(d_q_adv(llm,nqtot))
    581582      allocate(d_q_nudge(llm,nqtot))
    582 !      allocate(d_t_adv(llm))
     583!      allocate(d_th_adv(llm))
    583584
    584585      q(:,:) = 0.
     
    813814        t_ancien(1,:)=temp(:)
    814815        q_ancien(1,:)=q(:,1)
     816        ql_ancien = 0.
     817        qs_ancien = 0.
     818        prlw_ancien = 0.
     819        prsw_ancien = 0.
     820        prw_ancien = 0.
    815821!jyg<
    816822!!        pbl_tke(:,:,:)=1.e-8
     
    10781084       endif
    10791085
     1086!CRio:Attention modif spécifique cas de Caroline
     1087      if (forcing_les) then
     1088         fcoriolis=0.
     1089!Nudging
     1090       
     1091!on calcule dt_cooling
     1092        do l=1,llm
     1093        if (play(l).ge.20000.) then
     1094            dt_cooling(l)=-1.5/86400.
     1095        elseif ((play(l).ge.10000.).and.((play(l).lt.20000.))) then
     1096            dt_cooling(l)=-1.5/86400.*(play(l)-10000.)/(10000.)-1./86400.*(20000.-play(l))/10000.*(temp(l)-200.)
     1097        else
     1098            dt_cooling(l)=-1.*(temp(l)-200.)/86400.
     1099        endif
     1100        enddo
     1101
     1102      endif     
     1103!RC
     1104
    10801105      IF (prt_level >= 5) print*, 'fcoriolis, xlat,mxcalc ', &
    10811106                                   fcoriolis, xlat,mxcalc
Note: See TracChangeset for help on using the changeset viewer.