Prediction of multiphase flows with sharp interfaces using anisotropic mesh optimisation