Applying dirichlet boundary conditions on complex meshes such a porous media

Hello, I am trying to simulate Diffusion or Stokes equations on my complex 3D porous media mesh. I can’t seem to define the boundary conditions or get an understanding of how to go about my problem. You can take a look at the .stl file

Thank you for your time

Attachment: blobs.stl