Reply To: Rotating cuboid not working correctly in 1.8
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › Bug Reports › Rotating cuboid not working correctly in 1.8 › Reply To: Rotating cuboid not working correctly in 1.8
June 16, 2025 at 6:37 pm
#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);