How to make dynamic water with foam

Thanks for the help