detecting the flow of water in an enclosed pipe all