Abstract
The accuracy of information transmission while solving domain decomposed problems is crucial to the smooth transition of a solution around the interface/overlapping region. This paper describes a systematical study on an accuracy-enhancing interface treatment algorithm based on the back and forth error compensation and correction method (BFECC). By repetitively employing a low order interpolation technique (usually local 2nd order) 3 times, this algorithm achieves local 3rd order accuracy. Analytical derivation for any dimensions is made, and the “superconvergence” phenomenon (4th order accuracy) is found for specific positioning of the source and target grids. Its limitation has also been studied. With rotated grids or grids of different sizes, this method can still reduce the error but fails to improve the order of the underlying interpolation technique. A series of numerical experiments on meshes with various translations, rotations, spacing ratios, and perturbations have been tested. Different interface treatments applied to cavity flow are compared. The 3D flow example shows that the BFECC method positively impacts the convergence of the domain decomposed problem.
Similar content being viewed by others
Availability of Data and Materials
Data is available within the article.
Code Availability
The code is available upon request.
References
Atkinson, K.E.: An Introduction to Numerical Analysis, 2nd edn. Wiley, New York (1989)
Llamas, I., Kim, B.-M., Liu, Y.-J., Rossignac, J.: FlowFixer: using BFECC for fluid simulation. In: Eurographics Workshop on Natural Phenomena (2005)
Llamas, I., Kim, B.-M., Liu, Y.-J., Rossignac, J.: Advections with significantly reduced dissipation and diffusion. IEEE Trans. Vis. Comput. Graph. 13, 135–144 (2007)
Barth, T., Frederickson, P.: Higher order solution of the Euler equations on unstructured grids using quadratic reconstruction. In: 28th Aerospace Sciences Meeting, 13 (1990)
Benek, J.A., Steger, J.L., Dougherly, F.C.: A flexible grid embedding technique with application to the Euler equations. Technical report, AIAA (1983)
Chen, Y., Kang, Q.-J., Cai, Q.-D., Zhang, D.-X.: Lattice Boltzmann method on quadtree grids. Phys. Rev. E 83, 1–10 (2011)
Chesshire, G., Henshaw, W.D.: Composite overlapping meshes for the solution of partial differential equations. J. Comput. Phys. 90, 1–64 (1990)
Courant, R., Isaacson, E., Rees, M.: On the solution of nonlinear hyperbolic differential equations by finite differences. Commun. Pure Appl. Math. 5, 243–255 (1952)
Dupont, T.F., Liu, Y.-J.: Back and forth error compensation and correction methods for removing errors induced by uneven gradients of the level set function. J. Comput. Phys. 191, 311–324 (2003)
Dupont, T.F., Liu, Y.-J.: Back and forth error compensation and correction methods for semi-Lagrangian schemes with application to level set interface computations. Math. Comput. 76, 647–668 (2007)
Epperson, J.F.: An Introduction to Numerical Methods and Analysis, 2nd edn. Wiley, Hoboken (2013)
Foster, N.F., Noack, R.W.: High-order overset interpolation within an OVERFLOW solution. In: 50th AIAA Aerospace Sciences Meeting Including the New Horizons Forum and Aerospace Exposition, Nashville, TN, USA (2012)
Goda, K.: Multistep technique with implicit difference schemes for calculating 2-dimensional or 3-dimensional cavity flows. J. Comput. Phys. 30, 76–95 (1979)
Henshaw, W.D., Watson, T.J.: A fourth-order accurate method for the incompressible Navier–Stokes equations on overlapping grids. J. Comput. Phys. 113, 13–25 (1994)
Hu, C., Shu, C.-W.: Weighted essentially non-oscillatory schemes on triangular meshes. J. Comput. Phys. 150, 97–127 (1999)
Hu, L.-L.: Numerical algorithms based on the back and forth error compensation and correction. PhD thesis, Georgia Institute of Technology (2014)
Hu, L.-L., Li, Y., Liu, Y.-J.: A limiting strategy for the back and forth error compensation and correction method for solving advection equations. Math. Comput. 85, 1263–1280 (2016)
Jiang, G.-S., Shu, C.-W.: Efficient implementation of weighted ENO schemes. J. Comput. Phys. 126(1), 202–228 (1996)
Lax, P.D.: On the stability of difference approximations to solutions of hyperbolic equations with variable coefficients. Commun. Pure Appl. Math. 14, 497–520 (1961)
Liu, X.-D., Osher, S., Chan, T.: Weighted essentially non-oscillatory schemes. J. Comput. Phys. 115(1), 200–212 (1994)
Selle, A., Fedkiw, R., Kim, B.-M., Liu, Y.-J., Rossignac, J.: An unconditionally stable MacCormack method. J. Sci. Comput. 35, 350–371 (2008)
Tang, H.-S.: Study on a grid interface algorithm for solutions of incompressible Navier–Stokes equations. Comput. Fluids 35, 1372–1383 (2006)
Tang, H.S., Jones, C., Sotiropoulos, F.: An overset grid method for 3D unsteady incompressible flows. J. Comput. Phys. 191, 567–600 (2003)
Tang, H.-S., Qu, K., Wu, X.-G.: An overset grid method for integration of fully 3D fluid dynamics and geophysical fluid dynamics models to simulate multiphysics coastal ocean flows. J. Comput. Phys. 273, 548–571 (2014)
Tang, H.-S., Sotiropoulos, F.: Fractional step artificial compressibility method for Navier–Stokes equations. Comput. Fluids 36, 974–986 (2007)
Tang, H.S., Zhou, T.: On nonconservative algorithms for grid interfaces. SIAM J. Numer. Anal. 37, 173–193 (1999)
Tang, H.-Z., Tang, T.: Adaptive mesh methods for one-and two-dimensional hyperbolic conservation laws. SIAM J. Numer. Anal. 41, 487–515 (2003)
Terekhov, K.M., Nikitin, K.D., Olshanskii, M.A., Vassilevski, Y.V.: A semi-Lagrangian method on dynamically adapted octree meshes. Russ. J. Numer. Anal. Math. Model. 30, 363–380 (2015)
Wang, X., Liu, Y.: Back and forth error compensation and correction method for linear hyperbolic systems with application to the Maxwell’s equations. J. Comput. Phys. X 1, 100014 (2019)
Zhang, M., Shu, C.-W.: An analysis of and a comparison between the discontinuous Galerkin and the spectral finite volume methods. Comput. Fluids 34, 581–592 (2005)
Funding
This work is partly supported by National Science Foundation (DMS \(\#\) 1622459 and 1622453).
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
There are no conflicts of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendices
Appendices
1.1 Comparison of Coefficients Between BFECC and 3rd Order Polynomial Interpolation in 1D
The third-degree Lagrange interpolation polynomial is
which gives
for \(0<\alpha <1\).
BFECC interpolation of f at \(x_i+\alpha \Delta x\):
(1) Forward:
(2) Backward:
(3) Compensation:
(4) Forward:
This looks different from (33) (note that they also have different orders of approximation in general.) If we let \(\alpha =0.5\), both formulas become
which is the ’superconvergence’ case of BFECC interpolation.
1.2 Comparison of BFECC Interpolation at Cell Center with Cubic Least Squares and Bicubic Interpolations in 2D
Consider the cubic least squares interpolation using the values of a sufficiently smooth function at the following 16 nodes, see Fig. 11.
Let a third-degree polynomial in 2D be written as
which is determined by the 16 values of the function by least squares fitting. The coefficients can be obtained in Matlab with symbolic computation. We present the formula at the center as follows.
The 2D BFECC interpolation at the center point can be described as follows. For simplicity, we use labels of nodes to represent interpolation values of the function at corresponding nodes at different stages of the method.
(1) Forward:
(2) Backward:
(3) Compensation:
(4) Forward:
Through a direct calculation, we have
Formula (35) differs from the cubic least squares formula (34), although both formulas have fourth order of accuracy and use the same surrounding nodes in interpolation.
Finally, the bicubic interpolation at the center (1.5, 1.5) can be written as
which is also different from formula (35).
1.3 Comparison of BFECC Interpolation at Cell Center and Cubic Least Squares Interpolation in 3D
For the least squares method using 64 nodes, we label the nodes similarly as in the 2D case for \(z=0\):
For \(z=1\), just add 16 to the number label of each node, similarly for \(z=2\) and 3. The node indices in the planes of \(z=1,2,3\) are varied from \(17-32\), \(33-48\), \(49-64\) respectively.
Let a third-degree polynomial in 3D be written as
The coefficients \(c1,c2\ldots ,c20\) are calculated by least squares fitting using 64 nodal values. Then we can find its expression at the center point as follows.
For 3D BFECC interpolation at the center point, we can get the expression as follows (the process is very similar to the 2D case in Appendix B and skipped here.)
Formula (38) is different from formula (37), even though both formulas have fourth order of accuracy and use the same surrounding nodes in interpolation.
Rights and permissions
Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Dong, W., Liu, Y. & Tang, H. Accuracy Enhancing Interface Treatment Algorithm: The Back and Forth Error Compensation and Correction Method. J Sci Comput 93, 29 (2022). https://doi.org/10.1007/s10915-022-01988-4
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s10915-022-01988-4