Two-phase Eulerian averaged formulation of entropy production for cavitation flow