Optimize_pipe_diameter_and_pressure_drop
The code in this project solves the problem of finding the optimal diameter for a straight pipe conveying an incompressible fluid, for user defined mass flow rates. The best design solution is considered the one that minimizes both the pressure drop per unitary pipe length and the pipe diameter. Solutions are ranked according to TOPSIS method. The user can input the pipe absolute roughness, to identify the pipe material, and the density and dynamic viscosity, depending from the fluid to be studied.