Hello,rnrnI need to simulate the fluid flow in a tube:rn[img]https://1drv.ms/i/s!AtMiqcuyeYQqm6A_ZHE8OEqTEKx-2A[/img]rnrnI want to make this geometry using union of simple cuboids – IndicatorCuboidXD. One cuboid should be inclined (I’m planning to set parameter theta for incline. Is it correct?).rnAnd my main question is how can I fill this oblique cuboid by material number = 2 (like on picture). Have I to separate this cuboid on a lot smaller cuboids (with x size = latticeL)?rnrnThanks,rnAlina.rnrnP.S. Solution was found. I will publish code later.