Can FDM solve any type of PDE same as FEM?

  • I
  • Thread starter zoltrix
  • Start date
  • #1
23
3
hello

aside from some constraints such as an irregular integration domain, can FDM solve any type of PDE same as FEM ?
 

Answers and Replies

  • #2
13,324
7,241
To avoid any possible confusion here, what do you mean by FDM and FEM?

I’m guessing PDE is for partial differential equations.
 
  • #3
Delta2
Homework Helper
Insights Author
Gold Member
4,592
1,874
I think FDM is for Finite Difference Method, and FEM for Finite Element Method. Both methods for numerical solutions to Differential Equations.
 
  • #4
bigfooted
Gold Member
630
152
If you work out the discretized (Galerkin) finite element scheme with linear basis functions for say the Laplace equation on a single cell of an equidistant quadrilateral mesh, how does this compare to for example the central difference scheme for the same cell? If you write it out for both methods you will see the differences and similarities. To be complete, you can also write out the resulting finite volume scheme for comparison.

Note that there are many finite element methods and many finite difference schemes. A specific Finite Element Method is limited in the types of equations that can be solved by it, just as a specific Finite Difference Method is limited in the types of equations that can be solved with it.
 
  • Informative
  • Like
Likes jasonRF and Delta2
  • #5
23
3
so, do you mean that it does not exist an universal FDM scheme which fits all types of PDE ?
same as the Runge Kutta method, for example, which is applicable to all types of ODE
is it just a matter of accuracy or some PDE schemes may be unstable for some type of PDE ?
as far as I know all FEM schemes yield results even though some are more accurate or faster than others depending upon the shape of the integration domain
 
  • #6
caz
Gold Member
574
568
so, do you mean that it does not exist an universal FDM scheme which fits all types of PDE ?

as far as I know all FEM schemes yield results even though some are more accurate or faster than others depending upon the shape of the integration domain
You are holding FDM to a much higher standard than FEM.

Asking in full generality is probably hindering the response to this question because people are worried about edge cases. Be more specific about what you are concerned about.
 
  • #7
23
3
consider linear equation of second order
a common classification is : elliptic-parabolic-hyperbolic

is FDM suitable for all these types of PDE ?
 
  • #8
caz
Gold Member
574
568
Yes
 
  • #9
23
3
Is it also possible to write in c or python a general function :

solver(eqn,a,b,c,d...)

or at least a specific "solver" for each type of PDE's whereas "eqn" is the generic partial linear differential equation of second order and a,b,c,d... its parameters ?
if so , can you suggest a book or a web site ?
 
  • #11
23
3
Thanks bigfooted

it is exactly what I was looking for
 
  • #12
21,768
4,950
It seems to me, to use the FDM in practice, you are going to have to be able to map a smoothly varying grid analytically onto the region of interest (using coordinate transformations, or whatever). FDM is not going to be very useful for very unusually shaped region boundaries, which is why FEM was really developed.
 
  • #14
23
3
hello

what is the advantage ,if any, of FDM / FEA over Mathematica / Maple to solve partial differential equations ?
 

Related Threads on Can FDM solve any type of PDE same as FEM?

  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
5
Views
8K
Replies
8
Views
1K
  • Last Post
Replies
5
Views
1K
Replies
3
Views
4K
  • Last Post
Replies
2
Views
2K
Replies
7
Views
1K
  • Last Post
Replies
1
Views
3K
Replies
2
Views
2K
  • Last Post
Replies
6
Views
6K
Top