I’m having trouble generating a hex mesh of a small torus inside a box. I’m unsure of which scheme to use.
I’d also like to use a finer spacing inside the torus and then have it grad outwards towards the cube boundary, but don’t seem to be having much success.
Here’s my attempt… I was trying to do use symmetry and then reflect at the end:
reset
brick x 0.5
torus major radius 0.02 minor radius 0.01
rotate volume 2 angle 90 about y
subtr vol 2 from 1 keep
del vol 1
webcut volume all with plane xplane offset 0
webcut volume all with plane yplane offset 0
webcut volume all with plane zplane offset 0