Changeset 3248 for trunk/LMDZ.MARS


Ignore:
Timestamp:
Mar 1, 2024, 3:58:11 PM (9 months ago)
Author:
llange
Message:

Mars PCM
Following -r 3223, re-introduce the possibility to run the subsurface water ice evolution without adsorption
LL

Location:
trunk/LMDZ.MARS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/changelog.txt

    r3245 r3248  
    45314531Fixing bugs in soilwater (array size and indexes in loop)
    45324532
     4533== 01/03/2024 == LL
     4534Following -r 3223, re-introduce the possibility to run the subsurface water ice
     4535evolution without  adsorption
     4536
  • trunk/LMDZ.MARS/libf/phymars/soilwater.F90

    r3246 r3248  
    671671                        ! calculate the absorption coefficient
    672672                        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.
    673680                  endif
    674681                 
    675682                  ! 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)
    677684
    678685                  ! calculate the intercept of the second line in the bilinear function ! added 2020; corrected 2024
     
    14551462                 
    14561463                  ! 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)
    14581465                 
    14591466                  ! write the results to the return variable
  • trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F

    r3230 r3248  
    11001100                     endif  ! of "if exchange = true"
    11011101                 endif  ! of "if not.watercaptag"
    1102               endif ! adsorption
     1102              endif ! adsorption         
    11031103
    11041104             if(.not.watercaptag(ig).and.(.not.adsorption_soil)) then
Note: See TracChangeset for help on using the changeset viewer.