CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Finite element vs. finite difference

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree7Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 1999, 16:56
Default Finite element vs. finite difference
  #1
Francisco Saldarriaga
Guest
 
Posts: n/a
What is a simple way to explain the difference between the finite element approach versus the finite difference when solving the NS equations?
chaitanyaarige likes this.
  Reply With Quote

Old   July 16, 1999, 00:53
Default Re: Finite element vs. finite difference
  #2
John C. Chien
Guest
 
Posts: n/a
(1). It is a century old question. (2). Regardless of what you are solving, when you say "finite element analysis" people interpret as "structure analysis". When you say "CFD analysis", people think in terms of "finite-difference" or "finite-volume" analysis. (3). So, in the job listing description, experience in FEA or CFD are used to represent "structure analysis" and "fluid analysis",respectively. (4). So, if you use the methods used in FEA (structure analysis) to solve the fluid dynamics problems (Navier-Stokes equations, or Euler equation), you call it finite-element method in fluid dynamics. (5). Then, you probably will ask " what is finite-element analysis in structure ?" All I can say is, it is a well established field to do numerical analysis in structure on computer. ( it is also applicable to other fields outside the structure analysis)
chaitanyaarige likes this.
  Reply With Quote

Old   July 16, 1999, 01:50
Default Re: Finite element vs. finite difference
  #3
Nuray Kayakol
Guest
 
Posts: n/a
The differences between FE and FD comes from (1) the way in which flow variables are approximated & (2) the discretization processes.

Read the detail from : H.K Versteeg and W. Malalasekera, " An introduction to computational fluid dynamics: The finite volume, John Wiley & Sons Inc., New York.
Oula and hewida like this.
  Reply With Quote

Old   July 16, 1999, 06:42
Default Re: Finite element vs. finite difference
  #4
Yogesh Talekar
Guest
 
Posts: n/a
In finite element you relate stresses, forces or strains developed in the system by writing the equations relating them in a matrix form. Whereas in the finite-difference method you replace the deivatives (gradients) by simple difference. In finite difference you are replacing slope of a tangent (i.e. derivative or gradient) by simple formula of slope of a straight line say (y1-y2)/(x1-x2) where (x1-x2)=delta(x)=grid_spacing. As you can see, to approximate slope of tangent to curve by slope of straight line we have to keep delta(x) as small as possible!
  Reply With Quote

Old   July 16, 1999, 09:05
Default Re: Finite element vs. finite difference
  #5
Farid Moussaoui
Guest
 
Posts: n/a
Hi, I don't agree with John. FEM are widely used in CFD. May be your background in CFD were made only in a FD or FV school. Yours.
chaitanyaarige likes this.
  Reply With Quote

Old   July 16, 1999, 09:49
Default Re: Finite element vs. finite difference
  #6
Patrick Godon
Guest
 
Posts: n/a
One of the main difference between the two methods is that FE is written such that it preserves Fluxes, while FD does not especially conserves fluxes (as has been said, FD is just replacing the derivatives using first order expansion of the Taylors series of the function).

Have also a look at :

Press, Flannery, Teukolsky and Vetterling, 1989, Numerical Recipes, Cambridge Univ. Press.

Hughes, 1897, Finite Element Method, Prentice-Hall.

Zienkiewicz, 1977, The Finite Element Method, London: McGraw-Hill.

Patrick
  Reply With Quote

Old   July 16, 1999, 22:17
Default Re: Finite element vs. finite difference
  #7
John C. Chien
Guest
 
Posts: n/a
(1). Sure, when I speak, I always express my personal opinion. (2). I always caution my friends in Taiwan that there is no direct relationship between technology advancement and the democratic systems adopted. (3). There is no way one can invent technology by voting. So, the number of people using a particular method of solution does not in any way indicate that the method is more right or more wrong. And the real value of the finite-element method should not be affected by my personal feeling at all. (4). I guess, it is your responsibility to develope or apply the finite-element method when it is applicable.
  Reply With Quote

Old   July 20, 1999, 15:30
Default Re: Finite element vs. finite difference
  #8
clifford bradford
Guest
 
Posts: n/a
count on Mr Chien to make things more difficult than they are. Francisco there isn't really a quick answer. as you probably know FD involves approximating derivatives in a pde and then solving the algebraic equations. fd is used to solve differential equations. in FE the integral equation (derivable from the differential equation or vice versa) is solve by assuming a piecewise continuous function over the domain. it is more complicated than FE. but it ensures conservation and is probably the best techniques for solving arbitrary integral (or differential equations. nouray, farid and david are correct. i'd also recommend the Von karman institutes "introduction to cfd" edited by wendt. there is a section on FE applied to CFD
  Reply With Quote

Old   July 20, 1999, 17:23
Default Re: Finite element vs. finite difference
  #9
Francisco Saldarriaga
Guest
 
Posts: n/a
Thanks to you all regarding these answers, they helped a lot! From the references, I found in Patankar's book: " Numerical Heat Transfer an Fluid Flow", page 27, that the difference can be considered as two alternative versions of the discretization method. In particular the way of choosing profiles (between nodes) and the derivation of the discreticized equations. My conclusion as John stated (regarding PDF's) is like in defining who is first," the chicken or the egg".
  Reply With Quote

Old   July 20, 1999, 17:38
Default Re: Finite element vs. finite difference
  #10
John C. Chien
Guest
 
Posts: n/a
(1). I can only say that most professional commercial CFD codes use finite-volume method to solve Navier-Stokes equations. This includes Fluent, Star-CD, CFX, CFX-Tascflow,... (2). I believe that all (99%) structure codes use finite-element method. (3). Most advanced research in CFD use finite-difference method to solve Navier-Stokes equations. (4). I think there must be reasons behind this trend. (5). If one can get good results of Navier-Stokes equations, it really doesn't matter what method he used. (6). The fact is, when I was young, I used to think that every person is a good person regardless of his temporary behavior. But since then, I have changed my view of people, there are really several types of persons, good, bad, and ugly. It is hard to change a person, and it is hard to change a method. That is my point of view.
monty_p20 likes this.
  Reply With Quote

Old   May 24, 2010, 10:28
Default main differences applying the boundary conditions.
  #11
New Member
 
Arulkumar
Join Date: May 2010
Posts: 1
Rep Power: 0
arulmasc is on a distinguished road
In finite difference method,One apply the boundary conditions in discretized form(Nuemann BC) where as Finite Element(F-E)we can use as the Nuemann Bc As it is.(without discretized form)





Quote:
Originally Posted by John C. Chien
;4058
(1). I can only say that most professional commercial CFD codes use finite-volume method to solve Navier-Stokes equations. This includes Fluent, Star-CD, CFX, CFX-Tascflow,... (2). I believe that all (99%) structure codes use finite-element method. (3). Most advanced research in CFD use finite-difference method to solve Navier-Stokes equations. (4). I think there must be reasons behind this trend. (5). If one can get good results of Navier-Stokes equations, it really doesn't matter what method he used. (6). The fact is, when I was young, I used to think that every person is a good person regardless of his temporary behavior. But since then, I have changed my view of people, there are really several types of persons, good, bad, and ugly. It is hard to change a person, and it is hard to change a method. That is my point of view.
arulmasc is offline   Reply With Quote

Old   February 4, 2012, 17:17
Default
  #12
hop
New Member
 
hoofar
Join Date: Feb 2012
Posts: 1
Rep Power: 0
hop is on a distinguished road
I read through some replies, I just remembered one thing: "too little knowledge is a dangerous thing" especially when you think just working with a software and affiliation with that gives you the right to comment on the technical rigorous side of it.

http://www.youtube.com/watch?feature...&v=vucTntLi5sQ

Here is video that you'll find few clear, correct points regarding finite elements methods, in CFD context.
hop is offline   Reply With Quote

Old   February 4, 2012, 20:54
Default
  #13
Senior Member
 
adrin
Join Date: Mar 2009
Posts: 115
Rep Power: 17
adrin is on a distinguished road
I agree with the comment "too little knowledge is a dangerous thing", because it also leads one to believe any youtube material and published "research" papers as fact

With due respect to the speaker at that youtube self-advertisement, while I'm sure he knows his FE stuff, his explanation for the differences between FE and FV are far from accurate, complete and/or honest. To suggest that FV is inaccurate because it considers "2D"; i.e., flux info instead of "3D"; i.e., volume info is equivalent to saying that Stokes and Gauss theorems are "approximations" for converting volume integrals to surface integrals. We know this is simply not correct! The fact that traditional FV methods used in most/all commercial codes utilize only the lowest-order discretization of variables (usually cell-centered) doesn't automatically imply that higher-order FV methods cannot be developed and used. The differences between FE and FV are mathematically deeper than the superficial presentation in that youtube (FV can probably be considered as a subset of FE, depending on the choice of the discretization strategy).

adrin
örjan likes this.
adrin is offline   Reply With Quote

Old   February 4, 2012, 21:43
Default
  #14
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,273
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
Quote:
Originally Posted by adrin View Post
i agree with the comment "too little knowledge is a dangerous thing", because it also leads one to believe any youtube material and published "research" papers as fact

with due respect to the speaker at that youtube self-advertisement, while i'm sure he knows his fe stuff, his explanation for the differences between fe and fv are far from accurate, complete and/or honest. To suggest that fv is inaccurate because it considers "2d"; i.e., flux info instead of "3d"; i.e., volume info is equivalent to saying that stokes and gauss theorems are "approximations" for converting volume integrals to surface integrals. We know this is simply not correct! The fact that traditional fv methods used in most/all commercial codes utilize only the lowest-order discretization of variables (usually cell-centered) doesn't automatically imply that higher-order fv methods cannot be developed and used. The differences between fe and fv are mathematically deeper than the superficial presentation in that youtube (fv can probably be considered as a subset of fe, depending on the choice of the discretization strategy).

Adrin

+1 .
arjun is offline   Reply With Quote

Old   February 5, 2012, 05:48
Default
  #15
Senior Member
 
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 20
cfdnewbie is on a distinguished road
+1 as well.

FE and FV both have their merits. While I tend to agree that for incompressible, viscous flows probably the FE approach outperforms the FV one (per DOF), the picture changes completely when you enter the realm of compressibility.

In the mathematical limit, all formulations are bound by one thing: the Nyquist frequency, and resulting from that, the "quality" per DOF you spent. Saying that one method is better/more accurate/more efficient than another without considering no. of DOF, order, etc is just misleading!

I can understand that the guy in the vid wants to promote his software for the application he has in mind, but it's nothing more than a commercial - with some scientific tidbits added...
cfdnewbie is offline   Reply With Quote

Old   February 5, 2012, 05:57
Default
  #16
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
just to say that FV can be seen as a form of FEM, for a specific chose projection over local shape function that correspond to the measure of the finite volume
FMDenaro is offline   Reply With Quote

Old   February 5, 2012, 06:06
Default
  #17
Senior Member
 
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 20
cfdnewbie is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
just to say that FV can be seen as a form of FEM, for a specific chose projection over local shape function that correspond to the measure of the finite volume

agreed, but isn't that just the expression for the mean value? where do the surface fluxes come in? just as a bc?
cfdnewbie is offline   Reply With Quote

Old   February 5, 2012, 06:21
Default
  #18
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by cfdnewbie View Post
agreed, but isn't that just the expression for the mean value? where do the surface fluxes come in? just as a bc?
No, you have a mean value "function" f_bar(x), not a piecewise constant value over the finite volumes. This is exploited in high order flux reconstructions for Euler flows as well as in LES based on the top-hat filter function.
FMDenaro is offline   Reply With Quote

Old   February 7, 2012, 23:40
Default
  #19
New Member
 
Agus Kartono
Join Date: Feb 2012
Location: Indonesia and Malaysia
Posts: 2
Rep Power: 0
aguskartono70 is on a distinguished road
Does anyone have an open source code for 3-dimensional model for estuaries and coastal seas using finite differential method/scheme ? Please send to aguskartono70@yahoo.com ... thanks ...
aguskartono70 is offline   Reply With Quote

Old   February 8, 2012, 03:45
Default
  #20
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
I suggest OpenFOAM ...
FMDenaro is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
finite volume VS finite element solomon FLUENT 4 April 3, 2015 00:10
Fininte difference and Finite element Technique Mahendra Singh Mehra FLUENT 3 December 22, 2005 23:49
Finite Difference, Element & Volume methods JonS Main CFD Forum 10 July 18, 2004 05:35
Equations for finite difference, element & volume W.L.C. Main CFD Forum 9 April 3, 2001 12:08
finite element vs. finite difference Zoltan Turzo Main CFD Forum 2 February 20, 1999 07:42


All times are GMT -4. The time now is 04:10.