And i have two questions/feature requests:
Now where Pyramids are available for compounds, if possible could they also be used for single volume parts? Like it can be done in Salome:
You can use Gmsh Terahedral mesh for that and enable the Recombination algorithm. Currently it can only be enabled for the whole part at once.
Yes. Currently, the Pyramids are experimental due to their precision. Once they are confirmed as good enough I will add other functionalities. Maybe even combine the Transfinite mesh and Tetrahedral mesh items since they can produce the same result.
Currently, pyramids are meant to be internal elements for mesh transitions so there might be problems using them. Be careful that looking “nice” on the outside does not mean that the result will be better. The current implementation is not the best.
But you are right, if they are supported, surface definitions should also work with them. It would be easier if we could decide if collapsed wedges or collapsed hexahedrons are a better solution and then I can support only one variation.
I thought they can be useful for meshing contact surfaces, maybe to get a “smoother” contact pressure than tets, but now i know pyramids can’t be used for it (still).
I will try to add this functionallity since I think it will not be to hard. I only need to correctly convert the pyrmaid surface names to wedge and hex surface names.
The only small difference in version 2.0.3 compared to 2.0.2 i found is, that with the attached models it is not possible to create only one element in the curved areas (with the global settings). If you open the .pmx with v2.0.2 and remesh it, you should get the result show in the first picture while meshing it with v2.0.3 you get the mesh shown in second picture. It’s not a big thing but i wanted to mention it.
I have found the problem. I have tweaked the meshing prcedure so that it is now possible to produce exactly 1 element per subpart.
What also helps in such cases is the mesh refinement. Despite its name and how it works for Netgen (can only create smaller elements), for Gmsh it uses TransfiniteCurve command. So an exact number of elements can be given by recomputing it from the element size.