Ignore:
Timestamp:
Nov 27, 2014, 4:48:31 PM (10 years ago)
Author:
jyg
Message:

1/ Splitting of the boundary layer : the climbing down and up of Pbl_surface is
split between the off-wake and wake regions ; the thermal scheme is applied
only to the off-wake region.
2/ Elimination of wake_scal and calwake_scal.

File:
1 edited

Legend:

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

    r2146 r2159  
    6666      REAL, ALLOCATABLE, SAVE :: coefm(:,:,:) ! Kz momentum
    6767!$OMP THREADPRIVATE(pbl_tke, coefh,coefm)
     68!nrlmd<
     69      REAL, ALLOCATABLE, SAVE :: delta_tsurf(:,:) ! Surface temperature difference inside-outside cold pool
     70!$OMP THREADPRIVATE(delta_tsurf)
     71!>nrlmd
    6872      REAL, ALLOCATABLE, SAVE :: zmax0(:), f0(:) !
    6973!$OMP THREADPRIVATE(zmax0,f0)
     
    230234!$OMP THREADPRIVATE(dq_wake)
    231235!
     236!jyg<
     237! variables related to the spitting of the PBL between wake and
     238! off-wake regions.
     239! wake_delta_pbl_TKE : difference TKE_w - TKE_x
     240      REAL,ALLOCATABLE,SAVE :: wake_delta_pbl_TKE(:,:,:)
     241!$OMP THREADPRIVATE(wake_delta_pbl_TKE)
     242!>jyg
     243!
    232244! pfrac_impa : Produits des coefs lessivage impaction
    233245! pfrac_nucl : Produits des coefs lessivage nucleation
     
    406418      ALLOCATE(ratqs(klon,klev))
    407419      ALLOCATE(pbl_tke(klon,klev+1,nbsrf+1))
     420!nrlmd<
     421      ALLOCATE(delta_tsurf(klon,nbsrf))
     422!>nrlmd
    408423      ALLOCATE(coefh(klon,klev+1,nbsrf+1))
    409424      ALLOCATE(coefm(klon,klev+1,nbsrf+1))
     
    475490      ALLOCATE(wake_pe(klon), wake_fip(klon))
    476491      ALLOCATE(dt_wake(klon,klev), dq_wake(klon,klev))
     492!jyg<
     493      ALLOCATE(wake_delta_pbl_TKE(klon,klev+1,nbsrf))
     494!>jyg
    477495      ALLOCATE(pfrac_impa(klon,klev), pfrac_nucl(klon,klev))
    478496      ALLOCATE(pfrac_1nucl(klon,klev))
     
    551569      deallocate(        tr_ancien)                           !RomP
    552570      deallocate(ratqs, pbl_tke,coefh,coefm)
     571!nrlmd<
     572      deallocate(delta_tsurf)
     573!>nrlmd
    553574      deallocate(zmax0, f0)
    554575      deallocate(sig1, w01)
     
    601622      deallocate(wake_Cstar, wake_s, wake_pe, wake_fip)
    602623      deallocate(dt_wake, dq_wake)
     624!jyg<
     625      deallocate(wake_delta_pbl_TKE)
     626!>jyg
    603627      deallocate(pfrac_impa, pfrac_nucl)
    604628      deallocate(pfrac_1nucl)
Note: See TracChangeset for help on using the changeset viewer.