Ignore:
Timestamp:
May 9, 2014, 11:00:47 AM (11 years ago)
Author:
aslmd
Message:

LMDZ.MARS. added a keyword in callphys.def named yamada4 to activate or not the latest version of SGS mixing; previously it was done through calltherm keyword which could be misleading.

Location:
trunk/LMDZ.MARS/libf/phymars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/callkeys.h

    r1088 r1239  
    1313     &   ,lifting,freedust,callddevil,scavenging,sedimentation          &
    1414     &   ,activice,water,tifeedback,microphys,caps,photochem,calltherm  &
    15      &   ,callrichsl,callslope,tituscap
     15     &   ,callrichsl,callslope,tituscap,yamada4
    1616     
    1717      COMMON/callkeys_i/iradia,iaervar,iddist,ilwd,ilwb,ilwn,ncouche    &
     
    2626     &   ,callnirco2,callnlte,callthermos,callconduct,                  &
    2727     &    calleuv,callmolvis,callmoldiff,thermochem,thermoswater        &
    28      &   ,calltherm,callrichsl,callslope,tituscap
     28     &   ,calltherm,callrichsl,callslope,tituscap,yamada4
    2929
    3030
  • trunk/LMDZ.MARS/libf/phymars/conf_phys.F

    r1233 r1239  
    223223         call getin("calladj",calladj)
    224224         write(*,*) " calladj = ",calladj
    225          
    226          if (calltherm .and. (.not. calladj)) then
    227           print*,'Convadj has to be activated when using thermals'
    228           stop
    229          endif
    230 
     225
     226         if (calltherm .and. calladj) then
     227          print*,'!!! PLEASE NOTE !!!'
     228          print*,'convective adjustment is on'
     229          print*,'but since thermal plume model is on'
     230          print*,'convadj is only activated above the PBL'
     231         endif
     232       
     233         write(*,*) "used latest version of yamada scheme?"
     234         yamada4=.true. ! default value
     235         call getin("yamada4",yamada4)
     236         write(*,*) " yamada4 = ",yamada4
     237
     238         if (calltherm .and. .not.yamada4) then
     239          print*,'!!!! WARNING WARNING WARNING !!!!'
     240          print*,'if calltherm=T we strongly advise that '
     241          print*,'you set the flag yamada4 to T '
     242          print*,'!!!! WARNING WARNING WARNING !!!!'
     243         endif
     244 
    231245         write(*,*) "call Richardson-based surface layer ?"
    232246         callrichsl=.false. ! default value
  • trunk/LMDZ.MARS/libf/phymars/vdifc.F

    r1236 r1239  
    373373c    ** schema de diffusion turbulente dans la couche limite
    374374c       ----------------------------------------------------
    375        IF (.not. calltherm) THEN
     375       IF (.not. yamada4) THEN
    376376
    377377       CALL vdif_kc(ngrid,nlay,nq,ptimestep,g,pzlev,pzlay
Note: See TracChangeset for help on using the changeset viewer.