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
Re: Example of an Hex mesh with GMSH
What happens if you would use different values for the symmetric edges ?
Re: Example of an Hex mesh with GMSH
This is what I am exploring.
I base my tests on my old example I prepared years ago. There may be novelties. I am having a look at the documentation.
2 volumes do not have the same number of elements on the left and on the right. Resulting mesh is a free quad-dominated mesh, which is a nice possibility for transitions of density. Not sure the result is correct since there are error messages.
Edit: This mesh is not correct. I need to work on this.
I base my tests on my old example I prepared years ago. There may be novelties. I am having a look at the documentation.
2 volumes do not have the same number of elements on the left and on the right. Resulting mesh is a free quad-dominated mesh, which is a nice possibility for transitions of density. Not sure the result is correct since there are error messages.
Edit: This mesh is not correct. I need to work on this.
Re: Example of an Hex mesh with GMSH
So I finally got to redoing the demo video from last week and when I created the mesh with GMSH this is what I got.
Is some of this in the master already ? File
Is some of this in the master already ? File
Re: Example of an Hex mesh with GMSH
No not yet in master, you need to edit the geo file which is created from FreeCAD or be patient for a few days ...
Re: Example of an Hex mesh with GMSH
I do not find any working solution so far to have different element numbers on 2 sides.
I will try to ask for help to the gmsh mailing list. Until then, do not count on it.
I will try to ask for help to the gmsh mailing list. Until then, do not count on it.
Re: Example of an Hex mesh with GMSH
Double-sided progression to create surface layer.
Code: Select all
Merge "cube.brep";
Transfinite Line "*" = 20 Using Bump 0.05;
Transfinite Surface "*";
Recombine Surface "*";
Transfinite Volume "*";
Re: Example of an Hex mesh with GMSH
At least we stil have the good old partitionning mehod to change the mesh density ...
Re: Example of an Hex mesh with GMSH
how does the geo for this looks like?sodelo wrote:At least we stil have the good old partitionning mehod to change the mesh density ...
Re: Example of an Hex mesh with GMSH
The GEO is like the previous ones.
The partition has to be done in Freecad.
Since the GMSH capabilities for Hex are somewhat limited (compared to commercial softs), we will have to do a lot of preparation on the model (volume subdivision and numbering all the edges). It would be nice to get:
- a one click solution for subdivision (instead of extrusion+booleanoperation + compound filter),
- a detection of linked edges (edges which have to get the same number of elements). This one is much more difficult
The partition has to be done in Freecad.
Since the GMSH capabilities for Hex are somewhat limited (compared to commercial softs), we will have to do a lot of preparation on the model (volume subdivision and numbering all the edges). It would be nice to get:
- a one click solution for subdivision (instead of extrusion+booleanoperation + compound filter),
- a detection of linked edges (edges which have to get the same number of elements). This one is much more difficult
Re: Example of an Hex mesh with GMSH
This is what I was thinking of. Maybe one can select the top or bottom face or an extruded object and the depth info is extracted from the edges inbetween or from the extruded object.sodelo wrote:It would be nice to get:
- a one click solution for subdivision (instead of extrusion+booleanoperation + compound filter),
- a detection of linked edges (edges which have to get the same number of elements). This one is much more difficult
BR
Howil