VOF evaluation of the surface tension by using variational representation and Galerkin interpolation projection