Changeset 3670


Ignore:
Timestamp:
Apr 27, 2020, 10:49:09 AM (4 years ago)
Author:
jyg
Message:

In order to makEmanuel scheme : set iflag=14 in
cv3_trigger when
no convection and reset Cin to Cin_noconv at the
end of cva_driver when iflag=14.

Location:
LMDZ6/trunk/libf/phylmd
Files:
2 edited

Legend:

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

    r3624 r3670  
    888888! - relaxation of sig and w0 when no convection
    889889
    890 ! Caution1: if no convection, we set iflag=4
     890! Caution1: if no convection, we set iflag=14
    891891! (it used to be 0 in convect3)
    892892
     
    968968        sig(i, k) = amax1(sig(i,k), 0.0)
    969969        w0(i, k) = beta*w0(i, k)
    970         iflag(i) = 4 ! pour version vectorisee
     970        iflag(i) = 14 ! pour version vectorisee
    971971! convect3         iflag(i)=0
    972972      END IF
  • LMDZ6/trunk/libf/phylmd/cva_driver.F90

    r3496 r3670  
    361361!               then the level NL-1.
    362362!        10     No moist convection: cloud top is too warm.
     363!        14     No moist convection; atmosphere is very
     364!               stable (=> no computation)
    363365!
    364366
     
    539541  CHARACTER (LEN=80) :: abort_message
    540542
     543  REAL, PARAMETER    :: Cin_noconv = -100000.
     544  REAL, PARAMETER    :: Cape_noconv = -1.
     545
    541546  INTEGER,SAVE                                       :: igout=1
    542547!$OMP THREADPRIVATE(igout)
     
    622627
    623628  DO il = 1, len
    624     cin1(il) = -100000.
    625     cape1(il) = -1.
     629!!    cin1(il) = -100000.
     630!!    cape1(il) = -1.
     631    cin1(il) = Cin_noconv
     632    cape1(il) = Cape_noconv
    626633  END DO
    627634
     
    12461253
    12471254  END IF ! ncum>0
     1255!
     1256!
     1257  DO i = 1,len
     1258    IF (iflag1(i) == 14) THEN
     1259      Cin1(i) = Cin_noconv
     1260      Cape1(i) = Cape_noconv
     1261    ENDIF
     1262  ENDDO
    12481263
    12491264!
Note: See TracChangeset for help on using the changeset viewer.