Ignore:
Timestamp:
Oct 28, 2019, 5:35:54 PM (5 years ago)
Author:
fhourdin
Message:

Significant progress for the SCM standard format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/dyn1d/scm.F90

    r3592 r3593  
    818818       endif
    819819!
    820 !---------------------------------------------------------------------
    821 !    Initialize target profile for RHT nudging if needed
    822 !---------------------------------------------------------------------
    823       if (nudge(inudge_RHT)) then
    824         call nudge_RHT_init(plev,play,temp,q(:,1),t_targ,rh_targ)
    825       endif
    826       if (nudge(inudge_UV)) then
    827         call nudge_UV_init(plev,play,u,v,u_targ,v_targ)
    828       endif
    829 !
    830820!=====================================================================
    831821       CALL iophys_ini
     
    863853   d_q_adv(:,1)=d_q_adv(:,1)+dq_dyn(:,1)
    864854
     855   print*,'OMEGA ',omega_mod_cas(10),omega(10)
    865856!---------------------------------------------------------------------
    866857!  Geopotential :
     
    10171008!!!!!!!!!!!!!!!!!!!!!!!!
    10181009      d_t_nudge(:) = 0.
    1019       d_q_nudge(:,:) = 0.
    10201010      d_u_nudge(:) = 0.
    10211011      d_v_nudge(:) = 0.
    1022       if (nudge(inudge_RHT)) then
    1023         call nudge_RHT(timestep,plev,play,t_targ,rh_targ,temp,q(:,1),     &
    1024     &                  d_t_nudge,d_q_nudge(:,1))
    1025       endif
    1026       if (nudge(inudge_UV)) then
    1027         call nudge_UV(timestep,plev,play,u_targ,v_targ,u,v,     &
    1028     &                  d_u_nudge,d_v_nudge)
    1029       endif
     1012      d_q_nudge(:,:) = 0.
     1013      print*,'GUIDAGE ABSURDE POUR SANDU '
     1014      nudging_t=0.
     1015      nudging_qv=0.
     1016      IF ( nint(nudging_t) /= 0 ) d_t_nudge(:)=(temp_nudg_mod_cas(:)-temp(:))/nudging_t
     1017      IF ( nint(nudging_qv) /= 0 ) d_q_nudge(:,1)  =(qv_nudg_mod_cas(:)  -q(:,1) )/nudging_qv
     1018      IF ( nint(nudging_u*nudging_v) /= 0 ) THEN
     1019              d_u_nudge(:)=(u_nudg_mod_cas(:)-u(:))/nudging_u
     1020              d_v_nudge(:)=(v_nudg_mod_cas(:)-v(:))/nudging_u
     1021      ENDIF
     1022      !CALL iophys_ecrit('qv',klev,'qv','g/kg',1000*q(:,1))
     1023      !CALL iophys_ecrit('qvnud',klev,'qvnud','g/kg',1000*u_nudg_mod_cas)
     1024      !CALL iophys_ecrit('u',klev,'u','m/s',u)
     1025      !CALL iophys_ecrit('unud',klev,'unud','m/s',u_nudg_mod_cas)
     1026      !CALL iophys_ecrit('v',klev,'v','m/s',v)
     1027      !CALL iophys_ecrit('vnud',klev,'vnud','m/s',v_nudg_mod_cas)
     1028
    10301029!
    10311030!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Note: See TracChangeset for help on using the changeset viewer.