I am trying to generate Structured Hex mesh for Stepped Shaft But I keep getting errors even after splitting it

Study18.hdf (1.2 MB)

step_ballValve_Fluid_Volume2.step (29.9 KB)

you have issues in the connection of the blocks.
image
image

regards.

image

There is a surface behind that entity,

your blocking is wrong. here is a correct geometry cutted. i think you are missing out that in the axial direction you need to also cut the geometry. furthermore, i would HIGLY recommend to make disapear the super small feature of the fillet like geometry.
correctBlocking.brep (1,2 MB)
regards.

1 Like

Thank you very much
really appreciate it

no problem, is it an issue if I use the geometry (the one i uploaded as blocking example online?) i dont care about application or whatsoever simply to have more examples. thanks

1 Like

when I input the 1-d hypothesis for for number of segments the mesh ran successfully but for putting the segment/wire length the mesh failed, could you help me on this one

normal, a block has 3 group of edges:
image

all the edges should have the same number of elements. if you look at the blue group, in the upper face, you have two edges. with each of them different lengths. if you use same length for the two of them, the number of element in one of the edges (one side) will be different than the number on the other edge( other side)
therefore you will not be able to create a quadrangulate mesh without internal nodes that have more tha 4 near faces. therefore it will fail.
for each red circle there should be a blue cirlce:
image
it is a principle of hexahedral meshing with a structured mesh. you can not do differently.

to be more clear, if you do same length:
image
what the 2D mesher should do with the circled vertexes?

1 Like

I have added viscous layer in hex hypothesis but every time I compute it the meshing gets stuck at 32 %

StudyFinal.hdf (378.9 KB)
I have attached hdf file please let me know if I am missing something

hello,
currently in salome you can not add layers to a structure like this: check this post I made some time ago.Bug SMESH hexahedron + layer generation issue with internal faces of blocks
so yeah, for the blocking of the geoemtry you have (i know it as i made it myself) the boundary layer will fail in any case (the 32 % is quite commun, it is calculating, at one point it will finish, but i know for certenty that you will have collapsed layers in any case.)
only solution is to change the blocking of the geometry. search a little bit for pillowing keyword. if you are using openfoam for your simulation, you can use your mesh+snappy only with viscous layer true to add them.
regards