A finite element Galerkin formulation and its numerical performance