Check SINDA/FLUINT (crtech.com) check Flowmaster (There are at least two other programmes in this category,) check sindaG (sinda.com) 1D network solver have been and are used to solve an excellent number of industrial problems just google for network solver