Ignore:
Timestamp:
Dec 21, 2023, 10:17:25 PM (9 months ago)
Author:
evignon
Message:

petites modifs dans les routines atke pour etre en accord avec les notations du papier

File:
1 edited

Legend:

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

    r4777 r4780  
    2525
    2626
    27 USE lmdz_atke_turbulence_ini, ONLY : iflag_atke, kappa, l0, ric, cinf, rpi, rcpd, atke_ok_virtual
     27USE lmdz_atke_turbulence_ini, ONLY : iflag_atke, kappa, l0, ric, cinf, rpi, rcpd, atke_ok_virtual, ri0, ri1
    2828USE lmdz_atke_turbulence_ini, ONLY : cepsilon, pr_slope, pr_asym, pr_neut, ctkes, rg, rd, rv, atke_ok_vdiff
    29 USE lmdz_atke_turbulence_ini, ONLY : viscom, viscoh, clmix, clmixshear, iflag_atke_lmix, lmin, smmin
     29USE lmdz_atke_turbulence_ini, ONLY : viscom, viscoh, clmix, clmixshear, iflag_atke_lmix, lmin, smmin, cn
    3030
    3131implicit none
     
    6969
    7070INTEGER :: igrid,ilay ! horizontal,vertical index (flat grid)
    71 REAL    :: cn,Ri0,Ri1    ! parameter for Sm stability function and Prandlt
    7271REAL    :: preff      ! reference pressure for potential temperature calculations
    7372REAL    :: thetam     ! mean potential temperature at interface
     
    132131! Computes the gradient Richardson's number and stability functions:
    133132!===================================================================
    134 
    135 ! calculation of cn = Sm value at Ri=0
    136 ! direct dependance on cepsilon to guarantee Fm=1 (first-order like stability function) at Ri=0
    137 cn=(1./sqrt(cepsilon))**(2/3)
    138 ! calculation of Ri0 such that continuity in slope of Sm at Ri=0
    139 Ri0=2./rpi*(cinf - cn)*ric/cn
    140 ! calculation of Ri1 to guarantee continuity in slope of Prandlt number at Ri=0
    141 Ri1 = -2./rpi * (pr_asym - pr_neut)
    142 
    143133
    144134DO ilay=2,nlay
     
    176166
    177167IF (iflag_atke_lmix .EQ. 1 ) THEN
    178 
     168! Blackadar formulation (~kappa l) + buoyancy length scale (Deardoff 1980) for very stable conditions
    179169   DO ilay=2,nlay
    180170      DO igrid=1,ngrid
     
    223213
    224214ELSE
    225 ! default: neglect effect of local stratification and shear
     215! default Blackadar formulation: neglect effect of local stratification and shear
    226216
    227217   DO ilay=2,nlay+1
     
    250240
    251241! full implicit scheme resolved with a second order polynomial equation
    252 
     242! default solution which shows fair convergence properties
    253243    DO ilay=2,nlay
    254244        DO igrid=1,ngrid
Note: See TracChangeset for help on using the changeset viewer.