Weathering and particle size#
Mineral dissolution, particle-size evolution and wet surface area.
Created on Mon Dec 16 14:34:44 2019
- smew.weathering.wet_f_Anand(pore_d, pore_pdf, s, d, psd_rock, mixalf=1.0, lmax=None)[source]#
Calculate the nonlinear scaling of the surface area with moisture by computing the fraction of rock-particle surface area in contact with soil water.
Based on Anand et al. (2026), Water Resources Research, doi:10.1029/2025WR041479.
The largest water-filled pore size is obtained by inverting the cumulative soil pore-size distribution at relative soil water saturation s (Equation 2). Rock-powder sizes are mapped to effective pore locations according to the mixing parameter mixalf (Equation 4). The wet surface fraction is then calculated as the normalized cumulative surface area of particles located in water-filled pores (Equation 3).
Continuous interpolation is used when inverting the pore-size distribution and evaluation of the cumulative rock surface area.
- Parameters:
pore_d (array_like) – Soil pore-size grid.
pore_pdf (array_like) – Probability density associated with the pore-size grid.
s (float) – Relative soil moisture or degree of pore saturation [0-1].
d (array_like) – Rock-powder size.
psd_rock (array_like) – Rock-powder number distribution.
mixalf (float, optional) – Rock-soil mixing parameter, where 1 represents perfect mixing and smaller values shift rock-powder particles toward larger soil pores.
lmax (float, optional) – Maximum effective pore location. If not given, max(d) is used.
- Returns:
Fraction of total rock-particle surface area that is wet [0-1].
- Return type:
float
- smew.weathering.normalized_cumulative_area(x, y)[source]#
Construct a normalized cumulative distribution by numerically integrating a nonnegative density over an increasing grid.
The returned cumulative values range from 0 to 1 and are used to represent the pore-size CDF in Equation 2 and the normalized cumulative rock surface area in Equation 3 of Anand et al. WRR (2026).
- smew.weathering.carb_W(CaCO3, MgCO3, Omega_CaCO3, Omega_MgCO3, s, Zr, r_CaCO3, r_MgCO3, tau_CaCO3, tau_MgCO3)[source]#