I started working with FreeCAD / Elmer / gmsh a week ago and got stuck with this simple test-problem in 2D:
Two boxes adjacent to each other which are made out of two different materials. The boxes should share a common edge, such that heat could be exchanged.
However, I am not able to create a conformal mesh in 2D which also allows me to set different materials for the two boxes when I import the mesh to Elmer.
What I found is that in 3D you would probably go for the "BooleanFragments"-Option and set "Mode" to "CompSolid". But it seems not work with 2D faces / surfaces / sketches as for all my attempts get the error "No solids in the result. Can't make CompSolid."
I think this thread here is rather close to what I'm trying.
https://forum.freecadweb.org/viewtopic.php?t=30375
However, exporting the mesh as *.unv and reading it with Elmer results in one single body, instead of different parts.
Could someone give me a hint on how to do this in 2D? Eventually I want to solve the heat equation for a cylinder made out of steel which is wrapped in a heating tape. Because of computing resources, I want to do this in a 2D axisymmeric simulation.
Thanks a lot for your help! FreeCAD is really a great tool, especially with all the tutorials out there.
Best regards
Code: Select all
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: German/Germany (de_DE)