When you create your geometry and mesh, you need to mention what is the interior of your computational domain made of i.e. fluid or solid.
If you use Ansys Design Modeller, you would get this option. However, you might not get it if you make your geometry/mesh in any open source code like FreeCAD/gmsh.
In that case, when the mesh is imported into FLUENT, it automatically detects different zones and then you have the choice of defining fluid or solid to these zones as appropriate. You can even merge zones which contains same identity i.e. fluid or solid.
Once you have defined your zones, automatically a "wall" is created in between a fluid and solid zone. You need to then use "no slip boundary condition" at this "wall contact" identifying it as a solid object during flow simulation. Also, contact angle can be specified on wall representing its wettability characteristic if the multi-phase VOF model is used.
Normally, you can get quick results with the no slip boundary. You can also set it as wetted wall but you have to know the contact angle of the fluid on the solid.