Install
$ agentstack add skill-soljourner-claude-engineering-skills-hydraulic-components-db ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Hydraulic Components Database Skill
Query loss coefficients (K-values), friction factors, and equivalent lengths for pipes, valves, and fittings essential for piping system design, pump selection, and pressure drop calculations. This skill provides verified data from industry-standard references.
Overview
Hydraulic component databases provide critical data for calculating pressure losses in piping systems:
- Friction Losses: Pipe roughness, friction factors, Moody diagram
- Minor Losses: Valves, fittings, bends, contractions, expansions
- Loss Coefficients (K): Dimensionless resistance values
- Equivalent Length (L/D): Length of straight pipe with equivalent resistance
- System Curves: Total resistance characteristics
- Pump Matching: Ensuring pump operates at design point
This skill focuses on practical data from Crane TP-410, ASHRAE handbooks, and other engineering references commonly used in HVAC, chemical processing, and water distribution systems.
Component Types
Pipes (Major Losses)
Straight pipe friction losses dominate in long piping runs:
Absolute Roughness (ε)
Material roughness affects friction factor in turbulent flow:
| Material | ε (mm) | ε (ft) | Typical Use | |---------------------------|----------|-------------|--------------------------------| | Drawn tubing (brass, copper) | 0.0015 | 0.000005 | Clean service, instruments | | Commercial steel/wrought iron | 0.045 | 0.00015 | General industrial piping | | Asphalted cast iron | 0.12 | 0.0004 | Water distribution | | Galvanized iron | 0.15 | 0.0005 | Corrosive service | | Cast iron (uncoated) | 0.26 | 0.00085 | Municipal water, old systems | | Concrete (smooth) | 0.3-3.0 | 0.001-0.01 | Large conduits, sewers | | Riveted steel | 0.9-9.0 | 0.003-0.03 | Old installations | | PVC, plastic | 0.0015 | 0.000005 | Chemical, water, clean service |
Note: Roughness increases with age due to corrosion, scale, and deposits.
Friction Factor (f)
Dimensionless resistance in Darcy-Weisbach equation:
Laminar Flow (Re 4000): Use Colebrook-White equation (implicit):
1/√f = -2.0 log₁₀(ε/(3.7D) + 2.51/(Re√f))
Or Swamee-Jain approximation (explicit, accurate to ±1%):
f = 0.25 / [log₁₀(ε/(3.7D) + 5.74/Re^0.9)]²
Smooth Pipe Approximations:
- Blasius (Re 4000)
- K varies slightly with Reynolds number (often ignored)
- Does not account for compressibility (liquids only)
- Interaction effects when components close together ( 4000 (use Moody diagram or correlations)
Friction Factor Determination
Moody Diagram: Graphical solution
- Horizontal axis: Reynolds number (Re)
- Vertical axis: Friction factor (f)
- Parameter: Relative roughness (ε/D)
Colebrook Equation (turbulent, exact but implicit):
1/√f = -2.0 log₁₀(ε/(3.7D) + 2.51/(Re√f))
Requires iterative solution (Newton-Raphson).
Swamee-Jain (explicit approximation, ±1% accurate):
f = 0.25 / [log₁₀(ε/(3.7D) + 5.74/Re^0.9)]²
Valid: 5000 4000: Use Swamee-Jain or Moody chart
- Calculate head loss:
h_f = f(L/D)(v²/2g) - Add minor losses:
h_total = h_f + ΣK(v²/2g)
Minor vs Major Losses
Definitions
Major Losses: Friction in straight pipe
h_major = f · (L/D) · (v²/2g)
- Continuous along pipe length
- Dominant in long piping runs
- Proportional to length
Minor Losses: Valves, fittings, components
h_minor = ΣK · (v²/2g)
- Localized disturbances
- Dominant in short piping with many fittings
- Independent of pipe length
When Each Dominates
Major losses dominate:
- Long straight runs (L/D > 1000)
- Minimal fittings
- Large diameter transmission lines
- Pipeline networks
- Example: Cross-country oil pipeline
Minor losses dominate:
- Short piping with many components
- Compact skid packages
- Manifolds and headers
- Laboratory piping
- Example: Chemical reactor feed system
Design Rules of Thumb
Check both:
h_total = h_major + h_minor
Quick estimate:
- If L/D > 1000 and few fittings: ignore minor losses (error 5% but <50% of total loss?
- Is NPSH adequate (for pump suction)?
Validation:
- Compare to similar existing systems
- Use multiple methods (K and L_e/D)
- Check with different correlations
- Benchmark against software tools
- Field test after installation
This skill provides comprehensive data and methods for calculating hydraulic losses in piping systems, essential for pump selection, energy analysis, and system design. Data sourced from Crane TP-410, ASHRAE, and other authoritative engineering references.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Soljourner
- Source: Soljourner/claude-engineering-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.