Reply To: STL File position shifting
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › STL File position shifting › Reply To: STL File position shifting
September 25, 2023 at 9:20 am
#7761
Adrian
Keymaster
The STL file used for the cylinder3d example cases describes the entire simulation geometry, not just the cylinder.
I just checked and the overloads for get(Min,Max)
are missing in ´IndicatorTranslate3D`, explaining the 0 output (they are easy to add however, just return the wrapped indicator’s min/max values shifted). This also explains why a translated indicator fails when passed into the cuboid geometry as the voxelization loop is based on the min/max values.