Generating Lattice through stl file

Hi, I am new to palabos, I am trying to simulate flow due to rotating blade inside a closed tank.
I have simulated the flow assuming a cuboid tank, In which I have generated MultiBlockLattice3D by taking suitable values of nx, ny, nz and dynamics.
Now, I want to generate a Closed lattice through a stl file and set freeslip boundary condition on its surface.
Can anybody guide me, how to do it.


you can inspire yourself by the example code in examples/showCases/heatedObjectInChannel/heatedObjectInChannel.cpp where NoSlipProfile3D should be replaced by FreeSlipProfile3D.

You should also carefully define where you fluid is. The flowType variable can help you there.