Example of an Hex mesh with GMSH
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Example of an Hex mesh with GMSH
Hi,
FYI and not knowing if it can be useful or not, here is an example of Gmsh hex mesh.
Everything has to be created within GMSH (points, lines, surfaces, ...).
There is a tutorial on the Gmsh site as well.
FYI and not knowing if it can be useful or not, here is an example of Gmsh hex mesh.
Everything has to be created within GMSH (points, lines, surfaces, ...).
There is a tutorial on the Gmsh site as well.
- Attachments
-
- example.txt
- GMSH input file - TO RENAME as a .GEO file
- (11.32 KiB) Downloaded 925 times
Re: Example of an Hex mesh with GMSH
Thanks for sharing. It's a pity. The mesh is made manually. I'm searching for a way to make a hex mesh by the use of GMSH meshing algorithm and some recombine or similar command. Best would be an example with the geometry imported by brep but this is not necessary.
Re: Example of an Hex mesh with GMSH
Not sure this is possible! Maybe we should ask advice to the GMSHV developers.
Re: Example of an Hex mesh with GMSH
Would you go for this?sodelo wrote:Not sure this is possible! Maybe we should ask advice to the GMSHV developers.
Re: Example of an Hex mesh with GMSH
Why not? Though I do not know the internal structure of Freecad which may be an issue to go into th details.
What you would like is to be able to mesh with Hex while still providing a BREP (is it the name?) CAD description. Of course the geometry whould have to be subdivided and the information of the number of element (or size) should be provided. Is it correct?
What you would like is to be able to mesh with Hex while still providing a BREP (is it the name?) CAD description. Of course the geometry whould have to be subdivided and the information of the number of element (or size) should be provided. Is it correct?
Re: Example of an Hex mesh with GMSH
Did not contact the devs but played a little bit with Freecad and gmsh instead.
I created a CompoundFilter and exported as a Brep. With a very simple geo file I got this. There is some potential there!
Place the Brep and geo file in the same directory. Open the geo file and click on Mesh/define/3D.
I created a CompoundFilter and exported as a Brep. With a very simple geo file I got this. There is some potential there!
Place the Brep and geo file in the same directory. Open the geo file and click on Mesh/define/3D.
- Attachments
-
- test.geo.txt
- (136 Bytes) Downloaded 650 times
-
- geom3.brep
- (23.89 KiB) Downloaded 329 times
Re: Example of an Hex mesh with GMSH
Still learning
Re: Example of an Hex mesh with GMSH
Wow cool can't wait to see more. We should integrate this into FreeCAD GMSH meshing tool ...
Ahh some related informations: viewtopic.php?f=22&t=20351
Ahh some related informations: viewtopic.php?f=22&t=20351
Re: Example of an Hex mesh with GMSH
First own hex mesh in FreeCAD which is not made manually.
I still do not really understand the geo commands which where used ...
I still do not really understand the geo commands which where used ...
- Attachments
-
- screen.jpg (467.64 KiB) Viewed 11740 times
Re: Example of an Hex mesh with GMSH
Impressed. This was fast... Had no time to write a post .
This is one of my long awaited features fur meshing.
It so interesting for messing extremely thin layers.
Looking forward to test it.
Br,
Howil
This is one of my long awaited features fur meshing.
It so interesting for messing extremely thin layers.
Looking forward to test it.
Br,
Howil