Algorithm 986: A Suite of Compact Finite Difference Schemes

被引:22
|
作者
Mehra, Mani [1 ]
Patel, Kuldip Singh [1 ]
机构
[1] Indian Inst Technol Delhi, New Delhi 110016, India
来源
关键词
Compact finite difference schemes; numerical differentiation; Taylor series expansion; Fourier analysis; NAVIER-STOKES EQUATIONS; NONUNIFORM GRIDS; RESOLUTION; FAMILY;
D O I
10.1145/3119905
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A collection of Matlab routines that compute derivative approximations of arbitrary functions using high-order compact finite difference schemes is presented. Tenth-order accurate compact finite difference schemes for first and second derivative approximations and sixth-order accurate compact finite difference schemes for third and fourth derivative approximations are discussed for the functions with periodic boundary conditions. Fourier analysis of compact finite difference schemes is explained, and it is observed that compact finite difference schemes have better resolution characteristics when compared to classical finite difference schemes. Compact finite difference schemes for the functions with Dirichlet and Neumann boundary conditions are also discussed. Moreover, compact finite difference schemes for partial derivative approximations of functions in two variables are also given. For each case a Matlab routine is provided to compute the differentiation matrix and results are validated using the test functions.
引用
收藏
页数:31
相关论文
共 50 条