Ignore:
Timestamp:
Jan 22, 2014, 10:51:36 AM (11 years ago)
Author:
idelkadi
Message:

Changes concerinng the Hourdin et al. 2002 version of the thermals and
Ayotte cases

calltherm.F90


call to thermcell_2002 modified :
1) iflag_thermals changed from 1 to >= 1000 ; iflag_thermals-1000
controls sub options.
2) thermals w and fraction in output files.

hbtm.F


Singularity in the 1/heat dependency of the Monin Obukov length L when
heat=0. Since 1/L is used rather than L, it is preferable to compute
directly L. There is a dependency in 1/u* then which is treated with a
threshold value.
(+ some cleaning in the syntax).

lmdz1d.F


If nday<0, -nday is used as the total number of time steps of the
simulation.
The option with imposed wtsurf and wqsurf read in lmdz1d.def was not
active anymore.
< IF(.NOT.ok_flux_surf) THEN
changed to

IF(.NOT.ok_flux_surf.or.max(abs(wtsurf),abs(wqsurf))>0.) THEN

before

fsens=-wtsurf*rcpd*rho(1)
flat=-wqsurf*rlvtt*rho(1)

phys_output_write.F90 et phys_local_var_mod.F90


Removing the d_u_ajsb contribution to duthe (same for dv).
Those tendencies are not computed by the model ...
< zx_tmp_fi3d(1:klon,1:klev)=d_u_ajs(1:klon,1:klev)/pdtphys - &
< d_u_ajsb(1:klon,1:klev)/pdtphys
---

zx_tmp_fi3d(1:klon,1:klev)=d_u_ajs(1:klon,1:klev)/pdtphys

! d_u_ajsb(1:klon,1:klev)/pdtphys

thermcell_dq.F90, thermcell_main.F90


Some cleaning

thermcell_old.F


Control by iflag_thermals >= 1000
wa_moy and fraca in outputs
+ cleaning

File:
1 edited

Legend:

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

    r1924 r1943  
    4141      REAL, SAVE, ALLOCATABLE :: d_u_ajs(:,:), d_v_ajs(:,:)
    4242      !$OMP THREADPRIVATE(d_u_ajs, d_v_ajs)
    43       REAL, SAVE, ALLOCATABLE :: d_u_ajsb(:,:), d_v_ajsb(:,:)
    44       !$OMP THREADPRIVATE(d_u_ajsb, d_v_ajsb)
    4543      REAL, SAVE, ALLOCATABLE :: d_t_eva(:,:),d_q_eva(:,:)
    4644      !$OMP THREADPRIVATE(d_t_eva,d_q_eva)
     
    303301      allocate(d_t_ajs(klon,klev),d_q_ajs(klon,klev))
    304302      allocate(d_u_ajs(klon,klev),d_v_ajs(klon,klev))
    305       allocate(d_u_ajsb(klon,klev),d_v_ajsb(klon,klev))
    306303      allocate(d_t_eva(klon,klev),d_q_eva(klon,klev))
    307304      allocate(d_t_lscst(klon,klev),d_q_lscst(klon,klev))
     
    456453      deallocate(d_t_ajs,d_q_ajs)
    457454      deallocate(d_u_ajs,d_v_ajs)
    458       deallocate(d_u_ajsb,d_v_ajsb)
    459455      deallocate(d_t_eva,d_q_eva)
    460456      deallocate(d_t_lscst,d_q_lscst)
Note: See TracChangeset for help on using the changeset viewer.