Ignore:
Timestamp:
May 5, 2021, 12:50:37 PM (3 years ago)
Author:
jyg
Message:

New provisional version of the splitting of the
diffusive boundary layer into inwake and offwake
PBLs. The splitting of the diffuse BL should NOT
be activated yet for general purpose simulations.

The splitting is activated by:
mod(iflag_pbl_split,10)=1 for the option with
fixed surface temperature and
mod(iflag_pbl_split,10)=2 for the option with
coupled surface temperature.

iflag_pbl_split=0 ==> no splittingat all.
iflag_pbl_split=10 ==> splitting of thermals.
iflag_pbl_split=11 ==> splitting of thermals and
of vertical diffusion (fixed surf. temp.).
iflag_pbl_split=12 ==> splitting of thermals and
of vertical diffusion (coupled surf. temp.).

File:
1 edited

Legend:

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

    r3856 r3888  
    3232      REAL, ALLOCATABLE, SAVE :: ftsol(:,:)
    3333!$OMP THREADPRIVATE(ftsol)
     34      REAL, ALLOCATABLE, SAVE :: beta_aridity(:,:)
     35!$OMP THREADPRIVATE(beta_aridity)
    3436      REAL,ALLOCATABLE,SAVE :: qsol(:),fevap(:,:),z0m(:,:),z0h(:,:),agesno(:,:)
    3537!$OMP THREADPRIVATE(qsol,fevap,z0m,z0h,agesno)
     
    9698      REAL, ALLOCATABLE, SAVE :: coefm(:,:,:) ! Kz momentum
    9799!$OMP THREADPRIVATE(pbl_tke, coefh,coefm)
    98 !nrlmd<
    99       REAL, ALLOCATABLE, SAVE :: delta_tsurf(:,:) ! Surface temperature difference inside-outside cold pool
    100 !$OMP THREADPRIVATE(delta_tsurf)
    101 !>nrlmd
    102100      REAL, ALLOCATABLE, SAVE :: zmax0(:), f0(:) !
    103101!$OMP THREADPRIVATE(zmax0,f0)
     
    276274      REAL,ALLOCATABLE,SAVE :: wake_delta_pbl_TKE(:,:,:)
    277275!$OMP THREADPRIVATE(wake_delta_pbl_TKE)
     276!nrlmd<
     277      REAL, ALLOCATABLE, SAVE :: delta_tsurf(:,:) ! Surface temperature difference inside-outside cold pool
     278!$OMP THREADPRIVATE(delta_tsurf)
     279!>nrlmd
    278280!>jyg
    279281!
     
    478480      ALLOCATE(pctsrf(klon,nbsrf))
    479481      ALLOCATE(ftsol(klon,nbsrf))
     482      ALLOCATE(beta_aridity(klon,nbsrf))
    480483      ALLOCATE(qsol(klon),fevap(klon,nbsrf))
    481484      ALLOCATE(z0m(klon,nbsrf+1),z0h(klon,nbsrf+1),agesno(klon,nbsrf))
     
    674677
    675678      DEALLOCATE(pctsrf, ftsol, falb1, falb2)
     679      DEALLOCATE(beta_aridity)
    676680      DEALLOCATE(qsol,fevap,z0m,z0h,agesno)
    677681!FC
     
    687691      DEALLOCATE(tr_ancien)                           !RomP
    688692      DEALLOCATE(ratqs, pbl_tke,coefh,coefm)
    689 !nrlmd<
    690       DEALLOCATE(delta_tsurf)
    691 !>nrlmd
    692693      DEALLOCATE(zmax0, f0)
    693694      DEALLOCATE(sig1, w01)
     
    744745!jyg<
    745746      DEALLOCATE(wake_delta_pbl_TKE)
     747!nrlmd<
     748      DEALLOCATE(delta_tsurf)
     749!>nrlmd
    746750!>jyg
    747751      DEALLOCATE(pfrac_impa, pfrac_nucl)
Note: See TracChangeset for help on using the changeset viewer.