Changeset 3248 for trunk/LMDZ.MARS
- Timestamp:
- Mar 1, 2024, 3:58:11 PM (9 months ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/changelog.txt
r3245 r3248 4531 4531 Fixing bugs in soilwater (array size and indexes in loop) 4532 4532 4533 == 01/03/2024 == LL 4534 Following -r 3223, re-introduce the possibility to run the subsurface water ice 4535 evolution without adsorption 4536 -
trunk/LMDZ.MARS/libf/phymars/soilwater.F90
r3246 r3248 671 671 ! calculate the absorption coefficient 672 672 Ka2(ig, ik) = kinetic_factor * k_ads_eq2(ig, ik) / (1.D0 + k_ads_eq2(ig, ik) / porosity(ig, ik)) 673 674 elseif (choice_ads.eq.0) then!No adsorption/desorption 675 676 Ka(ig, ik) = 0. 677 Kd(ig, ik) = 0. 678 Ka2(ig, ik) = 0. 679 Kd2(ig, ik) = 0. 673 680 endif 674 681 675 682 ! calculate the amount of water vapor at monolayer saturation ! modified 2020 676 nsat(ig, ik) = adswater_sat_mono * Kd(ig, ik) / Ka(ig, ik) !683 if(choice_ads.ne.0) nsat(ig, ik) = adswater_sat_mono * Kd(ig, ik) / Ka(ig, ik) 677 684 678 685 ! calculate the intercept of the second line in the bilinear function ! added 2020; corrected 2024 … … 1455 1462 1456 1463 ! calculate how close the water vapor content is to saturizing the adsorbed water 1457 preduite(ig, ik) = znsoil(ig, ik) / nsat(ig, ik)1464 if(choice_ads.ne.0) preduite(ig, ik) = znsoil(ig, ik) / nsat(ig, ik) 1458 1465 1459 1466 ! write the results to the return variable -
trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F
r3230 r3248 1100 1100 endif ! of "if exchange = true" 1101 1101 endif ! of "if not.watercaptag" 1102 endif ! adsorption 1102 endif ! adsorption 1103 1103 1104 1104 if(.not.watercaptag(ig).and.(.not.adsorption_soil)) then
Note: See TracChangeset
for help on using the changeset viewer.