I am doing an undergraduate research to model ocean waves in shallow waters in real time. I am trying to base my research on Navier-Stokes equations since they produce the most accurate mathematical results. As a start I am supposed to study an existing implementation of the 3D Navier-Stokes equations.
Where can I find a most suitable implementation for the purpose of my research?
I also came across a set of equations called the shallow water equations derived from the Navier-Stokes equations. Are there any suitable implementations of them as well?
Also can I know the different approaches that exist in solving these equations with pros and cons....