Journal of Applied Mathematics and Physics
Vol.03 No.03(2015), Article ID:55177,12 pages
10.4236/jamp.2015.33047
Subdomain Chebyshev Spectral Method for 2D and 3D Numerical Differentiations in a Curved Coordinate System
Bing Zhou1, Graham Heinson2, Aixa Rivera-Rios2
1Petroleum Geoscience, The Petroleum Institute, Abu Dhabi, UAE
2Geology and Geophysics, The University of Adelaide, Adelaide, Australia
Email: bizhou@pi.ac.ae, graham.heinson@adelaide.edu.au, Axia-riverarios@adelaide.edu.au
Copyright © 2015 by authors and Scientific Research Publishing Inc.
This work is licensed under the Creative Commons Attribution International License (CC BY).
http://creativecommons.org/licenses/by/4.0/



Received 15 February 2015; accepted 26 March 2015; published 30 March 2015
ABSTRACT
A new numerical approach, called the “subdomain Chebyshev spectral method” is presented for calculation of the spatial derivatives in a curved coordinate system, which may be employed for numerical solutions of partial differential equations defined in a 2D or 3D geological model. The new approach refers to a “strong version” against the “weak version” of the subspace spectral method based on the variational principle or Galerkin’s weighting scheme. We incorporate local non- linear transformations and global spline interpolations in a curved coordinate system and make the discrete grid exactly matches geometry of the model so that it is achieved to convert the global domain into subdomains and apply Chebyshev points to locally sampling physical quantities and globally computing the spatial derivatives. This new approach not only remains exponential convergence of the standard spectral method in subdomains, but also yields a sparse assembled matrix when applied for the global domain simulations. We conducted 2D and 3D synthetic experiments and compared accuracies of the numerical differentiations with traditional finite difference approaches. The results show that as the points of differentiation vector are larger than five, the subdomain Chebyshev spectral method significantly improve the accuracies of the finite differ- ence approaches.
Keywords:
Numerical Differentiation, Chebyshev Spectral Method, Curved Coordinate System, Arbitrary Topography

1. Introduction
With development of computer technology, computer modeling that imitates the underground earth interior becomes now a powerful tool to geological, environmental and geophysical problems, e.g. numerical simulations of tectonic dynamics [1] [2] , underground water flow or geothermal system [3] -[5] , seismic wave propagation [6] -[9] and geo-electromagnetic fields [10] [11] . Mathematically, computer modeling seeks approximate solutions of partial differential equations (PDE) that govern geological evolution or geophysical fields in the Earth, subject to a Dirichlet or Neumann boundary conditions. The simplest method of computer modeling is finite- difference approach to the partial derivatives of PDE, e.g. various high-order finite-difference formulae [12] and staggered grid schemes [13] . Due to simple principle and easy implementation, they become now widely used for many geological and geophysical problems [14] [15] . However, these methods often employ regular grids, and consequently suffer from complex geometries of geological models, e.g. various free-surface topography, such as hill, trench and folded rocks, which are often encountered in practice. In these cases, the finite-difference approach has to refine the free-surface topography and subsurface interfaces by stepwise curves or stepwise blocks [16] , which cannot exactly match the geometries of geological models. To overcome the disadvantage, many researchers prefer the so-called “weak” solutions of PDE, i.e. finite-element method [17] or subspace spec- tral element method [18] [19] , which is based on the variational principle or Galerkin’s weighting scheme. Alternatively, one has to define a set of coordinate transformations and adapt the finite-difference approach to a curved coordinate system so as to match the free-surface topography and subsurface interfaces of geological models [20] -[22] .
Spectral method, e.g. Chebyshev spectral method is superior to the traditional finite-difference approach in numerical differentiations because of exponential convergence [23] . Due to its high accuracy, easy computer programming, and applicability to complex model geometries, the spectral method becomes one of the most popular accurate solvers of PDE [23] -[25] . However, the most disadvantageous aspect of the spectral methods is expensive consumption of computer memory and CPU time, because it employs global collocation points in calculations of the spatial derivatives, resulting in a fully filling-in differentiation matrix [23] . Therefore, it suffers the disadvantage in computer modeling for a large 3D geological or geophysical model [24] [25] .
In this paper, we present a subdomain Chebyshev spectral method to calculate spatial derivatives in a curved coordinate system, which is similar to subspace spectral element method (weak form) [18] that divides the global domain into subdomains (elements) exactly matching the geometry of the model, and then Chebyshev points are applied to discretization of physical quantities and calculation of the spatial derivatives in each subdomain. The Chebyshev collocation points for the spatial differentiations only involve the local physical samples instead of the global values; therefore, the method saves huge computer memory for a 3D computer modeling. Such discretization results in a sparse assembled matrix like the “weak” version of subspace spectral element method [18] [19] and Gaussian quadrature grid approach [9] . We conduct 2D and 3D synthetic experiments and compare the results with the finite-difference approaches. The results show that the new method is superior to the traditional finite-difference method in numerical differentiations and applicable to complex geological models having arbitrary free-surface topography and multiple subsurface interfaces.
2. Strong Solution
In general, computer modeling is to solve the following PDE [26] :
, (1)
subject to some Dirichlet or Neumann boundary conditions. Here
is often a second-order linear differential operator depending on model vector m and partial derivatives
and
(i, j = 1, 2, 3). The vectors
and
represent location and physical field in a 2D or a 3D model domain Ω. The right-hand side vector
is considered as a source of the physical field F defined in Ω. The vectors F and m are different physical quantities according to geological or geophysical problems, e.g. in tectonic dynamics, F may consist of pressure field p, deviatoric stress
and velocity field v, and m comprises the density
and viscosity
:
of the Earth [1] [2] ; in seismic wave modeling, F is the ground displacement vector u, or composed of speed v and stress tensor
, and m includes density
and elastic moduli
:
[8] [9] ; in geo-electromagnetics, F becomes either electric field E or magnetic field H, and m involves electric permittivity
, magnetic permeability




In order to match free-surface topography, e.g. hill, trench and ridge, one may employ the global coordinate transformations [20] -[22] :

mapping the computational coordinates




Here, summation convention of the repeated integer subscripts k and l has been applied. Accordingly, the discrete versions of Equations (3) and (4) can be written in the following forms


where


Here,






Here,











reduced to the simplest forms:


spectral differentiation vectors [23] . According to Equation (9), the discrete forms of the field quantity F are ob-
tained, i.e.







Substituting Equations (5) and (6) into (1), and then applying the PDE to every point


which have 3N unknowns of








It should be noticed that the differentiation vectors


cable only if the Jacobian


ation (2) must be smooth (differentiable) in the domain. In the next section, we present a set of the local coordinate transformations which are applicable for arbitrary free-surface topography and make the numerical differentiation vectors


3. Coordinate Transformation
In order to exactly match free-surface topography and subsurface interfaces of the Earth, we divide the model domain







which maps the local coordinates






and both are functions of x and y. Therefore, Equation (11) gives non-zero components of the Jacobian matrix:

and non-zero components of the Hessian matrix:

Equations (13) and (14) indicate that the Jacobian and Hessian matrices depend on the derivatives



boundaries

spline interpolation functions to the boundaries


where










4. Subdomain Chebyshev Spectral Method
In the transformed subdomain

to three coordinates






and second differentiation vectors

where



Substitutions of Equations (13) and (17) for (7), we obtain general forms of the first differentiation vectors with respect to the global coordinates:

Similarly, substituting Equations (13), (14) and (19) into (8), we obtain the second differentiation vectors with respect to the global coordinates






and obtain

Here, we used


relationship between







It should be noticed that Equations (19) and (21) are valid for the points inside the subdomains. At a boundary point of the subdomains, they may yield different values of the partial derivatives due to multiple subdomains’ sharing. For the “strong” solution, the partial derivatives at the boundary points must be unique, for which we pick up half of Chebyshev points from the connecting subdomains (see points in the “boundary domain” in Figure 1) and construct the Lagrange interpolation polynomials given by Equation (17) and (18). Consequently, Equations (19) and (21) become well defined (uniqueness) for the partial derivatives at the boundary points. Apparently, the differentiation vectors at the boundary points differ from the ones at the points inside the subdomains due to the different distributions of Chebyshev points in the boundary domains and the ordinary subdomains (see Figure 1). This difference does not break down Equations (19) and (21), and on the contrary, it makes them applicable to any point in the whole domain. We call these differentiation schemes the “subdomain Chebyshev spectral method”, because it applies the Chebyshev points to the subdomain rather than the globe domain presented in standard spectral method [23] . Particularly, if we replace the Chebyshev points with equispaced points in the subdomains, Equations (19) and (21) become the central finite-difference approaches. It shows that the subdomain Chebyshev spectral method may regress to the finite-difference approaches.
5. Numerical Experiments
To demonstrate the capability of the new approach, we designed a 2D and a 3D geological model (see Figure 2).
Figure 1. Illustration of the 1D subdomain Chebyshev differentiation scheme. In each subdomain, five Chebyshev points are applied. At a boundary point, half Chebyshev points are taken from the neighbour subdomains (see the points in “boundary domain”).
Figure 2. 2D and 3D geological models used for numerical experiments. The subdomain Chebyshev differentiation grids are plotted in the backgrounds and applied to compute the partial derivatives.
The former is a valley and the latter represents a ridge, both have two interfaces under the ground. With the given model geometries, we used subdomain Chebyshev points to discretise the model domain and obtained the subdomain Chebyshev differentiation grids. Figure 2 shows the grids of the two models, from which one can see 10 ´ 8 and 10 ´ 10 ´ 10 bent subdomains of the 2D and 3D geological models, respectively. The grids exactly match free-surface topography and subsurface interfaces.
In order to examine the accuracy of the subdomain Chebyshev spectral method, we employed the following testing functions as the physical quantities defined in the two models:


Here, Lx, Ly, and Lz are lengths of the model domain in three coordinate directions. From the two functions, one can analytically calculate the first and second partial derivatives, which are used to check the accuracies of the subdomain Chebyshev spectral method. Figure 3 gives five partial derivatives
















In order to compare the subdomain Chebyshev spectral method with the traditional finite-difference approach, we repeated the above numerical experiments with finite-difference method and compared the average and maximum absolutely relative errors of the two methods. Meanwhile, five algorithms have been implemented¾ three finite-difference approaches (FDM0, FDM1, FDM2) and two subdomain Chebyshev spectral methods (SCSM1, SCSM2). Here, the number “0” denotes the algorithm applying Lagrange interpolation functions to the free-surface topography








Figure 4 shows the average absolutely relative errors of five partial derivatives computed by the subdomainChebyshev spectral methods and finite-difference approaches. From these results, four facts are observed: firstly,
Figure 3. First and second partial derivatives and their absolutely relative errors computed by subdomain Chebyshev spectral method for the 2D geological model shown in Figure 2. Seven Chebyshev points were applied to each subdomain.
replacement of the global spline interpolations with local Lagrange interpolations, to match free-surface topography and subsurface interfaces, will lead numerical differentiation to fail in convergence (see FEM0-curves in











Figure 4. Convergence curves of the 2D geological model. FDM0, FDM1 and FDM3 are three finite-difference methods. SCSM1 and SCSM2 are two subdomain Chebyshev spectral methods. “0” denotes the scheme that applies Lagrange interpolations to free-surface topography and subsurface interfaces. “1” and “2” stand for the algorithms using and not using high-order derivatives in coordinate transformations, respectively.
better convergences than the algorithms of FDM1 and SCSM1 in computations of the second derivatives, because the former does not require high-order derivatives

In the 3D case (see Figure 2), we once again applied the subdomain Chebyshev spectral method to compute nine partial derivatives







Figure 6 gives overall comparisons of the subdomain Chebyshev spectral method with the finite-difference approaches in the 3D case. The average absolutely relative errors of nine spatial derivatives are plotted against points of the differentiation vectors. These results exhibit similar performances to the 2D case, e.g. the conver- gence curves of




Figure 5. Second derivatives (a) and their absolutely relative errors (b) computed by the subdomain Chebyshev spectral method for the 3D geological model shown in Figure 2. Seven points in each direction were applied to the subdomains.
Figure 6. Convergence curves of four numerical differentiation schemes: SCSM1 and SCSM2 are two algorithms of subdomain Chebyshev spectral method, FDM1 and FDM2 are two finite-difference approaches. Here, the integers “1” and “2” denote the algorithms involving and excluding the high-order derivatives of spline interpolations.
from

6. Conclusions
We have demonstrated a subdomain Chebyshev spectral method to numerical differentiations in a curved coordinate system, which may be employed to seek a “strong” solution of PED defined in ageological or a geophysical model. The new method employs a set of non-linear local coordinate transformations, global spline interpolations and subdomain Chebyshev points to make the discretization grid automatically match free-surface topography and subsurface interfaces, and guarantees the numerical solution converging to the “strong” solution of partial differential equations. The new method possesses advantages from the traditional finite-difference approaches, i.e. simple discretization procedure and sparse assembled matrix, but it has stronger capability to deal with complex geometries of geological models and better accuracies in numerical differentiations. Methodologically speaking, the subdomain Chebyshev spectral method may replace the finite-difference approaches in geological or geophysical computer modelling and enables us to easily hand free-surface topography and significantly improve accuracy of modelling results.
2D and 3D synthetic experiments demonstrate the accuracies and capabilities of the subdomain Chebyshev spectral method. As points of the differentiation vectors are large than 5, the subdomain Chebyshev spectral method can reach one-order higher accuracy in numerical differentiations than the traditional finite-difference approaches in curved coordinates systems. Two algorithms of the subdomain Chebyshev spectral method (SCSM1, SCSM2) are both valid for numerical differentiations in PDE, but the algorithm SCSM2 is more efficient in computations than SCSM1, due to exclusion of computing the high-order derivatives of the coordinate trans- formations.
Acknowledgements
This work was supported by a Discovery Project (DP1093110) of the Australia Research Council. The authors thank Mr. Craig Patten for his assistance in using high-performance computing facility at eResearch SA in Australia.
Cite this paper
Bing Zhou, Graham Heinson, Aixa Rivera-Rios,, (2015) Subdomain Chebyshev Spectral Method for 2D and 3D Numerical Differentiations in a Curved Coordinate System. Journal of Applied Mathematics and Physics, 03, 358-370. doi: 10.4236/jamp.2015.33047
References
- Pysklywec, R.N. and Cruden, A.R. (2004) Coupled Crust-Mantle Dynamics and Inter-Plate Tectonics: Two-Dimensional Numerical and Three-Dimensional Analogue Modeling. Geochemistry Geophysics Geosystems, 5, 1-20.
http://dx.doi.org/10.1029/2004GC000748 - Taras, G. (2010) Introduction to Numerical Geodynamic Modeling. Cambridge University Press, Cambridge.
- Harbaugh, A.W. and McDonald, M.G. (1996) User’s Documentation for MODFLOW-96, an Updata to the US Geological Survey Modular Finite-Difference Ground-Water Flow. US Geological Survey Open-File Report 96-485.
- Dierch, H.-J.G. (1998) FEFLOW-User’s Manual: WASI-Institute of Water Resources. Planning and System Research Ltd., Berlin.
- Bundschuh, J. and Arriage, M.C.S. (2010) Introduction to the Numerical Modelling of Groundwater and Geothermal Systems, Fundamentals of Mass, Energy and Solute Transport in Poroelastic Rocks. CRC Press, Taylor & Francis Group, Boca Raton.
- Kelley, K.R. and Marfurt, K.J. (1990) Numerical Solutions of Acoustic and Elastic Wave Equations: Finite-Difference and Finite-Element Algorithms. Society of Exploration Geophysics, Tulsa.
- Kerry, K. and Weiss, C. (2006) Adaptive Finite Element Modeling Using Unstructuredgrid, the 2D Magnetotelluric Example. Geophysics, 71, G291-G294.
http://dx.doi.org/10.1190/1.2348091 - Zhou, B. and Greenhalgh, S. (2011) 3-D Frequency-Domain Seismic Wave Modeling in Heterogeneous, Anisotropic Media Using a Gaussian Quadrature Grid Approach. Geophysical Journal International, 184, 507-526.
http://dx.doi.org/10.1111/j.1365-246X.2010.04859.x - Zhou, B., Greenhalgh, S. and Maurer, H. (2012) 2.5-D Frequency-Domain Seismic Wave Modeling in Heterogeneous, Anisotropic Media Using a Gaussian Quadrature Grid Technique. Computer & Geosciences, 39, 18-33.
http://dx.doi.org/10.1016/j.cageo.2011.06.005 - Robert, T., Vivier, F. and Shenghui, L. (2004) Three-Dimensional Modelling of Ocean Electrodynamics Using Gauged Potentials. Geophysical Journal International, 158, 874-887.
http://dx.doi.org/10.1111/j.1365-246X.2004.02318.x - Virieux, J., Calandra, H. and Plessix, R. (2011) A Review of the Spectral, Pseudo-Spectral, Finite-Difference and Finite-Element Modeling Techniques for Geophysical Imaging. Geophysical Prospecting, 59, 794-813.
- Dablain, M.A. (1986) The Application of High-Order Differencing to the Scalar Wave Equation. Geophysics, 51, 54-66.
http://dx.doi.org/10.1190/1.1442040 - Gilles, L., Hagness, S.C. and Vazquez, L. (2000) Comparison between Staggered and Unstaggered Finite-Difference Time-Domain Grid for Few-Cycle Temporal Optical Solution Propagation. Journal of Computational Physics, 161, 379-400.
http://dx.doi.org/10.1006/jcph.2000.6460 - Festa, G. and Vilotte, J. (2005) The Newmark Scheme as Velocity-Stress Time Staggered: An Efficient PML Implementation for Spectral Element Simulations of Electrodynamics. Geophysical Journal International, 161, 789-812.
http://dx.doi.org/10.1111/j.1365-246X.2005.02601.x - Streich, R. (2009) 3D Finite-Difference Frequency-Domain Modeling of Controlled-Source Electromagnetic Data: Direct Solution and Optimization for High Accuracy. Geophysics, 74, F95-F105.
http://dx.doi.org/10.1190/1.3196241 - Robertsson, J.O. (1996) Numerical Free-Surface Condition for Elastic/Viscoelastic Finite-Difference Modeling in the Presence of Topography. Geophysics, 61, 1921-1934.
http://dx.doi.org/10.1190/1.1444107 - Schwarz, H.R. (1988) Finite Element Methods. Academic Press, New York.
- Canuto, C., Hussaini, M.Y., Quarteroni, A. and Zang, T.A. (1988) Spectral Methods in Fluid Dynamics. Springer-Verlag, New York.
http://dx.doi.org/10.1007/978-3-642-84108-8 - Komatitsch, D. and Tromp, J. (2002) Spectral-Element Simulation of Global Seismic Wave Propagation—I. Validation. Geophysical Journal International, 149, 390-412.
http://dx.doi.org/10.1046/j.1365-246X.2002.01653.x - Komatitsch, D., Coutel, F. and Mora, P. (1996) Tensorial Formulation of the Wave-Equation for Modeling Curved Interfaces. Geophysical Journal International, 127, 156-168.
http://dx.doi.org/10.1111/j.1365-246X.1996.tb01541.x - Hestholm, S. and Ruud, B. (1998) 3-D Finite-Difference Elastic Wave Modeling Including Surface Topography. Geophysics, 63, 613-622.
http://dx.doi.org/10.1190/1.1444360 - Zhang, W. and Chen, X. (2006) Traction Image Method for Irregular Free Surface Boundaries in Finite-Difference Seismic Wave Simulation. Geophysical Journal International, 167, 337-353.
http://dx.doi.org/10.1111/j.1365-246X.2006.03113.x - Trefethen, L.N. (2000) Spectral Method in MATLAB. SIAM, Philadelphia.
http://dx.doi.org/10.1137/1.9780898719598 - Tessmer, E. and Kosloff, D. (1994) 3-D Elastic Modeling with Surface Topography by a Chebyshev Spectral Method. Geophysics, 59, 464-473.
http://dx.doi.org/10.1190/1.1443608 - Igel, H. (1999) Wave Propagation in a Three-Dimensional Spherical Section by the Chebyshev Spectral Method. Geophysical Journal International, 136, 559-566.
http://dx.doi.org/10.1190/1.1443608 - John, F. (1982) Partial Differential Equations. Springer-Verlag, New York.
- Vorst, H.A. (2003) Iterative Krylov Methods for a Large Linear Systems. Cambridge University Press, Cambridge.
http://dx.doi.org/10.1017/CBO9780511615115 - Amestoy, P.R., Guermouche, A., L’Excellent, J.-Y. and Pralet, S. (2006) Hybrid Scheduling for the Parallel Solution of Linear Systems. Parallel Computing, 32, 136-156.
http://dx.doi.org/10.1016/j.parco.2005.07.004 - Helmuth, S. (1995) One Dimensional Spline Interpolation Algorithms. A. K. Peters, Wellesley.
- Helmuth, S. (1995) Two Dimensional Spline Interpolation Algorithms. A. K. Peters, Wellesley.








