Abstract
A numerical model is proposed for solving the Saint-Venant equations. The finite element method is used to discretize the problem, and the numerical code is developed using the object-oriented paradigm. Spatial discretization of the diffusion and pressure terms uses the Galerkin method. The material derivative is treated with a semi-Lagrangian approach using a first-order implicit backward-difference scheme. The linear system is decomposed into LU blocks using the discrete projection method and solved by an iterative method.