Flow problem in three-dimensional geometry