On an Euler type equation in hydrodynamics