Changeset 5015


Ignore:
Timestamp:
Jul 4, 2024, 5:00:00 PM (5 months ago)
Author:
musat
Message:

Ajout flag ok_bug_zg_wk_pbl=y par defaut pour
garder la convergence numerique.

File:
1 edited

Legend:

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

    r5009 r5015  
    5353  INTEGER, SAVE :: iflag_new_t2mq2m
    5454  !$OMP THREADPRIVATE(iflag_new_t2mq2m)
     55  LOGICAL, SAVE :: ok_bug_zg_wk_pbl
     56  !$OMP THREADPRIVATE(ok_bug_zg_wk_pbl)
    5557
    5658!FC
     
    936938       WRITE(lunout,*) 'pbl_iflag_new_t2mq2m=',iflag_new_t2mq2m
    937939
     940       ok_bug_zg_wk_pbl=.TRUE.
     941       CALL getin_p('ok_bug_zg_wk_pbl',ok_bug_zg_wk_pbl)
     942       WRITE(lunout,*) 'ok_bug_zg_wk_pbl=',ok_bug_zg_wk_pbl
     943
    938944       print*,'PBL SURFACE AVEC GUSTINESS'
    939945       first_call=.FALSE.
     
    16641670            ycdragm_w, ycdragh_w, zri1_w, pref_w, rain_f, zxtsol, ypplay(:,1) )
    16651671!
    1666         zgeo1(1:knon) = ywake_s(1:knon)*zgeo1_w(1:knon) + (1.-ywake_s(1:knon))*zgeo1_x(1:knon)
     1672        IF(ok_bug_zg_wk_pbl) THEN
     1673         zgeo1(1:knon) = wake_s(1:knon)*zgeo1_w(1:knon) + (1.-wake_s(1:knon))*zgeo1_x(1:knon)
     1674        ELSE
     1675         zgeo1(1:knon) = ywake_s(1:knon)*zgeo1_w(1:knon) + (1.-ywake_s(1:knon))*zgeo1_x(1:knon)
     1676        ENDIF
    16671677
    16681678! --- special Dice. JYG+MPL 25112013 puis BOMEX
Note: See TracChangeset for help on using the changeset viewer.