7 mathematical formulation for the counterflow