Ebb and Flow effect?

Racking my brain on how to do an ebb and flow effect with the new Fluid flow in 2.9.
I can make stuff flow but can make it ebb back, like waves on an ocean beach or when smoke hits a wall and comes back.

I want to make fluids or particles flow then ebb back, is this possible?