Boundary Conditions

Dirichlet

Due to the accurate boundary resolution of the Finite Element Method (FEM), enforcing Dirichlet boundary conditions is straightforward. We only need to constrain the world-space coordinates of the boundary nodes to the prescribed values:

Once these constraints are properly enforced, the Dirichlet boundary integral term can be ignored.

This same mechanism can also be used to prescribe the displacement of any interior nodes. Although this does not directly correspond to any physical effects, it can simplify the simulation setup.

Neumann

For Neumann boundary conditions, we can evaluate the boundary integral term using the parameter space variables and . With triangle mesh discretization, we have:

where is the edge of triangle that is on the Neumann boundary.

For any boundary node in 2D, there will be at most two incident triangles to consider in the integration for linear shape functions. Let's examine the case with two incident triangles. Consider one of the integrals. Without loss of generality, assume (where corresponds to in triangle ), and that is the other node of on the boundary edge. Then, switching the integration variables to gives us:

Here, is simply the edge length . If is constant over the boundary at , we can compute:

Therefore, to add a constant Neumann force to the discrete system, we first calculate the length weight of each boundary node by distributing the length of the boundary edges evenly to their vertices, and then multiply by the traction . If is not constant over the boundary, more complex boundary integral calculations are needed. For a boundary node with only one incident triangle, its length weight comes from its two incident edges within the same triangle.

Remark 20.1.1 (Neumann Boundary Conditions). Here, we observe that the specified traction in standard Neumann boundary conditions is independent of , which simplifies the derivation of the potential energy, even in the continuous setting for varying Neumann forces over the domain: To verify this, we can replace with for spatial discretization. Taking the derivative with respect to gives us the force integral term in the discrete weak form: