Ignore:
Timestamp:
Jan 20, 2014, 5:20:05 PM (11 years ago)
Author:
lguez
Message:

New run-time parameters: ok_gwd_rando, ruwmax and sat. Logical
variable ok_gwd_rando activates the new stochastic parameterization of
the drag of non-orographic gravity waves, by F. Lott. Default value of
ok_gwd_rando is false. A run with ok_gwd_rando creates new variables
in restartphy.nc: du_gwd_rando and dv_gwd_rando. Possible output in
history files of new variables du_gwd_rando, dv_gwd_rando and
vstr_gwd_rando.

File:
1 edited

Legend:

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

    r1907 r1938  
    357357!!! fin nrlmd le 10/04/2012
    358358
     359      REAL, ALLOCATABLE, SAVE:: du_gwd_rando(:, :), dv_gwd_rando(:, :)
     360      !$OMP THREADPRIVATE(du_gwd_rando, dv_gwd_rando)
     361      ! tendencies on wind due to gravity waves
     362
    359363CONTAINS
    360364
     
    376380! climatology and the daylight climatology
    377381
     382include "clesphys.h"
    378383      ALLOCATE(rlat(klon), rlon(klon))
    379384      ALLOCATE(pctsrf(klon,nbsrf))
     
    517522      ALLOCATE(ale_bl_trig(klon))
    518523!!! fin nrlmd le 10/04/2012
     524      if (ok_gwd_rando) allocate(du_gwd_rando(klon, klev), &
     525           dv_gwd_rando(klon, klev))
    519526
    520527END SUBROUTINE phys_state_var_init
     
    526533USE indice_sol_mod
    527534IMPLICIT NONE
     535include "clesphys.h"
    528536
    529537      deallocate(rlat, rlon, pctsrf, ftsol, falb1, falb2)
     
    624632      deallocate(tau_aero,piz_aero,cg_aero)
    625633      deallocate(ccm)
     634      if (ok_gwd_rando) deallocate(du_gwd_rando, dv_gwd_rando)
    626635       
    627636!!! nrlmd le 10/04/2012
Note: See TracChangeset for help on using the changeset viewer.