Changeset 3223


Ignore:
Timestamp:
Feb 17, 2018, 6:02:23 PM (6 years ago)
Author:
fhourdin
Message:

Corrections forcages cas 1D sandu

Location:
LMDZ6/trunk/libf/phylmd/dyn1d
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/dyn1d/1D_decl_cases.h

    r2716 r3223  
    228228        logical  :: trouve_700=.true.
    229229        parameter (dt_sandu=6.*3600.)   ! forcages donnes ttes les 6 heures par ifa_sandu.txt
    230         parameter (tau_sandu=3600.)  ! temps de relaxation u,v,thetal,qt vers profil init et au dessus 700hPa
     230        parameter (tau_sandu=30000*3600.)  ! temps de relaxation u,v,thetal,qt vers profil init et au dessus 700hPa
    231231!!
    232232        real ts_sandu(nt_sandu)
  • LMDZ6/trunk/libf/phylmd/dyn1d/1D_nudge_sandu_astex.h

    r2921 r3223  
    2020!     print *,'l dt  relax dtadv',l,dt_phys(l),relax_thl(l),d_t_adv(l)
    2121      enddo
    22         u(1:mxcalc)=u(1:mxcalc) + timestep*(                                &         
     22
     23        u(1:mxcalc)=u(1:mxcalc) + timestep*( du_age(1:mxcalc)+             &         
    2324     &              du_phys(1:mxcalc) - relax_u(1:mxcalc))
    24         v(1:mxcalc)=v(1:mxcalc) + timestep*(                                &
     25        v(1:mxcalc)=v(1:mxcalc) + timestep*( dv_age(1:mxcalc)+              &
    2526     &               dv_phys(1:mxcalc) - relax_v(1:mxcalc))
    26 !       q(1:mxcalc,:)=q(1:mxcalc,:)+timestep*(
    27 !    .              dq(1:mxcalc,:) - relax_q(1:mxcalc,:)+
    28 !    .              d_q_adv(1:mxcalc,:))
    2927        q(1:mxcalc,1)=q(1:mxcalc,1)+timestep*(                              &
    3028     &      dq(1:mxcalc,1) - relax_q(1:mxcalc,1)+d_q_adv(1:mxcalc,1))
     
    3432     &      dt_phys(1:mxcalc)-relax_thl(1:mxcalc)+d_t_adv(1:mxcalc))
    3533
     34
  • LMDZ6/trunk/libf/phylmd/dyn1d/lmdz1d.F90

    r2983 r3223  
    286286       hthturb_gcssold = 0.
    287287       hqturb_gcssold = 0.
     288
     289
     290
    288291
    289292!---------------------------------------------------------------------
     
    985988!
    986989!=====================================================================
     990       CALL iophys_ini
    987991! START OF THE TEMPORAL LOOP :
    988992!=====================================================================
     
    11091113      endif     
    11101114!RC
     1115      if (forcing_sandu) then
     1116         ug(1:llm)=u_mod(1:llm)
     1117         vg(1:llm)=v_mod(1:llm)
     1118      endif
    11111119
    11121120      IF (prt_level >= 5) print*, 'fcoriolis, xlat,mxcalc ', &
    11131121                                   fcoriolis, xlat,mxcalc
    11141122
    1115        du_age(1:mxcalc)=fcoriolis*(v(1:mxcalc)-vg(1:mxcalc))
    1116        dv_age(1:mxcalc)=-fcoriolis*(u(1:mxcalc)-ug(1:mxcalc))
    11171123!       print *,'u-ug=',u-ug
    11181124
    11191125!!!!!!!!!!!!!!!!!!!!!!!!
    11201126! Geostrophic wind
     1127! Le calcul ci dessous est insuffisamment precis
     1128!      du_age(1:mxcalc)=fcoriolis*(v(1:mxcalc)-vg(1:mxcalc))
     1129!      dv_age(1:mxcalc)=-fcoriolis*(u(1:mxcalc)-ug(1:mxcalc))
    11211130!!!!!!!!!!!!!!!!!!!!!!!!
    11221131       sfdt = sin(0.5*fcoriolis*timestep)
Note: See TracChangeset for help on using the changeset viewer.