Palabos 3d permeability with stl file

I’m new in Palabos. I have 1018 CT scan slices of a sediment sample. I made a stl file from these slices. now I want. to use stl file as a input but dont know how? I cant find a permeability code. that uses stl files also I dont know if I should rescale my stl file or not and how to do this.
I also made binary files from my slices and made .dat file using creatdat.m and used .dat file as input for permeability but my output is not correct because I know I cant describe boundary conditions correctly .
I would be very grateful If you could helps me with this. Introduce me a permeability code that use’s stl file or help me with creating correct .dat file