Changeset 3593 for LMDZ6/trunk/libf/phylmd/dyn1d/scm.F90
- Timestamp:
- Oct 28, 2019, 5:35:54 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/dyn1d/scm.F90
r3592 r3593 818 818 endif 819 819 ! 820 !---------------------------------------------------------------------821 ! Initialize target profile for RHT nudging if needed822 !---------------------------------------------------------------------823 if (nudge(inudge_RHT)) then824 call nudge_RHT_init(plev,play,temp,q(:,1),t_targ,rh_targ)825 endif826 if (nudge(inudge_UV)) then827 call nudge_UV_init(plev,play,u,v,u_targ,v_targ)828 endif829 !830 820 !===================================================================== 831 821 CALL iophys_ini … … 863 853 d_q_adv(:,1)=d_q_adv(:,1)+dq_dyn(:,1) 864 854 855 print*,'OMEGA ',omega_mod_cas(10),omega(10) 865 856 !--------------------------------------------------------------------- 866 857 ! Geopotential : … … 1017 1008 !!!!!!!!!!!!!!!!!!!!!!!! 1018 1009 d_t_nudge(:) = 0. 1019 d_q_nudge(:,:) = 0.1020 1010 d_u_nudge(:) = 0. 1021 1011 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 1030 1029 ! 1031 1030 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Note: See TracChangeset
for help on using the changeset viewer.