Numerical simulations of flow patterns and mass exchange processes in dead zones