Internal Flow Extraction in complex geometry