1D - Equilibrium dissolution of calcite
The objective of this example is to illustrate how to change porosity and hydraulic conductivity when a solid phase is dissolving. The change in porosity and hydraulic conductivity is described by the linear model for temporal-spatial variability of hydraulic properties using scaling factors.
Description of example
Implementation
Additions to database
Two script functions are defined to account for evolving hydraulic properties:
- InitialCalculation: a script that is executed for each node at the beginning of the transport simulations to calculate the inert solid phase. This is derived from the saturated water content defined in the HYDRUS GUI and the initial amount of calcite.
- UpdateHydraulic: a script that is executed for each node within each time step after the geochemical calculations. It calculates the remaining solid phase and updates porosity, the scaling factor of the water content and the scaling factor of the hydraulic conductivity using the Carman-Kozeny relation.
|
calculate_values ths = transprop("ths") #get porosity from HYDRUS GUI for given node number -end
cal =equi("calcite")*36.9/1000 -end |
GeoChemistry
The amount of calcite is defined with equilibrium_phases data block
The identifier -update hydraulicprop in reactive_transport data block indicates that the scaling factor of the water content and the scaling factor of the hydraulic conductivity are updated during the transport calculations according the calculations done with scripts defined in the calculate_values data block for which -state update is defined.
|
equilibrium_phases 1001
|
Results
Figure - Profiles of calcite content at selected times.