flow trapping