Ignore:
Timestamp:
Apr 28, 2010, 4:27:15 PM (14 years ago)
Author:
musat
Message:

Some changes for new physics :

  • new formulation for wakes' alp_offset (physiq)
  • bug fix for lalim in thermals plume
  • add iflag_pbl=9 option (yamada4)

FH/IM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/branches/LMDZ4V5.0-dev/libf/phylmd/yamada4.F

    r1371 r1373  
    366366c     print*,'0L=',k,l(ig,k),delta(ig,k),km(ig,k)
    367367         qpre=sqrt(q2(ig,k))
    368 !        if (iflag_pbl.eq.8 ) then
     368         if (iflag_pbl.eq.8 ) then
    369369            if (aa(ig,k).gt.0.) then
    370370               q2(ig,k)=(qpre+aa(ig,k)*qpre*qpre)**2
     
    372372               q2(ig,k)=(qpre/(1.-aa(ig,k)*qpre))**2
    373373            endif
    374 !        else ! iflag_pbl=9
    375 !           if (aa(ig,k)*qpre.gt.0.9) then
    376 !              q2(ig,k)=(qpre*10.)**2
    377 !           else
    378 !              q2(ig,k)=(qpre/(1.-aa(ig,k)*qpre))**2
    379 !           endif
    380 !        endif
     374         else ! iflag_pbl=9
     375            if (aa(ig,k)*qpre.gt.0.9) then
     376               q2(ig,k)=(qpre*10.)**2
     377            else
     378               q2(ig,k)=(qpre/(1.-aa(ig,k)*qpre))**2
     379            endif
     380         endif
    381381         q2(ig,k)=min(max(q2(ig,k),1.e-10),1.e4)
    382382c     print*,'Q2 L=',k,q2(ig,k),qpre*qpre
Note: See TracChangeset for help on using the changeset viewer.