The Generalized Nonlinear Galerkin Method Applied to Hydrodynamics of the Open Sea