Abstract
In this paper, we introduced a clear object-oriented framework to implement the complicated adaptive procedure with C ++ programming language. In this framework, it consisted of the unstructured mesh generation, a-posterior error estimating, adaptive strategy, and the postprocessing. Unlike the procedure-oriented framework, which is commonly used in DC resistivity modeling with FORTRAN language, the object-oriented one, which is famous for its characteristic of encapsulation, could be used for a class of problems that would be executed by only making some changes on the user interface. To validate its flexibility, two synthetic DC examples were tested here.
Similar content being viewed by others
References
Akin J E, Singh M (2002). Object-oriented Fortran 90 P-adaptive finite element method. Advances in Engineering. Software, 33, (7-10): 461–468
Axness C, Carrera J, Bayer M (2004). Finite-element formulation for solving the hydrodynamic flow equation under radial flow conditions. Computers & Geosciences, 30(6): 663–670
Braun J (2003). Pecube: a new finite-element code to solve the 3D heat transport equation including the effects of a time-varying, finite amplitude surface topography. Computers & Geosciences, 29(6): 787–794
Brenner S C, Scott L R (2002). The Mathematical Theory of Finite Element Methods. Berlin: Springer
Folch A, Vázquez M, Codina R, Marti J. (1999). A fractional-step finite-element method for the Navier-Stokes equations applied to magma-chamber withdrawal. Computers & Geosciences, 25(3): 263–275
Haber E (2000). A mixed finite element method for the solution of the magnetostatic problem with highly discontinuous coefficients in 3D. Computational Geosciences, 4(4): 323–336
Key K, Weiss C (2006). Adaptive finite-element modeling using unstructured grids: The 2D magnetotelluric example. Geophysics, 71(6): G291–G299
Li Y G, Key K (2007). 2D marine controlled-source electromagnetic modeling: Part 1- An adaptive finite-element algorithm. Geophysics, 72(2): WA51–WA62
Ludwig K, Speiser B (2006). EChem ++-An object-oriented problem solving environment for electrochemistry: Part 4. Adaptive multilevel finite elements applied to electrochemical models Algorithm and benchmark calculations. Journal of Electroanalytical Chemistry, 588(1): 74–87
Nguyen S H, Mardon D (1995). A p-version finite-element formulation for modeling magnetic resonance relaxation in porous media. Computers & Geosciences, 21(1): 51–60
Niekamp R, Stein E (2002). An object-oriented approach for parallel two- and three-dimensional adaptive finite element computations. Computers & Structures, 80(3–4): 317–328
Phongthanapanich S, Dechaumphai P (2004). Adaptive Delaunay triangulation with object-oriented programming for crack propagation analysis. Finite Elements in Analysis and Design, 40(13–14): 1753–1771
Qiang J K, Luo Y Z (2007). The resistivity FEM numerical modeling on 3-D undulating topography. Chinese J Geophys, 50(5): 1606–1613. (in Chinese with English abstract)
Ren Z Y, Tang J T (2009). 3D direct current resistivity modeling with an unstructured mesh by an adaptive finite-element method. Geophysics (in press)
Rosenberg D, Fournier A, Fischer P, Pouquet A (2006). Geophysicalastrophysical spectral-element adaptive refinement (GASpAR): Object-oriented h-adaptive fluid dynamics simulation. Journal of Computational Physics, 215(1): 59–80
Scalicky T (1996). LASPack Reference Manual. Dresden: Dresden University of Technology, 39, http://www.netlib.org, accessed July 26, 2006
Si H (2003). Tetgen: a quality tetrahedral mesh generator and 3D delaunay triangulation, http://tetgen.berlios.de, accessed July 01, 2006
Stewart J R, Edwards H C (2004). A framework approach for developing parallel adaptive multiphysics applications. Finite Elements in Analysis and Design, 40(12): 1599–1617
Wu X P (2003). A 3-D finite-element algorithm for DC resistivity modeling using the shifted incomplete Cholesky conjugate gradient method. Geophys J Int, 154: 947–956
Xu S Z, Zhao S K (1985). The boundary element method calculating electric field of a point source on three-dimension topography. Journal of Guilin College of Geology, 5(2): 163–168 (in Chinese with English abstract)
Zienkiewicz O C, Zhu J Z (1992a). The superconvergent patch recovery and a posteriori error estimates. Part 1: the recovery technique. Int j numer. methods eng, 33(7): 1331–1364
Zienkiewicz O C, Zhu J Z (1992b). The superconvergent patch recovery and a posteriori error estimates. Part 2: error estimates and adaptivity. Int j numer. methods eng, 33(7): 1365–1382
Zienkiewicz O C, Taylor R L (2000). The Finite-element Method (fifth edition) Volume I: The basic. Woburn MA: Butterworth-Heinemann
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Ren, Z., Tang, J., Wang, F. et al. Object-oriented implementation of 3D DC adaptive finite-element method. Front. Earth Sci. China 4, 229–236 (2010). https://doi.org/10.1007/s11707-009-0065-x
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11707-009-0065-x