Make fluid move around the edges of an object / mesh
You are looking for fluid obstacles. To set an object as an obstacle give it "Fluid" from the physics panel and then choose "Obstacle" from the drop down menu.