Christian (above) is right. Your question is currently very broad and difficult to answer. You might want to do some research yourself, and then ask a more focused question.
Start looking for shallow water equations . (Now I am missing a complete fluid simulation) Or read the Tessendorf Ocean Wave Modeling . Or look at the particles of Cem Yuksel . Even if you do not finish the implementation of any of them, links will become a good resource for you. Another may be this set of links .
An incomprehensible answer, but give us more to continue, and we can point you in a more specific direction.
source share