Changeset 2203 for trunk/LMDZ.VENUS/libf/phyvenus/physiq_mod.F
- Timestamp:
- Dec 24, 2019, 1:57:50 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.VENUS/libf/phyvenus/physiq_mod.F
r2200 r2203 300 300 REAL :: d_drop_sed(klev),d_ccn_sed(klev,2),d_liq_sed(klev,2) 301 301 REAL :: aer_flux(klev) 302 REAL :: d_tr_ssed(klon)303 302 c 304 303 c Variables du changement … … 1015 1014 $ d_tr_chem, 1016 1015 $ d_tr_sed(:,:,1:2), 1017 $ d_tr_ssed,1018 1016 $ nqmax, 1019 1017 $ Fsedim) … … 1035 1033 end do 1036 1034 1037 ! tendency due to sedimentation1038 1039 d_tr_sed(:,:, :) = d_tr_sed(:,:,:)/zctime1035 ! tendency due to condensation and sedimentation 1036 1037 d_tr_sed(:,:,1:2) = d_tr_sed(:,:,1:2)/zctime 1040 1038 Fsedim(:,1:klev) = Fsedim(:,1:klev)/zctime 1041 1039 Fsedim(:,klev+1) = 0. … … 1119 1117 #endif 1120 1118 end if ! cl_scheme 1119 1120 ! update gaseous tracers (chemistry) 1121 1122 do iq = 1, nqmax - nmicro 1123 tr_seri(:,:,iq) = tr_seri(:,:,iq) 1124 $ + d_tr_chem(:,:,iq)*zctime 1125 end do 1126 1127 ! update condensed tracers (condensation + sedimentation) 1128 1129 if (cl_scheme == 1) then 1130 tr_seri(:,:,i_h2so4liq) = max(tr_seri(:,:,i_h2so4liq) 1131 $ + d_tr_sed(:,:,1)*zctime, 1.e-30) 1132 tr_seri(:,:,i_h2oliq) = max(tr_seri(:,:,i_h2oliq) 1133 $ + d_tr_sed(:,:,2)*zctime, 1.e-30) 1134 else if (cl_scheme == 2) then 1135 do iq = nqmax-nmicro+1,nqmax 1136 tr_seri(:,:,iq) = tr_seri(:,:,iq) 1137 $ + d_tr_sed(:,:,iq)*zctime 1138 end do 1139 end if ! cl_scheme 1140 1121 1141 end if ! ok_sedim 1122 1142 end if ! mod(itap,chempas) <------- end of chemistry supercycling 1123 1143 1124 ! update tracers (chemistry)1125 1126 do iq = 1, nqmax - nmicro1127 tr_seri(:,:,iq) = tr_seri(:,:,iq) + d_tr_chem(:,:,iq)*dtime1128 end do1129 1130 ! update tracers (sedimentation)1131 1132 if (ok_sedim) then1133 if (cl_scheme == 1) then1134 tr_seri(:,:,i_h2so4liq) = tr_seri(:,:,i_h2so4liq)1135 $ + d_tr_sed(:,:,1)*dtime1136 tr_seri(:,:,i_h2oliq) = tr_seri(:,:,i_h2oliq)1137 $ + d_tr_sed(:,:,2)*dtime1138 else if (cl_scheme == 2) then1139 do iq = nqmax-nmicro+1,nqmax1140 tr_seri(:,:,iq) = tr_seri(:,:,iq) + d_tr_sed(:,:,iq)*dtime1141 end do1142 end if ! cl_scheme1143 end if ! ok_sedim1144 1144 !==================================================================== 1145 1145 ! End Case 3: Full chemistry and/or clouds.
Note: See TracChangeset
for help on using the changeset viewer.