Changeset 3400 for trunk/LMDZ.MARS/libf
- Timestamp:
- Aug 6, 2024, 6:39:29 PM (5 months ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F90
r3369 r3400 207 207 endif 208 208 endif 209 !EV profile210 ! IF(atm_wat_profile.eq.2) THEN211 ! DO ilayer=1,16212 ! q(1,ilayer,igcm_h2o_vap)=min(zqsat(ilayer),6e-5)213 ! ENDDO! ilayer=1,16214 ! DO ilayer=17,22215 ! q(1,ilayer,igcm_h2o_vap)=min(zqsat(ilayer),3e-5)216 ! ENDDO! ilayer=17,22217 ! DO ilayer=23,nlayer218 ! q(1,ilayer,igcm_h2o_vap)=0219 ! ENDDO! ilayer=23,nlayer220 ! endif221 209 endif 222 210 -
trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F
r3348 r3400 1113 1113 1114 1114 if(.not.watercaptag(ig).and.(.not.adsorption_soil)) then 1115 if ((-zdqsdif_tot(ig)*subtimestep) 1116 & .ge.(zqsurf(ig))) then 1115 if ((((-zdqsdif_tot(ig)*subtimestep) 1116 & .ge.(zqsurf(ig)))) 1117 & .or. 1118 & (((-zdqsdif_tot(ig)*subtimestep) 1119 & .lt.(zqsurf(ig))) 1120 & .and. ((zqsurf(ig).lt.tol_frost)) 1121 & .and.lag_layer)) then 1122 1117 1123 1118 zdqsdif_tot(ig)=-zqsurf(ig)/subtimestep1124 ! zdqsdif_tot(ig)=-zqsurf(ig)/subtimestep 1119 1125 if((h2o_ice_depth(ig,islope).gt.0) 1120 & .and. (zqsurf(ig) .lt. 1e-9)1126 & .and. (zqsurf(ig) .lt. tol_frost) 1121 1127 & .and.lag_layer) then 1122 1128 ! Atm <-> subsurface exchange, we need to update the exchange coefficient zb by a factor 1/1+R; R = zice*Cd,h*/D and add the flux from the subsurface 1123 zqsurf(ig) = 01129 ! zqsurf(ig) = 0 1124 1130 if(old_wsublimation_scheme) then 1125 1131 resist(ig,islope)=h2o_ice_depth(ig,islope) … … 1214 1220 ! in our computation (otherwise, we would not conserve the H2O mass in 1215 1221 ! the system) 1216 1217 1218 1222 if ((-zdqsdif_tot(ig)+zdqsdif_ssi_frost(ig,islope)) 1219 1223 & *subtimestep.ge.(zqsurf(ig))) then … … 1248 1252 zqsurf(ig)= zqsurf(ig)+( 1249 1253 & zdqsdif_tot(ig))*subtimestep 1254 1250 1255 if (zqsurf(ig)<0 .and.(.not.watercaptag(ig))) then 1251 1256 zqsurf(ig)=0 … … 1412 1417 & "Ground ice latent heat flux", 1413 1418 & "W.m-2",surf_h2o_lh(:,iflat)) 1414 call write_output("nsubtimestep",1415 & "Number of subtimesteps in vdifc",1416 & "int",nsubtimestep(:))1417 1419 1418 1420 call write_output('zdqsdif_ssi_frost_tot',
Note: See TracChangeset
for help on using the changeset viewer.