If the pipe has alpha around it, make a mask the shape of the pipe, Pen Tool or Layer>Auto Trace (only Current Frame needed if the pipe doesn’t move, Tolerance and Threshold at 1). If the pipe has a mask defining the pipes, get your mask from there, Copy the mask Shape. Anyway, take a mask the shape of the pipes and Paste that into a new Blue Solid (Ctrl Y) layer. Put that on top of the Pipe layer.
Add Transition>Linear Wipe to the Blue Solid layer, animate the Transition Completion from 100 to zero with keyframes, and set Wipe Angle at -90. You can feather the linear wipe if you want.
Most of the time you would have the other layer on top and linear wipe it, but this way, if you want to still see the pipe walls as the blue fills, a cool look methinks, then just reduce the Mask Expansion (MM reveals) on the Blue Solid’s Mask.
OR
If the Pipe has many bends and is convoluted, and you don’t like the way Linear Wipe looks (straight Left to Right), then animate that blue solid layer, now on top, as you would animate a signature being drawn on, such as this from Aharon:
https://library.creativecow.net/articles/rabinowitz_aharon/animating_signature.php