V2.0.3 - Refinement bug

In v2.0.3 using gmsh refinement doesn’t work properly (this applies to compounds and single volume parts):

1.pmx (1.0 MB)

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:

When using “Transfinite Mesh”, wouldn’t it be useful also to add the “Mesh optimization” options to it?

Thanks

More precisely, with split cylinder surfaces, the refinement in the tangential direction no longer works properly.

It seems pyramids can’t be used in calculix for contact and don’t work correct with tie constraints :frowning:

You are right. The bug that I fixed somehow got unfixed. I fixed it again. I will probably create a new dev release containing it.


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.

1 Like

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.

1 Like

Edit
Omg i was just blind and didn’t recognize it :man_facepalming:

Thanks :slight_smile:

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.

2 Likes

This should be fixed in the new developer PrePoMax version.

2 Likes

Can you check if the refinement bug is working as expected now?

I couldn’t find any problem.

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.

test.pmx (1.3 MB)

I can confirm this behavior. It is not intentional so I will check if I can fix 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.

3 Likes