The compact finite difference formulation, or Hermitian formulation, is a numerical method to compute finite difference approximations. Such approximations tend to be more accurate for their stencil size (i.e. their compactness) and, for hyperbolic problems, have favorable dispersive error and dissipative error properties when compared to explicit schemes.[1] A disadvantage is that compact schemes are implicit and require to solve a diagonal matrix system for the evaluation of interpolations or derivatives at all grid points. Due to their excellent stability properties, compact schemes are a popular choice for use in higher-order numerical solvers for the Navier-Stokes Equations.
The classical Pade scheme for the first derivative at a cell with index () reads;
Where is the spacing between points with index . The equation yields a fourth-order accurate solution for when supplemented with suitable boundary conditions (typically periodic). When compared to the 4th-order accurate central explicit method;
the former (implicit) method is compact as it only uses values on a 3-point stencil instead of 5.
Compact finite difference schemes are a class of numerical methods used to approximate derivatives with high accuracy while maintaining a minimal stencil size. Unlike standard finite difference methods that use explicit expressions, compact schemes rely on implicit relations between function values and derivatives at neighboring points. This implicitness enables them to achieve spectral-like resolution and higher-order accuracy with fewer grid points. The valuation of a compact finite difference scheme typically refers to assessing its order of accuracy, spectral resolution, dispersion and dissipation errors and computational cost vs. accuracy[2]
One of the primary measures of value in a finite difference scheme is its order of accuracy, which reflects how rapidly the approximation error decreases as the grid is refined. A compact scheme can achieve an order of accuracy of , where hh is the grid spacing and pp is an integer denoting the formal order.
Compact schemes are valued for their ability to resolve a broad range of spatial frequencies, a property often referred to as spectral-like resolution. This makes them particularly effective for problems involving wave propagation, sharp gradients, or turbulent flows, where high-frequency information is critical.
Compared to explicit schemes, compact methods more accurately reproduce the amplitude and phase of sinusoidal components across a wide range of wavenumbers, closely mimicking the behavior of spectral (Fourier-based) methods.
While compact schemes require solving a linear system (typically tridiagonal) to compute derivatives, this modest increase in computational effort is offset by their high accuracy and compactness.
^LeVeque, R.J. (2007). "Finite Difference Methods for Ordinary and Partial Differential Equations: Steady-State and Time-Dependent Problems". Society for Industrial and Applied Mathematics (SIAM).