This blog was created to publish chemical engineering apps to aid calculations. The apps presented here were created by the chemical engineering community of the Facultad de Ciencias Químicas, Universidad Autónoma de Chihuahua.
Followers
Friday, October 23, 2026
Hydraulic Grade Line (HGL), elevation & pressure calculator
Action completed!
Fluid Mechanics & Hydraulics • Dual-Unit Solver
Hydraulic Grade Line (HGL), Elevation & Pressure Calculator
Interactive engineering application to compute Hydraulic Grade Line (\(\text{HGL}\)), Elevation Head (\(z\)), or Static Pressure (\(P\)) with full conversion between SI and British units.
Application Metadata
Author:Fernando Lastra
Date Created:October 19, 2026
Math Engine:LaTeX (MathJax 3)
✓ Real-Time Automated Hydraulic Solver • SI (Metric) & British (Imperial) Units
How to Use This Application (Instructions)
Self-Explanatory Guide
Step 1: Choose Parameter
Select which unknown variable you want to calculate: HGL, Elevation (\(z\)), or Pressure (\(P\)).
Step 2: Select Units
Enter data in SI Units (\(\text{m}, \text{kPa}, \text{Pa}\)) or British Units (\(\text{ft}, \text{psi}, \text{psf}\)).
Step 3: Fluid Properties
Keep default Standard Water (\(\gamma = 9810\text{ N/m}^3\)) or select another fluid / custom Specific Gravity (\(\text{SG}\)).
Step 4: Automated Output
Results, step-by-step LaTeX equations, and the piezometric diagram update automatically in real time.
Governing Hydraulic Equations (LaTeX Formulation)
In fluid mechanics, the Hydraulic Grade Line (\(\text{HGL}\))—or piezometric head—represents the sum of elevation head (\(z\)) and static pressure head (\(h_p = \frac{P}{\gamma}\)):
1. Hydraulic Grade Line (\(\text{HGL}\))
$$\text{HGL} = z + \frac{P}{\gamma} = z + \frac{P}{\rho g}$$
2. Elevation / Height (\(z\))
$$z = \text{HGL} - \frac{P}{\gamma}$$
3. Static Pressure (\(P\))
$$P = \gamma \cdot \left(\text{HGL} - z\right)$$
% 1. Solve for Hydraulic Grade Line (HGL):
$$\text{HGL} = z + \frac{P}{\gamma} = z + \frac{P}{\rho g}$$
% 2. Solve for Height / Elevation (z):
$$z = \text{HGL} - \frac{P}{\gamma}$$
% 3. Solve for Pressure (P):
$$P = \gamma \cdot \left(\text{HGL} - z\right)$$
Input Parameters
B. Unit System Preset:SI Units Active
Equivalent: 35.1937 m = 115.4648 ft
Equivalent: 15.0000 m = 49.2126 ft
Equivalent: 198.1000 kPa = 28.7320 psi
SG = 1.000
Example Scenarios (1-Click Test):
Calculated Results
Solving for: Hydraulic Grade Line (HGL)
Please enter valid numerical values and ensure Fluid Specific Weight (\(\gamma\)) is greater than zero.
No comments:
Post a Comment