Does anyone know of an open source network flow solver? Something like Flowmaster is what I'm after rather than full CFD.

If not, I think it would be possible to write something based on one of the many FEM toolkits that are available. Would anyone be interested in using, or better still, helping to develop something like this?