Ignore:
Timestamp:
Jan 20, 2014, 5:20:05 PM (10 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/physiq.F90

    r1931 r1938  
    5555  !IM stations CFMIP
    5656  USE CFMIP_point_locations
     57  use FLOTT_GWD_rando_m, only: FLOTT_GWD_rando
     58
    5759  IMPLICIT none
    5860  !>======================================================================
     
    614616
    615617  ! tendance nulles
    616   REAL du0(klon,klev),dv0(klon,klev),dq0(klon,klev),dql0(klon,klev)
     618  REAL, dimension(klon,klev):: du0, dv0, dt0, dq0, dql0
    617619
    618620  !
     
    13901392  du0(:,:)=0.
    13911393  dv0(:,:)=0.
     1394  dt0 = 0.
    13921395  dq0(:,:)=0.
    13931396  dql0(:,:)=0.
     
    32513254  ENDIF
    32523255
    3253   !
    3254   !IM cf. FLott BEG
     3256  if (ok_gwd_rando) then
     3257     call FLOTT_GWD_rando(DTIME, pplay, t_seri, u_seri, v_seri, &
     3258          rain_fall + snow_fall, zustr_gwd_rando, zvstr_gwd_rando, &
     3259          du_gwd_rando, dv_gwd_rando)
     3260     CALL add_phys_tend(du_gwd_rando, dv_gwd_rando, dt0, dq0, dql0, &
     3261          'flott_gwd_rando')
     3262  end if
     3263
    32553264  ! STRESS NECESSAIRES: TOUTE LA PHYSIQUE
    32563265
Note: See TracChangeset for help on using the changeset viewer.