Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Finite Element Library for Heat Transfer 2D

Hi I am currently COMSOL for calculating the Heat Transfer over time in 2D and I was looking for a library to do it in C++. Is the combination of libMesh and Gmsh the best choice?

It would be really helpful, if you could please also provide an example of such an operation on the suggested library? I use the Fourier equation.

Thank you in advance

like image 248
Yannis Assael Avatar asked Jan 04 '13 14:01

Yannis Assael


People also ask

What is the formula for 2 dimensional heat flow?

f2(x) sin nπ a x dx.

Can FEM deal with heat transfer problems?

The approach used to derive FE equations in heat transfer problems is a general approach to solve partial differential equations using the FEM.

What is Finite Element Method heat transfer?

A variational principle is applied to the transient heat conduction analysis of complex solids of arbitrary shape with temperature and heat flux boundary conditions. The finite element discretization technique is used to reduce the continuous spatial solution into a finite number of time-dependent unknowns.

Is thermal analysis part of FEA?

Thermal analysis can be performed using FEA or CFD. FEA method is often preferred when evaluating thermal stress is the main purpose of the analysis or the boundary conditions are well defined.


1 Answers

I think that there are a lot of such libraries!

My favorite choice would be Dealii (http://www.dealii.org/) which is very well documented, has a lot of examples and is very flexible. If the 2D heat transfer is only what you need, I think that this is the right library.

Otherwise, you can have a look at Dune (http://www.dune-project.org/dune.html), LibMesh (http://libmesh.sourceforge.net) as you suggested, GetFem++ and so on and so on. There are also a few libraries that allow you to write the weak form of your problem, for example Feel++(http://www.feelpp.org/) or LifeV ( http://www.lifev.org). (I guess there are others, but these are the ones I know).

Depending on the library, you need an external tool for the mesh and Gmsh is on (good) of them.

like image 141
Dr_Sam Avatar answered Sep 30 '22 23:09

Dr_Sam