Hi! I'm totally new to FreeCAD.. and I really need some help..
The final goal is to draw a 3D shape with hex mesh.
1. is there any method to export node and element information for Gmsh from freeCAD? I need node and element information for analysis.
2. How can I make a hex mesh in freeCAD?
3. Can I actually import file in Gmsh from freeCad? If I can, could you please let me know what file extensions I have to use?
Thank you !
freecad to gmsh
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Re: freecad to gmsh
Hexahedral mesh can't be created in FreeCAD but you can export the geometry in one of the supported formats (e.g. STEP), import it to Gmsh or Salome_Meca (another free software) and create the hexahedral mesh. When it's ready, you can easily export the mesh to .inp file which can be opened in FreeCAD. However, you won't be able to prepare the analysis using this mesh because in FEM workbench constraints are applied only to the geometry. Thus, you would have to do the preprocessing outside of FreeCAD.
This thread should belong to the FEM subforum.
This thread should belong to the FEM subforum.
Re: freecad to gmsh
Thank you so much for your kind answer!
I'm so sorry for the late reply...
I have one more question though. You said I would have to do the preprocessing outside of FreeCAD.
Could you explain me what does it mean? How can I preprocess outside of FreeCAD?
Thanks a lot!!
I'm so sorry for the late reply...
I have one more question though. You said I would have to do the preprocessing outside of FreeCAD.
Could you explain me what does it mean? How can I preprocess outside of FreeCAD?
Thanks a lot!!
Re: freecad to gmsh
CalculiX’s input files use very user-friendly keyword syntax. Once you have the mesh and set definitions, you can easily set the analysis manually, by specifying proper keywords. Use CalculiX’s documentation (especially the "Input deck format" section) for that: http://www.dhondt.de/ccx_2.19.pdf
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: freecad to gmsh
Goto youtube, search for "anisim". He has done several tutorials on generating hex-meshes with gmsh
and importing into FC. Example:
https://www.youtube.com/watch?v=hLe8M4QIuNE
Tutorials are in german, but should work without sound.
Re: freecad to gmsh
I thought that it won't work this way but apparently it works very well. So:
1. Prepare the geometry in FreeCAD
2. Export it for meshing e.g. in Gmsh or Salome_Meca
3. Import the mesh in compatible format like .inp or .unv
4. Drag the mesh to the Analysis container
5. Apply constraints to the geometry
1. Prepare the geometry in FreeCAD
2. Export it for meshing e.g. in Gmsh or Salome_Meca
3. Import the mesh in compatible format like .inp or .unv
4. Drag the mesh to the Analysis container
5. Apply constraints to the geometry
Re: freecad to gmsh
Moved from Help forum.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.