A Novel Eulerian Model Based on Central Moments to Simulate Age and Reactivity Continua Interacting with Mixing Processes

. In geoscientific models, simulating the properties associated with particles in a continuum can serve many scientific purposes, and this has commonly been addressed using Lagrangian models. As an alternative approach, we present an Eulerian method here: Diffusion-advection-reaction type of partial differential equations are derived for centralized moments, which can describe the distribution of properties associated with chemicals in reaction-transport models. When the property is age, the equations for centralized moments (unlike non-central moments) do not require terms to account for aging, making this method 5 suitable for modeling age tracers. The properties described by the distributions may also represent kinetic variables affecting reaction rates. In practical applications, continuous distributions of ages and reactivities are resolved to simulate organic matter mineralization in surficial sediments, where macrofaunal and physical mixing processes typically dominate transport. In test simulations, mixing emerged as the predominant factor shaping reactivity and age distributions. Furthermore, the applications showcase the method’s aptitude for modeling continua in mixed environments while also highlighting practical considerations 10 and challenges.


Introduction
The partial differential equation (PDE) to describe chemical diffusion (Fick, 1855) is mathematically equivalent to Fourier's heat conduction equation (Fourier et al., 1822), which has become ubiquitous in science to describe random transport processes (Narasimhan, 1999).When materials are transported, tracking other associated properties besides the concentration can be desirable.For example, the age (or transit time) of fluids and chemicals has often been simulated.Diffusive mixing will lead to a local spreading in ages.Resolving these distributions is commonly achieved through Lagrangian approaches, which aim to simulate sufficiently large numbers of individual particles to describe the evolution of the properties and their statistical distributions.Alternatively, Eulerian approaches utilizing PDEs offer the advantage of analytical evaluation and are computationally less expensive.Analytical solutions for age distributions in particular boundary condition problems can be found in Delhez and Deleersnijder (2002) and Kuderer (2022).Deleersnijder et al. (2001) and Delhez and Deleersnijder (2002) derived Eulerian PDEs to simulate the effect of diffusion on the mean and higher raw moments and considered the effect of radioactive decay on age distributions.In this study, we derive Eulerian PDEs for centralized moments.These are more readily intuitively understood than raw moments and are not affected by aging, making them ideal for modeling time tracers.
Beyond modeling passive tracers, we intend to test moment-based PDEs in more complex applications whereby chemical reactions depend on and affect distributions.Modeling the effect of "aging" on the apparent organic matter reactivity (Middelburg, 1989(Middelburg, , 2019) ) provides an interesting practical case study.Bulk organic matter in sediments and soils contains materials with varying reactivities (e.g., De Leeuw and Largeau, 1993), and the bulk degradation rate depends on the entire matrix.As more reactive components disappear first, the remaining organic matter becomes more refractory (Zonneveld et al., 2010).
Organic molecules also undergo transformations, which generally lower the reactivity (Burdige, 2007).The overall decreasing reactivity over time is contained in the concept of aging.In multi-G models, separate state variables represent discrete classes of varying reactivities (Jørgensen, 1978;Westrich and Berner, 1984).The disadvantage of this approach is that reactivity classes and their distribution in deposited organic matter are somewhat arbitrarily chosen (Jørgensen, 1978), resulting in parameterizations that are difficult to compare between studies.Also, no more than three classes are usually defined, which cannot represent more gradual changes in reactivity.The reactivity of organic matter may also be described as a continuum for which various distribution functions have been proposed (e.g., Boudreau and Ruddick, 1991;Vähätalo et al., 2010;Xu et al., 2022).The gamma distribution is most commonly used (Arndt et al., 2013;Freitas et al., 2021), in part because it allows an analytical solution for the evolution of the continuum over time (Boudreau and Ruddick, 1991).It can be easily implemented in sediment models by replacing time with sediment depth based on the assumption of a constant burial velocity or a reconstruction of the deposition history.However, the space-for-time substitution only accounts for the burial of particulate organic matter and ignores mixing processes.
Animals and plants continuously cause disturbances in sediments, which is referred to as bioturbation in literature (Meysman et al., 2006).Bioturbation typically dominates the transport of solids in sediments up to a depth of ∼10 cm (Tromp et al., 1995;Middelburg et al., 1997;Boudreau, 1994).In reaction-transport models, this process is most commonly implemented as Fickian transport (Goldberg and Koide, 1962;Guinasso and Schink, 1975;Meysman et al., 2005), i.e., as chemical diffusion, but with a diffusivity decreasing over depth.Mixing of particulate organic matter can also be the result of other natural processes or anthropogenic activities, such as trawl fishing (e.g., De Borger et al., 2021).The inability of reactivity continuum models to account for mixing either caused an error or limited their application to environments without significant mixing processes (Freitas et al., 2021).Previously, Lagrangian methods have been developed to simulate organic matter mineralization in turbated sediments (Meile and Van Cappellen, 2005;Kuderer, 2022), but these have only included reaction networks with few chemicals.
The development of an alternative Eulerian approach, compatible with classical early diagenetic reaction-transport models (Wang and Van Cappellen, 1996;Boudreau, 1997), may be needed to encourage wider usage of modeled reactivity continua in turbated environments.
Here, we first derive expressions that describe the effect of diffusion on central moments in partial differential equations (sect.2).Next, we develop an approach to derive additional reaction terms that may depend on the distribution (sect.3), expanding beyond previous studies that used raw moments to simulate transit time distributions and only considered radioactive decay.Finally, the central-moment-based method is tested for age distributions and organic matter mineralization in bioturbated sediment (sect.4) to explore whether a moments-based approach can effectively describe age or reactivity continua in reactiontransport models.
Diffusion is a process that mixes distributions of properties associated with moving particles.In the derivation, we will assume that the property of interest is age, even though it could be any other scalar property that does not affect transport.First, we derive equations for chemical diffusion (see 2.1) and the effect of diffusion on mean age (see 2.2) to illustrate the method based on microscopic diffusion.We then derive partial differential equations for higher centralized moments (see 2.3).

Miscroscopic derivation for concentration
Following Crank (1956), microscopic diffusion can be represented as random jumps forth and back.Consider three locations left (L), center (C), and right (R) aligned on a line and separated by the jumping distance of particles δ x .The change in the number of molecules at location 'C' is given by where f x is the jumping frequency in two directions, and n X is the number of particles at location X.Smaller case and upper case subscripts indicate evaluations at the boundaries and centers of cells, respectively.After dividing by volume V , defining C = n/V , and also multiplying the right-hand side by is obtained.The diffusivity is identified as D = 0.5f δ 2 x .One linearization is made, i.e. ∆C = ∂C/∂xδ x , resulting in Applying the divergence theorem yields which is the diffusion equation.

Microscopic derivation of the diffusion equation for the mean
The same method is applied to the mean age associated with particles, which is the first raw moment.Let χ i be the age of a particle and n i=1 χ i the total age of all particles n in a control volume V , so that the mean age of the particles is µ = χ/n.Then µC = χ/V is the summed ages of all particles per control volume.
Let j 1 and j 4 be the fluxes that transport particles into the control volume from left and right, respectively.Similarly, let j 2 and j 3 be the fluxes that remove matter in the rightward and leftward direction, respectively.Substituting the summed total age of particles for the total number of particles in equation 1 yields Table 1.Notation n number of particles mol f particle jumping frequency T −1 δx particle jumping distance L j particle flux mol T −1 λ direction of particle flux χ particle property such as age or reactivity Pq Production term for q-th moment α reactivity parameter (see equation 37) T whereby µ j are the mean ages of the jumping particles, and the fluxes j k have dimensions of number of particles over time.
Note that this section only considers changes to the local mean age caused by diffusive transport.In section 4, derivations will also account for the effect of aging on the mean.From equation 1 follows that j 1 = 0.5f l n L , j 2 = 0.5f l n C , j 3 = 0.5f r n C , and When it is assumed that the random jumps are not affected by age, the mean age of a larger number of jumping 90 particles will approach the mean age at the source location X, so that ⟨µ j k ⟩ = µ X .Making this substitution and repeating the steps that were taken for the derivation of chemical diffusion yields Again a linearizing assumption ∆(µC) = ∂(µC)/∂xδ x is made, after which the partial differential equation is obtained.Deleersnijder et al. (2001) derived this equation with a generalized macroscopic approach.

Derivation of partial differential equations for higher centralized moments
Centralized moments are defined as The zeroth and first centralized moments are always one and zero, respectively.The variance (σ 2 ), skewness, and other higher moments correspond to q = 2, q = 3, and q > 3. Throughout the text, we shall refer to raw moments as µ q = n −1 χ q i and to non-central moments in general as n −1 n i=1 (χ i − ψ) q , where ψ ̸ = µ.Considering the exchange of matter with the surroundings through the fluxes j k (section 2.2), the change of q-powered differences in the control volume can be described by whereby n n and n o denote the number of particles in the updated and old population, respectively.All differences from the mean in equation 9, including those associated with mass fluxes, are relative to µ o .A Taylor series expansion of ϕ around µ o is used to relate the new state of a population (the left-hand side of equation 9) to the new mean age where is obtained, whereby λ k = ±1 depending on the direction of the flux.

Derivation of a partial differential equation for variance
The derivatives of variance in the Taylor series are See for the definition of the centralized moments (ϕq) equation 8.
The only non-zero derivative is inserted into equation 11.The linearization ∆µ = ∂µ/∂t∆t is made, and the result is divided by ∆t.Taking the limit of ∆t to zero yields or, under the assumption that ∂µ/∂t is finite, in differential form.
In the next step, the unknown fluxes on the right-hand side are expressed by known local properties, which can only be done for expected mean values of a large number of random particle jumps.It will be assumed for the partial differential equation for variance, as well as for higher order moments, that i) the flux is determined by the average jumping frequency and the number of particles from a source location X, i.e. j k = f n X , ii) that q-powered differences reflect the average differences from the location where the particles are jumping, i.e. ϕ j k = ϕ X , and iii) that the properties of particles do not effect the jumping With these assumptions, one can write Using the Taylor series for spatial instead of temporal derivatives, i.e. ∆µ = µ R −µ C or µ C −µ L , gives according to equations 12a -12c and substituting these into equation 15 yields Ignoring the terms with derivatives obtained from the Taylor series for the moment, a part of the equation can be isolated which is similar to equation 5.A linearization of ∂(σ 2 C)/∂x and repeating the procedure leading from equation 5 to equation 7 gives here The remaining terms not accounted for yet are which can also be written as is the final result describing the effect of diffusion on the centralized variance.As demonstrated in supplement section 2.1, the PDE for diffusion of the raw variance can be derived from equation 23 and matches with the result of Delhez and Deleersnijder (2002), which shows that the additional linearizations made in the derivation do not affect the accuracy.

Derivation of partial equations for skewness and all higher order moments
For a finite ∂µ/∂t, dividing equation 11 by an infinitesimally small time step will drop the higher-order terms in the Taylor series, leaving The presence of a non-zero first-order derivative makes the derivation of the PDEs for higher-order moments different from that of the variance.It can be found in appendix A and is further analytically validated in the supplement section 2.2.Table 2 shows an overview of all diffusion PDEs.

Derivation of reaction terms for partial differential equations of moments
Here, we will first give a general mathematical approach to derive reaction terms that can be incorporated in the PDEs for centralized moments (sect.3.1).The application of this method to particular kinetic expressions relevant to the test applications in this paper will be demonstrated in section 3.2.

General derivation of differential terms for reactions
Reactions change the concentration and can also influence the shape of distributions characterized by their mean and higher moments.To evaluate the effect of reactions on central moments, we start with an alternative notation for the definition of central moments which can be obtained by applying the binomial theorem to equation 8. Next, we differentiate using the product rule to obtain whereby µ x = C −1 χ x C χ dχ can be identified as the x-th raw moment, and Cµ x = χ x /V .When no subscript is given, µ = µ 1 denotes the mean.The task at hand is to find expressions for all terms when only the concentration and moments are known from a previous time step during a simulation, and a reaction rate is defined, for which we will assume it follows as a generic rate expression.
Starting with µ q−p in the second term (eq.26), we note that raw moments (µ x ) can be obtained by transforming central moments (ϕ): The second term is further worked out by substituting Solving for d(Cϕ q )/dt| R (eq.26) requires expressions for the terms d(Cµ q−p )/dt| R and dµ/dt| R (eq.29).The first one is obtained by integrating Following the product rule, this derivative also allows to be solved.

Implementation of reaction kinetics and aging
Representing the production of new material with a zeroth-order kinetic term (r = 0) results in R = P as the constant of integration when treating the integral in equation 27 as indefinite.When χ represents age, the PDEs for raw moments times concentration do not need additional terms to account for production ( d[Cµ q ]/dt| R = 0 since χ = 0, eq.30).However, the production will decrease the mean age (eq.31).To incorporate production into the PDEs of variance and higher central moments, the additional term P q is obtained by inserting d(Cµ q )/dt| R = 0 and dµ/dt| R = −µP C −1 into equation 26.
The formulation describes first-order reaction kinetics, whereby f (χ) is the reactivity as a function of the distributed property, and the integrations in equations 27 and 30 are performed over the domain bounded by the scope of the χ distribution.However, when f (χ) = −k is constant, the reaction rate only depends on concentration (R = −kC), as is the case for radioactive decay and simple first-order kinetics.As these reactions do not discriminate with respect to age, the moments will not change (i.e., dϕ q /dt| R = dµ q /dt| R = 0).Consequently, the reaction term becomes d(Cϕ q )/dt| R = Rϕ q , following the product rule.
The distribution may directly represent the reactivity, e.g., f (χ) = −χ (see the application in sect.4.2).When in total x moments are simulated, functions of χ x+1 will have to be integrated (eqns.30, 32).For simulations whereby the integrations are numerically performed, this may substantially impact the computation time.
In the final application (sect.4.3), a hypothetical first-order reaction rate will be considered, whereby the reactivity function ) depends on the inverse of χ, which will represent age.Aging affects the mean but not the concentration.Hence, the product rule implies d(Cµ)/∂t = Cdµ/dt, whereby dµ/dt due to aging will be unity provided the same units are used for χ and t.Aging shifts the distribution along the age axis but does not change the shape of the distribution.It does not contribute to changes in the differences between particle ages and the mean (d(χ i − µ) q = 0), nor does it impact the concentration.This implies that d(Cϕ q )/dt due to aging is zero.

Applications
Three applications related to sedimentary environments are presented.For the sake of simplicity and generality, the effect of sediment properties, such as porosity and tortuosity, on transport will be ignored.Instead, the focus is on adding reactions.

Simulating an age tracer
In sediment modeling, resolving the age of a chemical compound understood as the time since its formation or deposition onto the sediment, can help to fit a measured profile and serve other diagnostic purposes.
A general system of equations for an age associated with a chemical concentration C is given by In the equations, J denotes the diffusive transport terms listed in Table 2.The second term accounts for advective transport, whereby ω is the velocity.In early diagenetic models, the accumulation of the sediment column is typically described as a downward advective burial process, since the sediment surface stays at a zero vertical coordinate.The term P denotes the production of new material with an age of zero, P q accounts for the effect of production on higher centralized moments, R represents a consumption reaction that does not discriminate with respect to age (e.g., R = −kC), and the third term in equation 33b accounts for aging.Refer to section 3.2 for the derivation of these terms.
An example of a simulation involving diffusion without aging, advection, and reactions is shown in Figure 1.Here fixed concentrations and moments were imposed for the last and first cells in the domain as boundary conditions.The initial conditions for the domain were set to the left boundary condition, which has a lower concentration and different moments compared to the right boundary.Over time, there is net chemical diffusion in the leftward direction throughout the domain, eventually leading to a new steady state.The computed concentration and the first seven moments match well with those computed by a particle-based simulation.There is a small but noticeable mismatch at the peak for the skewness and higher moments, which is potentially due to the finite step size in the Lagrangian simulation.
The Eulerian simulation is based on a finite differences scheme, implemented in R (R Core Team, 2022) and run with the CVODE solver (Brown et al., 1989;Soetaert et al., 2010).The Lagrangian model employed for validating the Eulerian simulation is described in the supplement sect.1.1.The script to run these simulations is relatively simple and publicly available online.Therein, it is possible to add reactions for production and consumption.

Simulating organic matter mineralization with a reactivity continuum model in turbated sediments
In this application, C denotes organic carbon concentration, χ is the reactivity (degradation rate coefficient) with dimensions T −1 , and no explicit aging process is involved.As an example, we will consider the deposition of organic carbon with an initially uniform distribution for χ ∈ [0, m], which is described by the state variables concentration, mean reactivity, and variance of the reactivity.The rate expression from equation 32 is applied with f (χ) = −χ so that R = −µC.By working out eq. 26 with these definitions, the following equations can be obtained.
The integrals will be evaluated numerically, meaning that the full distribution needs to be constructed from the moments.
Based on a finite number of moments, it can only be estimated, and we chose the function to represent the reactivity distribution.It is motivated as follows: The concentration of unreactive organic matter at the intercept does not change (g(0, w) = C 0 ).For the diffusion-reaction equation ∂C/∂t = D∂ 2 C/∂x 2 − χC, the general solution is The first term can capture both these dynamics.The last term is linearly independent and introduces a third fitting parameter to match the number of equations.These terms have the desirable properties that they cannot fluctuate or become negative and can be evaluated at χ = 0.The equations are solved with a multidimensional root-finding procedure (Soetaert, 2009) to fit the parameter vector w.
In the example shown in Figure 2, transport involves bioturbation and advection.The burial velocity was set to 1 mm y −1 .
The bioturbation coefficient had a maximum value of 10 −10 m 2 s −1 at the sediment-water interface and decreased exponentially over depth with an e-folding distance set to 2 cm.The uniform distribution implemented as Dirichlet upper boundary conditions was defined by the moments C = 1, µ = 2.5 • 10 −2 y −1 , and σ = 1.44 • 10 −2 y −1 , which were also used as initial conditions throughout the domain.A no-gradient condition was set as lower boundary condition.In total, 50 evenly spaced cells discretized a domain length of 50 cm.The simulation, using finite differences (Soetaert and Meysman, 2012), was run with the VODE solver (Brown et al., 1989).
The organic matter concentration imposed to a fixed value at the upper boundary condition decreases due to degradation over depth (Figure 2A).Due to mixing, the mean reactivity of organic matter remains relatively constant in the bioturbated zone but decreases below it (Figure 2B) as the more reactive organic matter is degraded.The variance is also kept relatively stable within the bioturbated zone and decreases strongly below (Figure 2C), as the removal of more reactive material decreases the spreading of the reactivity distribution.The distributions at the top and bottom are shown as well (Figure 2D).The obtained results closely resemble those of a 30-G model, which partitions the reactivity range defined at the upper boundary into 30 equally spaced distinct reactivity values, treating each bin as an independent state variable (see for more details section 1.2 of the supplementary materials).

Apparent organic matter reactivity as a function of age
In this application, the age distribution is modeled and determines the reactivity of organic carbon.The transport equations are the same as in the previous applications, and aging is included (see eq. 33b).The age-dependent reactivity (eq.32) is specified as whereby α prevents division by zero and may also be used as a fitting parameter.It resembles the long-established expression for the mean reactivity, k = v/(α + µ) β (Middelburg, 1989).Conceptually it may be the most simple expression to model the effect of aging on reactivity.
Here we consider the application of four moments: concentration (C), mean age (µ), variance (σ 2 = ϕ 2 ), and skewness (S = ϕ 3 ).For this, three-parameter distributions describe the distribution's shape and mean, and a fourth parameter serves as a multiplier to adjust the concentration.
We present our analysis using two distinct distributions to represent age continua, which will be compared later to evaluate the distribution shape's role.The first one is the triangular distribution, whereby w 1 is the multiplier, w 2 and w 3 denote the lower and upper limit of the distribution (outside this interval, the function evaluates to zero), and w 4 corresponds to the mode.Given the closed-form expressions for the central moments of the triangular distribution (Forbes et al., 2010), the distribution parameters for given moments are found by first determining b and c in the equations with a root-solver, which allows the distribution parameters to be calculated as follows: The other demonstrated distribution is the translated Weibull distribution, formulated as whereby w 1 serves as a multiplier to adjust the concentration, w 2 is the shape parameter, w 3 is the scaling parameter, and w 4 is the location parameter (Forbes et al., 2010).All parameters were obtained by solving a set of equations as shown in equations 36, along with an additional equation to account for skewness.
The numerical model calculates first the reaction rates for all moments, as described in section 3.2.The PDEs are solved with an implicit finite volume scheme with hybrid differences to account for advection and diffusion, using the implementation from JurRTM (Rooze et al., 2020;Zindorf et al., 2021).For the state variable Cµ, the aging term is added to the reaction term.Also, the last term in the diffusion equations for variance and skewness (Table 2) is accounted for by calculating first the ∂µ/∂x gradient and adding the resulting term as a reaction rate.
The model divides a domain length of 10 cm into 50 evenly spaced cells.The upper boundary condition is added as a Dirichlet boundary condition with a prescribed distribution.The initial values are set to the values of the upper boundary condition.A zero-gradient condition is imposed at the lower boundary of the domain.The reactivity parameters (eq.37) were set to v = 0.8 and α = 1 y.
The simulations were run for 53 years with a maximum time step of 1 year.For root-solving the 'nleqslv' and 'numDeriv' packages in R were utilized (Hasselman, 2023;Gilbert and Varadhan, 2016;R Core Team, 2022).Numerical integrations were carried out over the domain χ ∈ [0, 150].To validate the simulation, a complementary model capturing concentration evolution across binned ages was employed.This validation model adopts matching boundary and initial conditions, along with a congruent simulation setup.Detailed technical documentation for the validation model is provided in the supplementary material (sect.1.3).
For the simulations shown in Figure 3, the burial velocity was set to 2 mm y −1 .The bioturbation coefficient had a maximum value of 10 −11 m 2 s −1 at the top.It decreased exponentially with depth, having an e-folding distance set to 3 cm, implying that the diffusivity at the bottom of the domain is effectively zero and that the zero-gradient condition has a negligible effect on the results.The distributions set as upper boundary and initial conditions had moments set to C = 1, µ = 15 y, σ 2 = 13 y 2 , S = 0 y 3 .
The results (Fig. 3) demonstrate accurate concentration and mean age computation throughout the simulations.However, a noticeable mismatch appears in the simulated variance and skewness after 50 years in the triangular distribution simulation, whereas the translated Weibull distribution simulation reproduces the moments accurately.
In the two lower rows of Figure 3, distributions are presented as resolved during simulations for integration.After 15 years, the moment-based simulation distributions closely match the validation simulation, except at 2.5 cm depth for the triangular distribution.Mixing of younger and older materials from the upper boundary results in a positive skew near the upper boundary and a negative skew at greater depths.
Over time, the influence of the initial conditions diminishes.Considering only advection, the time to transport all initial material out of the model domain is 50 years.However, upward diffusion, despite net downward chemical diffusion, can increase the residence time of some particles.The triangular distribution struggles to accurately depict the resulting positively skewed distributions, as it degenerates into nearly right triangles at and below 2.5 cm depth (Fig. 3).The much more versatile Weibull distribution provides a better representation of the age distribution, but the distribution is clearly off in the most actively turbated zone (Fig. 3), which, however, does not appear to affect the accuracy of the simulated moments.When the simulation is run for 100 years (not shown), the moments maintain their accuracy, and the visual comparison of the distribution even slightly improves.Interestingly, the limited impact of the precise shape of the distribution also transpires from the great similarity of the distributions that evolve at depth over time in the validation simulations, regardless of the imposed distribution type at the 340 upper boundary condition (compare distributions below 2.5 cm depth after 50 years emerging from triangular and Weibull distributions in Fig. 3).Similar distributions also formed when the reaction was turned off (not shown).Therefore, the interplay between bioturbation and aging appeared to be of greater consequence for the evolution of the moments than the reaction and choice of distribution at the upper boundary.

Evaluation of the applications
The theory outlined in this paper gives modelers a free hand to simulate properties associated with particles described as a concentration.Modelers can use different reaction kinetics and simulate the effect on a continuous distribution.The first application shows that it is possible to reliably simulate numerous moments of an age distribution.In this type of application, it is unnecessary to reconstruct the distribution function from its moments during the simulation.In principle, any distribution is uniquely defined by a large or infinite number of moments.However, in practice, there does not exist a universal solution to retrieve distributions from their moments.Numerical methods have been developed for this purpose (e.g., John et al., 2007;Arbel et al., 2016) but do not always succeed.
In the two other applications, the shape of the distribution affected the reaction rates and, therefore, needed to be resolved in the simulations.In the reactivity continuum model, the shape could be well predicted, i.e., the chosen class of distribution function was a good approximation of the exact solutions.The bounds of the initial distribution of deposited material also provided bounds for the numerical integration of deeper (older) material since the domain only becomes smaller as the more reactive materials are consumed, and the refractory organics remain.These simulations were stable and ran relatively fast, despite the requirement to determine the parameters of the distribution in run-time, which involves several numerical integrations.This approach could be attractive as an alternative to the multi-G approach, as it does not require the arbitrary definition of various reactivity classes (Jørgensen, 1978) and can better represent slight differences in reactivity naturally developing over depth.
However, the multi-G simulation will run faster, even though the numerical scheme adopted here could be significantly improved (see suggestions below).The initial uniform distribution used in the simulation may not be realistic for organic matter in marine sediment (Boudreau and Ruddick, 1991).Instead, distributions similar to multi-G or continuous distributions found in the literature (Arndt et al., 2013) can be imposed for freshly deposited organics.
The third application posed the greatest challenge, as the shape of the age distribution strongly changed during the simulation and was hard to predict.The emergence of pronounced asymmetry motivated the addition of skewness as a state variable.The translated Weibull distribution performed best due to its versatility, as it can represent the exponential, Rayleigh, normal, and other two-parameter distributions.
Occasional substantial deviations were observed between distributions reconstructed from their moments and the actual distributions.An illustration of such discrepancies is evident in the left tails of the distributions after 50 years at a depth of 2.5 cm (Figure 3), even though the moments of both the triangular and translated Weibull distributions were nearly or entirely accurate.A fundamental problem of reconstructing distributions from moments pertains to the unequal weighting for concentration differences along the age/reactivity axis.Central moments exhibit zero weight at χ = µ (eq.8), while weights are maximized at the distribution's extremes.Consequently, the reconstruction process tends to fit the tails better than the central region encompassing the mean and mode.This tendency could introduce biases, particularly in scenarios where the extremes influence the dynamics less; for instance, when the precise age of very old material has minimal impact on overall reactivity.
The bias, depending on q in eq. 8, will be stronger for higher-order moments.
Numerous optimizations can be considered to improve the numerical schemes.In the third simulation, a transition from the method of lines (Sarmin and Chudov, 1963), characterized by continuous time and discrete space, to the classical finite differences/volumes approach, characterized by discrete space and time, yielded substantial improvements in simulation time and stability.This approach, affording greater control over time stepping and the execution frequency of root-solving procedures and numerical integrations, could likely also shorten computation times in the other applications.Other polynomial type or spline expressions could be tried to describe the distributions.Finally, pre-calculated search tables for distribution functions could be designed to look up parameters corresponding to a combination of moments.Then numerical integrations during run-time would become obsolete, letting simulations run faster.

The application of central moments-based models in comparison to alternative approaches
Instead of utilizing central moments, an alternative consideration involves using raw moments.When focusing solely on production processes and age distributions are simulated, raw moments could prove more practical, as they are not affected by the production of new material, but the disadvantage will be that aging will still affect them.
In scenarios involving consumption reactions, the use of raw moments generally leads to the evaluation of the fewest number of terms.For example, consider the rate expression in equation 30 compared to those in equation 34 for central moments.
However, the steps outlined in section 3.1 can be automated to obtain all necessary terms.For the complete set of equations encompassing all moments, the same integrations must be carried out, regardless of whether raw or central moments are employed.Hence, the choice between raw and central moments may have limited practical significance when considering only the consumption reactions in numerical models.
Central moments can be converted into raw moments (as in eq.28) or any other non-central moment.This implies that the choice of moment type for the PDEs is not critical for additional steps, such as the reconstruction of distributions from the moments (see previous section).
Central moments have advantages in simulating age or transit time distributions, as it lets aging only affect the mean and not higher moments like variance and skewness.In contrast, PDEs for non-central moments necessitate additional terms to account for aging (Delhez and Deleersnijder, 2002).While moments-based distributions have been employed for simulating age tracers and radioactive decay, their application in more complex dynamics remains unexplored.Determining the practical benefits of central versus non-central moments would require further testing.
For each application within this study, alternative numerical approaches were presented.One such approach involves utilizing Lagrangian simulation, which typically demands more computation time and may be less suitable for boundary value problems involving extended simulation durations needed to reach a steady state.In the second and third applications, continuous distributions were discretized by multiple state variables.While multi-G models run faster and are easier to implement, continuous approaches become particularly relevant when the goal is to examine aging processes.Discretizing age distributions presents challenges, as aging involves exchanges between different age bins.Similar to numerical advection schemes, this can lead to numerical diffusion, distorting the variance and skewness (Klingbeil et al., 2014).To circumvent this concern, the validation simulation in the third application utilized a moving grid for age bins (supplement sect.1.3).This approach reaches high accuracy.However, it has the disadvantage of requiring many state variables to represent age classes for the simulated period, which could become problematic, particularly in simulations with larger grids.Moments-based simulations offer an elegant and efficient solution, while the versatile applicability of PDEs makes their implementation in various models more convenient.

Conclusions
The derived diffusion-advection-reaction PDEs for central moments can be valuable tools for assessing the effect of processes on distributions, computing transit time/age distributions, and simulating reactivity distributions.Central moments hold advantages over raw moments, being intuitively interpretable and unaffected by aging.
The central moments of transit time/age distributions can be simulated first to allow the actual distribution reconstruction afterward.When the reactivity depends on the distribution, the distribution must be reconstructed and integrated at each time step.An adequate function could be defined to carry out the reconstruction from the mean and variance for the simulated distributions representing the reactivity continua in the second application.However, resolving age distributions in the third application to compute reactivities based on ages encountered distribution-choice-related accuracy challenges, suggesting a need for additional validation, particularly when the distribution is more sensitive to the reaction term and vice versa.
The second and third applications underscored bioturbation's considerable influence on chemicals' reactivity and age distributions in surficial sediments, highlighting potential inaccuracies in prior reactivity continuum approaches that ignore mixing.
Despite employing realistic transport parameters, applying the models to field data remains essential, particularly for more robust validation of the chosen reaction dynamics.Also, a more thorough analysis is required to assess the significance of age/reactivity distribution shapes for mineralization rates within mixed zones.The framework developed within this study is well-suited to address these aspects in future research.
is obtained.
In the remaining steps, it will be shown that the second term on the left-hand side of equation 24 will cancel out with the first term on the right-hand side of equation A10.
f (χ) function dependent on distributed property v reactivity parameter (see equation 37) and ϕ ′ = ∂ϕ/∂µ, etc.The term on the left-hand side of equation 10 and the first on the right-hand-side of equation 9 can be replaced by C n ϕ n and C o ϕ o , respectively.By inserting equation 10 into equation 9 and rearranging the terms, the expression

Figure 1 .
Figure 1.Profiles of moments evolving over time due to diffusion.Solution of numerical integration of partial differential equations (solid lines) is compared to a particle tracking simulation (circles).Domain contains 50 cells.The spacing and time steps are set equal to the jumping distance and the inverse jumping frequency of particles, respectively.

Figure 2 .
Figure 2. A simulated reactivity continuum model run to a steady state (black line), validated against a model using 30 bins to encompass the reactivity range (dashed light blue line).Concentration, mean reactivity, and standard deviation are shown in panels A, B, and C, respectively; panel D depicts the distribution function for reactivities at the upper (green line) and lower (brown line) boundaries of the model domain in comparison to the validation simulation (points).

Figure 3 .
Figure 3. Results of simulations based on age distributions.The left and right halves of the figure depict simulations utilizing the triangular and translated Weibull distributions, respectively.Presented are results after both 15 and 50 years of simulation.The moments-based simulation is compared to a simulation using age bins.The moment-based and age bin simulations are distinguished by solid and dashed lines in the upper two rows (see legend) and by lines and points in the lower two rows, which display distribution functions (df).For additional details on the simulations, refer to section 4.3.

Table 2 .
Partial differentials equation for diffusion of concentration, mean, and centralized moments.
Applying the product rule to ∂(Cµ)/∂t and substituting ∂C/∂t and ∂(Cµ)/∂t which matches the part between square brackets in equation A10.These terms will cancel each other out when the last equation is inserted on the left-hand side and equations A3 and A10 on the right-hand side of equation 24, leaving the final result shown in Table2is derived.