
[Sponsors] 
July 15, 1999, 16:56 
Finite element vs. finite difference

#1 
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?


July 16, 1999, 00:53 
Re: Finite element vs. finite difference

#2 
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 "finitedifference" or "finitevolume" 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 (NavierStokes equations, or Euler equation), you call it finiteelement method in fluid dynamics. (5). Then, you probably will ask " what is finiteelement 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)


July 16, 1999, 01:50 
Re: Finite element vs. finite difference

#3 
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. 

July 16, 1999, 06:42 
Re: Finite element vs. finite difference

#4 
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 finitedifference 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 (y1y2)/(x1x2) where (x1x2)=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!


July 16, 1999, 09:05 
Re: Finite element vs. finite difference

#5 
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.


July 16, 1999, 09:49 
Re: Finite element vs. finite difference

#6 
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, PrenticeHall. Zienkiewicz, 1977, The Finite Element Method, London: McGrawHill. Patrick 

July 16, 1999, 22:17 
Re: Finite element vs. finite difference

#7 
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 finiteelement method should not be affected by my personal feeling at all. (4). I guess, it is your responsibility to develope or apply the finiteelement method when it is applicable.


July 20, 1999, 15:30 
Re: Finite element vs. finite difference

#8 
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


July 20, 1999, 17:23 
Re: Finite element vs. finite difference

#9 
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".


July 20, 1999, 17:38 
Re: Finite element vs. finite difference

#10 
Guest
Posts: n/a

(1). I can only say that most professional commercial CFD codes use finitevolume method to solve NavierStokes equations. This includes Fluent, StarCD, CFX, CFXTascflow,... (2). I believe that all (99%) structure codes use finiteelement method. (3). Most advanced research in CFD use finitedifference method to solve NavierStokes equations. (4). I think there must be reasons behind this trend. (5). If one can get good results of NavierStokes 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.


May 24, 2010, 10:28 
main differences applying the boundary conditions.

#11  
New Member
Arulkumar
Join Date: May 2010
Posts: 1
Rep Power: 0 
In finite difference method,One apply the boundary conditions in discretized form(Nuemann BC) where as Finite Element(FE)we can use as the Nuemann Bc As it is.(without discretized form)
Quote:


February 4, 2012, 18:17 

#12 
New Member
hoofar
Join Date: Feb 2012
Posts: 1
Rep Power: 0 
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. 

February 4, 2012, 21:54 

#13 
Member
adrin
Join Date: Mar 2009
Posts: 82
Rep Power: 10 
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 selfadvertisement, 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 lowestorder discretization of variables (usually cellcentered) doesn't automatically imply that higherorder 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 

February 4, 2012, 22:43 

#14  
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 704
Rep Power: 19 
Quote:
+1 . 

February 5, 2012, 06:48 

#15 
Senior Member
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 13 
+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... 

February 5, 2012, 06:57 

#16 
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 3,502
Rep Power: 40 
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


February 5, 2012, 07:06 

#17  
Senior Member
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 13 
Quote:
agreed, but isn't that just the expression for the mean value? where do the surface fluxes come in? just as a bc? 

February 5, 2012, 07:21 

#18 
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 3,502
Rep Power: 40 
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 tophat filter function.


February 8, 2012, 00:40 

#19 
New Member
Agus Kartono
Join Date: Feb 2012
Location: Indonesia and Malaysia
Posts: 2
Rep Power: 0 
Does anyone have an open source code for 3dimensional model for estuaries and coastal seas using finite differential method/scheme ? Please send to aguskartono70@yahoo.com ... thanks ...


February 8, 2012, 04:45 

#20 
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 3,502
Rep Power: 40 
I suggest OpenFOAM ...


Thread Tools  
Display Modes  


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 23, 2005 00: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 08:42 