flux and flow