You can convert a fluid
to a polygonal mesh, which you can then treat like any other polygon.
NoteAfter your fluid
object is converted to a polygon object, Maya hides the fluid container.
This reduces simulation time and makes it easier to see how your Output
Mesh attribute adjustments affect the mesh. To make the fluid container visible,
in the Object Display section of the fluidShape node Attribute Editor,
turn off Intermediate Object.
See
Converting fluids to polygons and
Convert a fluid object to polygons.