×

An efficient implementation of fourth-order compact finite difference scheme for Poisson equation with Dirichlet boundary conditions. (English) Zbl 1443.65288

Summary: Fourth-order compact finite difference scheme has been proposed for solving the Poisson equation with Dirichlet boundary conditions for some time. An efficient implementation of such numerical scheme is often desired for practical usage. In this paper, based on fast discrete Sine transform, we design an efficient algorithm to implement this scheme. To do this, Poisson equation is first discretized by fourth-order compact finite difference method. The subsequent discretized system is not solved by the usual method-matrix inversion, instead it is solved with the fast discrete Sine transform. By doing this way, the computational cost of proposed algorithm for such scheme with large grid numbers can be greatly reduced. Detailed numerical algorithm of this fast solver for one-dimensional, two-dimensional and three dimensional Poisson equation has been presented. Numerical results in one dimension, two dimensions, three dimensions and four dimensions have shown that the applied compact finite difference scheme has fourth order accuracy and can be efficiently implemented.

MSC:

65N06 Finite difference methods for boundary value problems involving PDEs
65N12 Stability and convergence of numerical methods for boundary value problems involving PDEs
65N22 Numerical solution of discretized equations for boundary value problems involving PDEs
65T50 Numerical methods for discrete and fast Fourier transforms
35J25 Boundary value problems for second-order elliptic equations
Full Text: DOI

References:

[1] Collatz, L., The Numerical Treatment of Differential Equations, 538 (1966), Springer-Verlag: Springer-Verlag New York
[2] Lele, S., Compact finite difference scheme with spectral-like resolution, J. Comput. Phys., 103, 16-42 (1992) · Zbl 0759.65006
[3] Hirsh, R., Higher order accurate difference solutions of fluid mechanics problems by a compact differencing technique, J. Comput. Phys., 19, 90-109 (1975) · Zbl 0326.76024
[4] Tolstykh, A., High Accuracy Non-centered Compact Difference Schemes for Fluid Dynamics Applications (1994), World Scientific: World Scientific New Jersey · Zbl 0852.76003
[5] Cockburn, B.; Shu, C., Nonlinearly stable compact schemes for shock calculations, SIAM J. Numer. Anal., 31, 607-627 (1994) · Zbl 0805.65085
[6] Zhong, X., High-Order finite-difference schemes for numerical simulation of hypersonic boundary-layer transition, J. Comput. Phys., 144, 662-709 (1998) · Zbl 0935.76066
[7] Sherer, S., Scattering of sound from axisymetric sources by multiple circular cylinders, J. Acoust. Soc. Am., 115, 488-496 (2003)
[8] Spotz, W.; Carey, G., High-order compact scheme for the steady stream-function vorticity equations, Internat. J. Numer. Methods Engrg., 38, 20, 3497-3512 (1995) · Zbl 0836.76065
[9] Visbal, M.; Gaitonde, D., On the use of higher-order finite-difference schemes on curvilinear and deforming meshes, J. Comput. Phys., 181, 155-185 (2002) · Zbl 1008.65062
[10] Zhang, J., An explicit fourth-order compact finite difference scheme for three-dimensional convection-diffusion equation, Comm. Numer. Methods Engrg., 14, 209-218 (1998) · Zbl 0912.65083
[11] Liao, W., An implicit fourth-order compact finite difference scheme for one-dimensional Burgers’ equation, Appl. Math. Comput., 206, 755-764 (2008) · Zbl 1157.65438
[12] Ciment, M.; Leventhal, S., Higher order compact implicit schemes for the wave equation, Math. Comp., 132, 29, 985-994 (1975) · Zbl 0309.35043
[13] Abarbanel, S.; Kumar, A., Compact high-order schemes for the Euler equations, J. Sci. Comput., 3, 275-288 (1998) · Zbl 0667.76102
[14] Dehghan, M.; Taleei, A., A compact split-step finite difference method for solving the nonlinear Schrodinger equations with constant and variable coefficients, Comput. Phys. Comm., 181, 43-51 (2010) · Zbl 1206.65207
[15] Kalita, J.; Chhabra, P.; Kumar, S., A semi-discrete higher order compact scheme for the unsteady two-dimensional Shrödinger equation, J. Comput. Appl. Math., 197, 141-149 (2006) · Zbl 1101.65096
[16] Xie, S.; Li, G.; Yi, S., Compact finite-difference schemes with high accuracy for one-dimensional nonlinear Schrödinger equation, Comput. Methods Appl. Mech. Engrg., 198, 1052-1060 (2009) · Zbl 1229.81011
[17] Wang, T. C.; Guo, B. L.; Xu, Q. B., Fourth-order compact and energy conservative difference schemes for the nonlinear Schrödinger equation in two dimensions, J. Comput. Phys., 243, 382-399 (2013) · Zbl 1349.65347
[18] Zhang, Y., Optimal error estimates of compact finite difference discretizations for the Schrödinger-Poisson system, Commun. Comput. Phys., 13, 1357-1388 (2013) · Zbl 1388.65071
[19] Wang, T. C.; Zhao, X. F., Optimal \(l^\infty\) error estimates of finite difference methods for the coupled Gross-Pitaevskii equation in high dimensions, Sci. China Math., 57, 2189-2214 (2014) · Zbl 1320.65130
[20] Wang, T. C., Optimal point-wise error estimate of a compact difference scheme for the coupled Gross-Pitaevskii equations in one dimension, J. Sci. Comput., 59, 158-186 (2014) · Zbl 1296.65116
[21] Spotz, W.; Carey, G., A high-order compact formulation for the 3D Poisson equation, Numer. Methods Partial Differential Equations, 12, 235-243 (1996) · Zbl 0866.65066
[22] Shen, J.; Tang, T., Spectral and High-Order Methods with Applications (2006), Science Press: Science Press Beijing · Zbl 1234.65005
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.