I think when you have a closed system, the only way to use the UV is by the batch/recirculating mode. How else?
The contact time adjusts itself when you are running the UV at the laminar flow region, low enough flow rate. Some distance away from the wall, the flow may become too fast for enough contact time, but nearer to either wall, the flow will be slow and enough contact time will happen.
Contact time is important during operation, but less so as a design criterium of the UV unit.
I think bacteria are not smart enough to avoid the walls and go toward the center that has high flow. IMO, where the bacteria are is ramdom; those staying close to either walls will be killed.