Posts

Showing posts from September, 2013

The Equivalent n for Hazen-Williams in a Force Main of SWMM 5

Image
The Equivalent n for Hazen-Williams in a Force Main of SWMM 5 SWMM 5 uses an equivalent Manning's n for the Hazen-Williams Coefficient for partial flow in a force main of SWMM 5.  The equivalent n is a function of the force main diameter, slope and the power equation used by Lew Rossman of the EPA in the SWMM 5 C code in the routine forcemain_getEquivN.   I am also including the C code to print out the HW value, diameter, slope and Equivalent n in the output file.  It is easy to add new of code to SWMM 5 for your thesis as long as you have a compiler (I suggest the current free Visual Studio from Microsoft) and know how to add the fprintf statements.  This simple addition gives you the power to understand more fully the inner working of SWMM 5 and add more content and understanding to your thesis or paper.

Quotes Randomly used In the SWMM 4 Output File

This a list of quotes that I had in an earlier verison of SWMM 4, a quote would be printed to the output file based on the second/minute the model was run so a new quote would be shown for each new model run.  I wanted to add this blog for posterity.  The format statements are Fortran   100 FORMAT(      1' # "Taste is the enemy of creativeness."               #',/,      1' #                        Pablo Picasso                #',/,      +' #######################################################')   101 FORMAT(      1' # "Smooth runs the water where the brook is deep."    #',/,      1' #                   Shakespeare, Henry VI, II, III, 1 #',/,      +' #######################################################')   102 FORMAT(      1' # "Happiness lies in the joy of achievement and       #',/,      1' #  the thrill of creative effort."                    #',/,      1' #