|
发表于 2022-7-9 08:17:30
|
显示全部楼层
To start off, I think water should be used in the calculation becuase H20 is regarded as an incompressible fluid at standard conditions. Perhaps, keep the calculation simple in the beginning like this:
http://www.pressure-drop.com/Online-Calculator/index.html
and modify the code for more detailed input options later down the road. My guess, is the pressure drop calculation and results for each piping-route can be listed in an excel file as it goes through each iteration. I'm stuck on how to automate all this together and which algorithm to use that cycles through good alternative piping routes before converging to the one that yields minimum pressure drop. |
|