Ghost nodes (theory)

From Medusa: Coordinate Free Mehless Method implementation
Revision as of 11:43, 17 May 2019 by Jureslak (talk | contribs)

Jump to: navigation, search

Ghost nodes are a technique for discretizing (mostly) Neumann boundary conditions in PDEs.

Introduction

Ghost are a technique used for disretizing Neumann boundary conditions in FDM. To be able to use the central difference for first derivative, additional point, called ghost point, is introduced outside the domain boudanry. The unknown function value at the ghost node is added as a variable. At the boundary node, the Neumann condition is enforced, as well as the equation itself (two equations for two unknowns, the ghost and the boundary function value).

Meshless setting (implicit)

Consider the problem $\mathcal{L}u = f$ with Neumann boundary conditions $\frac{\partial u}{\partial n} = g$ on some portion of the boundary.


Ghost nodes schema.
Figure 1: Ghost node configuration at the domain boundary.


Explicit version

TODO Jure