CMSFlow:Hydro Eqs
Continuity and Momentum Equations
On the basis of the definitions Variable Definitions, and assuming depthuniform currents, the general depthintegrated and waveaveraged continuity and momentum equations may be written as (Phillips 1977; Mei 1989; Svendsen 2006)

(1) 

(2) 
where
 t = time[s]
 = Cartesian coordinate in the direction [m], j = 1,2 or x, y
 source term due to precipitation, evaporation and structures (e.g. culverts) [m/s]
 Coriolis parameter [rad/s] in which rad/s is the Earth’s angular velocity of rotation and is the latitude in degrees
 gravitational constant (~9.81 m/s^{2})
 = atmospheric pressure [Pa]
 water density (~1025 kg/m^{3})
 turbulent eddy viscosity [m^{2}/s]
 wind surface stress [Pa]
 = wave radiation stress [Pa]
 = surface roller stress [Pa]
 = bed slope coefficient []
 = combined wave and current mean bed shear stress [Pa].
The above 2DH equations are similar to those derived by Svendsen (2006), except for the inclusion of the water source/sink term in the continuity equation and the atmospheric pressure and surface roller terms and the bed slope coefficient in the momentum equation. It’s also noted that the horizontal mixing term is formulated slightly differently as a function of the total flux velocity, similar to the Generalized Lagrangian Mean (GLM) approach (Andrews and McIntyre 1978; Walstra et al. 2000). This approach is arguably more physically meaningful and also simplifies the discretization in the case where the total flux velocity is used as the model prognostic variable.
References
 Andrews, D. G., and M. E. McIntyre. 1978. An exact theory of nonlinear waves on a Lagrangian mean flow. Journal of Fluid Mechanics (89):609–646.
 Mei, C. 1989. The applied dynamics of ocean surface waves. New York: John Wiley.
 Phillips, O. M. 1977. Dynamics of the upper ocean, Cambridge University Press.
 Svendsen, I. A. 2006. Introduction to nearshore hydrodynamics, Advanced Series on Ocean Engineering, 124, World Scientific Publishing, 722 p.
 Walstra, D. J. R., J. A. Roelvink, and J. Groeneweg. 2000. Calculation of wavedriven currents in a 3D mean flow model. In Proceedings, 27th International Conference on Coastal Engineering, 10501063. Sydney, Australia.