A marker-VOF algorithm for incompressible flows with interfaces