Acessibilidade / Reportar erro

Numerical Results on the Residual Error Indicator for a Contaminant Transport Model

ABSTRACT

In this article, residual indicators were used to characterize the quality of the numerical solution of the advection-diffusion-reaction equation in a saturated porous medium. Both large and small advection regimes were considered. The small advection was exemplified by a problem with constant data, while non-constant data was considered for the large advection regime. In this case, residual quantities associated with the data must be incorporated into the residual estimates related to the spatial approximation and an auxiliary problem must be solved for the correct obtainment of the temporal estimates. The presentation of the residual indicators as a surface on the finite element mesh provides a detailed view of the regions that need refinement, allows to infer the effect of each estimate on the composition of the global estimator and, in addition, allows to follow the evolution of the residual surfaces as the contaminant front advances in the simulation process. In turn, the numerical values of the indicators allow to delimit the elements that will be refined, to compare the magnitude of the contributions among themselves, between different meshes and a better understanding of the composition of the global estimates.

Keywords:
advection-dispersion-reaction; θ -scheme; finite element; residual error

1 INTRODUCTION

Computational models that implement numerical solutions for the solute migration in saturated porous media regularly appear in scientific publications. This problem, in general, involves description of phenomena such as retardation, reaction and sorption. Additionally, spatial and temporal dependence of equation coefficients includes additional effort to obtain numerical or analytical solutions.

Analytical solutions are not available for all types of phenomena and numerical solutions become the main tool for studying the transport of contaminants in porous media. Nevertheless, computational schemes are not immune to errors from various sources and computational methods depends both on the choice of approximation techniques and the quality of the underlying mesh 55. R.E. Ewing. A posteriori error estimation. Computer Methods in Applied Mechanics and Engineering, 82(1-3) (1990), 59-72. doi:10.1016/0045-7825(90)90158-I. URL http://www.sciencedirect. com/science/article/pii/004578259090158I .
http://www.sciencedirect. com/science/ar...
. The a priori error estimates are important tools for error estimates that provide the basis for the development of numerical methods. However, a posteriori measures are essential to determine quantitative measure of the obtained solution and to improve the solution where it is needed by using an adaptive strategy.

This paper is based on the residual estimator proposed by Verfürth 1414. R. Verfürth. A posteriori error estimates for linear parabolic equations (2004). Available at http://www.ruhr-uni-bochum.de/num1/files/reports/APEELPE.pdf .
http://www.ruhr-uni-bochum.de/num1/files...
. Additional discussion and results are presented by Praetorius 1111. D. Praetorius, E. Weinmuller & P. Wissgott. A Space-Time Adaptive Algorithm for Linear Parabolic Problems. Asc report 07/2008, Institute for Analysis and Scientific Computing Vienna University of Technology - TU Wien (2008). Available at www.asc.tuwien.ac.at ISBN 978-3-902627-00-1.
www.asc.tuwien.ac.at...
and Verfürth 1515. R. Verfürth. Adaptive Finite Element Methods: Lecture Notes Winter Term 2013/14 (2014). URL http://www.ruhr-uni-bochum.de/num1/files/lectures/AdaptiveFEM.pdf .
http://www.ruhr-uni-bochum.de/num1/files...
. The numerical examples considers the uniform flow with constant data and non-uniform flow with non-constant data.

Next sections presents the contaminant transport equation, finite element method with θ -scheme, the additional assumptions for residual error, residual components for each finite element, residual error estimator and residual error indicators.

2 MODEL PROBLEM FOR CONTAMINANT TRANSPORT

The model for residual estimates is given by the advection-dispersion-reaction equation (2.1) which provides the concentration C=C(x,y,t) , in a domain Ω2 , as function of space and time (See 33. J. Bear. “Hydraulics of Groundwater”. Dover Publications, Inc. (1979), 569 pp. ), ( 22. V. Batu. “Applied Flow and Solute Transport Modeling in Aquifers: Fundamental Principles and Analytical and Numerical Methods”. CRC Press Taylor (2006). ),

t C - d i v ( D C ) + v · C + λ C = f in   Ω × ( 0 , t f ] C = 0 in   Γ D × 0 , t f ] n · D C = g in   Γ N × ( 0 , t f ] C = C 0 in   Ω for   t = 0 (2.1)

where Ω is a open, bounded, connected set in ℝ2 with a polygonal cross-section with a Lipschitz boundary Γ=ΓDΓN,ΓDΓN= . The function C is affected by a combination of effects that includes the combination of diffusion and dispersion ( D ), the velocity field ( v ), the first order reaction function ( λ ), the source term ( f ) and the boundary conditions ( g and C 0). The initial condition, provided by C 0 depends only on space 1111. D. Praetorius, E. Weinmuller & P. Wissgott. A Space-Time Adaptive Algorithm for Linear Parabolic Problems. Asc report 07/2008, Institute for Analysis and Scientific Computing Vienna University of Technology - TU Wien (2008). Available at www.asc.tuwien.ac.at ISBN 978-3-902627-00-1.
www.asc.tuwien.ac.at...
.

3 FINITE ELEMENT METHOD

To derive the space-time approximation of (2.1), using finite element method (FEM), multiply the equation (2.1) by a test function w and use integration by parts to obtain the the weak form (3.1):

Ω t C w d Ω + C · D w d Ω + v · C w d Ω + λ C w d Ω = Ω f w d Ω + Γ N g w d S f o r a l l w H D 1 ( Ω ) . (3.1)

where HD1(Ω) denotes the subspace of the Sobolev space with functions that vanish on the Dirichlet boundary ΓD.

The time derivative was approximated by the first order finite difference while the others time dependent quantities are approximated by the θ -scheme. Formally, for a fixed parameter θ[1/2,1] , the time dependent quantities are Cn,θ:=θCn+(1-θ)Cn-1 , Dn,θ:=θDn+(1-θ)Dn-1 , vn,θ=θvn+(1-θ)vn-1 , λn,θ=θλn+(1-θ)λn-1 , fn,θ:=θfn+(1-θ)fn-1 and gn,θ:=θgn+(1-θ)gn-1 . The quantities Dhn,θ, vhn,θ, λhn,θ, fhn,θ and ghn,θ are the finite element representation of data in the finite element mesh, which is kept fixed for all time steps n .

Replacing the approximations in the weak form (3.1), the FEM approximation with θ -scheme has a unique solution for each time step τ . After an algebraic manipulation the finite element formulation can be written as a(Cn,w)=L(w) where a(Cn,w) is the bilinear form (3.2) and L ( w ) is the linear form (3.3)

a ( C n , w ) = Ω 1 τ C n + θ λ h n , θ C n + θ v h n , θ · C n w d Ω + Ω θ C n · D h n , θ w d Ω - Γ N θ n · D h n , θ C n w d S (3.2)

L ( w ) = Ω C n - 1 τ + ( θ - 1 ) λ h n , θ C n - 1 + v h n , θ · C n - 1 w d Ω + Ω ( θ - 1 ) C n - 1 · D h n , θ w + ( θ f h n - ( 1 - θ ) f h n - 1 ) w d Ω + Γ N ( 1 - θ ) n · D h n - 1 , θ C n - 1 w d S . (3.3)

The forms (3.2) and (3.3) are essential for FEM implementation using FEniCS methodology 11 Fenics Project documentation. Available at https://fenicsproject.org/docs/dolfin/1.6.0/python/ .
https://fenicsproject.org/docs/dolfin/1....
.

A detailed presentation about FEM is presented in reference 44. S. Brenner & L. Scott. The Mathematical Theory of Finite Element Methods. In “Texts in Applied Mathematics, v. 15”. Springer-Verlag, New York (1994). . Next section presents the residual error estimator from Verfürth 1414. R. Verfürth. A posteriori error estimates for linear parabolic equations (2004). Available at http://www.ruhr-uni-bochum.de/num1/files/reports/APEELPE.pdf .
http://www.ruhr-uni-bochum.de/num1/files...
), ( 1515. R. Verfürth. Adaptive Finite Element Methods: Lecture Notes Winter Term 2013/14 (2014). URL http://www.ruhr-uni-bochum.de/num1/files/lectures/AdaptiveFEM.pdf .
http://www.ruhr-uni-bochum.de/num1/files...
.

4 RESIDUAL ERROR COMPONENTS

Residual error estimate have contributions from each finite element in mesh, data approximation and due to time approximation scheme. These are local quantities that are calculated for each element K and for each edge E .

Element Residual ( R K ) and edge or face residual ( R E ) are provided by the expressions (4.1) and (4.2):

R K = f I - C n - C n - 1 τ - v h n , θ · ( θ C n + ( 1 - θ ) C n - 1 ) + d i v ( D h n , θ ( θ C n + ( 1 - θ ) C n - 1 ) ) - λ h n , θ ( θ C n + ( 1 - θ ) C n - 1 ) , (4.1)

R E = - J E ( n N E · D h n , θ ( θ C n + ( 1 - θ ) C n - 1 ) ) , E Γ g I - n N E · D h n , θ ( θ C n + ( 1 - θ ) C n - 1 ) , E Γ N 0 , E Γ D , (4.2)

where J is the Jump operator, the functions f I and g I are projection functions on to finite element space and defined by fI(·,t)=πn(θfn+(1-θ)fn-1) and gI(·,t)=πn(θgn+(1-θ)gn-1) .

The representation of data in the finite element space give rise to additional terms due to the space-time approximation. Analogously to the residual contributions, element and edge contributions are provided by expressions (4.3) and (4.4):

D K = - d i v ( D i f f D n ( θ C n + ( 1 - θ ) C n - 1 ) ) + D i f f v n × ( θ C n + ( 1 - θ ) C n - 1 ) - D i f f λ n ( θ C n + ( 1 - θ ) C n - 1 ) (4.3)

where DiffDn:=Dhn,θ-Dn,θ, Diffvn:=vhn,θ-vn,θ, Diffλn:=λhn,θ-λn,θ , and edge or face data residuals are defined by:

D E = n · D i f f D n ( θ C n + ( 1 - θ ) C n - 1 ) , E Γ n · D i f f D n ( θ C n + ( 1 - θ ) C n - 1 ) , E Γ N 0 , E Γ D . (4.4)

4.1 Residual indicators

The residual error indicators are the local quantities defined for each element K and for each edge E which take in account contributions from elements and data based on the respective quantities for data and elements.

Interior and jump indicators defined by:

( η K + Θ ) K = α K 2 | | R K | | L 2 ( K ) 2 + α K 2 | | D K | | L 2 ( K ) 2 1 / 2 , ( η E + Θ ) E = ε - 1 2 α E | | R E | | L 2 ( E ) 2 + ε - 1 2 α E | | D E | | L 2 ( E ) 2 1 / 2 . (4.5)

while spatial indicator, which is a composition of interior and jump indicators, are formally:

( η + Θ ) K E = ( η K + Θ ) K 2 + ( η E + Θ ) E 2 1 / 2 (4.6)

with, αS=min{hSε-12,β-12} for S{K,E} a local parameter of an element or an edge and h S the respective diameter; ε is the smallest eigenvalue of the dispersion matrix and β0 is a limiting factor for λ-(1/2)div(v)β . These constant values ε and β are related to the extra conditions required for residual error estimates. The details are presented in 1414. R. Verfürth. A posteriori error estimates for linear parabolic equations (2004). Available at http://www.ruhr-uni-bochum.de/num1/files/reports/APEELPE.pdf .
http://www.ruhr-uni-bochum.de/num1/files...
.

The contributions due to time approximation are related to magnitude of the groundwater velocity field. According to Verfürth 1515. R. Verfürth. Adaptive Finite Element Methods: Lecture Notes Winter Term 2013/14 (2014). URL http://www.ruhr-uni-bochum.de/num1/files/lectures/AdaptiveFEM.pdf .
http://www.ruhr-uni-bochum.de/num1/files...
, if the norm of velocity is limited by a constant value C c with moderated size, them small advection regime provides a suitable error estimate. However, if norm of velocity is much greater than some specific quantity, then additional estimates are needed to obtain a suitable error estimate due large advection regime. In formulas, small advection governs groundwater movement if ||v(x,t)||Ccε12·max{ε,β}12 , while ||v(x,t)||ε12max{ε,β}12 define a large advection regime for groundwater.

In the small advection case, the temporal estimate is obtained by means of

| | | C n - C n - 1 | | | 2 = ε | | ( D i f f C n ) | | 2 + β | | D i f f C n | | 2 . (4.7)

The temporal residual indicator in the element was the (4.7) restricted to element E , that is, (ηE)τ=|||Cn-Cn-1|||E .

In large advection case, an stationary reaction-diffusion auxiliary problem is necessary to obtain limitation for the dual norm in each step of the contaminant transport simulation 1515. R. Verfürth. Adaptive Finite Element Methods: Lecture Notes Winter Term 2013/14 (2014). URL http://www.ruhr-uni-bochum.de/num1/files/lectures/AdaptiveFEM.pdf .
http://www.ruhr-uni-bochum.de/num1/files...
. For each time step, the weak form for stationary reaction-diffusion problem is:

Ω C ~ n · D ε w + β C ~ n w d Ω = Ω v h n , θ · D i f f C n w d Ω .

with a finite element space consisting of continuous piece-wise linear functions. In this case, the residual contribution to element due to auxiliary problem was:

η ~ n 2 = α K 2 | | v h n , θ · ( C n - C n - 1 ) + ε C ~ n - β C ~ n | | 2 + ε - 1 2 α E | | J n · C ~ n | | 2 .

Therefore, the temporal indicator for large advection problem was set to:

( η E ) τ = | | | C n - C n - 1 | | | 2 + ( η ~ n ) 2 + | | | C ~ n | | | 2 1 / 2 . (4.8)

4.2 Additional considerations

The Python code was implemented using FEniCS Project 99. A. Logg, K.A. Mardal, G.N. Wells et al. “Automated Solution of Differential Equations by the Finite Element Method”. Springer (2012). doi:10.1007/978-3-642-23099-8.
https://doi.org/10.1007/978-3-642-23099-...
), ( 88. A. Logg. Automating the Finite Element Method. Archives of Computational Methods in Engineering, 14(2) (2007), 93-138. doi:10.1007/s11831-007-9003-9.
https://doi.org/10.1007/s11831-007-9003-...
. The finite element approximation for contaminant transport equation is implemented directly by means of the bilinear and linear forms provided in (3.2) and (3.3), respectively.

In order to represent error indicators as surfaces over finite element mesh, the values for indicators were used to define a class that overload a expression over the individual cell index from finite element error indicators array. The forms for indicators were evaluated considering a discontinuous Galerkin method and the surface was presented with the finite element functions over the mesh.

The calculations involving data estimates assumes that the data D n,θ , v n,θ , λ n,θ , f n,θ have an accurate representation. Here a higher order finite element space was used instead of a refined mesh to simplify the calculations, although both refined mesh and high order elements are allowed.

Parameter α S was represented by means of a function over the same mesh and finite element space that was used to solve contaminant transport. Values were approximated by use of the cell diameter measures evaluated over all the cell indexes inside a FEniCS class . The error indicators were defined based on the residual expressions from previous presentation. For interior elements the α S parameter was used as defined on the code that follows, however, edge elements consider that the operator avg (·), available on FEniCS 11 Fenics Project documentation. Available at https://fenicsproject.org/docs/dolfin/1.6.0/python/ .
https://fenicsproject.org/docs/dolfin/1....
, provide an estimate. The code for the α S parameter, as a function over the finite element mesh, is provided:

The temporal residual contributions were based on the solution of the auxiliary problem and on the same considerations above. Finally, the analytical solution, C A , when available, was evaluated by means of numerical quadrature package QUADPACK, which is available in SciPy 77. E. Jones, T. Oliphant, P. Peterson et al. SciPy: Open source scientific tools for Python (2001). URL http://www.scipy.org/ .
http://www.scipy.org/...
. To compare analytical and numerical values at nodal points the array format available in NumPy, 1313. S. van der Walt, S. Colbert & G. Varoquaux. The NumPy Array: A Structure for Efficient Numerical Computation. Computing in Science Engineering, 13(2) (2011), 22-30. doi:10.1109/MCSE.2011.37.
https://doi.org/10.1109/MCSE.2011.37...
, was used. The graphical results were presented using Matplotlib 66. J.D. Hunter. Matplotlib: A 2D graphics environment. Computing In Science & Engineering, 9(3) (2007), 90 -95. .

5 APPLICATION

5.1 Small advection with constant data

This section consider the contaminant transport equation on a rectangular domain Ω=(x0,x1)×(y0,y1)=(0.0,3000.0)×(0.0,1500.0) and is an adaptation from the problem presented in 1010. G. Pinder. A Galerkin-finite element simulation of groundwater contamination on Long Island. Water Resources Research, 9(6) (1973), 1657-1669. . The physical parameters are Dx=100.0m2d, Dy=20.0m2d for longitudinal and transversal dispersion, vx=0.2md and vy=0.0md for velocity components and constant reaction λ=0 .

The Figure 1 provides a graphical view of the domain Ω, the boundaries ΓD and ΓN , the velocity field, the function over the Dirichlet boundary and the initial condition. The Dirichlet boundary is on ΓD={x0}×[y0,y1] and the expression (5.1) provides the normalized concentration function.

C ( x , y , t ) = 1 . 0 , for x = 0 , | y - 750 . 0 | < 115 . 0 , t > 0 0 otherwise (5.1)

Figure 1:
The domain Ω, the Dirichlet boundary ΓD , the Neumann boundary ΓN and the function C at x=0 .

Neumann boundary is on ΓN=ΓΓD with g=n·(C) . The initial condition is C(x,y,t0=0)=0 for all xΩ .

The Figure 2 shows the normalized concentration function C=C(x,y,t) , the profiles and the level curves for finite element approximation with nx=2ny=300 triangular elements in each direction and left/right orientation, lagrangian linear functions, θ=1 , time step τ=2.50d, tfinal=1000.0d .

Figure 2:
Numerical solution, level curves and profiles in X,Y directions.

The numerical results are compared with the analytical solution for aquifer with infinite width and finite-width solute source given by the expression (5.2). A more detailed discussion and further references are available at 1616. E. Wexler. Chapter B7: Applications of hydraulics analytical solutions for one-, two- and three- dimensional solute transport in groundwater systems with uniform flow. In “Techniques of Water Resources Investigations of the United State Geological Survey, Book 3: Applications to Hydraulics”. U.S. Geological Survey, Denver, USA (1992). .

C A ( x , y , t ) = x π D x exp x V 2 D x 0 t / 4 1 Z 3 exp - α Z 4 - x 2 4 D x Z 4 × e r f c Y 1 - y 2 Z 2 D y - e r f c Y 2 - y 2 · Z 2 D y d Z (5.2)

where erfc(·)=1-erf(·) and erf (·) is the error function, α=V2/4Dx+λ, V=vx is the velocity, Y 1 and Y 2 the lower and upper limits of contaminant source at x=0 , respectively.

The Figure 3 illustrates the error function E=|CA(x,y,t)-C(x,y,t)| at specific time of simulation process.

Figure 3:
Error function, level curves and profiles in X,Y directions.

It can be observed that the biggest error occurs in the discontinuity of the boundary function which is a result finite element mesh approximation using continuous functions. It is also observed that the magnitude of the error decreases rapidly with the distance from the points of discontinuity and that the advances of contaminant front is much smaller than the error due to discontinuity.

A direct calculation provides that ε=4 and β=0.0 . Due to small value of velocity field, small advection governs groundwater flow. The spatial residual ((η+Θ)KE=ηKE) indicator, the residual indicator due to element ((η+Θ)K) and residual due to edge ((η+Θ)E) are presented in Figures 4 , 5 and 6 , respectively.

Figure 4:
Spatial error indicator, level curves and profiles in X,Y directions.

Figure 5:
Element error, level curves and profiles in X,Y directions.

Figure 6:
Jump error indicator, level curves and profiles in X,Y directions.

The element and jump indicators capture the region of discontinuity, but there is a drastic variation in the magnitude of the estimates. In both cases, the indicators advance with a plume of contamination, but the magnitude of the estimates in the discontinuity region exceeds any of the other estimates in the finite element mesh.

From the joint analysis of the indicators, the dominance of the jump indicators over the indicators of the elements in the composition of the spatial indicator can be concluded. This dominance is accentuated around the points of discontinuity and the magnitude of dominance varies over the finite element mesh. This dominance, expressed locally by means of the relationship between the indicators, is reflected in the global estimates as presented in 1212. J. Santos, A. Firmiano & E. Wendland. Jump Dominance on the Contaminant Transport Residual Error Estimator. TEMA - Trends in Applied and Computational Mathematics, (1) (2014). doi: https://doi.org/10.5540/tema.2014.015.01.0037 .
https://doi.org/10.5540/tema.2014.015.01...
.

A more detailed view of the relationship between the residual indicators and the error function, around the points of greatest variation of error function can be obtained by analyzing the results presented in the Table 1 . In this table are the values of the nodes from finite element mesh, the values from of the numerical and analytical solutions, the error and the indicators for a set of points such that E>0.5 max(E) . Due to the maximum value of the order O(10-5)(ητ,max=3.58·10-05) , the temporal indicator was considered insignificant in this scenario and was disregarded from the analysis.

Table 1:
The numerical solution and the analytical solution for infinite domain with finite width font, the real error and error indicators for a set of points such that E>0.5 max(E) .

As final results, Figure 7 presents the profiles of the differences and the profiles of the indicators for a distinct set of finite element meshes. The analysis indicates that nx=300=2ny provides more accurate solutions than the other meshes. Qualitatively, the residual indicators decrease in value as the number of elements in the meshes increases, as long as the time step is kept constant. In addition, the indicators preserve the dominance of the jump indicators over the element indicators. Finally, it was observed that the temporal indicators have a qualitative behavior that resembles the element indicator, shown in Figure 7-c , however, but with both different order of magnitude and maximum values.

Figure 7:
Profiles for a series of meshes with nx=200, 250, 300 and nx=400 at specific time. Profile for error function evaluated at y=530 and profiles for error indicators evaluated at y=300 .

5.2 Large advection with non-constant data

This example is an adaptation from the problem presented in 1717. C. Zoppou & J. Knight. Analytical solution of a spatially variable coefficient advection-diffusion equation in up to three dimensions. Applied Mathematical Modelling, 23(9) (1999), 667-685. doi: 10.1016/S0307-904X(99)00005-0. URL http://www.sciencedirect.com/science/article/ pii/S0307904X99000050 .
http://www.sciencedirect.com/science/art...
. The contaminant transport is defined on a rectangular domain Ω=(x0,x1)×(y0,y1) with a variable velocity field v=(vx(x,y),vy(x,y)) and a spatial dependence on the dispersion matrix D=D(x,y) . The velocity field varies in both coordinated directions by means of linear mathematical relationship and the dispersion assumes a quadratic variation in principal components. Mathematically, the relations are:

v = ( v x , v y ) = ( u 0 · ( x + 1 ) , - u 0 · ( y + 1 ) ) D = d x x ( x , y ) d x y ( x , y ) d y x ( x , y ) d y y ( x , y ) = D 0 u 0 2 · ( x + 1 ) 2 0 0 D 0 u 0 2 · ( y + 1 ) 2

where u 0 , D 0 are constant values. The flow has a Dirichlet boundary with zero constant value at ΓD={x0}×(y0,y1){y0}×(x0,x1) and a Neumann boundary on ΓN={x1}×(y0,y1){y1}×(x0,x1) with values g=n·DC . The source function was set to f(x,y,t)=0 and the initial condition was set to

C ( x , y , t = 0 ) = exp - ( x - μ 1 ) 2 2 σ 1 2 - ( y - μ 2 ) 2 2 σ 2 2 .

where µ 1 , µ 2 , σ 1 and σ 2 are constants. The Figure 8 is a schematic presentation of the domain with boundaries and initial concentration function.

Figure 8:
Schematic representation of domain, velocity field, initial condition, Dirichlet and Neumann boundaries.

The Figure 9 shows the concentration function C=C(x,y,t) , the profiles and the level curves for finite element approximation with nx=ny=200 triangular elements in each direction and le ft / right orientation, lagrangian linear functions, θ=1/2 , time step τ=.001, tfinal=2.50, μ1=μ2=5 and σ1=σ2=0.5 .

Figure 9:
Numerical solution, level curves and profiles in X, and Y directions.

Unlike the previous case, analytical solution are not available, both the dispersion and velocity data are space dependent functions and the flow is considered to be under large advection dominance. In this case, it is appropriate to use residual error indicators to access the quality of the numerical solution obtained using the finite element method.

The spatial residual indicator, ((η+Θ)KE) , the residual indicator due to element, ((η+Θ)K) , residual due to edge, ((η+Θ)E) and temporal indicator, ( η τ ) are presented in Figures 10 , 11 , 12 and 13 , respectively. The spatial residual indicator is composed of the estimates of the elements, jumps and respective data contributions. This could be partitioned into the contributions of elements and jumps, but it was conveniently incorporated into spatial estimates. The temporal indicator, in turn, adds the solution of the diffusive problem to the temporal estimates of the small advection regime.

Figure 10:
Spatial error indicator, level curves and profiles in X, and Y directions.

Figure 11:
Element indicator, level curves and profiles in X, and Y directions.

Figure 12:
Edge indicator, level curves and profiles in X, and Y directions.

Figure 13:
Temporal error indicator, level curves and profiles in X, and Y directions.

Analogously to the previous case, the joint analysis of the results shows the predominance of jump indicators. Now the dominance was accentuated around the points of maximum value of initial condition function. However, it can be argued that, due to the smoothness of the data, the finite element mesh provides an appropriate representation for the data and, as a result, the indicators do not vary sharply as in the previous case. Despite this, the representation of the data in the finite space is not exact and introduces residual estimates due to the data approximation.

In this scenario, the residual temporal estimates, Figure 13 , and the residual estimates of the elements are of same order of magnitude and, therefore, cannot be ignored. However, the variations are more oscillatory and it can be seen that the maximum values occur in the same region where the maximums of the other estimates occur. It can be argued that spatial approximation has a strong influence on the temporal estimates due to diffusion associated problem, but a more detailed investigation was necessary.

A more detailed view of the relationship between the residual indicators can be obtained by analyzing the results presented in the Table 2 . In this table, are a few values of the numerical solution and error indicators such C>0.975·max(C) . The analysis and comparisons of these results provides an better understanding of the relationship between the error indicators: maximum values for spatial and edge indicators are of order O (10−02) and order of maximum value for element indicator is O (10−03), which is one order greater than the temporal indicator. It evidences that around the maximum values of concentration, temporal indicators has a smaller importance.

Table 2:
The numerical solution and the error indicators for a set of points such that C>0.975·max(C) .

Similar to Figure 7 , the behavior of residual indicators for successive refinements of finite element meshes is shown in Figures 14 and 15 . In the same way as in the previous case, the residual values decrease for successive refinements as long as the time step is kept constant. It should be noted that the time indicators now have the same order of magnitude as the element indicators and that, in addition, they still maintain a similar qualitative behavior.

Figure 14:
Spatial and element indicators profiles, at y=4 , for a series of meshes with nx=100,200 and nx=300 at specific time.

Figure 15:
Jump and temporal indicators profiles, at y=4 , for a series of meshes with nx=100,200 and nx=300 at specific time.

6 CONCLUSIONS

The presentation of the indicators as a surface over the finite element mesh provides an insight into the influence of contributions on the global estimator and the magnitude of relationships between the various individual contributions. The availability of the analytical solution allows to obtain a broader view of the behavior of the residual estimator and to infer the strict dependence between the residual estimates, the finite element mesh and the temporal partition. The mesh’s inability to capture abrupt variations in the data was reflected in the residual indicators and, as a logical consequence, in the residual estimates. In the case where the data is non-constant and smooth, the finite element space adequately captures the variations, but the data representation errors are inserted and must be taken into account when calculating the estimates or indicators. The dominance of advective processes increases the computational work to obtain residual estimates associated with the temporal partition in relation to the problems with dispersive dominance. In both cases, advective or dispersive dominance, the surfaces can be used to access the regions of greatest variation and define components that do not have significant contributions to the estimates. In addition, it is possible to monitor the variations in the surfaces of the indicators associated with the evolution of the contaminant distribution function.

REFERENCES

  • 1
    Fenics Project documentation. Available at https://fenicsproject.org/docs/dolfin/1.6.0/python/ .
    » https://fenicsproject.org/docs/dolfin/1.6.0/python/
  • 2
    V. Batu. “Applied Flow and Solute Transport Modeling in Aquifers: Fundamental Principles and Analytical and Numerical Methods”. CRC Press Taylor (2006).
  • 3
    J. Bear. “Hydraulics of Groundwater”. Dover Publications, Inc. (1979), 569 pp.
  • 4
    S. Brenner & L. Scott. The Mathematical Theory of Finite Element Methods. In “Texts in Applied Mathematics, v. 15”. Springer-Verlag, New York (1994).
  • 5
    R.E. Ewing. A posteriori error estimation. Computer Methods in Applied Mechanics and Engineering, 82(1-3) (1990), 59-72. doi:10.1016/0045-7825(90)90158-I. URL http://www.sciencedirect. com/science/article/pii/004578259090158I .
    » https://doi.org/10.1016/0045-7825(90)90158-I» http://www.sciencedirect. com/science/article/pii/004578259090158I
  • 6
    J.D. Hunter. Matplotlib: A 2D graphics environment. Computing In Science & Engineering, 9(3) (2007), 90 -95.
  • 7
    E. Jones, T. Oliphant, P. Peterson et al. SciPy: Open source scientific tools for Python (2001). URL http://www.scipy.org/ .
    » http://www.scipy.org/
  • 8
    A. Logg. Automating the Finite Element Method. Archives of Computational Methods in Engineering, 14(2) (2007), 93-138. doi:10.1007/s11831-007-9003-9.
    » https://doi.org/10.1007/s11831-007-9003-9
  • 9
    A. Logg, K.A. Mardal, G.N. Wells et al. “Automated Solution of Differential Equations by the Finite Element Method”. Springer (2012). doi:10.1007/978-3-642-23099-8.
    » https://doi.org/10.1007/978-3-642-23099-8
  • 10
    G. Pinder. A Galerkin-finite element simulation of groundwater contamination on Long Island. Water Resources Research, 9(6) (1973), 1657-1669.
  • 11
    D. Praetorius, E. Weinmuller & P. Wissgott. A Space-Time Adaptive Algorithm for Linear Parabolic Problems. Asc report 07/2008, Institute for Analysis and Scientific Computing Vienna University of Technology - TU Wien (2008). Available at www.asc.tuwien.ac.at ISBN 978-3-902627-00-1.
    » www.asc.tuwien.ac.at
  • 12
    J. Santos, A. Firmiano & E. Wendland. Jump Dominance on the Contaminant Transport Residual Error Estimator. TEMA - Trends in Applied and Computational Mathematics, (1) (2014). doi: https://doi.org/10.5540/tema.2014.015.01.0037 .
    » https://doi.org/10.5540/tema.2014.015.01.0037
  • 13
    S. van der Walt, S. Colbert & G. Varoquaux. The NumPy Array: A Structure for Efficient Numerical Computation. Computing in Science Engineering, 13(2) (2011), 22-30. doi:10.1109/MCSE.2011.37.
    » https://doi.org/10.1109/MCSE.2011.37
  • 14
    R. Verfürth. A posteriori error estimates for linear parabolic equations (2004). Available at http://www.ruhr-uni-bochum.de/num1/files/reports/APEELPE.pdf .
    » http://www.ruhr-uni-bochum.de/num1/files/reports/APEELPE.pdf
  • 15
    R. Verfürth. Adaptive Finite Element Methods: Lecture Notes Winter Term 2013/14 (2014). URL http://www.ruhr-uni-bochum.de/num1/files/lectures/AdaptiveFEM.pdf .
    » http://www.ruhr-uni-bochum.de/num1/files/lectures/AdaptiveFEM.pdf
  • 16
    E. Wexler. Chapter B7: Applications of hydraulics analytical solutions for one-, two- and three- dimensional solute transport in groundwater systems with uniform flow. In “Techniques of Water Resources Investigations of the United State Geological Survey, Book 3: Applications to Hydraulics”. U.S. Geological Survey, Denver, USA (1992).
  • 17
    C. Zoppou & J. Knight. Analytical solution of a spatially variable coefficient advection-diffusion equation in up to three dimensions. Applied Mathematical Modelling, 23(9) (1999), 667-685. doi: 10.1016/S0307-904X(99)00005-0. URL http://www.sciencedirect.com/science/article/ pii/S0307904X99000050 .
    » https://doi.org/10.1016/S0307-904X(99)00005-0» http://www.sciencedirect.com/science/article/ pii/S0307904X99000050

Publication Dates

  • Publication in this collection
    06 Sept 2021
  • Date of issue
    Jul-Sep 2021

History

  • Received
    04 Mar 2020
  • Accepted
    01 Feb 2021
Sociedade Brasileira de Matemática Aplicada e Computacional - SBMAC Rua Maestro João Seppe, nº. 900, 16º. andar - Sala 163, Cep: 13561-120 - SP / São Carlos - Brasil, +55 (16) 3412-9752 - São Carlos - SP - Brazil
E-mail: sbmac@sbmac.org.br