Changeset 2759


Ignore:
Timestamp:
Jan 10, 2017, 3:41:55 PM (8 years ago)
Author:
jyg
Message:

Small improvements to convection scheme
(cv3_unsat) and to wake scheme.

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

Legend:

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

    r2757 r2759  
    28352835        END IF !(amp2.gt.(0.1*amfac))
    28362836
    2837 ! ***         limit magnitude of mp(i) to meet cfl condition      ***
    2838 
    2839         ampmax = 2.0*(ph(il,i)-ph(il,i+1))*delti
    2840         amp2 = 2.0*(ph(il,i-1)-ph(il,i))*delti
    2841         ampmax = min(ampmax, amp2)
    2842         mp(il, i) = min(mp(il,i), ampmax)
     2837!jyg<    This part shifted 10 lines farther
     2838!!! ***         limit magnitude of mp(i) to meet cfl condition      ***
     2839!!
     2840!!        ampmax = 2.0*(ph(il,i)-ph(il,i+1))*delti
     2841!!        amp2 = 2.0*(ph(il,i-1)-ph(il,i))*delti
     2842!!        ampmax = min(ampmax, amp2)
     2843!!        mp(il, i) = min(mp(il,i), ampmax)
     2844!>jyg
    28432845
    28442846! ***      force mp to decrease linearly to zero                 ***
     
    28522854          mp(il, i) = mp(il, i)*(ph(il,1)-ph(il,i))/(ph(il,1)-0.9*plcl(il))
    28532855        END IF
     2856
     2857!jyg<    Shifted part
     2858! ***         limit magnitude of mp(i) to meet cfl condition      ***
     2859
     2860        ampmax = 2.0*(ph(il,i)-ph(il,i+1))*delti
     2861        amp2 = 2.0*(ph(il,i-1)-ph(il,i))*delti
     2862        ampmax = min(ampmax, amp2)
     2863        mp(il, i) = min(mp(il,i), ampmax)
     2864!>jyg
    28542865
    28552866      END IF ! (i.le.inb(il) .and. lwork(il) .and. i.ne.1)
  • LMDZ5/trunk/libf/phylmd/wake.F90

    r2757 r2759  
    19281928
    19291929      ! cc nrlmd        IF ( wk_adv(i) .AND. k .LE. kupper(i)) THEN
    1930       IF (ok_qx_qw(i) .AND. k<=kupper(i)) THEN
     1930!jyg<
     1931!!      IF (ok_qx_qw(i) .AND. k<=kupper(i)) THEN
     1932      IF (ok_qx_qw(i)) THEN
     1933!>jyg
    19311934        ! cc
    19321935        dtls(i, k) = dtls(i, k)/dtime
Note: See TracChangeset for help on using the changeset viewer.