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/phyetat0_mod.F90

    r2079 r2220  
    1717                     inquire_dimension, inquire_dimension_length
    1818  use ioipsl_getincom, only : getin
    19 
     19  use nonoro_gwd_ran_mod, only: du_nonoro_gwd, dv_nonoro_gwd
    2020  implicit none
    2121 
     
    415415endif
    416416
     417! Non-orographic gravity waves
     418call get_field("du_nonoro_gwd",du_nonoro_gwd,found,indextime)
     419if (.not.found) then
     420   write(*,*) "phyetat0: <du_nonoro_gwd> not in file"
     421   du_nonoro_gwd(:,:)=0.
     422else
     423   write(*,*) "phyetat0: Memory of zonal wind tendency due to non-orographic GW"
     424   write(*,*) " <du_nonoro_gwd> range:", &
     425          minval(du_nonoro_gwd), maxval(du_nonoro_gwd)
     426endif
     427
     428call get_field("dv_nonoro_gwd",dv_nonoro_gwd,found,indextime)
     429if (.not.found) then
     430   write(*,*) "phyetat0: <dv_nonoro_gwd> not in file"
     431   dv_nonoro_gwd(:,:)=0.
     432else
     433   write(*,*) "phyetat0: Memory of meridional wind tendency due to non-orographic GW"
     434   write(*,*) " <dv_nonoro_gwd> range:", &
     435          minval(dv_nonoro_gwd), maxval(dv_nonoro_gwd)
     436endif
    417437
    418438! tracer on surface
Note: See TracChangeset for help on using the changeset viewer.