Reply To: How to integrate new stl file with the code?
OpenLB – Open Source Lattice Boltzmann Code › Forums › on Lattice Boltzmann Methods › General Topics › How to integrate new stl file with the code? › Reply To: How to integrate new stl file with the code?
May 13, 2024 at 8:39 am
#8673
Adrian
Keymaster
One common reason for unexpected results when voxelizing STL-described geometries is that the STL file base unit is not fixed but may vary between files. You need to take care that you provide the correct scaling factor to the STLreader
class in order to map it to the SI units used by OpenLB.