WorksPhysics and Astronomy
A Conservative Darcy-Brinkman-Stokes Formulation for PHREEQC-Coupled Reactive Transport with Cell-Based Surface Complexation
Abstract
We present a mass-conservative Darcy-Brinkman-Stokes (DBS) formulation for reactive transport with cell-based surface complexation in image-based porous media, coupled to PHREEQC and implemented in GeoChemFoam, an OpenFOAM-based toolbox. Dissolved species are transported in the physical mobile-water fraction, adsorbed species are stored as conservative cell-scale surface inventories, and each reactive cell is coupled to PHREEQC. Reactive surface area is prescribed independently as a cell field, so that internal area left unresolved by segmentation of microporous phases can be represented while DBS flow and transport are retained in the resolved pore space. The implementation is verified with a test suite that isolates the coupling of transport and chemistry from the construction of reactive surface area. Aqueous and adsorbed mass balance is evaluated against a one-dimensional analytical retardation benchmark and closed-system batch calculations. The smooth-interface surface-area algorithms are tested on idealised two- and three-dimensional geometries. In a two-scale lithium micromodel, DBS reproduces fully resolved aqueous and sorbed inventories within 0.6% across Pe=0.1-10. The applications comprise Pb2+ retardation by hydrous ferric oxide coatings in a two-dimensional fracture network, competitive Mn2+/Mg2+ exchange in a three-dimensional Kelvin-cell sorbent, and Sr2+/Ca2+ exchange in Estaillades limestone. In the fracture-network and limestone cases, the formulation yields spatially resolved aqueous and adsorbed inventories even where reactive surface area is only partly resolved at the image scale. The framework therefore supports conservative surface-complexation modelling in both resolved and unresolved pore structures, with relevance to contaminant retention, selective ion capture, and radionuclide transport.
Article Highlights
A cell-based method links pore-scale flow, solute transport, and surface chemistry.
Dissolved and surface-bound species enter the same local mass balance.
One surface-area field combines visible interfaces with unresolved internal area.
Introduction
Chemical exchange between the flowing aqueous phase and the solid matrix governs the transport of dissolved species in porous media alongside advection and diffusion. In many subsurface systems this exchange proceeds by surface complexation, ion adsorption, and fast local equilibrium reactions, which retard dissolved species, reshape concentration fronts, and alter the apparent accessibility of pore space [10]. The effects are strongest in multi-scale rocks that combine open macropores with microporous matrix regions, where a single image may contain fast transport pathways, slow exchange domains, and a large internal reactive area that the image cannot resolve [22]. The same physics governs contaminant retention and acid mine drainage treatment [3] (Webster et al. 1998), critical-mineral recovery and direct lithium extraction [32] (Vera et al. 2023), and radionuclide transport for geological disposal [23, 9, 2], in all of which selective adsorption or ion exchange may be controlled by surface area that is not resolved at the image scale.
Three classes of models are available, and each is limited in a different way. Classical Darcy-scale reactive transport models represent adsorption and surface complexation through effective source terms, bulk sorption coefficients, or equilibrium closures applied to the continuum volume [39, 38, 19, 13] (Steefel et al. 2015; Xu et al. 2006). They remain indispensable for large-domain prediction, but they require constitutive upscaling assumptions for both transport and reactive surface area, and they cannot reproduce the spatial heterogeneity of surface inventory that image-based data make visible [1]. Fully resolved pore-scale models, including direct numerical simulation [26, 24, 25, 37], lattice Boltzmann methods [12] (Yoon et al. 2015), and explicit-boundary DBS approaches [14, 15, 35], instead locate reactive uptake at the meshed grain surface. This is appropriate when the dominant surface area coincides with the resolved interface between pore and grain, but it is bounded by image resolution: once internal micro-scale area falls below the mesh scale, a boundary-resolved description is no longer faithful to the physical geometry, and the cost of resolving it rises steeply. Pore-network and other reduced pore-scale models occupy a middle ground [4], but they depend on idealised throat-and-pore representations and do not deliver the voxel-by-voxel field description used in image-based DBS simulations.
The consequences are specific in image-based simulations of carbonate and other multi-scale porous media [20, 21, 22, 5] (Wildenschild and Sheppard 2013). Segmented images routinely separate macropore, microporous, and nearly solid regions, but the reactive internal surface of the microporous phase is not the same object as the explicitly meshed boundary of the coarse computational cells. Ignoring that internal area under-predicts reactive uptake. Inserting it as an ad hoc volumetric sink leaves both the conservation properties and the meaning of the cell-scale surface inventory unclear.
PHREEQC and its reaction-module form, PhreeqcRM, already provide the required chemistry: aqueous speciation, surface complexation, equilibrium and kinetic reactions, and operator-split coupling to transport simulators [29, 30, 8]. Existing PHREEQC-coupled workflows serve structured-grid continuum models and operator-split multi-component solvers well [11]. The open question is how to embed that engine in a transport formulation consistent with unresolved image-based geometry. The closest existing approach is porousMedia4Foam [36, 31], which couples a micro-continuum OpenFOAM solver to PHREEQC at pore, hybrid, and Darcy scales, but which applies chemistry through kinetic or equilibrium flux conditions at the diffuse fluid-solid interface. It therefore inherits the limitation of the fully resolved methods, in that the reactive surface must overlap the resolved computational boundary, and it draws no explicit distinction between the numerical DBS porosity used to regularize transport and the physical mobile-water fraction that governs chemistry. Earlier PHREEQC-coupled cases within GeoChemFoam itself [16, 18] share this restriction: they support reactive transport and surface complexation where the reactive surface coincides with an explicit mesh boundary, which remains valid but does not cover the case in which the dominant reactive area lies inside the coarse cell.
In this work we develop a DBS-compatible reactive transport formulation in which the reactive surface is a property of the cell rather than of the mesh boundary. Aqueous transport is written for the physical mobile-water fraction; unresolved reactive surface area is prescribed as a cell field and carried as a cell-centred adsorbed inventory; local PHREEQC chemistry transfers mass conservatively between the aqueous and adsorbed states; and no heuristic redistribution of source terms is used. Two consequences follow. The numerical DBS porosity and physical mobile-water fraction have distinct roles: the former sets flow resistance [34], whereas the latter sets aqueous storage and chemical solution volume. The saturated calculations reported here use the same numerical field for both quantities. The surface inventory is defined separately at cell centres and driven by an unresolved internal surface-area density, rather than reconstructed on mesh faces. Together these choices let the method act on microporous matrix regions instead of only on explicitly resolved boundaries between pore and grain. The governing equations are posed on general finite-volume meshes; the image-based cases used here are the motivating application.
The solver that results, reactiveTransportDBSFoam, couples conservative DBS transport to PHREEQC-based surface complexation at the cell scale. A one-dimensional retardation benchmark compares the coupled advection, diffusion, and sorption response with a boundary-matched finite-domain reference, while closed-system batch calculations calibrate the dilute surface response and test the aqueous and adsorbed mass balance. The surface-area algorithms are verified on controlled geometries of known area and on image-based micromodels, and a resolved-to-DBS two-scale benchmark of selective uptake tests whether the upscaled cell-based description reproduces a fully resolved calculation of the same system. The formulation is then applied to three image-based geometries of increasing complexity: uptake on hydrous ferric oxide (HFO) in a two-dimensional fracture network, as an analogue for heavy-metal remediation in fractured aquifers and permeable reactive barriers; selective uptake from a -rich brine on HFO in a three-dimensional Kelvin-cell sorbent, as an analogue for critical-metal capture; and migration in Estaillades limestone, as an analogue for radionuclide transport in a deep geological repository (DGR). Together these cases determine how resolved pore geometry and unresolved internal surface area interact to control the spatial distribution of aqueous and adsorbed species in multi-scale porous media.
Model Description
Field Definitions
The DBS micro-continuum formulation ([6, 34, 33]) represents the pore medium as a continuum in which a cell-centred porosity field varies smoothly from zero (solid) to unity (open pore). The steady incompressible flow is governed by the Darcy-Brinkman equations:
where is the Darcy velocity, is the fluid viscosity, is an effective viscosity that smoothly recovers the Stokes equation in open-pore cells ([34]), and is a permeability function. The drag coefficient therefore acts as a large resistance term in solid-like cells and vanishes in open-pore cells, so Eq. (2) reduces to the Stokes equation.
For an image-derived cell, let be the geometric fraction of source voxels assigned to segmented phase , with , and let be the end-member porosity assigned to that phase. The cell DBS porosity is
The fraction describes phase occupancy, whereas specifies the water-filled fraction of that phase. A cell wholly occupied by a microporous phase therefore has and . Nominal solid is assigned a small non-zero porosity as a numerical DBS floor.
The mobile-water fraction is the mobile-water volume per bulk cell volume. It governs aqueous storage, diffusion, and PHREEQC solution volume, whereas governs DBS flow resistance and relates intrinsic velocity to Darcy velocity. The saturated calculations reported here set in chemically active cells. Cells with are excluded from chemistry.
Reactive surface area is specified independently as the cell-centred bulk-volume density (). All aqueous species, , , and adsorbed surface fields are cell-centred; transport fluxes are evaluated on cell faces.
Reactive Surface Area Field
Reactive area is present only for selected interfaces and phases assigned a non-zero intrinsic density. Its resolved and unresolved contributions are carried in the fixed cell-centred field (units: ), the sum of two terms:
The interface term is reconstructed for an ordered pair of segmented labels. One label is the owner and the second is the other phase; their union restricts the extracted interface, and the owner identifies the side used for area assignment. In occupancyGaussian, the Gaussian-filtered owner indicator is normalised by the Gaussian-filtered pair mask, and the 0.5 level is extracted.
Three-dimensional triangle area is divided by bulk cell volume to obtain . In quasi-two-dimensional images, contour length is multiplied by physical out-of-plane thickness before division by cell volume. For quasi-two-dimensional cell-field construction, occupancyGaussian uses weighted redistribution over owner-side first-shell contact cells. Pieces with empty support contribute zero area to the deposited field. Detailed support and partition rules are given in Online Resource 1.
The interface term captures only boundaries between grain and fluid that are visible at the resolved image scale. It does not detect reactive area that lies entirely within a voxel, such as sub-voxel surface roughness of a grain or the internal pore network of a microporous phase. Those surfaces are below the image resolution by construction.
The second term, , accounts for this sub-voxel contribution. An end-member surface density (units: m m) is prescribed per unit volume of each segmented phase (for example pore, micropore, or dense solid). It may represent sub-voxel surface such as the Brunauer-Emmett-Teller (BET) surface area of a microporous grain measured by N adsorption, or the surface roughness of a dense solid grain measured on powdered material. Mass-specific measurements are converted to phase-volume densities using the corresponding mass per unit phase volume.
The intrinsic contribution is assembled by weighting each phase density by its geometric fraction within the computational cell:
Thus converts the phase-volume density to a bulk-volume cell contribution. A density already expressed per bulk cell volume represents that contribution directly. The segmented image supplies , whereas is prescribed from complementary measurements or finer-scale characterisation.
may be non-zero for any label, including labels selected for interface reconstruction. The same segmented label may contribute through both terms: gives the image-scale outer surface of the grain, and adds the sub-voxel surface area that the image resolution cannot capture. If for all labels, the total reduces to the purely geometric image-scale surface. Both contributions are pre-computed using the segmented image and prescribed phase properties before the flow simulation begins and are held constant throughout the reactive-transport calculation.
Both contributions enter the geochemical module through the same bulk-volume field. The phreeqcMixture builds used for the reported calculations supply surface area per representative bulk litre to PHREEQC as
For surface master , the site density (mol m) gives a surface-master inventory per bulk volume of (mol m). These conversions use the bulk-volume basis without division by .
Surface areas estimated from nano-computed tomography (nano-CT), micro-computed tomography (micro-CT), focused ion beam scanning electron microscopy (FIB-SEM), or other image data are first expressed on a bulk-volume basis (m m), consistent with Eqs. (4) and (5). Image-derived surface areas reported per microporous-phase volume or per grain mass are converted to this bulk-volume basis before Eq. (6) is applied.
The same fixed porosity field is used for DBS transport and for the PHREEQC solution volume. Cells in which falls below the chemistry mask threshold are treated as chemically inactive and their surface terms are suppressed.
Conservative Aqueous Transport
For each aqueous species with concentration , the conservative DBS transport equation is written as
where is the Darcy velocity satisfying Eqs. (1) and (2), and denotes the diffusivity used in the transport equation. In fully resolved macro-pore cells (), is the free molecular diffusivity. In cells that represent microporous material (), is interpreted as an effective diffusivity, commonly , where is the molecular diffusivity and is the tortuosity factor of the micropore network. In either case, the factor multiplying in the diffusion term accounts for the reduced water volume available for transport. Reactions enter through the operator-split PHREEQC step described below, not as a source term in this equation.
For a vector of aqueous species , the same balance is
where collects the species diffusivities. This notation is used for the split operators below.
Cell-Based Surface Inventory
For the cell-based unresolved surface carried by the DBS formulation, the conservative local inventory is expressed in the current solver field variables as
where is the cell-centred surface-species concentration (mol m of reactive surface). The first term is the aqueous amount per bulk volume, the second the adsorbed amount per bulk volume. Porosity enters the aqueous term once, and the bulk-based surface-area field carries no porosity scaling.
For multiple surface species the local bulk inventory is the sum of the aqueous and adsorbed contributions over species; single-species notation is used below.
Local Chemistry Coupling
The chemical update is local to each cell. Over one cycle of transport and chemistry, the transport step first advances the aqueous species in conservative finite-volume form. The updated cell state, together with the mobile-water fraction and cell-based surface state, is then mapped into PHREEQC ([29]) via the PhreeqcRM interface ([30]). PHREEQC solves the local chemistry at thermodynamic equilibrium, treating surface complexation as instantaneous relative to transport within each timestep. This holds when the surface equilibration time is short compared with the time for advection and diffusion across a cell. The same interface supports kinetic surface reactions, which are not used here. The solver uses first-order Lie splitting ([7]). The splitting introduces a global error of in the operator-split solution; the local error over one step is . For the timesteps used here, the advective Courant-Friedrichs-Lewy (CFL) number remains , so the operator-splitting error is of the same formal order as the first-order transport discretisation. The resulting algorithm keeps the conservative transport update and the local PHREEQC equilibrium update as distinct operators within each timestep.
At the algorithmic level, one timestep of size is:
where is the conservative finite-volume transport operator (advancing in DBS form) and is the local PHREEQC equilibrium operator that updates both aqueous and surface states simultaneously within each cell.
Analytical Dilute Limit
In the dilute linear-equilibrium limit, surface complexation reduces to a Henry-type isotherm. The standard Henry coefficient is (units: m), the ratio of surface concentration (mol m) to aqueous concentration (mol m):
is obtained from a pair of batch equilibrations at two aqueous concentrations, , which returns the coefficient in the field units used by the retardation formula.
Substituting into the inventory Eq. (9) and taking the time derivative yields the retarded 1D transport equation
The corresponding retardation factor is
Both and can vary spatially, so Eq. (14) also gives the local retardation at any point in a heterogeneous domain. The classical semi-infinite advection–diffusion solution follows Ogata and Banks [28]. For comparison with the finite 1D calculation, the reference problem is instead evaluated on with the same fixed-concentration inlet and zero-gradient outlet as the numerical case, using the effective velocity and diffusivity .
Numerical Implementation
The implementation couples conservative Darcy-Brinkman-Stokes (DBS) transport with cell-centred PHREEQC chemistry and cell-based surface complexation in a single operator-split formulation.
Field Locations and Discretisation
All chemistry-bearing state is cell-centred. The solution species, , , and the adsorbed surface-species fields are stored at cell centres, as is the Darcy velocity . Transport uses face interpolation to assemble conservative fluxes on cell faces, while surface chemistry is evaluated as a cell-local update. The additive decomposition of into interface and intrinsic contributions is defined in § 2.2 (Eqs. (4) and (5)).
Time integration uses the first-order implicit Euler scheme, matching the first-order Lie splitting of the transport and chemistry operators. The convective term is discretised with the standard first-order upwind scheme, which is bounded and monotone on the unstructured image-based meshes. The diffusive term uses a second-order Gauss linear scheme. The Cartesian image cases run without non-orthogonality correction, which their orthogonal grids do not require. The combination is first-order accurate in both time and space for advection-dominated transport.
PHREEQC Coupling
The reported calculations use reactiveTransportDBSFoam with mixtureType phreeqcMixture in constant/thermoPhysicalProperties. This mixture wraps the PhreeqcRM interface [30]. At initialisation, each active computational cell is registered as a separate PHREEQC solution. When surface complexation is active, a PHREEQC SURFACE block is also created for each reactive cell. For surface master , its capacity per representative bulk volume is
where (mol m) is the user-prescribed site density for surface master species . The OpenFOAM dictionary stores in kmol m, following the native OpenFOAM amount unit; it is therefore multiplied numerically by when interpreted as mol m. Each surface-master density is supplied as an OpenFOAM field, allowing spatially heterogeneous site densities.
The total field is computed before the simulation begins (§ 2.2), written as an OpenFOAM volume field, and read explicitly by reactiveTransportDBSFoam. It is held constant throughout the reactive-transport calculation; it is not updated by the flow or chemistry solvers. The area and site capacity are transferred when the per-cell PHREEQC surface templates are created and remain internal to PhreeqcRM during the time loop. Consequently, the present implementation supports spatially heterogeneous but time-independent and ; changing either field during reactive transport would require rebuilding the PHREEQC surface state. The surface mode is optional and reduces exactly to aqueous-only mode when everywhere.
The interface algorithms, owner support, and case-specific parameters are given in § 2.2 and Table 1. Both the 2D line-length–thickness route and the 3D triangle-area route produce in for the same cell-local PHREEQC mapping.
| Case | (vox) | Pair (owner other) |
| Circular post | 1.50 | exterior/pore 255 post/solid 0 |
| Sphere | 0.75 | exterior/pore 255 sphere/solid 0 |
| HM12 solid-grain DBS | 0.75 | pore 255 solid 0 |
| 2D four-fracture | 0.75 | micropore 1 pore 2 |
| 2D Kelvin | 0.75 | micropore 2 pore 1 |
| 3D Estaillades | 0.74 | pore 1 solid 3 |
| 3D external area | 0.74 | pore 1 remapped solid 3 |
Table 1. Interface reconstruction parameters. All cases use occupancyGaussian with an isovalue of 0.5. The ordered pair is owner other; the owner defines the indicator used for reconstruction. In cell-field constructions, reconstructed area is assigned on the owner side.
Cells with negligible mobile-water fraction ( epsChemistryMin) are excluded from the fixed finite-volume-to-PhreeqcRM mapping and do not contribute to chemistry.
The chemistry update is local to each mapped cell. Each solver process constructs PhreeqcRM with one worker thread, and OpenFOAM domain decomposition provides process-level parallelism. The runCells() call advances the chemistry cells held by that process.
Per-Timestep Algorithm
At startup, reactiveTransportDBSFoam reads the fixed porosity, velocity, pressure, aqueous-species, and total surface-area fields. The phreeqcMixture constructor establishes a fixed mapping between active finite-volume cells and PhreeqcRM cells and caches the surface-area and site-capacity data. Unless checkpoint restoration is explicitly requested, the chemistry state is initialised from the written aqueous and surface fields at the selected start time. When phreeqcRestoreCheckpoint is enabled, a complete matched checkpoint restores the serialised PhreeqcRM state; restoration fails if either checkpoint component is absent or inconsistent.
At each timestep, the aqueous transport equations are advanced in conservative DBS form using the implicit Euler upwind discretisation described above. A single call to speciesMixture.correct() transfers the updated aqueous and surface fields to PhreeqcRM, refreshes the fixed porosity values, clips negative aqueous inputs to zero subject to a fail-fast relative added-mass limit, executes runCells(), and copies the equilibrated aqueous and surface species back to the finite-volume fields. At configured output times, checkpoint-enabled runs write the aqueous and surface fields together with the corresponding rank-local PhreeqcRM checkpoint and publish its completion marker only after the field write succeeds. Conservation is assessed from the written fields using the domain-integrated bulk inventory , where is the cell volume. In a closed domain this quantity should remain constant to within discretisation error; in a flow-through domain it should balance the net flux through the inlet and outlet faces.
Figure 1 illustrates the algorithm. Solver selection is made through mixtureType: the surface-complexation cases use phreeqcMixture, whereas the upstream kinetic-mineral formulation uses inertMultiComponentMixture. The chemistry state remains cell-centred throughout the loop: transport acts through the aqueous face fluxes, while PHREEQC updates the cell-local aqueous and adsorbed inventories after each transport solve. The unresolved surface reaction stays a cell-local update rather than an equivalent face flux.

Figure 1. Source-traced solution procedure for reactiveTransportDBSFoam with phreeqcMixture. The constructor establishes the active-cell mapping and initial PhreeqcRM state. Each timestep advances all aqueous species in conservative DBS form, after which speciesMixture.correct() transfers the aqueous and surface state to PhreeqcRM, executes runCells(), and returns the updated species fields. At output times, it writes the fields and, when enabled, a matching complete PhreeqcRM checkpoint.
Validation
The validation ladder separates four questions. The closed-batch and transient 1D benchmarks separately test conservative aqueous–surface state transfer and coupled reactive transport independently of image geometry. Controlled geometric tests then verify how the reactive surface-area field is constructed from segmented images, and image-based micromodel comparisons put that same construction to work in reactive transport. A resolved-to-DBS multiscale micromodel benchmark closes the ladder by testing whether the upscaled surface-area representation preserves sorption-controlled transport when part of the image is treated as an unresolved reactive matrix.
For the image-derived geometric benchmarks, snappyHexMesh provides the resolved-wall reference: an established OpenFOAM route to a body-fitted mesh from a segmented interface between pore and solid, on which reactive area and surface inventory can be evaluated directly. Its practical range sets the range of the comparison. Meshing becomes unreliable or fails for the segmented volumes considered here once the image size reaches order voxels, and the snapped mesh carries no unresolved DBS matrix volume or intrinsic sub-voxel area as a cell-supported inventory. The DBS surface-area fields are therefore compared against the resolved-wall area distribution and sorption response wherever an explicit-wall reference can be generated.
For validation quantities compared without independent normalization, we report the physical-measure-weighted relative discrepancy,
The weights represent the appropriate pore volume, bulk-cell volume, interfacial area, or streamwise-bin width. When each is already an integrated bin inventory, . Quantities defined on different numerical supports are conservatively projected onto common physical bins before comparison. For integrated inventories, quantifies relative disagreement in total amount, while the signed relative difference indicates over- or underprediction. Streamwise quantifies disagreement in the axial inventory distribution while retaining disagreement in total amount. Spatial quantifies disagreement in the two-dimensional inventory distribution at the common-bin scale.
For the two-scale streamwise profiles, we additionally report the independently normalized shape discrepancy,
where is the inventory in a common streamwise bin. This measure compares the axial distribution after removing differences in total inventory; the signed inventory differences are reported separately.
1D Retardation Benchmark
The 1D linear-retardation benchmark tests the surface-chemistry coupling on a uniform domain where the retardation factor has an exact analytical form. With uniform mobile-water fraction and surface-area density , the retardation coefficient is , and the retarded concentration front satisfies the advection–diffusion equation with effective velocity and effective diffusivity . This configuration isolates the batch calibration of , the cell-based surface-capacity term, and the advective–diffusive transport step. It compares a surface-enabled transport case, a matched aqueous-only case (), and the dilute batch pair used to estimate by a secant between two equilibrium states.
The retained batch pair gives and , so the surface-enabled front travels at of the aqueous-only front velocity. The transport mesh contains cells and uses a species diffusion coefficient of .
Spatial profiles at s are compared with the classical semi-infinite Ogata–Banks solution [28]. Outlet breakthrough is compared with a high-resolution finite-domain reference evaluated with the same fixed-concentration inlet and zero-gradient outlet as the OpenFOAM case.
The mesh- and timestep-refinement study in Online Resource 1 shows approximately first-order convergence. Relative to the finest combined result, the reported discretisation gives profile differences of and for the surface-enabled and aqueous-only cases, respectively. These differences quantify the combined spatial, temporal, and sequential-coupling errors without conflating them with an unmatched outlet condition.
Figure 2 shows the spatial profiles at s, and Figure 3 shows outlet breakthrough to s. The surface-enabled front travels at of the aqueous-only velocity, giving advective breakthrough times of 37.0 and 20.0 s, respectively, consistent with the calibrated retardation factor. The finite-domain reference captures the earlier outlet rise caused by the zero-gradient boundary. The semi-infinite Ogata–Banks curves are also shown: their difference from the finite-domain reference isolates the effect of the outlet boundary condition.

Figure 2. 1D retardation benchmark: spatial profiles at s. Left: normalised aqueous Ca profiles for the aqueous-only and surface-enabled runs, compared with the corresponding cell-averaged semi-infinite Ogata–Banks solutions. Inset errors are measured relative to these semi-infinite profiles. Right: normalised adsorbed amount compared with the linear-equilibrium reference constructed from the batch-calibrated and the retarded Ogata–Banks profile.

Figure 3. 1D outlet breakthrough curves. Symbols show the outlet-patch area-averaged normalised by the inlet concentration for the aqueous-only and surface-enabled runs. Dashed lines are high-resolution finite-domain references with the same inlet and outlet conditions as the numerical cases. Dash-dot lines show the semi-infinite Ogata–Banks solutions; their difference from the dashed curves illustrates the effect of the finite-domain outlet condition. Vertical dotted lines mark the advective breakthrough times (aqueous-only) and (surface-enabled).
Closed-System Calibration and Batch Balance
The closed-batch pair serves two purposes. Its two equilibrium states provide the secant coefficient used throughout the 1D benchmark, and each state tests whether one OpenFOAM–PhreeqcRM chemistry update preserves Ca while repartitioning it between the aqueous and cell-based surface stores. With no flow, diffusion, or boundary flux, conservation requires
where is the aqueous concentration and is the adsorbed amount per reactive area. Let denote the aqueous concentration at the start of the chemistry update and the corresponding initial adsorbed amount per reactive area. In a consistent SI basis, is in , in , and in of bulk volume. OpenFOAM stores the same fields in and ; multiplying both amount fields by leaves the balance unchanged, and the numerical value of is identical to . In the dilute linear limit, Eq. (17) gives
The two calculations use an 80 1 1 mesh, , , and the same chemistry on Surf_a as the transport benchmark. The scripted initial aqueous values are and , numerically equal to and equivalent to and on the SI basis of Eq. (17). Before the chemistry update, the surface is initialised from the dilute SOLUTION 1 state, giving . The retained equilibrium pair gives . Using , the signed relative inventory changes are and ; the maximum magnitude is below . These conservation residuals are calculated from fields written to 16-digit precision. The test detects errors in the water-volume, surface-area, amount-unit, and field-mapping conversions across the OpenFOAM–PhreeqcRM interface, any of which can create or remove field-level Ca inventory even when PHREEQC executes successfully.
Controlled Surface-Area Validation
The first geometric validation step isolates the construction of from transport and chemistry by using analytic curved interfaces. Two cases are used so that both dimensional branches of smoothSurface are tested. The 3D branch is evaluated on a voxelised sphere with reference area ; the quasi-2D branch is evaluated on a circular post with reference area , where is the out-of-plane thickness. These benchmarks test how closely each image-based surface-area construction reproduces the intended smooth interface.
The smooth-interface reconstruction recovers a sub-voxel interface before mapping its area back into the DBS cells. The figure reports four resolutions, , 16, 32, and 64. For the 3D sphere, using a Gaussian occupancy width of voxels, the smoothSurface errors are , , , and , respectively. The body-fitted snappyHexMesh comparator remains within approximately 1%; its errors at and 64 are and . For the quasi-2D circular post, using voxels, the smoothSurface contour-length error remains within 0.2% across the same four resolutions, while the largest snappyHexMesh error is below 0.1%. The circular-cylinder and sphere tests involve different surface curvatures and body-fitted discretisations, so their snappyHexMesh errors need not coincide. Neither smooth-interface curve decreases monotonically to zero. These controlled tests therefore establish branch- and parameter-specific bounded error over the plotted range, not convergence or a common accuracy level for the quasi-2D and 3D constructions.
Micromodel Image-Based Surface-Area Comparison
The image-based test moves from analytic geometry to a reactive micromodel for which no exact surface-area reference exists. It compares two representations of the same segmented geometry: a resolved-wall snappyHexMesh calculation and DBS smoothSurface. The resolved-wall calculation is a numerical comparator. The comparison tests whether the two surface representations give similar integrated area and reactive-transport observables after matching the inlet volumetric flux.
The resolved-wall and DBS results represent the image-derived geometry with different numerical objects. In the snappyHexMesh case, the geometry is a body-fitted wall and its face area is mapped to the adjacent chemistry cells as an explicit surface-area density. In DBS, the same area is obtained from the image-based smooth-interface reconstruction. Surface complexation in both cases therefore samples a cell-supported area density together with the local aqueous concentration. The pressure drops are calibrated separately to match the inlet volumetric flux. The comparison is made on the integrated reactive area, its spatial distribution, the aqueous transport profile, and the resulting sorbed inventory. Because wall faces and Cartesian reconstruction cells carry area on different supports, a sub-cell displacement can produce order-unity local relative differences or a zero denominator even when nearby interfaces and integrated areas agree. Local maps are therefore interpreted as area redistribution, while totals and common streamwise bins provide the quantitative comparison.
For the resolved-wall snappyHexMesh reference, the integrated reactive area is , compared with for DBS smoothSurface, an error of . The separately calibrated pressure drops give inlet volumetric fluxes that agree within . At , the dissolved inventory differs by and the streamwise aqueous-inventory-profile discrepancy is . The DBS sorbed inventory differs by . The integrated area, dissolved inventory, streamwise profile, and sorbed inventory therefore quantify the agreement between the two numerical representations; the local area distributions remain support-dependent.
Table 2 summarises the global errors for the same comparison. The aqueous profile discrepancy is evaluated from aqueous inventory conservatively accumulated into common streamwise bins.
| Method | Dissolved inventory [%] | Surface area [%] | Sorbed inventory [%] | Aqueous profile [%] |
| DBS smoothSurface | −0.07 | +1.48 | +1.68 | 5.11 |
Table 2. Micromodel differences relative to the resolved-wall snappyHexMesh comparator at . Inventory and area differences are signed relative differences with snappyHexMesh as the numerical denominator; the aqueous profile discrepancy is the relative measure in Eq. (16).
3D External Surface-Area and Transport Comparison
The same resolved-wall/DBS method comparison is then applied to a three-dimensional image crop. A -voxel Estaillades subvolume is used, with the micropore label remapped to solid so that the comparison isolates the external surface between pore and grain. The two cases use the same surface-complexation chemistry and separately calibrated pressure drops to match the Darcy velocity: a resolved-wall snappyHexMesh comparator and DBS smoothSurface. The reactive-transport comparison is made at s, for which the advective front has traversed approximately half of the crop under the resolved-wall Darcy velocity. For this external-surface validation, the smoothSurface Gaussian occupancy width is voxels.
The 3D comparison separates three quantities that affect the reactive result: the DBS flow field, the integrated external area, and the sorbed inventory that follows from their local overlap. The calibrated Darcy velocities agree within 1.12%. Relative to the resolved-wall comparator, the smoothSurface integrated reactive area is 1.52% greater and the sorbed inventory is 1.84% lower. These global differences quantify agreement between the two numerical representations on their native supports.
Resolved-to-DBS Two-Scale Sorption Benchmark
The unresolved-matrix component of the DBS model is tested by comparing an upscaled DBS representation with an aligned, fully resolved micromodel based on the multiscale images used in the dispersivity study of Maes and Menke [17]. The resolved reference uses a high-resolution crop of the micromodel in which the matrix pore space is explicitly represented. The DBS calculation uses the corresponding lower-resolution image of the same physical region, in which the large vugs remain resolved while the matrix phase is assigned porosity, permeability, effective dispersion, and intrinsic reactive surface area from the high-resolution matrix representative elementary volume. The matrix permeability provides the unresolved flow resistance; the effective permeability of the complete domain also depends on the geometry and connectivity of the resolved vugs. For the mm micromodel examined by Maes and Menke [17], a matrix permeability of m yielded a whole-domain permeability of m in both the fully resolved and DBS calculations, equal at the reported precision.
Figure 7 shows the aligned geometry hierarchy used for this comparison. The upscaled DBS and resolved-reference transport domains have the same physical size, while the matrix representative elementary volume provides the unresolved matrix properties used in the DBS calculation.

Figure 7. Nested geometry construction for the resolved-to-DBS two-scale micromodel benchmark. (a) DBS upscaled transport domain, where the large vugs are resolved and the matrix phase is represented by averaged properties. (b) Resolved reference transport domain over the same physical length and height, with the matrix pore space explicitly represented. (c) High-resolution matrix representative elementary volume used to assign the unresolved matrix porosity, permeability, dispersivity, and intrinsic reactive surface area in the DBS calculation.
The reactive-transport problem is formulated as a critical-mineral recovery analogue for direct lithium extraction. A Li-bearing Na-K-Mg brine invades an initially Li-free brine, and competes with the major brine cations for a generic sorbent site:
Parallel reactions for , , and provide competing surface occupancy. The chemistry is generic, representing a Li-selective surface-complexation benchmark for engineered sorbent coatings rather than a specific commercial direct-lithium-extraction material.
The resolved and DBS cases are simulated at matched pore-scale Péclet number,
where is the Darcy velocity, is the pore length scale reported by the flow post-processing, is the aqueous diffusion coefficient, and is the porosity. Evaluating using the corresponding , , , and for each case places the comparison at the same relative strength of advection and molecular diffusion on the pore length scale. The field comparison shown below evaluates the spatial aqueous concentration and sorbed amounts against the fully resolved reference at the same and matched advective distance , where is the elapsed transport time and is the common domain length. The quantitative sweep is evaluated after 1.25 advective transits.
The Péclet number also controls the accuracy of the two-scale reduction. At low , diffusive exchange can equilibrate the unresolved matrix over the residence time of the advecting fluid, so the DBS cell behaves as an effective local reservoir with averaged porosity, diffusion coefficient, permeability, and intrinsic surface area. At higher , solute can bypass part of the matrix before diffusion has accessed the internal surface. In that regime, matching the integrated surface area is not sufficient: the reactive prediction also depends on the time-dependent accessibility of that area to the aqueous front. The resolved-to-DBS benchmark therefore tests how well the two-scale reduction preserves surface accessibility as varies.
The choice of surface reconstruction was first tested in two short DBS calculations at . Over three matched checkpoints ending at 0.99564208 s, the reconstructions differ by at most 0.000647% in integrated area, 0.000703% in aqueous Li inventory, and 0.2110% in sorbed Li inventory. The corresponding normalised L1 differences are 0.00172% and 0.5147%. This interval covers only 0.489% of the planned run, so the comparison establishes sensitivity to the area reconstruction at early time.
The native-grid fields at provide a direct spatial comparison (Figure 8). The DBS solution reproduces the resolved calculation’s advancing aqueous front and the corresponding sorbed-Li distribution at . The resolved geometry retains pore-scale concentration variations around individual matrix grains, whereas the DBS field represents their smooth cell-scale average.

Figure 8. Native-grid lithium fields for the fully resolved and DBS-upscaled domains at and . (a,b) Aqueous Li concentration normalised by the inlet concentration. (c,d) Sorbed Li inventory on a shared logarithmic scale. The adjacent zooms preserve each calculation’s native 5 m grid; solid grains are masked in the resolved fields and no spatial averaging is applied for display.
The sweep covers , 1, 3, and 10. Each resolved/DBS pair occupies the same 18 6 mm domain on 5 m grids and is compared after 1.25 advective transits. Relative to the resolved model, DBS gives 0.51–0.58% less aqueous Li and 0.37–0.43% more sorbed Li. The streamwise aqueous profiles have –0.58%, whereas the sorbed profiles have –. Uptake is therefore redistributed slightly along the flow path even as its total amount remains close to the resolved result: the largest offsets in cumulative-inventory median position are 5 m in solution and 15 m on the surface. For this geometry and chemistry, the specified intrinsic-area closure reproduces domain-scale uptake across the tested range.
Validation Summary
The validation sequence separates conservative aqueous–surface state transfer, coupled transport, image-derived surface geometry, and two-scale DBS sorption upscaling. The closed-batch pair tests the field-level Ca balance during local equilibration, whereas the transient 1D benchmark tests the retarded transport response and its mesh and timestep convergence on a domain with no geometric ambiguity. The controlled sphere and circular-post benchmarks isolate the geometric accuracy of the interface-area construction itself. The micromodel solid-grain and 3D external-surface comparisons transfer that geometric question to reactive image benchmarks by comparing DBS smoothSurface with resolved-wall snappyHexMesh references. The resolved-to-DBS micromodel benchmark tests the two-scale reactive-transport representation used when part of an image is treated as an unresolved reactive matrix. Table 4 consolidates the quantitative tests; the geometric validation results are reported in Figure 4, Figure 5, and Figure 6, with global errors in Table 2 and Table 3; the two-scale transport results are reported in Figure 8 and Figure 9.

Figure 4. Controlled surface-area tests for the quasi-2D and 3D smooth-interface reconstructions. Left: voxelised circular-post slices, with the analytic circular interface shown in red, and three-dimensional renderings of the voxelised spheres at and 16, overlaid by the semi-transparent red analytic spheres. Blue and amber identify voxel faces outside and inside the analytic sphere; these geometry colours are distinct from the method colours used in the error plots. Right: relative integrated surface-area error at , 16, 32, and 64 for the 2D circular post () and 3D sphere (). The analytic areas define error; snappyHexMesh is a body-fitted comparator. The quasi-2D and 3D smoothSurface curves use and 0.75 voxels, respectively, and show bounded errors whose magnitudes do not decrease monotonically with refinement.

Figure 5. Micromodel image-based comparison at s. The comparison is reported between the resolved-wall snappyHexMesh comparator and DBS smoothSurface. Rows show dissolved fields normalised by , a magnified region of cell-wise reactive surface area , and the corresponding sorbed inventory fields over the same region; the dashed boxes in the top row mark the region shown at higher magnification. The lower rows show the chemistry-cell inventories for both cases; in the snappyHexMesh case, each wall face contributes its area to its adjacent cell. The area row reports both the integrated area and its spatial distribution, which controls the surface-complexation inventory. The two representations use the same nominal image resolution but place the reconstructed interface and its adjacent flow paths on different numerical supports.
| Method | Surface area [%] | Sorbed Sr inventory [%] |
| DBS smoothSurface | +1.52 | −1.84 |
Table 3. Three-dimensional external-surface comparison on the Estaillades crop at s. Surface-area and sorbed inventory differences are signed relative differences with the resolved-wall snappyHexMesh comparator as the numerical denominator. The smoothSurface case uses voxels.

Figure 6. Three-dimensional external-surface comparison on the Estaillades crop. The 3D rendering shows the connected external surface between pore and grain after remapping the micropore label to solid. Projected surface-area maps compare the resolved-wall snappyHexMesh comparator and DBS smoothSurface. The signed projected-area difference map reports DBS minus snappyHexMesh, and the streamwise profiles compare area accumulated into common axial bins. The snappyHexMesh wall faces are binned onto the image grid only for these spatial comparisons; integrated areas and inventories are computed on their native numerical supports.

Figure 9. Resolved-to-DBS lithium-sorption comparison after 1.25 advective transits for , 1, 3, and 10. Inventory differences are signed DBS-minus-resolved percentages. compares independently normalized inventories on common streamwise supports.
| Check | Metric | Result |
| 1D retardation | Profile relative to the finest result (surface / aqueous) | 3.01% / 1.05% |
| Closed-batch pair | Maximum absolute relative inventory change | |
| Circular post | area error | |
| Sphere, | area error | |
| Image micromodel | area / sorbed / profile | |
| 3D external surface | area / sorbed inventory | |
| Short DBS sensitivity | maximum sorbed inventory / L1 change | 0.2110/0.5147% |
| Resolved/DBS Li, –10 | aqueous / sorbed inventory difference | to / to |
| Resolved/DBS Li, –10 | aqueous / sorbed | 0.54–0.58% / 4.74–4.75% |
Table 4. Validation measures for analytical, interface, and two-scale comparisons. Signed inventory differences are DBS minus the corresponding reference. Profile discrepancies use for the 1D and image-micromodel comparisons and for the resolved-to-DBS Li comparison. The resolved-to-DBS Li results are measured after 1.25 advective transits, whereas the reconstruction sensitivity covers only its three early checkpoints.
The validation results therefore support the conservative coupling and the smooth-interface construction of used in the application cases that follow. Those cases then examine the additional intrinsic micropore contribution in progressively richer image-based media.
Test Cases
Three image-based surface-complexation applications are considered here, each exercising nonlinear multi-species coupling beyond a single retardation factor and representing a different subsurface setting: (i) sorption on a two-site Dzombak-Morel hydrous ferric oxide (HFO) coating for the 2D four-fracture network case, representative of heavy-metal retardation in fractured rock systems and permeable reactive barrier remediation; (ii) selective uptake from -rich brine on a two-site HFO surface for the Kelvin-cell 3D case, representative of critical-metal capture in microporous industrial sorbent media; and (iii) leachate invading -bearing limestone formation water for the Estaillades 3D case, representative of radionuclide migration from a deep geological repository (DGR) for radioactive waste. Each case applies the coupling, the image-derived interface area, and the two-scale DBS reactive surface validated in § 4, and in each the intrinsic micropore term in (§ 2.2) adds to the uptake carried by the resolved interface. Table 5 lists the simulation parameters for the three application cases together with the 1D retardation benchmark, and Table 6 lists their geochemical parameters. In all cases cells with are treated as chemically inactive, and PHREEQ thermodynamic data are drawn from the GeoChem.dat database distributed with GeoChemFoam. The 1D benchmark is presented in § 4.1 and uses a prescribed uniform Darcy velocity ; the 2D and 3D image-based cases use a velocity field from a simpleDBSFoam flow calculation with kinematic pressure drop and kinematic viscosity .
| Case | Image [vox] | (m) | Comp. grid | Phase labels | () | Reactive-area input () | (s) | (s) |
| 1D retardation | n/a | n/a | bulk () | 0.25 | 80 | |||
| 2D fractures (/HFO) | 100 | 1=micropore (r), 2=pore | 0.25 | 20000 | ||||
| 3D Kelvin (/ ) | 10 | 1=pore, 2=micropore (r) | 4 | 120 | ||||
| 3D Estail-lades (/ ) | 4 | 1=pore, 2=micropore (r), 3=solid | 2 | 120 |
Table 5. Table 5 Simulation parameters for the three image-based application cases and the 1D retardation benchmark of § 4.1. Image dimensions are given in voxels and the voxel spacing sets the physical scale of each model. Phase labels are integers in the segmented image; (r) follows the name of the reactive phase receiving the phase-volume end member , whose cellwise intrinsic contribution is . The 1D case instead uses a prescribed uniform in a synthetic domain with no image source. The 2D four-fracture network case uses 8 Message Passing Interface (MPI) ranks (4 2 1 decomposition) and the Estaillades case uses 64 MPI ranks (4 4 4 decomposition); the 1D case is serial.
| Parameter | 1D retardation | 2D Pb/HFO | 3D Mn/Mg | 3D Sr/Ca |
| Surface model | Surf_a (single-site) | Dzombak-Morel HFO (two-site) | Dzombak-Morel HFO (two-site) | Surf_a (single-site) |
| Reactive species | Ca | Pb | Mn, Mg | Sr, Ca |
| Site density (mol m) | HFO: ; HFO: | HFO: ; HFO: | ||
| Surface log | Ca: | Pb/HFO: ; Pb/HFO: | Mn/HFO: ; Mn/HFO: ; Mg/HFO: | Ca: ; Sr: |
| Diffusivity (m s) | ||||
| Uniform cell water fraction | 0.5 | n/a | n/a | n/a |
| Micropore end-member porosity | n/a | 0.4 | 0.4 | 0.4 |
| Reactive-area input (m) | ||||
| (mol L) | Ca: | Pb: | Mn: ; Mg: | Ca: 0; Sr: |
| (mol L) | Ca: 0 | Mn: 0; Mg: | Ca: ; Sr: 0 | |
| pH (inlet / initial) | 7 | 7 | 7 | 7 |
Table 6. Geochemical and physical parameters for the three image-based application cases and the 1D retardation benchmark of § 4.1. All surface reactions are written in the form SiteOH + M SiteOM + H, so positive log indicates sorption that is thermodynamically favourable at neutral pH relative to proton release. The two-site HFO reaction set and log values for Pb, Mn, and Mg follow Dzombak and Morel [10]; the site densities used in the simulations are listed in the table. Surf_a equilibrium constants for Ca and Sr are from the GeoChem.dat database distributed with GeoChemFoam ([15, 29]). The diffusivity m s is a representative free-aqueous value for divalent cations at 25 °C; the reduced value m s for the 1D benchmark is chosen to give a Péclet number of order unity over the 80-cell domain so that both advective and diffusive spreading are visible in the spatial profiles. In the 1D case, m is the prescribed uniform cell field . In each image case, m is instead the microporous-phase end member , and the local intrinsic field is ; see § 2.2.
2D Fracture Network: Pb on Dzombak-Morel HFO
The 2D demonstration uses the GeoChemFoam benchmark fracture-network image 4StraightFractures. The segmented domain has dimensions with two labels corresponding to micropore (1) and pore (2). The computational grid is . The four straight fractures give a simple flow field in which retardation by iron-oxide coatings on the fracture walls can be followed cell by cell, as it occurs in iron-rich fractured aquifers, acid mine drainage pathways, and engineered permeable reactive barriers where HFO is the sorbent phase.
The chemistry represents equilibrium Pb sorption on HFO using the Dzombak-Morel two-site model [10]. The strong-site reaction has , compared with for the weak-site reaction, whereas weak sites are thirty times more abundant. Pb enters a Pb-free domain at and pH 7.
Flow is directed from the left inlet to the right outlet along , with kinematic pressure fixed at and on the respective faces. Velocity is zero-gradient at the inlet and outlet and no-slip at the lateral walls. The inlet fixes Pb, Cl, H, and OH to the inflow composition, while the dissolved fields are zero-gradient at the outlet and lateral walls; the front and back patches are empty. At pH 7 the HFO sites retard dissolved Pb, which reaches most of the domain by . The total reactive-area field combines the reconstructed interface for micropore 1 pore 2 with the microporous-phase end member . The label-1 phase has , and mixed-cell contributions are weighted by its geometric fraction .
Figure 10 shows the segmented geometry, Pb, and the strong-site occupancy HfoOPb/Hfo at . Dissolved Pb concentrations are higher along the open fracture channels than in the surrounding microporous matrix. Strong-site occupancy is greatest near the inlet and is locally enhanced in microporous material at fracture intersections.

Figure 10. Dissolved and strong-site occupancy in the 2D fracture-network case at s. Left: segmented geometry, with microporous material in blue and open fracture space in white. Middle: . Right: . Both are shown with logarithmic colour normalisation, and cells with zero reactive area are masked, leaving the open fracture geometry visible.
3D Kelvin Cell: Selective Mn Capture from Mg-Rich Brine
This case uses a Kelvin-cell image dataset with dimensions and voxel size , where label 1 denotes pore and label 2 denotes a connected microporous lattice. Transport is solved in DBS form through both labels; the micropore cells carry and the intrinsic reactive surface area. Trace Mn is carried through a Mg-rich background brine and the two cations compete for the same HFO sites, as they do when Mn is recovered from a high-hardness process or mine-water stream in an open-cell sorbent medium. Mn complexes more strongly with HFO than Mg does, so breakthrough and surface loading are set both by advection through the Kelvin-cell geometry and by competitive exchange on the reactive coating.
The chemistry uses the same Dzombak-Morel two-site HFO model as the 2D Pb case, with Mn and Mg competing on weak sites and Mn also complexing with strong sites:
Mg is present at both in the initial water and at the inlet, and Mn enters at into a domain that starts free of it. The surface sites are first equilibrated with the Mg-bearing background water, so incoming Mn must displace part of the Mg inventory in order to load the sites. Site densities are as in the 2D case, and in the micropore phase.
Figure 11 shows the geometry, volume renders of the two competing dissolved species, and the adsorbed-amount changes at . Figure 12 follows the pore-volume weighted aqueous Mn, the aqueous Mg released above the background concentration, and the surface-area-weighted strong- plus weak-site HFO loadings over the simulation. The adsorbed-amount panel quantifies the competitive exchange: HFO-Mn accumulates behind the front, while the HFO-Mg inventory decreases wherever the Mn-bearing water has reached the sorbent.

Figure 11. Competitive and sorption in the Kelvin case at s. (a) Segmented geometry: micropore diamond lattice in blue, pore space in grey. (b) Normalised dissolved ; the advancing front enters from the left. (c) Normalised dissolved . (d) Incremental adsorbed Mn, summed over strong and weak HFO sites, concentrated in the microporous diamond-lattice channels. (e) Magnitude of the displaced adsorbed Mg, showing where has replaced part of the initially sorbed inventory on weak HFO sites.

Figure 12. Temporal evolution of domain-mean fields for the Kelvin case ( to 120 s, sampled every 12 s). Left: normalised by the inlet concentration and the excess above the background concentration, both pore-volume weighted. Right: normalised signed change in surface-area-weighted adsorbed amount for summed strong- plus weak-site HFO-Mn and weak-site HFO-Mg, defined relative to their values at .
3D Estaillades Limestone: in a Deep Geological Repository
This case uses a three-phase segmented Estaillades limestone image [22] with dimensions and voxel size , in which the phases are pore (1), micropore (2), and solid (3). Transport is solved at the native voxel resolution on 64 MPI ranks, which places the nonlinear surface exchange in a geologically realistic carbonate pore structure.
The chemistry models leachate from a waste package invading -bearing limestone formation water. Before transport begins, the surface sites are equilibrated locally with a solution at pH 7, so the initial sorbed inventory is Ca-dominated. The two competing surface reactions are:
The single site has a density of , and binds slightly more strongly than ( against ). The domain and the outlet boundary start at with no , and the inlet carries with no , both at pH 7.
This produces a chromatographic exchange pattern in which a desorption wave precedes the adsorption front, and is retarded less than a single-species calculation would give because still competes for sites ahead of that front. Over the saved output sequence () the porosity-weighted mean concentration rises from zero to while the concentration falls from to . On the surface, increases monotonically and becomes progressively more negative, quantifying the net replacement of by .
Figure 13 shows the geometry and 3D volume renders of the dissolved and adsorbed fields at . Figure 14 summarises the weighted exchange history.

Figure 13. 3D volume renders of the Estaillades DGR case at s. (a) Segmented geometry: solid in white, micropore in grey, and pore in black. (b) Normalised dissolved in the mobile-water domain; the plume advances from the inlet (left face). (c) Normalised dissolved in the same domain; the complementary depletion wave shows that has displaced in the swept region. (d) Incremental adsorbed (), relative to and normalised by its maximum at s. The distributed loading shows accumulating throughout the reactive microporous phase.

Figure 14. Temporal evolution of weighted fields for the Estaillades DGR case ( to 120 s, write interval = 20 s). Left: porosity-weighted dissolved and normalised by and , respectively. Right: normalised incremental surface-area-weighted adsorbed amount ( and ), defined relative to their values at and divided by the largest absolute surface-loading change over the plotted sequence. The curves show the chromatographic exchange: invades and accumulates on the surface while is displaced from both the aqueous and sorbed phases.
Discussion
Formulation Choices and Conservative Structure
The central modelling choice in this work is to use one fixed porosity field, , in the finite-volume transport equation and in the PHREEQC cell volumes alike, which keeps aqueous accumulation, transport, and equilibrium chemistry on the same volumetric basis. The reactive surface is prescribed independently through the explicit cell field , so the chemical storage volume and the amount of reactive surface remain separately defined material properties.
This approach extends earlier micro-continuum reactive transport formulations to the case where the reactive surface area is an unresolved cell property rather than an explicitly meshed boundary. In existing pore-scale DBS solvers, including porousMedia4Foam and earlier GeoChemFoam solvers, reactive uptake is typically imposed as a flux condition on the diffuse fluid-solid interface. This requires the reactive surface to coincide with the resolved image voxel boundary, which is a good approximation when the dominant reactive area lies at the contact between macropore and grain. In multi-scale carbonate images the microporous phase holds a large internal reactive area that lies inside the coarse cell rather than on its boundary. The cell-based formulation carries that area as an intrinsic volumetric density , scaled by the local phase fraction and passed to PHREEQC as a cell-level property.
The closed-batch balance isolates the round-trip transfer of aqueous and adsorbed Ca between the finite-volume fields and PhreeqCRM: with transport and boundary fluxes disabled, the combined inventory should remain unchanged during local equilibration. The transient 1D benchmark then tests the coupled transport response, while its mesh- and timestep-refinement study quantifies the combined spatial, temporal, and sequential-coupling errors.
Geometric Scalability
Because the validation ladder separates aqueous–surface state transfer, coupled transport, surface-area geometry, and microporosity, the evidence can be attributed to the layer that produced it. The closed-batch residual remains below in relative magnitude, the reported transient profiles differ from the finest combined result by 3.01% and 1.05% for the surface-enabled and aqueous-only cases, and the interface-area construction is accurate to sub-percent levels against analytic spheres at and against circular posts at all four tested resolutions. The intrinsic micropore density enters only in the cases that use it.
The transition from 2D to 3D introduces qualitatively different transport paths and surface-loading distributions. In the 2D case, open fractures provide preferential pathways for dissolved , while strong-site Pb occupancy varies across the surrounding microporous matrix and is enhanced near the inlet and fracture intersections. In the 3D cases, the tortuosity of the pore network produces a more dispersed front and a more heterogeneous surface-loading pattern. This spatial heterogeneity in surface uptake controls the effective retardation factor seen at the continuum scale, and following it requires a simulation that resolves the local connectivity of the image.
The direct resolved-to-DBS comparison spans to 10, with no observed breakdown in agreement at the higher values tested. This behaviour is consistent with the spatially uniform matrix closure and repeated geometry of the benchmark, whose limited heterogeneity may help preserve the accuracy of the two-scale representation as advection becomes more dominant.
Computational Cost Drivers
PHREEQC is called once per active cell per timestep, with a full speciation and surface-equilibration calculation for each cell. The chemistry overhead therefore depends primarily on the number of active cells, the geochemical system, and the frequency of the chemistry call. The resolved-wall and DBS comparisons use the same nominal image resolution and quantify physical agreement. A controlled performance comparison across resolutions is outside the scope of this study. For larger grids or more complex geochemical systems, masking near-solid cells out of the PhreeqCRM mapping (here at ) is the main lever on that cost. The threshold is held fixed across all examples here.
Limitations and Future Work
The intrinsic micropore end member is prescribed from complementary measurements such as nitrogen BET adsorption, mercury intrusion porosimetry, or finer-resolution image analysis ([27]). The segmented image determines the geometric fraction , and their product gives the bulk-volume cell contribution . Uncertainty in is therefore a leading physical uncertainty in microporous applications. This uncertainty is not specific to the cell-based formulation: a resolved-wall representation constructed from the same segmented image also cannot recover reactive area below the image resolution without complementary characterisation. Linking image-derived phase fractions to measured or computed phase-specific surface densities is therefore required to constrain predicted uptake.
The upscaled DBS treatment carries unresolved matrix properties as local cell-averaged quantities. When diffusive exchange is fast compared with the advective residence time, the intrinsic surface area acts as a locally accessible reactive reservoir. At larger , advective bypass and finite matrix-exchange times can restrict access to that area, so reactive uptake depends on its time-dependent accessibility as well as its amount. This transport-upscaling limitation is distinct from the assumption of local chemical equilibrium within each active cell: local equilibration does not ensure that solute reaches the unresolved reactive surface. Media with more heterogeneous matrix properties, connectivity, or exchange length scales therefore require their own -resolved assessment.
The resolved-to-DBS comparison tests this practical consequence of the intrinsic-area representation directly. For this micromodel, the small inventory differences and modest axial-profile differences show that replacing explicitly resolved matrix pore walls with cell-supported reactive area does not materially alter domain-scale Li uptake across the tested range.
Transport and chemistry are coupled by a first-order Lie splitting, which introduces a splitting error that scales with the timestep and the stiffness of the reaction terms. For the surface-complexation systems used here, that error sits within the benchmark agreement reported in § 4, but it may become significant for faster reactions or stiffer geochemical systems. A second-order Strang splitting (Strang 1968) is the natural extension.
Restart depends on the serialised PHREEQC state written with each complete checkpoint, because the finite-volume Surf * fields alone cannot reconstruct that state. The production sweep restarted from these checkpoints across several jobs, and moving a run between machines requires the field data and its matching PHREEQC dump to travel together.
The cases here use a fixed surface area and equilibrium surface complexation, and cover competitive multi-component chemistry and a Li-selective multi-ion brine within that scope. Evolving reactive area, mineral dissolution and precipitation, kinetic surface reactions, and the wider range of mineral surfaces and aqueous compositions found in natural systems lie outside it. Extending the model to them will require benchmarks that separate transport error, surface-area evolution, and reaction-model uncertainty while retaining cell-level mass-balance checks.
Conclusions
This work presents a conservative DBS formulation for PHREEQC-coupled reactive transport with cell-based surface complexation in image-based porous media, validated across analytical, image-based, and multi-scale porous-media cases.
The key contribution is a cell-based representation of unresolved reactive surface area that sits inside the DBS micro-continuum framework. One fixed porosity field serves aqueous accumulation, transport, and the PHREEQC cell volumes alike, which keeps the aqueous transport conservative and the local mass balance closed cell by cell. The unresolved micropore surface enters as an additive intrinsic volumetric density, so reactive uptake can be represented in image phases whose internal surface area lies inside the coarse cell rather than on its boundary.
The 1D tests preserve the closed-batch Ca inventory to a relative residual below and show approximately first-order mesh and timestep convergence, while the surface-area reconstruction recovers analytic interface area to sub-percent accuracy for 3D spheres at and quasi-2D circular posts at all four tested resolutions. In the Li micro-model, the intrinsic-area representation keeps both aqueous and sorbed inventories within 0.6% of the resolved result over –10, while the sorbed streamwise profile differs by up to 4.75%. Across the 2D and 3D image-based cases, the model resolves the dissolved and adsorbed fields that follow from the local pore geometry and competition between species for surface sites.
Surface complexation can therefore be carried conservatively on cells whose reactive area is unresolved, freeing the reactive surface from the resolved mesh boundary in multi-scale image-based simulation. This matters for reactive porous-media problems in which selectivity and surface accessibility control performance, among them contaminant retention, radionuclide migration, and critical-mineral recovery by sorbent-bearing porous media. Constraining the intrinsic surface-area input against measured internal area is the step that would most improve predictive accuracy, and extending the formulation to evolving reactive area and kinetic surface chemistry would open the dissolution and precipitation problems that the equilibrium treatment excludes.
Supplementary Information
+
One-Dimensional Numerical Convergence
The spatial and temporal sensitivity of the 1D retardation benchmark was evaluated at s for both the surface-enabled and matched aqueous-only cases. The mesh study used , 80, 160, and 320 cells with s. The timestep study used with , 0.125, 0.0625, 0.03125, and 0.015625 s. All other physical and chemical inputs were unchanged from the benchmark reported in the main text.
Table 7 reports the relative difference between each concentration profile and the next finer result. For the mesh comparison, the finer profile was conservatively averaged onto the coarser cells before evaluation. The successive differences decrease monotonically for both cases. The observed orders range from 0.83 to 0.96 for the surface-enabled mesh sequence and from 0.95 to 0.96 for its timestep sequence; the corresponding aqueous-only ranges are 0.76–0.99 and 0.94–1.13. These values are consistent with the first-order Euler time integration, upwind advection, and sequential transport–equilibrium coupling used here. Because these are pairwise numerical differences, they do not depend on a semi-infinite reference profile.
| Study | Resolution | Surface-enabled | Aqueous-only | |
| Mesh | 40 | 0.949 | 0.583 | |
| 80 | 0.532 | 0.344 | ||
| 160 | 0.274 | 0.173 | ||
| 320 | – | – | ||
| Timestep | s | 320 | 1.444 | 0.465 |
| s | 320 | 0.747 | 0.213 | |
| s | 320 | 0.383 | 0.109 | |
| s | 320 | 0.198 | 0.057 | |
| s | 320 | – | – |
Table 7. Mesh and timestep refinement for the 1D retardation benchmark at s. Values are relative differences (%) from the next finer result. A dash identifies the finest result in each sequence.
The 80-cell, s discretisation used for the main validation differs from the finest combined result (, s) by 3.01% and 1.05% for the surface-enabled and aqueous-only profiles, respectively. The monotonic pair-wise differences and observed orders quantify the combined spatial, temporal, and sequential-coupling errors in the reported discretisation.
Reactive-Area Construction and Capacity Mapping
For each ordered pair of segmented labels, the owner and other phase define a pair mask through their union. In occupancyGaussian, the Gaussian-filtered owner indicator is divided by the Gaussian-filtered pair mask to form a normalised occupancy field. The 0.5 level is extracted within the pair mask.
In three dimensions, reconstructed triangle area is assigned to computational cells and divided by bulk cell volume. Paper-local three-dimensional deposition probes owner points at offsets from 0.2 to 3.0 voxels along the triangle normal, followed by a nearest-owner search in the surrounding voxels. If this search finds no owner voxel, the triangle centroid supplies the mapping point.
In quasi-two-dimensional images, reconstructed contour length is multiplied by the physical out-of-plane thickness before division by bulk cell volume. The serial construction probes offsets from 0.2 to 1.5 voxels along the contour normal and uses the contour-piece midpoint if the probes find no owner point. Weighted redistribution assigns each contour piece to owner-side first-shell contact cells, with weights based on distance and contact support. Candidate weights are normalised for each piece. Local quasi-two-dimensional construction uses contact-support-based mapping and deposits the weighted shares assigned to rank-owned cells. Pieces with empty support contribute zero area to the deposited field. Both dimensional routes return .
The field is constructed before flow and held fixed throughout reactive transport.
For intrinsic area, is defined per unit volume of phase (). The geometric phase fraction converts this end-member density to a bulk-volume cell contribution:
A mass-specific measurement is converted to phase-volume density using the corresponding mass per unit phase volume. A density already expressed per bulk cell volume represents the cell contribution directly.
The phreeqcMixture builds used for the reported calculations supply PhreeqcRM ([30]) with area per representative bulk litre, obtained by dividing in by . For surface master , the site density () gives the surface-master inventory per bulk volume as . These bulk-volume conversions apply without division by . The inventory units are
The chemistry mask threshold is set by epsChemistryMin in constant/thermoPhysicalProperties, and every calculation reported here uses .
Discrete PhreeqcRM Coupling
The surface-complexation cases select mixtureType phreeqcMixture in constant/thermoPhysicalProperties. The active mapping between finite-volume cells and PhreeqCRM cells is established once and does not change during the run. Reconstruction is needed only when a threshold crossing changes the active-cell map or its topology, or when the fixed area capacity changes. Each OpenFOAM process constructs PhreeqcRM with one worker thread. Domain decomposition provides process-level parallelism, and runCells() advances only the chemistry cells held by that rank. Each case is decomposed according to the NPX, NPY, and NPZ entries in its system directory. Every case uses its case-local constant/GeoChem.dat database. The image-based cases use kinematic viscosity and kinematic pressure drop , and write output every 10 s for the 1D benchmark, 2000 s for the fracture case, and 20 s for the Estaillades case.
Checkpoint and Restart Lifecycle
At an output time, a checkpoint-enabled run first invalidates the old completion marker collectively, writes a new rank-local dump, writes the finite-volume fields, and publishes a completion marker only after the field write succeeds. A crash before publication therefore leaves the partially updated fields and chemistry state without a marker, and restoration rejects them. The PhreeqcRM dump and marker must be retained with the corresponding finite-volume time directory; the Surf_* fields alone do not reconstruct the complete internal state.
Short Two-Scale Reconstruction Sensitivity
The two-scale calculation is a matched short-interval sensitivity test between two DBS cases that differ only in the surface field. Both use a grid with cells, 16 MPI ranks, , , and prescribed Darcy velocity . The surface field is the only input that differs, and the other 495 input files were verified as identical.
Both short cases use their case-local GeoChem.dat together with the same illustrative Li-selective sorbent chemistry. The surface reactions are (), and the corresponding , , and reactions have , , and , respectively. Initially Li-free brine contains 0.10 M Na, 0.01 M K, 0.01 M Mg, M Li, and 0.13 M Cl at pH 7; the inflow changes Li to M and Cl to 0.131 M. These parameters apply to the short sensitivity test only.
Three common checkpoints at 0.0058517566, 0.11703513, and 0.99564208 s meet the predefined material-response limits. The maximum absolute differences are 0.000647% in integrated area, 0.000703% in aqueous Li inventory, 0.2110% in sorbed Li inventory, 0.00172% in the aqueous profile-shape diagnostic, 0.5147% in the sorbed profile-shape diagnostic, and 0.03993% in fixed-reference-area sorbed-response L2. The two profile-shape diagnostics compare independently normalised profiles and are not the relative measure used for validation. Shifts in the aqueous and sorbed cumulative-inventory median positions () are zero. The native-cell sorbed inventory-density L2 is 3.61 to 4.49%, dominated by the deliberate relocation of area, so the agreement is in integrated response rather than pointwise. The last accepted checkpoint covers 0.489% of the configured 203.53 s horizon, so the test establishes early material-response agreement.
Reproducibility and Provenance Entry Points
The paper directory contains self-contained case definitions and source-data references. From the repository root, the provenance verifier is run with
./validate_accepted_nonkelvin_artifacts.sh
This command runs the verifier tests and validates figures/accepted_nonkelvin-provenance.json. The manifest binds the reported 1D, fracture, and Estaillades figures to their source data, renderers, sidecars, and evidence records by path, size, and SHA-256.
The case-level entry point for the 1D benchmark is runPhase8AnalyticalBenchmark.sh in cases/1d_linear_retardation. The mesh and timestep sequences are reproduced by runConvergenceStudy.sh; the resulting metrics and exact runtime identities are retained in convergence-results.json and convergence_provenance.json. The fracture and Estaillades cases are run through the runAll.sh scripts in cases/2d_4StraightFractures and cases/3d_estaillades, each of which also provides separate mesh, flow, reactive-transport, processing, and cleanup scripts. The short two-scale record is in the results directory of cases/two-scale_micromodel_sorption_validation; it records exact checkpoints, thresholds, collection hashes, runtime identity, and analyser identity. The paper sources and both PDFs are built with build.sh. The flat Springer submission archive is generated transactionally with export_submission.sh OUTPUT.zip; its manifest and SHA-256 inventory are included in the archive.
Statements and Declarations
Funding: This work was supported by the Natural Environment Research Council (NERC) and Nuclear Waste Services (NWS) through the GeoSAFE grant (reference NE/Y002504/1). Opinions, findings, conclusions or recommendations expressed are those of the authors and do not necessarily reflect the views of NERC or NWS.
Competing interests: The authors have no relevant financial or non-financial interests to disclose.
Ethics approval: Not applicable.
Consent to participate: Not applicable.
Consent for publication: Not applicable.
Availability of data and materials: The data and materials supporting this study are available from the corresponding author on reasonable request.
Code availability: The GeoChemFoam 5.2 codebase is publicly available at https://github.com/GeoChemFoam/GeoChemFoam-5.2. The solver modifications, paper-specific cases, simulation scripts, and post-processing code are available from the corresponding author on reasonable request.
Authors’ contributions: Hannah P. Menke: Conceptualisation, Methodology, Software, Investigation, Formal analysis, Writing – original draft, Funding acquisition. Julien Maes: Conceptualisation, Methodology, Writing – review & editing, Funding acquisition. Florian Doster: Conceptualisation, Writing – review & editing, Funding acquisition.
References
- [1]Battiato I, Tartakovsky DM (2011) Applicability regimes for macroscopic models of reactive transport in porous media. Journal of Contaminant Hydrology 120–121:18–26. https://doi.org/10.1016/j.jconhyd.2010.05.005
- [2]Bildstein O, Claret F, Frugier P (2019) RTM for waste repositories. Reviews in Mineralogy and Geochemistry 85(1):419–457. https://doi.org/10.2138/rmg.2019.85.14
- [3]Blowes DW, Ptacek CJ, Benner SG, et al (2000) Treatment of inorganic contaminants using permeable reactive barriers. Journal of Contaminant Hydrology 45(1–2):123–137. https://doi.org/10.1016/S0169-7722(00)00122-4
- [4]Blunt MJ (2001) Flow in porous media — pore-network models and multiphase flow. Current Opinion in Colloid & Interface Science 6(3):197–207. https://doi.org/10.1016/S1359-0294(01)00084-X
- [5]Blunt MJ, Bijeljic B, Dong H, et al (2013) Pore-scale imaging and modelling. Advances in Water Resources 51:197–216. https://doi.org/10.1016/j.advwatres.2012.03.003
- [6]Brinkman HC (1949) A calculation of the viscous force exerted by a flowing fluid on a dense swarm of particles. Flow, Turbulence and Combustion 1:27–34. https://doi.org/10.1007/BF02120313
- [7]Carrayrou J, Mosé R, Behra P (2004) Operator-splitting procedures for reactive transport and comparison of mass balance errors. Journal of Contaminant Hydrology 68:239–268. https://doi.org/10.1016/S0169-7722(03)00141-4
- [8]Charlton SR, Parkhurst DL (2011) Modules based on the geochemical model PHREEQC for use in scripting and programming languages. Computers & Geosciences 37(10):1653–1663. https://doi.org/10.1016/j.cageo.2011.02.005
- [9]De Windt L, Spycher NF (2019) Reactive transport modeling: A key performance assessment tool for the geologic disposal of nuclear waste. Elements 15(2):99–102. https://doi.org/10.2138/gselements.15.2.99
- [10]Dzombak DA, Morel FMM (1990) Surface Complexation Modeling: Hydrous Ferric Oxide. John Wiley & Sons, New York
- [11]Jyoti A, Haese RR (2021) Validation of a multicomponent reactive-transport model at pore scale based on the coupling of COMSOL and PhreeqC. Computers & Geosciences 156:104870. https://doi.org/10.1016/j.cageo.2021.104870
- [12]Kang Q, Lichtner PC, Zhang D (2007) An improved lattice Boltzmann model for multicomponent reactive transport in porous media at the pore scale. Water Resources Research 43:W12S14. https://doi.org/10.1029/2006WR005551
- [13]Lichtner PC (1985) Continuum model for simultaneous chemical reactions and mass transport in hydrothermal systems. Geochimica et Cosmochimica Acta 49(3):779–800. https://doi.org/10.1016/0016-7037(85)90172-3
- [14]Maes J, Geiger S (2018) Direct pore-scale reactive transport modelling of dynamic wettability changes induced by surface complexation. Advances in Water Resources 111:6–19. https://doi.org/10.1016/j.advwatres.2017.10.032
- [15]Maes J, Menke HP (2021) GeoChemFoam: Direct modelling of multiphase reactive transport in real pore geometries with equilibrium reactions. Transport in Porous Media 139(2):271–299. https://doi.org/10.1007/s11242-021-01661-8
- [16]Maes J, Menke HP (2022) GeoChemFoam: Direct modelling of flow and heat transfer in micro-CT images of porous media. Heat and Mass Transfer 58(11):1937–1947. https://doi.org/10.1007/s00231-022-03221-2
- [17]Maes J, Menke HP (2024) Dispersivity calculation in digital twins of multiscale porous materials using the micro-continuum approach. Journal of Environmental Chemical Engineering 12(5):113729. https://doi.org/10.1016/j.jece.2024.113729
- [18]Maes J, Soulaine C, Menke HP (2022) Improved Volume-Of-Solid formulations for micro-continuum simulation of mineral dissolution at the pore-scale. Frontiers in Earth Science 10:917931. https://doi.org/10.3389/feart.2022.917931
- [19]Mayer KU, Frind EO, Blowes DW (2002) Multicomponent reactive transport modeling in variably saturated porous media using a generalized formulation for kinetically controlled reactions. Water Resources Research 38(9):1174. https://doi.org/10.1029/2001WR000862
- [20]Menke HP, Bijeljic B, Andrew MG, et al (2015) Dynamic three-dimensional pore-scale imaging of reaction in a carbonate at reservoir conditions. Environmental Science & Technology 49(7):4407–4414. https://doi.org/10.1021/es505789f
- [21]Menke HP, Reynolds CA, Andrew MG, et al (2018) 4D multi-scale imaging of reactive flow in carbonates: assessing the impact of heterogeneity on dissolution regimes using streamlines at multiple length scales. Chemical Geology 481:27–37. https://doi.org/10.1016/j.chemgeo.2018.01.016
- [22]Menke HP, Maes J, Geiger S (2021) Upscaling the porosity–permeability relationship of a microporous carbonate for Darcy-scale flow with machine learning. Scientific Reports 11:2625. https://doi.org/10.1038/s41598-021-82029-2
- [23]Miller AW, Rodriguez DR, Honeyman BD (2010) Upscaling sorption/desorption processes in reactive transport models to describe metal/radionuclide transport: A critical review. Environmental Science & Technology 44(21):7996–8007. https://doi.org/10.1021/es101822v
- [24]Molins S (2015) Reactive interfaces in direct numerical simulation of pore-scale processes. Reviews in Mineralogy and Geochemistry 80:461–481. https://doi.org/10.2138/rmg.2015.80.14
- [25]Molins S, Trebotich D, Steefel CI, et al (2012) An investigation of the effect of pore scale flow on average geochemical reaction rates using direct numerical simulation. Water Resources Research 48:W03527. https://doi.org/10.1029/2011WR011404
- [26]Molins S, Soulaine C, Prasianakis NI, et al (2021) Simulation of mineral dissolution at the pore scale with evolving fluid-solid interfaces: review of approaches and benchmark problem set. Computational Geosciences 25(4):1285–1318. https://doi.org/10.1007/s10596-019-09903-x
- [27]Noiriel C, Luquot L, Madé B, et al (2009) Changes in reactive surface area during limestone dissolution: An experimental and modelling study. Chemical Geology 265:160–170. https://doi.org/10.1016/j.chemgeo.2009.01.032
- [28]Ogata A, Banks RB (1961) A solution of the differential equation of longitudinal dispersion in porous media. Professional Paper 411-A, U.S. Geological Survey, https://doi.org/10.3133/pp411A
- [29]Parkhurst DL, Appelo CAJ (2013) Description of input and examples for PHREEQC version 3 — a computer program for speciation, batch-reaction, one-dimensional transport, and inverse geochemical calculations. Techniques and Methods Book 6, Chapter A43, U.S. Geological Survey, https://doi.org/10.3133/tm6A43
- [30]Parkhurst DL, Wissmeier L (2015) PhreeqC RM: A reaction module for transport simulators based on the geochemical model PHREEQC. Advances in Water Resources 83:176–189. https://doi.org/10.1016/j.advwatres.2015.06.001
- [31]Pavuluri S, Tournassat C, Claret F, et al (2022) Reactive transport modeling with a coupled OpenFOAM–PHREEQC platform. Transport in Porous Media 145:475–504. https://doi.org/10.1007/s11242-022-01860-x
- [32]Reich R, Slunitсhek K, Danisi RM, et al (2022) Lithium extraction techniques and the application potential of different sorbents for lithium recovery from brines. Mineral Processing and Extractive Metallurgy Review 44(4):261–280. https://doi.org/10.1080/08827508.2022.2047041
- [33]Soulaine C (2024) Micro-continuum modeling: A hybrid-scale approach for solving coupled processes in porous media. Water Resources Research 60:e2023WR035908. https://doi.org/10.1029/2023WR035908
- [34]Soulaine C, Tchelepi HA (2016) Micro-continuum approach for pore-scale simulation of subsurface processes. Transport in Porous Media 113(3):431–456. https://doi.org/10.1007/s11242-016-0701-3
- [35]Soulaine C, Roman S, Kovscek A, et al (2017) Mineral dissolution and wormholing from a pore-scale perspective. Journal of Fluid Mechanics 827:457–483. https://doi.org/10.1017/jfm.2017.499
- [36]Soulaine C, Pavuluri S, Claret F, et al (2021) porousMedia4Foam: Multi-scale open-source platform for hydro-geochemical simulations with OpenFOAM®. Environmental Modelling & Software 145:105199. https://doi.org/10.1016/j.envsoft.2021.105199
- [37]Starchenko V, Ladd AJC (2018) The development of wormholes in Laboratory-scale fractures: Perspectives from three-dimensional simulations. Water Resources Research 54:7946–7959. https://doi.org/10.1029/2018WR022948
- [38]Steefel CI, Lasaga AC (1994) A coupled model for transport of multiple chemical species and kinetic precipitation/dissolution reactions with application to reactive flow in single phase hydrothermal systems. American Journal of Science 294(5):529–592. https://doi.org/10.2475/ajs.294.5.529
- [39]Steefel CI, Van Cappellen P (1990) A new kinetic approach to modeling water-rock interaction: The role of nucleation, precursors, and Ostwald ripening. Geochimica et Cosmochimica Acta 54(10):2657–2677. https://doi.org/10.1016/0016-7037(90)