Combined prefactored compact schemes for first- and second-order derivatives: conceptual derivation
Adrian Sescu

TL;DR
This paper presents a conceptual derivation of combined prefactored compact schemes that enhance the accuracy of first and second derivatives from sixth to tenth order without increasing stencil size, using Fourier analysis.
Contribution
It introduces a novel derivation method for higher-order compact schemes that maintains computational efficiency while improving accuracy.
Findings
Order of accuracy increased from sixth to tenth
Same stencil size used for higher accuracy
Closed set of equations for scheme weights derived
Abstract
The derivation of combined prefactored compact schemes for first and second order derivatives is described here, relying on the Fourier analysis of the original prefactored compact schemes. By this approach, the order of accuracy of the original schemes can be increased from sixth to eight, or from eight to tenth (depending on the order of the original scheme), while the number of grid points in the stencil is kept the same. Here, we only frame the conceptual derivation of the schemes, leading to a closed set of equations for the weights.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNonlinear Waves and Solitons · Advanced Numerical Methods in Computational Mathematics · Numerical methods for differential equations
Combined prefactored compact schemes for first- and second-order derivatives: conceptual derivation
Adrian Sescu [email protected]
Abstract
The derivation of combined prefactored compact schemes for first and second order derivatives is described here, relying on the Fourier analysis of the original prefactored compact schemes. By this approach, the order of accuracy of the original schemes can be increased from sixth to eight, or from eight to tenth (depending on the order of the original scheme), while the number of grid points in the stencil is kept the same. Here, we only frame the conceptual derivation of the schemes, leading to a closed set of equations for the weights.
1 Introduction
Compact difference schemes possess the advantage of attaining higher-order of accuracy with fewer grid points per stencil. They are preferred in applications where high accurate results are desired, such as direct numerical simulations, large eddy simulations, computational aeroacoustics or electromagnetism, to enumerate few. One of the disadvantages of compact schemes is that an implicit approach is required to determine the grid functions, wherein a large matrix has to be inverted. A comprehensive study of high-order compact schemes approximating both first and second derivatives on a uniform grid was performed by Lele [11]. A wavenumber based optimization was introduced wherein the dispersion error was reduced significantly, achieving spectral-like resolution. Over the next years, compact schemes have been studied by many research groups, and applied to various engineering problems (see for example, Li et al. [12], Adams and Shariff [1], Liu [13], Deng and Maekawa [4], Fu and Ma [6, 7], Meitz and Fasel [16], Shen et al. [19], Shah et al. [18]). Other worth-mentioning examples include Kim and Lee [10] who performed an analytic optimization of compact finite difference schemes, Mahesh [15] who derived a family of compact finite difference schemes for the spatial derivatives in the Navier-Stokes equations based on Hermite interpolations (see also, Chu and Fan [3] for a similar prior analysis), or Deng and Zhang [5] who developed compact high-order nonlinear schemes which are equivalent to fifth-order upwind biased explicit schemes in smooth regions.
Hixon [8, 9] derived prefactored high-order compact schemes that use three-point stencils and returns up to eighth-order of accuracy. These schemes combine the tridiagonal compact formulation with the optimized split derivative operators of an explicit MacCormack type scheme. The optimization of Hixon’s [8, 9] schemes in terms of reducing the dispersion error was performed by Ashcroft and Zhang [2] who used Fourier analysis to select the coefficients of the biased operators such that the dispersion characteristics match those of the original centered compact scheme and their numerical wavenumbers have equal and opposite imaginary components. Today, compact schemes are widely used in numerical simulations of turbulent flows (e.g., direct numerical simulations), computational aeroacoustics, or computational electromagnetics. In order to increase the speed of such numerical simulations it is desirable to derive more computational efficient compact schemes without affective the order of accuracy and the wavenumber characteristics.
In this work, we frame the conceptual derivation of combined prefactored compact schemes for first and second order derivatives, aimed at increasing the resolution accuracy with fewer points per stencil. They are based on the type of prefactorization introduced previously by Hixon [8, 9]. One of the advantages of these schemes is that the derivatives are explicitly determined by sweeping from one boundary to the other, thus avoiding the inversion of matrices which can increase the computational time significantly.
2 Derivation of the combined prefactored schemes
Chu and Fan [3] derived a combined compact difference scheme (over a three-point stencil), which is sixth-order accurate (see also Mahesh [15] for a generalization). The scheme consists of two coupled equations for the first and second derivatives and can be written as:
[TABLE]
[TABLE]
or, following the notation used in [8],
[TABLE]
[TABLE]
where is the grid step, is the grid function, and and stand for first and second order derivatives. Mahesh [15] extended the idea to higher-order, such as the eight-order coupled stencils for the first and second derivatives in the form:
[TABLE]
[TABLE]
Equations (3) and (4) or (5) and (6) can be jointly written in matrix form:
[TABLE]
where and are matrices, is a vector of elements containing the first and the second derivatives for and is a vector of elements containing the dependent variables twice ( is the number of grid points along a grid line).
To derive the prefactored compact schemes, the forward and backward operators and for the first derivative and and for the second derivative are defined as
[TABLE]
and
[TABLE]
The spatial stencils for the forward and backward derivative operators are defined as a combination of both the first and second derivatives:
[TABLE]
[TABLE]
and
[TABLE]
[TABLE]
where the coefficients , , and must be chosen such that when the two biased stencils are added, the original stencils of Chu and Fan [3] or Mahesh [15] are recovered. Following the analysis of Hixon and Turkel [8], the real components of the numerical wavenumbers of the forward and backward stencils are required to be equal and identical to the numerical wavenumber of the original scheme, and the imaginary components of the numerical wavenumbers are required to be equal and opposite.
To apply the Fourier analysis, the dependent variable is assumed to be periodic in the domain . The Fourier decomposition of is:
[TABLE]
where . To simplify the analysis, a scaled wavenumber and a scaled coordinate are introduced, such that the Fourier modes are simply . The first and the second derivatives of the exact Fourier coefficients are given by:
[TABLE]
while the Fourier coefficients of the derivatives obtained from the differencing schemes are:
[TABLE]
where and are the modified wavenumbers for the first and second order derivatives, respectively.
The numerical wavenumbers of the original combined compact scheme are given by [3]
[TABLE]
and
[TABLE]
for stencils (3) and (4) (Chu and Fan [3]) and
[TABLE]
and
[TABLE]
for stencils (5) and (6) (Mahesh [15]).
For the prefactored CCD schemes the modified wavenumbers , , and can be determined from the equations obtained by applying the Fourier transform to (10)-(13):
[TABLE]
[TABLE]
for the forward operators and
[TABLE]
[TABLE]
for the backward operators. Equations (21) and (22) can be written in matriceal form as
[TABLE]
where is a matrix given by
[TABLE]
and is the unknown vector of 4 elements given by
[TABLE]
where and stands for real and imaginary parts, respectively. in (25) is the right hand side vector given by
[TABLE]
The solution to the set of equations (25) gives the real parts of the numerical wavenumbers in the form:
[TABLE]
and
[TABLE]
where , , , , , , , , , are functions of the weights in equations (21) and (22). Comparing the equations (35) and (36) to the equations (19) and (20), the weights in equations (21) and (22) can be determined by solving the next polynomial equations:
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
The next open problem is to solve the above closed set of polynomial equations by an iterative method to obtain the weights of the scheme in (21) and (22).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Adams, N.A. and Shariff, K. (1996) A high-resolution hybrid compact-ENO scheme for shock-turbulence interaction problems, J. Comput. Phys. , Vol. 127, pp. 27.
- 2[2] Ashcroft, G. and Zhang, X. (2003), Optimized prefactored compact schemes, J. Comput. Phys. , Vol. 190, pp. 459-477.
- 3[3] P.C. Chu and C. Fan, A three-point combined compact difference scheme, J. Comput. Phys. 140 (1998) 370-399.
- 4[4] Deng, X., Maekawa, H. (1997) Compact High-Order Accurate Nonlinear Schemes, J. Comput. Phys. , Vol. 130, pp. 77-91.
- 5[5] Deng, X. and Zhang, H. (2000), Developing high-order weighted compact nonlinear schemes, J. Comput. Phys. , Vol. 165, pp. 22-44.
- 6[6] Fu, D.X. and Ma, Y.W. (1997) A high-order accurate finite difference scheme for complex flow fields, J. Comput. Phys. , Vol. 134, pp. 1-15.
- 7[7] Fu, D., Ma, Y. (2001) Analysis of Super Compact Finite Difference Method and Application to Simulation of Vortex-Shock Interaction, Int. J. Numer. Meth. Fluids , Vol. 36, pp. 773-805.
- 8[8] R. Hixon, Compact Implicit Mac Cormack-Type Schemes with High Accuracy, J. Comp. Phys. 158 (2000) 51-70.
