Dear Coreform-Cubit community,
I am using Coreform-Cubit 2025.8 on Windows. In my geometry, I have several tilted volumes cutting each other. I am looking for a way to make a hex mesh for the geometry, but it fails in some volumes.
Here is what the geometry looks like:
Here is also my journal file:
#!cubit
reset
brick x 3000 y 3000 z 1000
move Volume 1 z -500 include_merged
brick x 4 y 3000 z 1000
move Volume 2 z -500 include_merged
Volume 2 copy move x 10
rotate Volume 3 angle 5 about Z include_merged
Volume 3 scale 1.3
move Volume 3 z 50 include_merged
Volume 2 copy move x -8
rotate Volume 4 angle 357 about Z include_merged
rotate Volume 4 angle 5 about Y include_merged
Volume 4 scale 1.3
move Volume 4 z 50 include_merged
Surface 1 copy move z 200
Surface 1 copy move z 170
Surface 1 copy move z 140
unite volume 2 3 4
chop volume 1 with volume 2
move Surface 25 z -700 include_merged
move Surface 26 z -700 include_merged
move Surface 27 z -700 include_merged
webcut volume all with plane from surface 25
webcut volume all with plane from surface 26
webcut volume all with plane from surface 27
imprint vol all
merge vol all
volume all size auto factor 2
mesh volume all
In other examples, I may have more volumes cutting each other, and I am looking for a solid solution. I can make a tet mesh, but I prefer hex due to the impact of the tets on later simulations.
Thanks for your support.
cheers
Ali


