Skip to content

hydraulics

Basic Pipe and Open Channel Hydraulics

v0.7.2 · Oct 9, 2025 · GPL (>= 3)

Description

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.

Downloads

358

Last 30 days

10686th

1K

Last 90 days

6.6K

Last year

Trend: -9.6% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies ggplot2 gtools pracma purrr reshape2 tibble units hydraulics

Version History

new 0.7.2 Mar 10, 2026
updated 0.7.2 ← 0.7.1 diff Oct 9, 2025
updated 0.7.1 ← 0.7.0 diff Nov 17, 2024
updated 0.7.0 ← 0.6.1 diff Mar 5, 2024
updated 0.6.1 ← 0.6.0 diff Dec 5, 2022
updated 0.6.0 ← 0.5.0 diff Nov 8, 2022
updated 0.5.0 ← 0.4.1 diff Oct 10, 2022
updated 0.4.1 ← 0.4.0 diff Mar 6, 2022
updated 0.4.0 ← 0.3.0 diff Jan 3, 2022
updated 0.3.0 ← 0.2.4 diff May 18, 2021
updated 0.2.4 ← 0.2.3 diff Feb 24, 2021
updated 0.2.3 ← 0.2.2 diff Dec 12, 2020
updated 0.2.2 ← 0.2.1 diff Aug 25, 2020
updated 0.2.1 ← 0.2.0 diff Aug 1, 2020
updated 0.2.0 ← 0.1.0 diff Jul 1, 2020
new 0.1.0 May 17, 2020