Fisher's Exact Test
Input the values of the 2 x 2 contingency table
Wetted Perimeter Calculator
Introduction
The wetted perimeter is a crucial parameter in hydraulic engineering and fluid mechanics. It represents the length of the cross-sectional boundary that is in contact with the fluid in an open channel or partially filled pipe. This calculator allows you to determine the wetted perimeter for various channel shapes, including trapezoids, rectangles/squares, and circular pipes, for both fully and partially filled conditions.
How to Use This Calculator
- Select the channel shape (trapezoid, rectangle/square, or circular pipe).
- Enter the required dimensions:
- For trapezoid: bottom width (b), water depth (y), and side slope (z)
- For rectangle/square: width (b) and water depth (y)
- For circular pipe: diameter (D) and water depth (y)
- Click the "Calculate" button to obtain the wetted perimeter.
- The result will be displayed in meters.
Note: For circular pipes, if the water depth is equal to or greater than the diameter, the pipe is considered fully filled.
Input Validation
The calculator performs the following checks on user inputs:
- All dimensions must be positive numbers.
- For circular pipes, the water depth cannot exceed the pipe diameter.
- Side slope for trapezoidal channels must be a non-negative number.
If invalid inputs are detected, an error message will be displayed, and the calculation will not proceed until corrected.
Formula
The wetted perimeter (P) is calculated differently for each shape:
-
Trapezoidal Channel: Where: b = bottom width, y = water depth, z = side slope
-
Rectangular/Square Channel: Where: b = width, y = water depth
-
Circular Pipe: For partially filled pipes: Where: D = diameter, y = water depth
For fully filled pipes:
Calculation
The calculator uses these formulas to compute the wetted perimeter based on the user's input. Here's a step-by-step explanation for each shape:
-
Trapezoidal Channel: a. Calculate the length of each sloped side: b. Add the bottom width and twice the side length:
-
Rectangular/Square Channel: a. Add the bottom width and twice the water depth:
-
Circular Pipe: a. Check if the pipe is fully or partially filled by comparing y to D b. If fully filled (y ≥ D), calculate c. If partially filled (y < D), calculate
The calculator performs these calculations using double-precision floating-point arithmetic to ensure accuracy.
Units and Precision
- All input dimensions should be in meters (m).
- Calculations are performed with double-precision floating-point arithmetic.
- Results are displayed rounded to two decimal places for readability, but internal calculations maintain full precision.
Use Cases
The wetted perimeter calculator has various applications in hydraulic engineering and fluid mechanics:
-
Irrigation System Design: Helps in designing efficient irrigation channels for agriculture by optimizing water flow and minimizing water loss.
-
Stormwater Management: Aids in the design of drainage systems and flood control structures by accurately calculating flow capacities and velocities.
-
Wastewater Treatment: Used in designing sewers and treatment plant channels to ensure proper flow rates and prevent sedimentation.
-
River Engineering: Assists in analyzing river flow characteristics and designing flood protection measures by providing crucial data for hydraulic modeling.
-
Hydropower Projects: Helps in optimizing channel designs for hydroelectric power generation by maximizing energy efficiency and minimizing environmental impact.
Alternatives
While the wetted perimeter is a fundamental parameter in hydraulic calculations, there are other related measurements that engineers might consider:
-
Hydraulic Radius: Defined as the ratio of the cross-sectional area to the wetted perimeter, it's often used in Manning's equation for open channel flow.
-
Hydraulic Diameter: Used for non-circular pipes and channels, it's defined as four times the hydraulic radius.
-
Flow Area: The cross-sectional area of the fluid flow, which is crucial for calculating discharge rates.
-
Top Width: The width of the water surface in open channels, important for calculating surface tension effects and evaporation rates.
History
The concept of wetted perimeter has been an essential part of hydraulic engineering for centuries. It gained prominence in the 18th and 19th centuries with the development of empirical formulas for open channel flow, such as the Chézy formula (1769) and the Manning formula (1889). These formulas incorporated the wetted perimeter as a key parameter in calculating flow characteristics.
The ability to accurately determine the wetted perimeter became crucial for designing efficient water conveyance systems during the Industrial Revolution. As urban areas expanded and the need for complex water management systems grew, engineers relied increasingly on wetted perimeter calculations to design and optimize channels, pipes, and other hydraulic structures.
In the 20th century, advancements in fluid mechanics theory and experimental techniques led to a deeper understanding of the relationship between wetted perimeter and flow behavior. This knowledge has been incorporated into modern computational fluid dynamics (CFD) models, allowing for more accurate predictions of complex flow scenarios.
Today, the wetted perimeter remains a fundamental concept in hydraulic engineering, playing a crucial role in the design and analysis of water resources projects, urban drainage systems, and environmental flow studies.
Examples
Here are some code examples to calculate the wetted perimeter for different shapes:
' Excel VBA Function for Trapezoidal Channel Wetted Perimeter
Function TrapezoidWettedPerimeter(b As Double, y As Double, z As Double) As Double
TrapezoidWettedPerimeter = b + 2 * y * Sqr(1 + z ^ 2)
End Function
' Usage:
' =TrapezoidWettedPerimeter(5, 2, 1.5)
These examples demonstrate how to calculate the wetted perimeter for different channel shapes using various programming languages. You can adapt these functions to your specific needs or integrate them into larger hydraulic analysis systems.
Numerical Examples
-
Trapezoidal Channel:
- Bottom width (b) = 5 m
- Water depth (y) = 2 m
- Side slope (z) = 1.5
- Wetted Perimeter = 11.32 m
-
Rectangular Channel:
- Width (b) = 3 m
- Water depth (y) = 1.5 m
- Wetted Perimeter = 6 m
-
Circular Pipe (partially filled):
- Diameter (D) = 1 m
- Water depth (y) = 0.6 m
- Wetted Perimeter = 1.85 m
-
Circular Pipe (fully filled):
- Diameter (D) = 1 m
- Wetted Perimeter = 3.14 m
References
- "Wetted Perimeter." Wikipedia, Wikimedia Foundation, https://en.wikipedia.org/wiki/Wetted_perimeter. Accessed 2 Aug. 2024.
- "Manning Formula." Wikipedia, Wikimedia Foundation, https://en.wikipedia.org/wiki/Manning_formula. Accessed 2 Aug. 2024.