Click here to Skip to main content
15,898,222 members
Home / Discussions / C#
   

C#

 
GeneralRe: About Keyword in .NET Pin
OriginalGriff22-May-10 2:24
mveOriginalGriff22-May-10 2:24 
AnswerRe: About Keyword in .NET Pin
Abhinav S22-May-10 0:28
Abhinav S22-May-10 0:28 
QuestionInserting multiple IDs in Items table but the same ID should go into MasterRequest table just once. Pin
Omar Akhtar 200921-May-10 20:51
Omar Akhtar 200921-May-10 20:51 
AnswerRe: Inserting multiple IDs in Items table but the same ID should go into MasterRequest table just once. Pin
Mohsiul Haque21-May-10 22:46
Mohsiul Haque21-May-10 22:46 
GeneralRe: Inserting multiple IDs in Items table but the same ID should go into MasterRequest table just once. Pin
Omar Akhtar 200922-May-10 1:57
Omar Akhtar 200922-May-10 1:57 
GeneralIt Works! PinPopular
Roger Wright21-May-10 18:33
professionalRoger Wright21-May-10 18:33 
GeneralRe: It Works! Pin
Luc Pattyn21-May-10 22:36
sitebuilderLuc Pattyn21-May-10 22:36 
GeneralRe: It Works! Pin
Roger Wright22-May-10 4:20
professionalRoger Wright22-May-10 4:20 
I'm sure the world can wait for another article from me. I'm a decent writer, but a lousy programmer. Maybe when I get around to cleaning it up, adding validation code, and making the images self-drawing I'll consider posting it.

But since you asked, Manning's equation is used to calculate fluid flows in an open channel, and works well enough in a closed pipe to use as a general purpose calculation. It's based on empirical measurements, and doesn't rely on knowledge of the type of flow (turbulent or laminar) or the viscosity (which leads to a whole bunch of details). Simply stated:

V, ft/sec = (1.486/n) * R2/3 * S1/2 where,

n = Manning's coefficient, a frictional factor determined by the material of the channel,
R = Hydraulic radius
S = Slope

The hydraulic radius is simply, R = A/P, where A is the cross-sectional area of the fluid flow, and P is the wetted perimeter of the pipe or channel. While the basic equation is easy, these parameters are difficult to calculate. As an exercise for the student, try determining the area of a water flow that fills a pipe only 1/3; it's not a trivial solution.

The goal in designing a sewer pipe is to keep the flow rate between 2 and 10 ft/sec. Any slower, material will tend to accumulate in the pipe rather than flow through smoothly. Above 10 ft/sec, though, the momentum of the water will cause pipes to shift and separate at curves and tees. Water also becomes corrosive at high flow rates, causing erosion of the pipes.

I use the equation to iterate through various slopes assuming minimal flow levels and nearly full levels to arrive at a slope that will meet both constraints. Then I calculate the maximum gpm the pipe can carry and compare it to the load the line is expected to carry. If it's not enough, I pick a larger pipe and start over.

As you can see, it's tedious, and this little app will save me hours!
"A Journey of a Thousand Rest Stops Begins with a Single Movement"

GeneralRe: It Works! Pin
Luc Pattyn22-May-10 4:30
sitebuilderLuc Pattyn22-May-10 4:30 
GeneralRe: It Works! Pin
DaveyM6921-May-10 22:46
professionalDaveyM6921-May-10 22:46 
GeneralRe: It Works! Pin
Roger Wright22-May-10 4:23
professionalRoger Wright22-May-10 4:23 
GeneralRe: It Works! Pin
Roger Wright27-May-10 16:55
professionalRoger Wright27-May-10 16:55 
GeneralRe: It Works! Pin
DaveyM6928-May-10 8:47
professionalDaveyM6928-May-10 8:47 
GeneralRe: It Works! Pin
Roger Wright28-May-10 15:45
professionalRoger Wright28-May-10 15:45 
GeneralRe: It Works! Pin
Mohsiul Haque21-May-10 22:52
Mohsiul Haque21-May-10 22:52 
GeneralRe: It Works! Pin
Ravi Bhavnani22-May-10 6:05
professionalRavi Bhavnani22-May-10 6:05 
GeneralRe: It Works! Pin
PIEBALDconsult22-May-10 8:18
mvePIEBALDconsult22-May-10 8:18 
QuestionC # Pin
Make Up Forever21-May-10 14:27
Make Up Forever21-May-10 14:27 
AnswerRe: C # Pin
Dr.Walt Fair, PE21-May-10 14:55
professionalDr.Walt Fair, PE21-May-10 14:55 
GeneralRe: C # Pin
Make Up Forever21-May-10 15:11
Make Up Forever21-May-10 15:11 
GeneralRe: C # Pin
AspDotNetDev21-May-10 15:31
protectorAspDotNetDev21-May-10 15:31 
GeneralRe: C # Pin
Dr.Walt Fair, PE21-May-10 15:34
professionalDr.Walt Fair, PE21-May-10 15:34 
AnswerRe: C # Pin
Wes Aday21-May-10 17:05
professionalWes Aday21-May-10 17:05 
QuestionError Icomparer interface - To sort FileInfo Pin
quanvt21-May-10 13:55
quanvt21-May-10 13:55 
AnswerRe: Error Icomparer interface - To sort FileInfo Pin
Luc Pattyn21-May-10 14:20
sitebuilderLuc Pattyn21-May-10 14:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.