4
$\begingroup$

I am trying to build flexible, visual tool to calculate flow distribution through the piping network (mobile hydraulics).

I have root node of the network which has defined flow and pressure inputs. Each node (of course including root one) can have multiple children - lines, connectors or outputs. Each branch ends up with outlet to atmospheric pressure. This is how the example network could look like

So far I know that I have to calculate losses at each node going from the bottom of the tree, but losses are flow dependent... When I would have losses at each node, I could somehow (how?) calculate flow distribution going from the root node I would get flow to each child, then for each child flow to each of its children etc. Not sure if it helps, but I know the target flow for each output.

The main issue is probably the fact that there is no particular example as it suppose to be generic tool.

Any help?

I though it is pretty simple (I still believe it is) but I got stuck and cannot find the way out.

$\endgroup$
4
  • 1
    $\begingroup$ You should search before posting : this is very relevant to your question : engineering.stackexchange.com/q/18840/10902 $\endgroup$
    – Solar Mike
    Mar 20, 2018 at 9:48
  • $\begingroup$ I did search, but I stated the problem differently and this topic did not come up. Going to read it right now $\endgroup$ Mar 20, 2018 at 9:50
  • 1
    $\begingroup$ the solution in the link that Solar Mike provides is a network of resistors. To solve for that unknowns in a resistor network, you can represent them as a matrix (series of linear equations) and RREF. Try something like that, only with head loss instead of resistance. Enter random values for head loss, and see if you get output P = 0. Then you can use gradient descent to adjust head losses. $\endgroup$ Mar 20, 2018 at 19:14
  • $\begingroup$ Look at this en.wikipedia.org/wiki/Pipe_network_analysis and then the hardy cross method. $\endgroup$
    – mart
    Sep 2, 2019 at 7:59

1 Answer 1

1
$\begingroup$

Please refer to EPANET from https://www.epa.gov/water-research/epanet It is a open source software for solving flow networks.

Hope this helps. Thanking you

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.