Finite element vs. finite difference
What is a simple way to explain the difference between the finite element approach versus the finite difference when solving the NS equations?

Re: Finite element vs. finite difference
(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)

Re: Finite element vs. finite difference
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. 
Re: Finite element vs. finite difference
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!

Re: Finite element vs. finite difference
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.

Re: Finite element vs. finite difference
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 
Re: Finite element vs. finite difference
(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.

Re: Finite element vs. finite difference
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

Re: Finite element vs. finite difference
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".

Re: Finite element vs. finite difference
(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.

main differences applying the boundary conditions.
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:

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. 
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 
Quote:
+1 . 
+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... 
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

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

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 ... :)

I suggest OpenFOAM ...

All times are GMT 4. The time now is 14:50. 