Skip to content

Reply To: Imported STL Files

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum please send a message via our contact form.

Forums OpenLB General Topics Imported STL Files Reply To: Imported STL Files

#9240
sasan
Participant

Thank you for your assistance. I’ve written the following code, but it’s not functioning as expected. Could you please help me troubleshoot?

   std::shared_ptr<Indicator> face1(new STLreader("inlet.stl"));
    std::shared_ptr<Indicator> face2(new STLreader("outlet.stl"));
    std::shared_ptr<Indicator> face3(new STLreader("walls.stl"));
   

    IndicatorLayer3D extendedDomain(face1 + face2 + face3, converter.getPhysDeltaX());