Skip to content

Reply To: Problem about running with a input stl file

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Problem about running with a input stl file Reply To: Problem about running with a input stl file

#8679
Bobbie
Participant

Thank you for your answers, Adrian. The geometric model was generated by SW and exported to stl format. The size of the model is 0.15 mm * 0.15 mm * 1 mm. So I followed the example and Users Guide to set the stl unit to 0.001 when importing the stl file,such as follows:

STLreader<T> stlReader( “multicylinder3d.stl”, converter.getConversionFactorLength(), 0.001 );
IndicatorLayer3D<T> extendedDomain( stlReader, converter.getConversionFactorLength() );

Should I adjust the value of 0.001 in above codes or make changes in other locations to prevent the occurrence of the aforementioned issues?

Thank you for your help again!
Best wishes!

  • This reply was modified 3 months, 2 weeks ago by Bobbie.