SMath Studio Forum
»
SMath Studio
»
Samples
»
HARDY-CROSS Method of Pipe Network Analysis
Rank: Advanced Member Groups: Registered
Joined: 05/06/2014(UTC) Posts: 348 Location: Colombo Was thanked: 125 time(s) in 82 post(s)
|
A simple example involving a pipe network having 2 loops. To demonstrate how Hardy-Cross method is applied to find the flow in individual pipe of the network. Three methods used to illustrate. May be suitable for beginners. However, this solution can be easily obtained using ' FindRoot' method also, but is not shown in the example. Cheers. Pipe_Network_EX_HARDY_CROSS.sm (288kb) downloaded 426 time(s). Pipe_Network_EX_HARDY_CROSS.pdf (1,021kb) downloaded 672 time(s). |
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka |
1 user thanked ndtma for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/06/2014(UTC) Posts: 348 Location: Colombo Was thanked: 125 time(s) in 82 post(s)
|
|
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka |
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: ndtma The earlier example was for 2 loops Attached example is for 3 loops. Hope will be useful. Thanks for that exceptional work, saved in my Instrumentation compendium. Take care ... Jean
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/03/2009(UTC) Posts: 433 Location: USA Was thanked: 17 time(s) in 15 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/06/2014(UTC) Posts: 348 Location: Colombo Was thanked: 125 time(s) in 82 post(s)
|
Originally Posted by: Jean Giraud Thanks for that exceptional work, saved in my Instrumentation compendium. Take care ... Jean Thank you Jean for your kind words and encouragement. Take care. |
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 14/10/2015(UTC) Posts: 308
Was thanked: 77 time(s) in 58 post(s)
|
Hello ndtma I have used Epanet to solve your exercise, by the Hazen Williams method with the following assumptions: Minimum tank height 66 meters the roughness of the pipe 120 node height 0 meters diameter in millimeters pipe length in meters Best Regards Carlos
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/06/2014(UTC) Posts: 348 Location: Colombo Was thanked: 125 time(s) in 82 post(s)
|
|
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/06/2014(UTC) Posts: 348 Location: Colombo Was thanked: 125 time(s) in 82 post(s)
|
I am extremely sorry that in my last example on 3 LOOPS, I have made a careless mistake in Program 2 to calculate the appropriate corrections in the network. The results were wrong. Furthermore, for simplicity, I assumed a fixed friction factor instead of the method given in the original EXCEL file in the web. The revised SM and EXCEL files are attached. They both tally. The original EXCEL file had only 5 trials and I extended to 10 trials. Also, many thanks to Carlos for his example using EPANET which prompted me to check and correct my program. Pipe_Network_EX_HARDY_CROSS_3 LOOPS-R2.sm (262kb) downloaded 144 time(s). Pipe_Network_EX_HARDY_CROSS_3 LOOPS-R2-compressed.pdf (470kb) downloaded 149 time(s). hardy cross_3 LOOPS_R2.xlsx (764kb) downloaded 182 time(s).Edited by user 26 March 2021 09:24:47(UTC)
| Reason: Not specified |
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/06/2014(UTC) Posts: 348 Location: Colombo Was thanked: 125 time(s) in 82 post(s)
|
Hardy Cross method revisited. The friction factor for turbulent flow is calculated using the Colebrook-White equation. Due to the implicit nature of this equation, calculation of the friction factor requires an iterative solution via numerical methods. Hence, many explicit approximations have been proposed such as Haaland, Moody, Jain etc. to simplify the calculation process. The attached sm file shows the iterative method of solving the Colebrook-White equation to calculate ONLY the friction factor âfâ, for use in the Hardy Cross method. The calculated pipe flows were well within the values obtained in my last example. Cheers. Colebrook-White-Numerical Soltion.sm (45kb) downloaded 61 time(s). Colebrook-White-Numerical Soltion.pdf (177kb) downloaded 63 time(s).Edited by user 18 April 2021 16:13:59(UTC)
| Reason: Not specified |
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka |
1 user thanked ndtma for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Thanks for sharing the improved project method. Take care ... Jean
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 30/01/2019(UTC) Posts: 8 Was thanked: 2 time(s) in 1 post(s)
|
ndtma... This is very fine work indeed and much better than doing Hardy-Cross by hand like I had to do a few times in college back in the late 1970s. That 4-loop Hardy-Cross model I had to solve was almost enough to make me want to become a lawyer. Almost. :-) However, I now use EPANET and WATERCAD for my modeling needs and life is good. I also use Hazen-Williams far more often than Darcy-Weisbach/Colebrook-White and life is even better. You mention above explicit approximations to Colebrook-White. This is a topic that has interested me since I learned of the Blasius Equation in college. Blasius does a decent job approximating the smooth pipe curve on the Moody Diagram, but only over a limited range of Reynolds Numbers. Over the years, I have run across at least two dozen published explicit approximations to CW. I even created my own improvement to Blasius, although it pales in comparison to some of the others. Back in 2014, I published on the PTC website two Mathcad Prime 3.0 worksheets that evaluated these explicit approximations for accuracy and relative calculation speed. For accuracy, I used CW as the basis, even though it is itself empirical and includes an empirical friction factor. Computers are so fast now that relative calculation speed is not as relevant as it was when I started my career in 1980. However, it matters for calculator programs. I used an HP-41CX and it's built in time functions to measure and compare calculation speeds. One MCP worksheet is for hydraulically smooth pipe (the equations simplify) and the other is for hydraulically rough pipe (the usual case). Y'all can find these worksheets here: https://community.ptc.co...actors-v2-zip/m-p/450068 . Don't worry if you don't have Mathcad Prime 3.0 or later. The .zip file contains Acrobat .pdf files for your reading pleasure. And, please excuse the funky page formatting near the end of each worksheet. These are big files and I had pushed MCP3 to its limits. Fred Edited by user 24 April 2021 00:44:55(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/06/2014(UTC) Posts: 348 Location: Colombo Was thanked: 125 time(s) in 82 post(s)
|
Originally Posted by: NotRetiredYet This is very fine work indeed and much better than doing Hardy-Cross by hand like I had to do a few times in college back in the late 1970s. That 4-loop Hardy-Cross model I had to solve was almost enough to make me want to become a lawyer. Almost. :-) However, I now use EPANET and WATERCAD for my modeling needs and life is good. I also use Hazen-Williams far more often than Darcy-Weisbach/Colebrook-White and life is even better. Thank you. Your explanation is welcome. I don't have any experience in EPANET and WATERCAD. My aim was to demonstrate basics of Hardy Cross method using SMath and and the importance of the Vectorize function when dealing with nested matrices. Stay safe. Take care. Cheers. |
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka |
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: NotRetiredYet You mention above explicit approximations to Colebrook-White. This is a topic that has interested me since I learned of the Blasius Equation in college. Blasius does a decent job approximating the smooth pipe curve on the Moody Diagram, but only over a limited range of Reynolds Numbers. Over the years, I have run across at least two dozen published explicit approximations to CW. I even created my own improvement to Blasius, although it pales in comparison to some of the others. In my Engineering times, before 1990, the Bible was Moody from standards. There is nothing to explicit CW, it solves on the running Reynolds, and for a family of diameters, just like in the Bible diagram. Smath attached is 1/1 Mathcad 8 Pro [2000]. Cheers ... Jean Inst_Colebrook MOODY.sm (17kb) downloaded 53 time(s).
|
|
|
|
Rank: Member Groups: Registered
Joined: 13/11/2020(UTC) Posts: 28 Was thanked: 7 time(s) in 3 post(s)
|
Originally Posted by: ndtma I am extremely sorry that in my last example on 3 LOOPS, I have made a careless mistake in Program 2 to calculate the appropriate corrections in the network. The results were wrong. Furthermore, for simplicity, I assumed a fixed friction factor instead of the method given in the original EXCEL file in the web. The revised SM and EXCEL files are attached. They both tally. The original EXCEL file had only 5 trials and I extended to 10 trials. Also, many thanks to Carlos for his example using EPANET which prompted me to check and correct my program. Pipe_Network_EX_HARDY_CROSS_3 LOOPS-R2.sm (262kb) downloaded 144 time(s). Pipe_Network_EX_HARDY_CROSS_3 LOOPS-R2-compressed.pdf (470kb) downloaded 149 time(s). hardy cross_3 LOOPS_R2.xlsx (764kb) downloaded 182 time(s). Hello, I am very happy to read your publication, thank you for generating these documents. I want to download your files, however, they do not allow me access, please upload them again. Thank you very much, greetings from Mexico.
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,647 Location: Italy Was thanked: 1329 time(s) in 875 post(s)
|
Originally Posted by: Valentino I want to download your files, however, they do not allow me access, please upload them again. Thank you very much, greetings from Mexico. Just click the links you quoted. Attached files are hosted within this website, so there's no expiration. Also check if there is some policy that restrict downloads on your system. |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/06/2014(UTC) Posts: 348 Location: Colombo Was thanked: 125 time(s) in 82 post(s)
|
Originally Posted by: Valentino Hello, I am very happy to read your publication, thank you for generating these documents. I want to download your files, however, they do not allow me access, please upload them again. Thank you very much, greetings from Mexico.
Hello Valentino, Were you able to download the files in my post as suggested by Davide? I am sorry for the late reply. |
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka |
1 user thanked ndtma for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 04/08/2020(UTC) Posts: 8 Location: RicardoH Was thanked: 1 time(s) in 1 post(s)
|
Thank you very much for sharing your knowledge.
|
|
|
|
Rank: Member Groups: Registered
Joined: 13/11/2020(UTC) Posts: 28 Was thanked: 7 time(s) in 3 post(s)
|
Originally Posted by: ndtma Originally Posted by: Valentino Hello, I am very happy to read your publication, thank you for generating these documents. I want to download your files, however, they do not allow me access, please upload them again. Thank you very much, greetings from Mexico.
Hello Valentino, Were you able to download the files in my post as suggested by Davide? I am sorry for the late reply. Thank you all very much, now if I can download them, I do not know why there are files that do not allow me to download them in certain blogs. Now I can see the document Thank you very much
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Samples
»
HARDY-CROSS Method of Pipe Network Analysis
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.