Formulation of a quasi 3-dimensional flow model