\`x^2+y_1+z_12^34\`
Advanced Search
Article Contents
Article Contents

Scalable recovery-based adaptation on Cartesian quadtree meshes for advection-diffusion-reaction problems

  • *Corresponding author: Simona Perotto

    *Corresponding author: Simona Perotto
Abstract / Introduction Full Text(HTML) Figure(21) / Table(1) Related Papers Cited by
  • We propose a mesh adaptation procedure for Cartesian quadtree meshes, to discretize scalar advection-diffusion-reaction problems. The adaptation process is driven by a recovery-based a posteriori estimator for the $ L^2(\Omega) $-norm of the discretization error, based on suitable higher order approximations of both the solution and the associated gradient. In particular, a metric-based approach exploits the information provided by the estimator to iteratively predict the new adapted mesh. The new mesh adaptation algorithm is successfully assessed on different configurations and performs well when dealing with discontinuities in the data as well as in the presence of internal layers not aligned with the Cartesian directions. A cross-comparison with a standard estimate-mark-refine approach and with other adaptive strategies available in the literature shows the noteworthy accuracy and parallel scalability of the proposed approach.

    Mathematics Subject Classification: Primary: 65N50; Secondary: 65Y05, 65N08, 65N15.

    Citation:

    \begin{equation} \\ \end{equation}
  • 加载中
  • Figure 1.  Example of refinement for a non-conforming mesh: initial configuration (left); refined mesh (center), where node 5 corresponds to the newly added degree of freedom; mesh used to define the basis function $ \bar{\varphi}_5 $ (right).

    Figure 2.  Example of coarsening for a non-conforming mesh: initial configuration (left) where the red nodes highlight the degrees of freedom to be removed; coarsened mesh (right).

    Figure 3.  Gradient recovery: patch associated with the internal (left) and the boundary (right) node $ (x_i, y_j) $. The mesh edges used in the recovery procedure are labeled in green.

    Figure 4.  Solution recovery: local numbering of DOFs in $ \Omega^{(k)} $ characterizing the space $ \tilde{Q}_h^2 $ (left); sketch of a non-conforming configuration when interested in recovering the solution at DOF 6 (right).

    Figure 5.  Test case 1. Marking-based adaptation.

    Figure 6.  Test case 1. Metric-based adaptation.

    Figure 7.  Test case 1. Convergence analysis of the error associated with the discrete and the recovered solution and gradient, as a function of the mesh size $ h_{\mathrm{min}} $ (left); log-log plot of the norm $ \left\|{u - u_h}\right\|_{L^2(\Omega)} $ as a function of the number of DOFs on a uniform and on a metric-based adapted mesh (right).

    Figure 8.  Test case 1. Histogram of the element size computed at the last iteration of the metric-based adaptive procedure (left); trend of the effectivity index as a function of the adaptation step (right).

    Figure 9.  Test case 1. Scalability analysis of the different phases of the marking-based adaptation procedure: parallel speedup (left) and stacked barplot of the time percentage associated with the different phases of the algorithm (right) as a function of the number of parallel processes.

    Figure 10.  Test case 2 (rectilinear discontinuity). 2D (left) and 3D (right) view of the exact solution.

    Figure 11.  Test case 2 (rectilinear discontinuity). Marking-based adaptation.

    Figure 12.  Test case 2 (rectilinear discontinuity). Metric-based adaptation.

    Figure 13.  Test case 2 (rectilinear discontinuity). Convergence analysis of the error associated with the discrete and the recovered solution and gradient, as a function of the mesh size $ h_{\mathrm{min}} $ (left); log-log plot of the norm $ \left\|{u - u_h}\right\|_{L^2(\Omega)} $ as a function of the number of DOFs on a uniform and on a metric-based adapted mesh (right).

    Figure 14.  Test case 2 (rectilinear discontinuity). Histogram of the element size computed at the last iteration of the metric-based adaptive procedure (left); trend of the effectivity index as a function of the adaptation step (right).

    Figure 15.  Test case 2 (circular discontinuity). 2D (left) and 3D (right) view of the solution.

    Figure 16.  Test case 2 (circular discontinuity). Metric-based adaptation.

    Figure 17.  Test case 3. 2D (left) and 3D (right) view of the solution.

    Figure 18.  Test case 3. Marking-based adaptation.

    Figure 19.  Test case 3. Metric-based adaptation.

    Figure 20.  Test case 3. Scalability analysis of the different phases of the metric-based adaptation procedure: parallel speedup (left) and stacked barplot of the time percentage associated with the different phases of the algorithm (right) as a function of the number of parallel processes.

    Figure 21.  Test case 3. Adaptation based on [44].

    Table 1.  Test case 2 (circular discontinuity). Quantitative information about the metric-based algorithm (left panel); comparison between the metric-based approach proposed here and the geometric procedure proposed in [41] (fourth vs. fifth column) in terms of $ L^2(\Omega) $-norm of the discretization error.

    adapt. level DOFs $ h_{\mathrm{min}} $ $ \|u-u_h\|_{L^2(\Omega)} $ $ \|u-u_h\|_{L^2(\Omega)} $
    7 81 0.176777 $ 2.82441 \cdot 10^{-3} $ $ 1.89502 \cdot 10^{-1} $
    8 289 0.0883883 $ 6.82165 \cdot 10^{-4} $ $ 1.84833 \cdot 10^{-1} $
    9 1033 0.0441942 $ 1.83441 \cdot 10^{-4} $ $ 2.81516 \cdot 10^{-1} $
    10 3829 0.0220971 $ 5.33397 \cdot 10^{-5} $ $ 1.36216 \cdot 10^{-1} $
    11 14245 0.0110485 $ 3.05214 \cdot 10^{-5} $ $ 2.01399 \cdot 10^{-2} $
    12 55149 0.00552427 $ 1.16476 \cdot 10^{-5} $ $ 3.82096 \cdot 10^{-3} $
    13 215321 0.00276214 $ 4.59463 \cdot 10^{-6} $ $ 1.02780 \cdot 10^{-3} $
    14 853511 0.00138107 $ 2.98502 \cdot 10^{-6} $ $ - $
     | Show Table
    DownLoad: CSV
  • [1] W. Bangerth, C. Burstedde, T. Heister and M. Kronbichler, Algorithms and data structures for massively parallel generic adaptive finite element codes, ACM Transactions on Mathematical Software, 38 (2012), 1-28.  doi: 10.1145/2049673.2049678.
    [2] W. Bangerth and O. Kayser-Herold, Data structures and requirements for hp finite element software, ACM Transactions on Mathematical Software, 36 (2009), Art. 4, 31 pp. doi: 10.1145/1486525.1486529.
    [3] R. E. Bank, W. Coughran Jr and L. C. Cowsar, The finite volume Scharfetter-Gummel method for steady convection diffusion equations, Computing and Visualization in Science, 1 (1998), 123-136.  doi: 10.1007/s007910050012.
    [4] Basilisk, URL http://basilisk.fr/.
    [5] M. Bergmann, A. Fondanèche and A. Iollo, An eulerian finite-volume approach of fluid-structure interaction problems on quadtree meshes, Journal of Computational Physics, 471 (2022), 111647.  doi: 10.1016/j.jcp.2022.111647.
    [6] F. Brezzi, L. D. Marini and P. Pietra, Two-dimensional exponential fitting and applications to drift-diffusion models, SIAM Journal on Numerical Analysis, 26 (1989), 1342-1355.  doi: 10.1137/0726078.
    [7] A. Brooks and T. Hughes, Streamline upwind/Petrov-Galerkin formulations for convection dominated flows with particular emphasis on the incompressible navier-stokes equations, Computer Methods in Applied Mechanics and Engineering, 32 (1982), 199-259.  doi: 10.1016/0045-7825(82)90071-8.
    [8] E. Burman, S. Claus, P. Hansbo, M. G. Larson and A. Massing, Cutfem: Discretizing geometry and partial differential equations, International Journal for Numerical Methods in Engineering, 104 (2015), 472-501.  doi: 10.1002/nme.4823.
    [9] C. Burstedde, Parallel tree algorithms for AMR and non-standard data access, ACM Transactions on Mathematical Software, 46 (2020), Art. 32, 31 pp. doi: 10.1145/3401990.
    [10] C. Burstedde, L. C. Wilcox and O. Ghattas, $\mathtt{p4est}$: Scalable algorithms for parallel adaptive mesh refinement on forests of octrees, SIAM Journal on Scientific Computing, 33 (2011), 1103-1133.  doi: 10.1137/100791634.
    [11] R.-C. Chen and J.-L. Liu, Monotone iterative methods for the adaptive finite element solution of semiconductor equations, Journal of Computational and Applied Mathematics, 159 (2003), 341-364.  doi: 10.1016/S0377-0427(03)00538-7.
    [12] A. Coco and G. Russo, Second order finite-difference ghost-point multigrid methods for elliptic problems with discontinuous coefficients on an arbitrary interface, Journal of Computational Physics, 361 (2018), 299-330.  doi: 10.1016/j.jcp.2018.01.016.
    [13] C. de Falco and E. O'Riordan, Interior layers in a reaction-diffusion equation with a discontinuous diffusion coefficient, Int. J. Numer. Anal. Model., 7 (2010), 444-461. 
    [14] D. N. De G. Allen and R. V. Southwell, Relaxation methods applied to determine the motion, in two dimensions, of a viscous fluid past a fixed cylinder, The Quarterly Journal of Mechanics and Applied Mathematics, 8 (1955), 129-145.  doi: 10.1093/qjmam/8.2.129.
    [15] M. A. de Souza Lourenço and E. L. M. Padilla, An octree structured finite volume based solver, Applied Mathematics and Computation, 365 (2020), 124721.  doi: 10.1016/j.amc.2019.124721.
    [16] P. E. Farrell, S. Micheletti and S. Perotto, An anisotropic Zienkiewicz-Zhu-type error estimator for 3D applications, International Journal for Numerical Methods in Engineering, 85 (2011), 671-692.  doi: 10.1002/nme.2980.
    [17] F. Gatti, M. Fois, C. de Falco, S. Perotto and L. Formaggia, Parallel simulations for fast-moving landslides: Space-time mesh adaptation and sharp tracking of the wetting front, International Journal For Numerical Methods in Fluids, 95 (2023), 1286-1309.  doi: 10.1002/fld.5186.
    [18] N. Ferro, S. Perotto and A. Cangiani, An anisotropic recovery-based error estimator for adaptive discontinuous Galerkin methods, Journal of Scientific Computing, 90 (2022), Paper No. 45, 24pp. doi: 10.1007/s10915-021-01724-4.
    [19] R. A. Finkel and J. L. Bentley, Quad trees a data structure for retrieval on composite keys, Acta Informatica, 4 (1974), 1-9.  doi: 10.1007/BF00288933.
    [20] P. J. Frey and P.-L. George, Mesh Generation: Application to Finite Elements, 2nd edition, ISTE, London; John Wiley & Sons, Inc., Hoboken, NJ, 2008. doi: 10.1002/9780470611166.
    [21] C. Gürkan, S. Sticko and A. Massing, Stabilized cut discontinuous galerkin methods for advection-reaction problems, SIAM Journal on Scientific Computing, 42 (2020), A2620-A2654. doi: 10.1137/18M1206461.
    [22] J. J. Hasbestan and I. Senocak, A parallel adaptive mesh refinement software for complex geometry flow simulations, in 23rd AIAA Computational Fluid Dynamics Conference, (2017), 3301. doi: 10.2514/6.2017-3301.
    [23] T. Isaac, C. Burstedde and O. Ghattas, Low-cost parallel algorithms for 2: 1 octree balance, in 2012 IEEE 26th International Parallel and Distributed Processing Symposium, (2012), 426-437. doi: 10.1109/IPDPS.2012.47.
    [24] T. Isaac, C. Burstedde, L. C. Wilcox and O. Ghattas, Recursive algorithms for distributed forests of octrees, SIAM Journal on Scientific Computing, 37 (2015), C497-C531. doi: 10.1137/140970963.
    [25] V. Laurmaa, M. Picasso and G. Steiner, An octree-based adaptive semi-lagrangian vof approach for simulating the displacement of free surfaces, Computers & Fluids, 131 (2016), 190-204.  doi: 10.1016/j.compfluid.2016.03.005.
    [26] A. Lee, W. Geng and S. Zhao, Regularization methods for the poisson-boltzmann equation: Comparison and accuracy recovery, Journal of Computational Physics, 426 (2021), 109958.  doi: 10.1016/j.jcp.2020.109958.
    [27] X. D. Li and N.-E. Wiberg, A posteriori error estimate by element patch post-processing, adaptive analysis in energy and L2 norms, Computers & Structures, 53 (1994), 907-919.  doi: 10.1016/0045-7949(94)90378-6.
    [28] Q. Liang and A. G. Borthwick, Adaptive quadtree simulation of shallow flows with wet-dry fronts over complex topography, Computers & Fluids, 38 (2009), 221-234.  doi: 10.1016/j.compfluid.2008.02.008.
    [29] G. Maisano, S. Micheletti, S. Perotto and C. Bottasso, On some new recovery-based a posteriori error estimators, Computer Methods in Applied Mechanics and Engineering, 195 (2006), 4794-4815.  doi: 10.1016/j.cma.2005.07.024.
    [30] P. A. Markowich and M. A. Zlámal, Inverse-average-type finite element discretizations of self-adjoint second-order elliptic problems, Mathematics of Computation, 51 (1988), 431-449.  doi: 10.1090/S0025-5718-1988-0930223-7.
    [31] S. Micheletti and S. Perotto, Anisotropic adaptation via a Zienkiewicz-Zhu error estimator for 2D elliptic problems, in Numerical Mathematics and Advanced Applications (eds. G. Kreiss, P. Lötstedt and M. N. A. Målqvist), 2009, 645-653. doi: 10.1007/978-3-642-11795-4_69.
    [32] S. Micheletti, S. Perotto and P. E. Farrell, A recovery-based error estimator for anisotropic mesh adaptation in CFD, Boletin de la Sociedad Espanola de Matematica Aplicada SeMA, 50 (2010), 115-137.  doi: 10.1007/bf03322545.
    [33] S. Micheletti, S. Perotto and L. Soli, Topology optimization driven by anisotropic mesh adaptation: towards a free-form design, Computers & Structures, 214 (2019), 60-72.  doi: 10.1016/j.compstruc.2019.01.005.
    [34] G. M. Morton, A Computer Oriented Geodetic Data Base and a New Technique in File Sequencing, Technical report, International Business Machines Company, New York, 1966.
    [35] L. Mu and R. Jari, A recovery-based error estimate for nonconforming finite volume methods of interface problems, Applied Mathematics and Computation, 220 (2013), 63-74.  doi: 10.1016/j.amc.2013.05.034.
    [36] J.-C. Nédélec, Mixed finite elements in $\mathbb{R}^3$, Numerische Mathematik, 35 (1980), 381-404.  doi: 10.1007/BF01399007.
    [37] p4est: Parallel AMR on Forests of Octrees, URL https://p4est.github.io/.
    [38] bitpit/pablo, URL https://optimad.github.io/bitpit/.
    [39] S. Popinet, A quadtree-adaptive multigrid solver for the serre-green-naghdi equations, Journal of Computational Physics, 302 (2015), 336-358.  doi: 10.1016/j.jcp.2015.09.009.
    [40] G. M. Porta, S. Perotto and F. Ballio, Anisotropic mesh adaptation driven by a recovery-based error estimator for shallow water flow modeling, International Journal for Numerical Methods in Fluids, 70 (2012), 269-299.  doi: 10.1002/fld.2688.
    [41] A. Raeli, M. Bergmann and A. Iollo, A finite-difference method for the variable coefficient Poisson equation on hierarchical Cartesian meshes, Journal of Computational Physics, 355 (2018), 59-77.  doi: 10.1016/j.jcp.2017.11.007.
    [42] H. Samet, The quadtree and related hierarchical data structures, ACM Computing Surveys (CSUR), 16 (1984), 187-260.  doi: 10.1145/356924.356930.
    [43] H. Samet, Using quadtrees to represent spatial data,, in Computer Architectures for Spatially Distributed Data (eds. H. Freeman and G. G. Pieroni), Springer Berlin Heidelberg, 18 (1985), 229-247. doi: 10.1007/978-3-642-82150-9_13.
    [44] D. Schillinger, L. Dede', M. A. Scott, J. A. Evans, M. J. Borden, E. Rank and T. J. Hughes, An isogeometric design-through-analysis methodology based on adaptive hierarchical refinement of NURBS, immersed boundary methods, and T-spline CAD surfaces, Computer Methods in Applied Mechanics and Engineering, 249 (2012), 116-150.  doi: 10.1016/j.cma.2012.03.017.
    [45] J. D. Towers, A source term method for poisson problems on irregular domains, Journal of Computational Physics, 361 (2018), 424-441.  doi: 10.1016/j.jcp.2018.01.038.
    [46] R. Verfurth, A Review of A Posteriori Error Estimation and Adaptive Mesh-Refinement Techniques, Advances in Numerical Mathematics, Vieweg-Teubner Verlag Wiesbaden, 1996.
    [47] N. Yan, A posteriori error estimators of gradient recovery type for elliptic obstacle problems, Advances in Computational Mathematics, 15 (2001), 333-362.  doi: 10.1023/A:1014284306804.
    [48] O. C. Zienkiewicz and J. Z. Zhu, A simple error estimator and adaptive procedure for practical engineerng analysis, International Journal for Numerical Methods in Engineering, 24 (1987), 337-357.  doi: 10.1002/nme.1620240206.
    [49] O. C. Zienkiewicz and J. Z. Zhu, The superconvergent patch recovery and a posteriori error estimates. Ⅰ: The recovery technique, International Journal for Numerical Methods in Engineering, 33 (1992), 1331-1364.  doi: 10.1002/nme.1620330702.
    [50] O. C. Zienkiewicz and J. Z. Zhu, The superconvergent patch recovery and a posteriori error estimates. Ⅱ: Error estimates and adaptivity, International Journal for Numerical Methods in Engineering, 33 (1992), 1365-1382.  doi: 10.1002/nme.1620330703.
    [51] M. A. Zlámal, Finite element solution of the fundamental equations of semiconductor devices. Ⅰ, Mathematics of Computation, 46 (1986), 27-43.  doi: 10.1090/S0025-5718-1986-0815829-6.
  • 加载中

Figures(21)

Tables(1)

SHARE

Article Metrics

HTML views(5776) PDF downloads(1580) Cited by(0)

Access History

Catalog

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return