bernd wrote:crobar wrote:... Might it be possible to separate out the meshing component from the workbench? In the long run this would make life easier for those of us who want to do other types of finite element analysis using meshes generated in FreeCAD, e.g. heat flow, or electromagnetics, or fluid dynamics.
...
Sure it would be possible, BUT ...
see
Workbenches. The tools of the different workbenches are available in any other Workbench as well. I see no reason for separating FEM Mesh Generation from FEM Workbench. There are so many things to do. I'm on shell and beam analysis as well as multiple materials and of course the wiki. All not yet finished. If you would like to have it go for it and give it a try.
That's interesting, are you implementing a way of creating a partition mesh to use multiple materials in the same mesh? This is the key thing missing from a mesh suitable for electromagnetic simulation. Generally I'd like to make a mesh of multiple parts, e.g. a magnet in a box of air where the box is one Part and the magnet another Part, but you end up with a single mesh, with different regions of the mesh given appropriate labels of some kind which you can use in your finite element package. For a mechanical example, the same idea might be a part of one metal welded to a part of another metal. You would want one mesh, but different regions of the mesh to have different materials.
I've attached an example .unv file of what I mean (created in Salome) it is a cylinder inside a box of air. When I import this in FreeCAD it only appears to show the outer surface, but I can't tell if it has really imported the actual 3D volume mesh.
Here is what the mesh looks like in wireframe in Salome this was imported from the .unv file into Salome)
- mesh_in_salome.png (66.55 KiB) Viewed 1951 times
Here is what the mesh looks like when imported from the .unv file into FreeCAD when viewed as wireframe. I don't know if FreeCAD has only imported the surface, or if it's just a display issue.
- imported_mesh_in_freecad.png (34.85 KiB) Viewed 1951 times
I've also attached the .unv file, but zipped it first as the forum will not allow me to upload a .unv file extension