Ignore:
Timestamp:
Jul 4, 2024, 4:14:10 PM (5 months ago)
Author:
jliu
Message:

Update of non-orographic gravity waves mixing scheme. 1)mixing in potential
temperature are added. 2)all mixing in q,u,theta now are implemented by AR-1
algorithm. Tests (MY29,MY32-35) runs show that this implementation has limited
impact to the temperature/tides fields.

File:
1 edited

Legend:

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

    r3350 r3393  
    2424use nonoro_gwd_ran_mod,  only: du_nonoro_gwd, dv_nonoro_gwd
    2525use nonoro_gwd_mix_mod,  only: du_eddymix_gwd, dv_eddymix_gwd, de_eddymix_rto, &
    26                                df_eddymix_flx !dr_depflux_gwd
     26                               df_eddymix_flx, dh_eddymix_gwd, dq_eddymix_gwd
    2727use compute_dtau_mod,    only: dtau
    2828use dust_rad_adjust_mod, only: dust_rad_adjust_prev,dust_rad_adjust_next
     
    623623
    624624if (startphy_file) then
     625   call get_field("dh_eddymix_gwd",dh_eddymix_gwd,found,indextime)
     626   if (.not.found) then
     627      write(*,*) "phyetat0: <dh_eddymix_gwd> not in file"
     628      dh_eddymix_gwd(:,:)=0.
     629   endif
     630else
     631dh_eddymix_gwd(:,:)=0.
     632endif ! if (startphy_file)
     633write(*,*) "phyetat0: Memory of PT tendency due to non-orographic GW mixing"
     634write(*,*) " <dh_eddymix_gwd> range:", &
     635             minval(dh_eddymix_gwd), maxval(dh_eddymix_gwd)
     636
     637
     638if (startphy_file) then
    625639   call get_field("dv_nonoro_gwd",dv_nonoro_gwd,found,indextime)
    626640   if (.not.found) then
     
    648662             minval(dv_eddymix_gwd), maxval(dv_eddymix_gwd)
    649663
     664if (startphy_file) then
     665   call get_field("dq_eddymix_gwd",dq_eddymix_gwd,found,indextime)
     666   if (.not.found) then
     667      write(*,*) "phyetat0: <dq_eddymix_gwd> not in file"
     668      dq_eddymix_gwd(:,:,:)=0.
     669   endif
     670else ! ! if (startphy_file)
     671dq_eddymix_gwd(:,:,:)=0.
     672endif ! if (startphy_file)
     673write(*,*) "phyetat0: Memory of tracers tendency due to non-orographic GW mixing"
     674write(*,*) " <dq_eddymix_gwd> range:", &
     675             minval(dq_eddymix_gwd), maxval(dq_eddymix_gwd)
     676
     677     
    650678!if (startphy_file) then
    651679!   call get_field("dr_depflux_gwd",dr_depflux_gwd,found,indextime)
Note: See TracChangeset for help on using the changeset viewer.