Why can finite elements handle complex geometries, but finite differences can't?

Click For Summary
Finite element methods (FEM) excel in handling complex geometries due to their use of variational principles and numerical integration, allowing for the modeling of irregular shapes with high accuracy. In contrast, finite difference methods (FDM) rely on pointwise approximations, which struggle with irregular geometries, particularly in higher dimensions, as they require a regular grid for accurate derivative calculations. While FEM can adapt mesh density to capture rapid changes in functions, some high-order finite element formulations face challenges with nodal variables and boundary conditions when dealing with arbitrary shapes. Overall, FEM's flexibility and adaptability make it more suitable for complex geometrical modeling compared to FDM. Understanding these differences is crucial for selecting the appropriate numerical method for specific applications.
bumblebee77
Messages
56
Reaction score
2
Hello all:

I'm new to the world of finite elements/finite differences. I'd like to understand the advantages of the finite element method. I read that the finite difference method cannot handle complex (e.g., curved domains, fractures) geometries. I have had no luck in understanding why. I would appreciate any help! Thanks.
 
Physics news on Phys.org
One reason is that finite differences use "pointwise" approximations, i.e. the derivatives at a particular point in space are approximated from the function values at other points. If the geometry of the points is irregular (expecially in more than one dimension) this is hard to do with high-order accuracy. Efficient finite difference algorithms often use equation-solving methods which rely on a particular pattern of coefficients in the equations, which are are only produced by a regular equally-spaced grid of points.

On the other hand, finite elements can often be formulated using variational principles, which involve minimising a continuous function defined over the area or volume of the element. The function is described by the element's nodal values, and the integration required to minimize the function is done numerically. This is easy to formulate for elements of simple but irregular shapes (e.g. arbitrary shaped triangles or tetrahedra) which can then be used to model any geometrical shape as accurately as required. The density of the mesh can easily be varied to use small elements where the function is changing rapidly and bigger elements elsewhere.

It is not true that all finite element formulations can handle complex geometries well. For example some high-order elements have "weird" nodal variables (for example derivatives like \partial^3 F / \partial^2 u \partial v where u and v are the directions along the edges of the element) which don't match up properly unless adjacent elements have consistent geometry, and/or the corresponding boundary conditions too hard to specify for arbitary shapes.
 
Last edited:

Similar threads

  • · Replies 0 ·
Replies
0
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
Replies
6
Views
5K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
5K