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

Has enyone developped code for CFD using FEM?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2011, 11:45
Default Has enyone developped code for CFD using FEM?
  #1
Senior Member
 
Hector Redal
Join Date: Aug 2010
Location: Madrid, Spain
Posts: 243
Rep Power: 17
HectorRedal is on a distinguished road
Hello,

I would like to know if someone has developped any code for CFD using the finite element method.

Right now, I am developping a code for CFD using the Finite Element Method.
I am using the scheme proposed in the following reference:

The Finite Element Method. Volume 3: Fluid Dynamics.
O.C. Zienkiewicz, R.L. Taylor
Butterworth Heinemann

I am using the so-called Characteristic-based split (CBS) algorithm (Chapter 3 of the aforementioned reference).

I have found an errata in one of the formulas, more precisely in the second step, of this algorithm.

I would like to know if any researcher has used this scheme, and he has managed to get reliable results using this scheme.

I have implemented this scheme on C++, and even thougth, I have corrected the errata in the code, the results I am getting are not convergent.

I would appreciate any information someone could give to me.

Thanks in advance.

Hector Redal.
HectorRedal is offline   Reply With Quote

Old   June 11, 2011, 12:30
Default
  #2
New Member
 
Vertex Wrangler
Join Date: Apr 2011
Location: Belgium
Posts: 25
Rep Power: 15
Kevin De Smet is on a distinguished road
CFDesign got pretty popular rather quickly and seemingly out of nowhere, I believe they use FEA for most of their CFD offering. Now they are part of Autodesk.
Kevin De Smet is offline   Reply With Quote

Old   June 11, 2011, 14:38
Default
  #3
Senior Member
 
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 20
cfdnewbie is on a distinguished road
are you looking for continuous (classica) FEM code or discontinuous FEM (DG)??
cfdnewbie is offline   Reply With Quote

Old   June 12, 2011, 04:32
Default
  #4
Senior Member
 
Hector Redal
Join Date: Aug 2010
Location: Madrid, Spain
Posts: 243
Rep Power: 17
HectorRedal is on a distinguished road
Hi cfdnewbie,

What's the difference between classica and dicontinuous FEM?

Pardon me, but I have never heard about this distinction.

Best regards,
Hector.
HectorRedal is offline   Reply With Quote

Old   June 12, 2011, 06:27
Default
  #5
Senior Member
 
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 20
cfdnewbie is on a distinguished road
Hello Hector,

classical FEM is done with (as far as I know) at least C0 globally continuous basis functions, in other words, two adjacent elements share a DOF on their common side. This approach works well for solutions without strong gradients, but gets really messy with things like shocks etc....so if you want to do compressible CFD or multiphase or sth like that, FEM by itself needs some nasty tricks for stabilization.

Discontinuous FEM has only locally continuous basis functions, and no continuity across the cell face is enforced - in other words, there's a jump at the cell interface, like in FV. The coupling is done weakly by fluxes. This allows the treatment of strong gradients + efficient parallelization.

From my experience, anyone doing compressible CFD prefers DFEM over CFEM.

If you have any more questions, shoot

Cheers!
cfdnewbie is offline   Reply With Quote

Old   June 12, 2011, 08:16
Default
  #6
Senior Member
 
Hector Redal
Join Date: Aug 2010
Location: Madrid, Spain
Posts: 243
Rep Power: 17
HectorRedal is on a distinguished road
Hello cfdnewbie,

According to your explanation, I am using classical FEM, since the basis function I am using are C0 continous: continuity among the cells is applied.

Right now, I am trying to solve incompressible flows.
More precisely, I am trying to solve the clasical lid driven cavity flow for Reynolds number 1000.

You can take a look at the results I am getting in the following link:
https://sites.google.com/site/hector.../cfd-example-1

Since I am trying to solve incompressible problems, I understand, that it is enough to use classical FEM.

After I get good results in incompressible problems, maybe I will try to extend the software for compressible problem.
But I think, that, first of all, I have to succeed to solve incompressibility problems.
And this is not easy.

Kind regards,
Hector.
HectorRedal is offline   Reply With Quote

Old   June 12, 2011, 10:09
Default
  #7
Super Moderator
 
Praveen. C
Join Date: Mar 2009
Location: Bangalore
Posts: 343
Blog Entries: 6
Rep Power: 18
praveen is on a distinguished road
There are many excellent fem libraries available which make it easy to write an fem code to solve any pde. See deal.II, fenics and freefem.
praveen is offline   Reply With Quote

Old   June 13, 2011, 14:13
Default
  #8
Senior Member
 
Hector Redal
Join Date: Aug 2010
Location: Madrid, Spain
Posts: 243
Rep Power: 17
HectorRedal is on a distinguished road
Hi praveen,

Thank you for your information.
I will try to take a look into the links you have provided to me.

Furthermore, I would like to say, that right now, I am trying to develop my Thesis in the field of FEM and CFD, and that's the reason why I am using the CBS algorithm proposed by Zienkiewickz and co-workers.

I am trying to look insde this algorithm for further study.
I don't know which schemes / algorithms the libraries you had mentioned are using.

Nevertheless, thanks for your help and support.

Regards,
HectorRedal is offline   Reply With Quote

Old   June 13, 2011, 23:03
Default
  #9
Super Moderator
 
Praveen. C
Join Date: Mar 2009
Location: Bangalore
Posts: 343
Blog Entries: 6
Rep Power: 18
praveen is on a distinguished road
All of them provide you things like, finite elements, quadrature rules, linear algebra, grid adaptation, visualization, etc. They dont have any schemes built in. You have to use it as a library and write your own code to implement your own scheme.
praveen is offline   Reply With Quote

Reply


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
State of the art in CFD technology Juan Carlos GARCIA SALAS Main CFD Forum 39 November 1, 1999 15:34
Use of an hydrodynamic model integrated in the vertical by the PHOENICS code Hafsia Zouhaier Main CFD Forum 2 March 15, 1999 09:23
public CFD Code development Heinz Wilkening Main CFD Forum 38 March 5, 1999 12:44
What kind of Cmmercial CFD code you feel well? Lans Main CFD Forum 13 October 27, 1998 11:20
CFD to FEM V. Worbington Main CFD Forum 1 July 21, 1998 16:40


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