hydraulics: Basic Pipe and Open Channel Hydraulics

Functions for basic hydraulic calculations related to water flow in circular pipes both flowing full (under pressure), and partially full (gravity flow), and trapezoidal open channels. For pressure flow this includes friction loss calculations by solving the Darcy-Weisbach equation for head loss, flow or diameter, plotting a Moody diagram, matching a pump characteristic curve to a system curve, and solving for flows in a pipe network using the Hardy-Cross method. The Darcy-Weisbach friction factor is calculated using the Colebrook (or Colebrook-White equation), the basis of the Moody diagram, the original citation being Colebrook (1939) <doi:10.1680/ijoti.1939.13150>. For gravity flow, the Manning equation is used, again solving for missing parameters. The derivation of and solutions using the Darcy-Weisbach equation and the Manning equation are outlined in many fluid mechanics texts such as Finnemore and Maurer (2024, ISBN:978-1-264-78729-6). Some gradually- and rapidly-varied flow functions are included. For the Manning equation solutions, this package uses modifications of original code from the 'iemisc' package by Irucka Embry.

Version: 0.7.0
Depends: R (≥ 3.6.0)
Imports: ggplot2, grid, gtools, pracma, purrr, reshape2, stats, tibble, units
Suggests: formatdown, kableExtra, knitr, rmarkdown
Published: 2024-03-06
DOI: 10.32614/CRAN.package.hydraulics
Author: Ed Maurer [aut, cre], Irucka Embry [aut, ctb] (iemisc code)
Maintainer: Ed Maurer <emaurer at scu.edu>
License: GPL (≥ 3)
URL: https://github.com/EdM44/hydraulics, https://edm44.github.io/hydraulics/
NeedsCompilation: no
Materials: README NEWS
In views: Hydrology
CRAN checks: hydraulics results

Documentation:

Reference manual: hydraulics.pdf
Vignettes: Hydraulics Vignette

Downloads:

Package source: hydraulics_0.7.0.tar.gz
Windows binaries: r-devel: hydraulics_0.7.0.zip, r-release: hydraulics_0.7.0.zip, r-oldrel: hydraulics_0.7.0.zip
macOS binaries: r-release (arm64): hydraulics_0.7.0.tgz, r-oldrel (arm64): hydraulics_0.7.0.tgz, r-release (x86_64): hydraulics_0.7.0.tgz, r-oldrel (x86_64): hydraulics_0.7.0.tgz
Old sources: hydraulics archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=hydraulics to link to this page.