A domain decomposition strategy for the numerical simulation of contaminant transport in pipe networks