Skip to content

Reply To: Rotating cuboid not working correctly in 1.8

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.

Forums OpenLB Bug Reports Rotating cuboid not working correctly in 1.8 Reply To: Rotating cuboid not working correctly in 1.8

#10370
stonepreston
Participant

I did find a new rotation class, but using that does not result in the expected output either:


    superGeometry.rename(0, 2);
    superGeometry.rename(2, 1, {1, 1});
    Vector<T, 2> extend{2, 2};
    Vector<T, 2> origin{4, 3};
    IndicatorCuboid2D<T> cube(extend, origin);
    IndicatorRotate<T, 2> rotated({5, 4}, 0.174533, cube);
    superGeometry.rename(1, 2, rotated);