Hex mesh for a T-pipe
Hi to you all,
For some time I struggle to generate a hex mesh for a T-pipe ( pipes with different diameters). For pipes with the same diameter I managed to partition and to obtain a nice hex mesh, but for different ones nothing works.
Can you please help me!
I attach a picture of the way I did the partitioning for the T-pipe when I have the same diameters and it works perfectly. But when one is bigger than the other the partitioning does not work. I really need to know how to do this, to understand the logic behind.
Thank you in advance!
Eduard
The picture is of low help. I'd prefer a script where I could add some command or change some parameters to make it work.
Meanwhile you can try to use a specific operation creating a T-pipe shape: New Entity / Primitives / Pipe TShape.
St.Michael
So here is the script I'm using. Sorry if it is not so "clean". The Pipe TShape does not help me in this case.
Yes. The example I give is perfect and the mesh is fine. But the problem is when the diameters differ. Change in the script that raza_cil_mare differ of raza_cil_mic. I attached the modified script. Here the problem appears in my approach.
Apparently there are some errors in in your script leading to an appropriate geometry.
Measure / Check Compound of Blocks operation detects bad sub-shapes preventing hexahedral meshing. This operation reports "Extra Edge" error. When this error is clicked, "Incriminated Sub-shapes" field enumerates wrong sub-shapes that allow you to see them in the viewer (hide the main shape if a shown bad sub-shape is not visible). This way you can understand where your error is.
St.Michael
I'm struggling with this for a long time now. It is an example in salome but it is working only if the upper pipe is in the middle of the other. I have no more ideas although I really need to get it work.
Dear Eduard
Do I understand right that usage of a hexagonal tool for Partition is not obligatory?
St.Michael
I don't know if it is obligatory, but for the moment is the only way I managed to get some hexa meshes. It will be perfect to be another way.
Eduard
Thank you so much. I can not wait to see it. You really made my day and my weekend. Wish you a great one also.
Eduard.
Sorry for the delayed answer, but I could only try it this morning. It is perfect. I did some tweaking and it behaves perfectly. I still have to manage the mesh part from your script, but with a simple automatic hexa it's working like a charm.
Thank you again and if we ever meet the wine is on me.

