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
f2(x) sin nπ a x dx.
The approach used to derive FE equations in heat transfer problems is a general approach to solve partial differential equations using the FEM.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With