A decoupling numerical method for fluid flow