Ignore:
Timestamp:
Jan 22, 2020, 11:41:33 AM (5 years ago)
Author:
dbardet
Message:

Update the nonorographic gravity waves drag parametrization (from the r3599 of Earth s model LMDZ6): 1) add east_ and west_gwdstress variables, 2) delete aleas function: random waves are producted by the MOD function, 3) reproductibility concerning the number of procs is now validated, 4) changing name of some variables like RUW, RVW, ZOP, ZOM,..., 5) tendency of winds due to GW drag are now module variables and written in restart files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/phyredem.F90

    r2079 r2220  
    2424  use comcstfi_h, only: g, mugaz, omeg, rad, rcp
    2525  use time_phylmdz_mod, only: daysec
    26 
    2726  implicit none
    2827 
     
    156155                      put_var, put_field
    157156  use tracer_mod, only: noms ! tracer names
     157  use nonoro_gwd_ran_mod, only: du_nonoro_gwd, dv_nonoro_gwd
    158158
    159159  implicit none
     
    263263     call put_field("mem_Mh2o_co2","H2O mass integred into CO2 crystal",mem_Mh2o_co2,time)
    264264  endif
    265  
     265 
     266  ! Non-orographic gavity waves
     267  if (calllott_nonoro) then
     268     call put_field("du_nonoro_gwd","Zonal wind tendency due to GW",du_nonoro_gwd,time)
     269     call put_field("dv_nonoro_gwd","Meridional wind tendency due to GW",dv_nonoro_gwd,time)
     270  endif
    266271  ! Close file
    267272  call close_restartphy
Note: See TracChangeset for help on using the changeset viewer.