Examples and Counterexamples (Jun 2024)
Hexagonal finite differences for the two-dimensional variable coefficient Poisson equation
Abstract
For many years, finite differences in hexagonal grids have been developed to solve elliptic problems such as the Poisson and Helmholtz equations. However, these schemes are limited to constant coefficients, which reduces their usefulness in many applications. The main challenge is accurately approximating the diffusive term. This paper presents examples of both successful and unsuccessful attempts to obtain accurate finite differences based on a hexagonal stencil with equilateral triangles to approximate two-dimensional Poisson equations. Local truncation error analysis reveals that a second-order scheme can be achieved if the derivative of the diffusive coefficient is included. Finally, we provide numerical examples to verify the accuracy of the proposed methods.