Changeset 4545


Ignore:
Timestamp:
May 22, 2023, 9:42:23 AM (19 months ago)
Author:
evignon
Message:

modifications suite au dernier atelier TKE. Ajout de la routine
call_atke_mod et test d'une prediction explicit du cisaillement pour calculer
les Km et Kh

Location:
LMDZ6/trunk/libf
Files:
2 added
2 edited

Legend:

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

    r4481 r4545  
    55save
    66
    7   integer :: iflag_atke
    8   !$OMP THREADPRIVATE(iflag_atke)
     7integer :: iflag_atke, iflag_num_atke
     8!$OMP THREADPRIVATE(iflag_atke, iflag_num_atke)
    99  real :: kappa = 0.4 ! Von Karman constant
    1010  !$OMP THREADPRIVATE(kappa)
     
    4545  CALL getin_p('iflag_atke',iflag_atke)
    4646
     47  ! flag that controls the numerical treatment of diffusion coeffiient calculation
     48  iflag_num_atke=0
     49  CALL getin_p('iflag_num_atke',iflag_num_atke)
     50
    4751  ! asymptotic mixing length [m]
    4852  l0=150.0
  • LMDZ6/trunk/libf/phylmd/pbl_surface_mod.F90

    r4531 r4545  
    2424  USE climb_wind_mod,      ONLY : climb_wind_down, climb_wind_up
    2525  USE coef_diff_turb_mod,  ONLY : coef_diff_turb
    26   USE atke_exchange_coeff_mod, ONLY :  atke_compute_km_kh
     26  USE call_atke_mod,       ONLY :  call_atke
    2727  USE ioipsl_getin_p_mod,  ONLY : getin_p
    2828  USE cdrag_mod
     
    790790    REAL, DIMENSION(klon)       :: uzon_w, vmer_w, speed_w, zri1_w, pref_w !speed_w, zri1_w, pref_w, added by Fuxing WANG, 04/03/2015
    791791    REAL, DIMENSION(klon)       :: zgeo1_w, tair1_w, qair1_w, tairsol_w
     792    REAL, DIMENSION(klon)       :: yus0, yvs0
    792793
    793794!!! jyg le 25/03/2013
     
    993994 cdragh(:)=0. ; cdragm(:)=0.
    994995 zu1(:)=0. ; zv1(:)=0.
     996 yus0(:)=0. ; yvs0(:)=0.
    995997!albedo SB >>>
    996998  alb_dir_m=0. ; alb_dif_m=0. ; alb3_lic(:)=0.
     
    16991701        IF (iflag_pbl>=50) THEN
    17001702
    1701         CALL atke_compute_km_kh(knon,klev,yu,yv,yt, &
     1703        CALL call_atke(dtime,knon,klev,ycdragm, ycdragh,yus0,yvs0,yts,yu,yv,yt, &
    17021704             ypplay,ypaprs,ytke,ycoefm, ycoefh)
    17031705
     
    17431745        IF (iflag_pbl>=50) THEN
    17441746     
    1745         CALL atke_compute_km_kh(knon,klev,yu_x,yv_x,yt_x, &
     1747        CALL call_atke(dtime,knon,klev,ycdragm_x,ycdragh_x,yus0,yvs0,yts_x,yu_x,yv_x,yt_x, &
    17461748             ypplay,ypaprs,ytke_x,ycoefm_x, ycoefh_x)
    17471749
     
    17821784        IF (iflag_pbl>=50) THEN
    17831785       
    1784         CALL atke_compute_km_kh(knon,klev,yu_w,yv_w,yt_w, &
     1786        CALL call_atke(dtime,knon,klev,ycdragm_w,ycdragh_w,yus0,yvs0,yts_w,yu_w,yv_w,yt_w, &
    17851787             ypplay,ypaprs,ytke_w,ycoefm_w, ycoefh_w)
    17861788
Note: See TracChangeset for help on using the changeset viewer.