File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programming Diversions and the fly likes To PI or not to PI Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Other » Programming Diversions
Reply Bookmark "To PI or not to PI" Watch "To PI or not to PI" New topic
Author

To PI or not to PI

Leslie Chaim
Ranch Hand

Joined: May 22, 2002
Posts: 336
You had a 10" water line that broke down. Unfortunately, there's only 1" pipe available for replacement.

How many 1" pipes is needed (and why/how) to replace the one 10"?

Cheers,

Leslie


Normal is in the eye of the beholder
Sonny Pondrom
Ranch Hand

Joined: Jun 05, 2001
Posts: 128
Does a 10" line have an inside diameter of 10 inches?
Arjun Shastry
Ranch Hand

Joined: Mar 13, 2003
Posts: 1855
100


MH
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 9950
    
    6

100. assuming that the flow isn't restricted by surface area of the pipe...

a 10" (i'm assuming this is the inside diameter) pipe has an area of PI * r^2. if our diam. is 10, our radius is 5. so the 10" pipe has a cross-section area of 25PI.

Each 1" pipe has a radius of 1/2", or an area of (1/4)PI. so, we need 100 pipes.

However, the first pipe has a surface area equal to 10PI (times the length, which we can ignore). the 100 pipes have a surface area of 100PI.

I am not a fluids engineer, but i would imagine that more surface area would result in more friction, slowing down the flow, but i have no idea how to calculate that.
[ July 02, 2004: Message edited by: fred rosenberger ]

Never ascribe to malice that which can be adequately explained by stupidity.
Arjun Shastry
Ranch Hand

Joined: Mar 13, 2003
Posts: 1855
Yes, I think so.Factor that determines is I think Reynold's numebr.Ratio of inertial force to viscous force.Bigger pipe will have more intertia.
SJ Adnams
Ranch Hand

Joined: Sep 28, 2001
Posts: 925
I think Poiseuille's Law applies here.

which means that the flow is proportional to r^4

which means 100million 1" tubes!!
SJ Adnams
Ranch Hand

Joined: Sep 28, 2001
Posts: 925
strike that - 10,000 is the answer
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: To PI or not to PI
 
Similar Threads
Plot update error - JMathPlot
How many hours do you sleep every day?
Possible reuse of math in select used in where
Finding the value of PI
Need help with doing a calculation in Java