Numerical simulation of two-phase flow in offshore environments door