Abstract
In this paper, we propose a generalized framework for the derivation of compact difference schemes for the approximation of an arbitrary order derivative. We formulate a methodology for calculating the approximation coefficients involving a large number of mesh points leading to very high-order formulas, e.g., 20th or 30th order. The main emphasis is on the first and second order derivative occurring in the Navier-Stokes equations governing fluid flow problems. Contrary to most studies on compact schemes in which the computational stencils employed in the discretization are narrow and consist of only a few mesh points K, in the presented paper we consider wide stencils that in practice are limited only by the overall number of the nodes in a computational grid. We analyze the features of such wide stencil based schemes in physical and spectral space. It is shown that the solutions obtained applying the schemes of the same order but involving different number of the mesh points characterize significantly different accuracy. This is presented by direct comparisons of the analytically derived formula for the leading terms of the truncation errors as well as in practical simulations. The test cases include a second order ordinary differential equation with variable coefficients, 1D Burgers equation and three typical benchmark problems used in Computational Fluid Dynamics (CFD), i.e., inviscid vortex advection, convected Taylor-Green vortices and a double jet flow. The obtained results are compared with available analytical solutions and the solutions obtained with the help of a pseudo-spectral method. We found that very high-order compact schemes reach the spectral accuracy characterized by the error decrease proportional to O(hK). In some cases, they show even higher accuracy, and moreover, reaching the limit of the machine precision they are substantially more resistant to the round-off errors.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.