The program calculates pressure drop across a given length and cross-sectional area of a pipe when a fluid of certain dynamic viscosity flows through it with certain volumetric or mass flow rate.
Hey there!

The above-mentioned equation is the Hagen-Poiseuille's equation used to calculate pressure gradient across a length L and cross-sectional area A of a pipe when a fluid of given dynamic viscosity (mu) and with certain volumetric flow rate (Q) flows through it.
This program, i.e., Hagen-Poiseuille's pressure gradient calculator, accepts the required parameters and calculates Δp.
Uses modularity to a good extent through different functions, also uses the Math (for accessing Math.PI) class of java and exception handling and OOP's concepts well.
-1619980812-572.png)
Submitted by Kaustubh Srivastava (kaustubhSrv)
Download packets of source code on Coders Packet
Comments