Boundary Conditions

Boundary conditions (BCs) specify the behaviour of a solution at the boundary of the domain. For PDEs, they are required to obtain a unique solution.

Dirichlet Boundary Conditions

The value of is fixed at the boundary:

Neumann Boundary Conditions

The normal derivative of is fixed at the boundary:

In 1D, this means is fixed at the endpoints. For a left boundary with derivative , an imaginary point technique is used: introduce a fictitious point and use the centred difference

This allows the interior equations to be applied at the boundary node too. The special case (insulation) gives , i.e. .

Mixed Boundary Conditions

A combination of Dirichlet and Neumann conditions applied at different parts of the boundary.

Boundary conditions appear in both the Heat equation (combined with initial conditions) and the Laplace equation (BCs alone determine the solution, with no initial condition).

Heat equation | Laplace equation | FTCS scheme | BTCS scheme