Study of the hydrodynamic of a flapping foil at moderate angle of attack