Documentation
Boundary conditions are constraints necessary for the solution of a boundary value problem. A boundary value problem is a differential equation (or system of differential equations) to be solved in a domain on whose boundary a set of conditions is known. It is opposed to the “initial value problem”, in which only the conditions on one extreme of the interval are known.
Boundary value problems are extremely important as they model a vast amount of phenomena and applications, from solid mechanics to heat transfer, fluid mechanics, and acoustic diffusion. They arise naturally in every problem based on a differential equation to be solved in space, while initial value problems usually refer to problems to be solved in time.
Boundary value problems have been extensively studied by Jacques Charles François Sturm (1803-1855) and Joseph Liouville (1809-1882), who studied the eigenvalues of a linear differential equation of the second order
Both ordinary and partial differential equations require solving boundary conditions (B.C.). Different types of boundary conditions can be imposed on the boundary of the domain (Figure 1). The choice of the boundary condition is fundamental for the resolution of the computational problem: a bad imposition of B.C. may lead to the divergence of the solution or to the convergence of a wrong solution.
There are five types of boundary conditions:
The Dirichlet boundary condition is a type of boundary condition named after Peter Gustav Lejeune Dirichlet (1805–1859, Figure 2)
This condition specifies the value that the unknown function needs to take on along the boundary of the domain. Given, for example, the Laplace equation, the boundary value problem with the Dirichlet b.c. is written as:
where
where
where
The Neumann boundary condition is a type of boundary condition named after Carl Neumann (1832 – 1925, Figure 3)
where
In the case of ODE (i.e.
where
1. Test and integrate:
where
2. Apply the Green theorem to have a uniform distribution of derivatives and avoid higher-order derivatives:
Thus, a term including the derivative of the unknown field on the boundary naturally appears.
The presence of the boundary term on the right-hand side highlights two properties of Neumann boundary conditions:
The Robin boundary condition is a type of boundary condition named after Victor Gustave Robin (1855–1897)
Given, for example, the Laplace equation, the boundary value problem with the Robin B.C. is written as:
where
The mixed boundary condition consists of applying different types of boundary conditions in different parts of the domain. It is important to notice that boundary conditions must be applied on the whole boundary: the “free” boundary is anyways subjected to a homogeneous Neumann condition.
The mixed boundary condition differs from the Robin condition because the latter consists of different types of boundary conditions applied to the same region of the boundary, while the mixed condition implies different types of B.C. applied to different parts of the boundary.
The Cauchy boundary condition is a condition on both the unknown field and its derivatives
Dirichlet boundary condition
Solid mechanics is usually modeled through a displacement-based model. Thus, Dirichlet boundary conditions usually consist of imposing the displacement of the structure at given points.
Structural mechanics is often based on formulations which include relative rotations, whose numerical resolution requires nonlinear shape functions in the finite element approximation. For instance, frame structures are based on the beam theory, and the related finite element has 6 degrees of freedom (3 displacements + 3 rotations in a 3D space).
For a 2D problem, each node of the boundary has 3 degrees of freedom on which Dirichlet boundary conditions can be applied: 2 displacements (
Symbol | Constraints |
---|---|
![]() | |
![]() | |
![]() | |
![]() | |
![]() |
In the table above, external constraints to the ground (i.e. set the value to zero) are reported, but the symbols are used also to express a fixed displacement/rotation different from zero.
Neumann Boundary Condition
In solid mechanics, the spatial derivatives of displacements are related to the strain tensor. In elasticity, the strain is proportional to the stress, hence the Neumann boundary condition refers to both imposed strains and stresses.
Since stress is also linked to external forces through Cauchy’s stress principle, the Neumann condition is also used to apply external loads. As stated in the section dedicated to Neumann boundary conditions, the homogeneous condition is naturally satisfied, so “free” boundaries may not be modeled explicitly.
Robin Boundary Condition
It is used to model the mechanical impedance of a structure, i.e., how much it resists motion when subjected to a harmonic load.
Dirichlet Boundary Condition
In computational fluid mechanics, the classical Dirichlet boundary condition consists of the value of velocity and/or pressure to be taken by a certain set of nodes. It is common to refer to some sets of b.c. according to the following terminology:
At least one homogeneous B.C. on the pressure (i.e.
Neumann Boundary Condition
Constraints on the derivative of velocity or pressure fields are mainly used in two cases. The first case is the application of a symmetry plane:
Since this condition is always applied in addition to a Dirichlet B.C., it is naturally satisfied. The second application is the modeling of wall friction in the case when it is proportional to the strain rate:
Robin Boundary Condition
The Robin B.C. used to describe semi-reflective walls, which partially absorb waves. It is not a very common application, and it can be used only for pressure-based models. This B.C. is mostly used for acoustic applications.
Dirichlet Boundary Condition
In thermodynamics, Dirichlet boundary conditions consist of surfaces (in 3D problems) held at fixed temperatures.
Neumann Boundary Condition
The Neumann boundary condition in thermodynamics represents the heat flux across the boundaries. The perfect insulator reflects a homogeneous condition (naturally satisfied), while all warmed and cooled boundaries are required to explicitly assign the boundary condition. This is normally the case with electronic components (inward heat flux) or external cooling spray/channel (outward heat flux).
Maxwell equations are commonly solved through a potential formulation. In this section, the (
Under certain conditions, the (
Dirichlet Boundary Condition
The Dirichlet boundary condition on
Neumann Boundary Condition
In electromagnetic modeling, under certain hypotheses,
Robin Boundary Condition
It is used to model the impedance of an electric circuit, thus the opposition that a circuit presents to a current when a voltage is applied. It is also used to model the impedance of the electromagnetic wave.
References
Last updated: August 11th, 2023
We appreciate and value your feedback.
What's Next
What is Transport Equation?Sign up for SimScale
and start simulating now