Ignore:
Timestamp:
Jan 6, 2025, 5:13:01 PM (3 weeks ago)
Author:
llange
Message:

Mars PCM
Fixing bug in soilwater: the specific surface area was missing in the
expression of the adsorption rate when choice_ads = 2.
LL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/soilwater.F90

    r3274 r3568  
    681681                        ! first segment of the bilinear function (before monolayer saturation)
    682682                        ! calculate the equilibrium adsorption coefficient
    683                         k_ads_eq(ig, ik) = 8.314D0 * ptsoil(ig,ik)/18.D-3 *Kref * dexp(DeltaQ_ads / 8.314D0 *  &
     683                        k_ads_eq(ig, ik) = 8.314D0 * rho_soil(ig, ik) * S * ptsoil(ig,ik)/18.D-3 *Kref * dexp(DeltaQ_ads / 8.314D0 *  &
    684684                              (1.D0 / ptsoil(ig, ik) - 1.D0 / Tref)) !  Changed enthalpy_ads to DeltaQ_ads to ensure correct dependance/behaviour of k_ads_eq with temperature
    685685
     
    692692                        ! second segment of the bilinear function (after monolayer saturation) ! added 2020
    693693                        ! calculate the equilibrium adsorption coefficient
    694                         k_ads_eq2(ig, ik) = 8.314D0 * ptsoil(ig,ik)/18.D-3 * Kref2 * dexp(DeltaQ_ads2 / 8.314D0 *  &
     694                        k_ads_eq2(ig, ik) = 8.314D0 * rho_soil(ig, ik) * S * ptsoil(ig,ik)/18.D-3 * Kref2 * dexp(DeltaQ_ads2 / 8.314D0 *  &
    695695                              (1.D0 / ptsoil(ig, ik) - 1.D0 / Tref)) ! Changed enthalpy_ads2 to DeltaQ_ads2 to ensure correct dependance/behaviour of k_ads_eq with temperature
    696696
Note: See TracChangeset for help on using the changeset viewer.