# Hydraulic Components DB

> Query loss coefficients for pipes, valves, fittings in pump systems

- Skill: `soljourner/hydraulic-components-db` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add soljourner/hydraulic-components-db`
- Raw SKILL.md: https://api.skillmd.com/api/skills/soljourner/hydraulic-components-db/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: soljourner (https://skillmd.com/u/soljourner)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/soljourner/hydraulic-components-db

---


# 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 < 2300)**:
```
f = 64 / Re
```

**Turbulent 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 < 100,000): `f = 0.316 / Re^0.25`
- Prandtl-von Karman: `1/√f = 2.0 log₁₀(Re√f) - 0.8`

**Fully Rough (High Re)**:
```
1/√f = -2.0 log₁₀(ε/(3.7D))
```

#### Major Loss Calculation
Head loss in straight pipe (Darcy-Weisbach):
```
h_f = f · (L/D) · (v²/2g)
```

Where:
- h_f = head loss (m)
- f = Darcy friction factor (dimensionless)
- L = pipe length (m)
- D = pipe inside diameter (m)
- v = average velocity (m/s)
- g = 9.81 m/s²

**Pressure Drop**:
```
ΔP = f · (L/D) · (ρv²/2)
```
- ΔP = pressure drop (Pa)
- ρ = fluid density (kg/m³)

### Valves (Minor Losses)

Gate, globe, ball, check, and control valves introduce localized pressure losses.

#### Gate Valves
Used for on/off service, low pressure drop when fully open:

| Opening       | K      | L/D   | Notes                           |
|---------------|--------|-------|---------------------------------|
| Fully open    | 0.15   | 8     | Minimal obstruction             |
| 3/4 open      | 0.9    | 40    | Not recommended for throttling  |
| 1/2 open      | 4.5    | 200   | Severe turbulence               |
| 1/4 open      | 24     | 1100  | Very high loss                  |

**Applications**: Main isolation, block and bleed, rarely for throttling
**Sizes**: DN15 to DN600+ (1/2" to 24"+)
**Characteristics**: Linear flow vs. position when used for throttling (not ideal)

#### Globe Valves
Higher pressure drop, excellent throttling characteristics:

| Type                     | K      | L/D   | Notes                           |
|--------------------------|--------|-------|---------------------------------|
| Standard, fully open     | 10     | 450   | Y-pattern preferred for low loss|
| Angle valve, fully open  | 5      | 200   | 90° turn, lower loss than globe |
| Y-pattern, fully open    | 5      | 200   | Streamlined flow path           |

**Applications**: Throttling service, flow regulation, pressure reduction
**Characteristics**: Equal-percentage or linear trim
**Cavitation**: Risk in high-pressure drop applications

#### Ball Valves
Quarter-turn valves with excellent sealing:

| Type                     | K      | L/D   | Notes                           |
|--------------------------|--------|-------|---------------------------------|
| Full bore, fully open    | 0.05   | 3     | Minimal restriction             |
| Reduced bore, fully open | 0.2    | 10    | Smaller port than line size     |
| Standard port            | 0.2    | 10    | Most common                     |

**Applications**: Quick shutoff, clean fluids, low maintenance
**V-ball**: Modified for throttling applications

#### Check Valves (Non-Return)
Prevent backflow, must overcome cracking pressure:

| Type                     | K      | L/D   | Notes                           |
|--------------------------|--------|-------|---------------------------------|
| Swing check, fully open  | 2.0    | 100   | Low head loss, large sizes      |
| Lift check, fully open   | 12     | 600   | High loss, globe-valve body     |
| Ball check               | 70     | 3500  | Small sizes, high loss          |
| Wafer check, dual plate  | 2.0    | 100   | Compact, low loss               |
| Spring-loaded check      | 4.5    | 225   | Prevents slam, added resistance |
| Tilting disc check       | 1.5    | 50    | Low loss, large diameter        |

**Important**: Check valve K-values assume full flow. Inadequate flow causes partial opening and water hammer.

#### Butterfly Valves
Used for large diameter, quarter-turn operation:

| Opening       | K      | L/D   | Notes                           |
|---------------|--------|-------|---------------------------------|
| Fully open    | 0.24   | 12    | Depends on disc thickness       |
| 60° open      | 1.5    | 70    |                                 |
| 40° open      | 10     | 500   | Rapid increase in loss          |

**Applications**: HVAC dampers, water treatment, large diameter (DN100-DN3000)

#### Control Valves
Characterized for precise flow regulation:

| Type           | K (open) | C_v Concept | Notes                          |
|----------------|----------|-------------|--------------------------------|
| Linear trim    | Variable | Flow ∝ position | Constant ΔP applications   |
| Equal % trim   | Variable | Flow = k^x  | Variable ΔP, better control    |

**Flow Coefficient (C_v)**:
```
Q = C_v · √(ΔP / SG)
```
- Q = flow rate (GPM)
- ΔP = pressure drop (psi)
- SG = specific gravity

**Conversion to K**:
```
K = (d/C_v)² · 890.6
```
Where d = valve diameter (inches)

### Fittings (Minor Losses)

Elbows, tees, reducers, and other direction/size changes.

#### Standard Elbows
90° bends with various radii:

| Type                     | K      | L/D   | Notes                           |
|--------------------------|--------|-------|---------------------------------|
| 90° threaded, standard   | 1.5    | 75    | r/D ≈ 1                         |
| 90° threaded, long radius| 0.75   | 38    | r/D ≈ 1.5, smoother flow        |
| 90° flanged, standard    | 0.3    | 15    | Larger radius than threaded     |
| 90° flanged, long radius | 0.2    | 10    | r/D ≈ 1.5                       |
| 90° mitered, no vanes    | 1.1    | 55    | Sharp corner, fabricated        |
| 45° threaded             | 0.4    | 20    | Half the loss of 90°            |
| 45° flanged, long radius | 0.2    | 10    |                                 |

**Radius ratio (r/D)**: Larger radius = lower loss
**Multiple elbows**: If spaced <10D apart, losses interfere (≈1.5× single elbow)

#### Tees
Flow through or branch takeoff:

| Configuration            | K      | L/D   | Notes                           |
|--------------------------|--------|-------|---------------------------------|
| Threaded tee, flow thru  | 0.9    | 45    | Straight-through run            |
| Threaded tee, branch     | 2.0    | 100   | 90° turn into branch            |
| Flanged tee, flow thru   | 0.2    | 10    | Lower loss than threaded        |
| Flanged tee, branch      | 1.0    | 50    | 90° turn                        |
| Wye, 45° branch          | 0.6    | 30    | Smoother transition             |

**Combining flows**: Use energy balance, not simple K addition

#### Reducers and Expanders
Gradual transitions minimize loss:

**Sudden Contraction (larger to smaller)**:
```
K = 0.5 · (1 - (D₂/D₁)²)
```
Based on smaller pipe velocity.

| Area Ratio (A₂/A₁) | K (sudden) | K (gradual) |
|--------------------|------------|-------------|
| 0.8                | 0.09       | 0.05        |
| 0.6                | 0.20       | 0.07        |
| 0.4                | 0.30       | 0.10        |
| 0.2                | 0.40       | 0.12        |

**Sudden Expansion (smaller to larger)**:
```
K = (1 - (D₁/D₂)²)²
```
Based on smaller pipe velocity. **Higher loss than contraction!**

| Area Ratio (A₁/A₂) | K (sudden) | K (gradual) |
|--------------------|------------|-------------|
| 0.8                | 0.04       | 0.02        |
| 0.6                | 0.16       | 0.08        |
| 0.4                | 0.36       | 0.18        |
| 0.2                | 0.64       | 0.30        |

**Gradual transitions**: Cone angle 7-15° optimum
**Note**: Sudden expansion has **Borda-Carnot loss** - unrecoverable kinetic energy

#### Entrances and Exits

**Pipe Entrance (from reservoir)**:

| Type                     | K      | Notes                           |
|--------------------------|--------|---------------------------------|
| Sharp-edged (flush)      | 0.5    | Vena contracta forms            |
| Slightly rounded         | 0.2    | r/D ≈ 0.02                      |
| Well-rounded (bellmouth) | 0.04   | r/D ≈ 0.15, minimal loss        |
| Inward projecting        | 1.0    | Worst case, "Borda mouthpiece"  |

Based on pipe velocity.

**Pipe Exit (to reservoir)**:
```
K = 1.0
```
All velocity head is lost (kinetic energy unrecovered).

### Enlargements and Contractions

Covered above in Reducers section, but key principles:

1. **Gradual transitions** (7-15° cone angle) reduce loss by ~50%
2. **Expansions create more loss than contractions** (irreversible turbulence)
3. **K-values based on velocity in smaller pipe**
4. **Sudden expansion**: K = (1 - β²)² where β = D₁/D₂
5. **Sudden contraction**: K ≈ 0.5(1 - β²)

**Example**:
4" pipe → 6" pipe (sudden expansion):
- β = 4/6 = 0.667
- K = (1 - 0.667²)² = 0.31 (based on 4" velocity)

## Loss Coefficient (K) Method

### Definition
Dimensionless coefficient relating pressure drop to velocity head:
```
h_L = K · (v²/2g)
```

Where:
- h_L = head loss (m)
- K = loss coefficient (dimensionless)
- v = velocity (m/s)
- g = 9.81 m/s²

**Pressure drop form**:
```
ΔP = K · (ρv²/2)
```

### Velocity Reference
**Critical**: K-value is referenced to a specific velocity!
- Contractions/expansions: Use velocity in **smaller pipe**
- Fittings: Use velocity in **fitting size** (same as pipe)
- When converting sizes, velocity changes: `v₂ = v₁ · (D₁/D₂)²`

### K-Value Addition
For components in series **with same diameter**:
```
K_total = K₁ + K₂ + K₃ + ...
```

**Different diameters**: Convert to common reference or use ΔP directly.

### Limitations
- Assumes turbulent flow (Re > 4000)
- K varies slightly with Reynolds number (often ignored)
- Does not account for compressibility (liquids only)
- Interaction effects when components close together (<10D)

## Equivalent Length Method

### Definition
Length of straight pipe that produces same loss as fitting:
```
L_e = K · D / f
```

Where:
- L_e = equivalent length (m)
- K = loss coefficient
- D = pipe diameter (m)
- f = friction factor

**Common approximation**: Assume f ≈ 0.02 for quick estimates
```
L_e/D ≈ K / 0.02 = 50·K
```

### Usage
Add equivalent lengths to actual pipe length:
```
L_total = L_pipe + ΣL_e
```

Then calculate total head loss:
```
h_total = f · (L_total/D) · (v²/2g)
```

### Advantages and Disadvantages

**Advantages**:
- Simpler for systems with many fittings
- Single friction factor calculation
- Traditional method in piping design

**Disadvantages**:
- L/D values assume fixed friction factor (usually f ≈ 0.02)
- Less accurate for laminar flow or very rough pipes
- Obscures individual component contributions
- K-method is more fundamental

### Typical L/D Values Quick Reference

| Component              | L/D (approx) |
|------------------------|--------------|
| 90° elbow, standard    | 30-75        |
| 90° elbow, long radius | 15-20        |
| 45° elbow              | 15-20        |
| Tee, flow through      | 20-60        |
| Tee, branch flow       | 50-100       |
| Gate valve, open       | 8-10         |
| Globe valve, open      | 300-500      |
| Check valve, swing     | 50-100       |
| Ball valve, open       | 3-5          |

**Note**: Values vary by source and pipe size; use manufacturer data when available.

## Darcy-Weisbach Equation

### Fundamental Form
The cornerstone equation for pipe friction loss:
```
h_f = f · (L/D) · (v²/2g)
```

Or in pressure drop form:
```
ΔP = f · (L/D) · (ρv²/2)
```

### Parameters

- **h_f** = head loss due to friction (m of fluid column)
- **ΔP** = pressure drop (Pa or psi)
- **f** = Darcy friction factor (dimensionless, 4× Fanning factor)
- **L** = pipe length (m or ft)
- **D** = pipe inside diameter (m or ft)
- **v** = average flow velocity (m/s or ft/s)
- **g** = gravitational acceleration = 9.81 m/s² (32.2 ft/s²)
- **ρ** = fluid density (kg/m³ or lbm/ft³)

### Reynolds Number
Determines flow regime and friction factor:
```
Re = ρ·v·D / μ = v·D / ν
```

Where:
- μ = dynamic viscosity (Pa·s)
- ν = kinematic viscosity (m²/s)

**Flow Regimes**:
- **Laminar**: Re < 2300 (f = 64/Re)
- **Transition**: 2300 < Re < 4000 (unstable, avoid for design)
- **Turbulent**: Re > 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 < Re < 10⁸, 10⁻⁶ < ε/D < 10⁻²

**Haaland** (explicit approximation):
```
1/√f = -1.8 log₁₀[(ε/(3.7D))^1.11 + 6.9/Re]
```

### Why Darcy-Weisbach?

**Advantages over Hazen-Williams**:
- Valid for all fluids (not just water)
- Dimensionally consistent
- Valid for all flow regimes
- Accounts for temperature (via viscosity)
- More accurate for non-Newtonian fluids

**Hazen-Williams limitations**:
- Empirical, water-specific
- Fixed roughness assumption
- Not valid for laminar flow
- Accuracy degrades for viscous fluids

### Practical Calculation Steps

1. Calculate velocity: `v = Q / A = 4Q / (πD²)`
2. Calculate Reynolds number: `Re = vD/ν`
3. Determine friction factor:
   - If Re < 2300: `f = 64/Re`
   - If Re > 4000: Use Swamee-Jain or Moody chart
4. Calculate head loss: `h_f = f(L/D)(v²/2g)`
5. 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%)
- If L/D < 100 with many fittings: minor losses may exceed major losses
- Industrial practice: Calculate both, rarely <10% of total

**Pressure drop budget**:
- Piping friction: 50-70%
- Fittings and valves: 20-30%
- Equipment (heat exchangers, filters): 20-40%
- Control valve: 25-50% (for good control)

### Combined Calculation Example

For 50m of 100mm steel pipe with 4× 90° elbows, 1 gate valve:

**Major loss**:
- f ≈ 0.018 (assume turbulent, commercial steel)
- h_major = 0.018 × (50/0.1) × (v²/2g) = 9 × (v²/2g)

**Minor loss**:
- 4 elbows: K = 4 × 0.3 = 1.2
- 1 gate valve: K = 0.15
- K_total = 1.35
- h_minor = 1.35 × (v²/2g)

**Total**: h_total = 10.35 × (v²/2g)
- Major: 87%
- Minor: 13%

### Optimization Considerations

**Minimize pressure drop**:
1. Increase pipe diameter (most effective)
2. Use long-radius elbows instead of standard
3. Use ball valves instead of globe valves
4. Minimize number of fittings
5. Avoid sudden contractions/expansions
6. Select low-loss check valves
7. Clean, smooth pipe interior

**Cost trade-off**:
- Larger pipe: Higher material cost, lower pumping cost
- Smaller pipe: Lower material cost, higher pumping cost
- Optimize for net present value over equipment life

## Data Sources

### Crane TP-410 (Primary Reference)

**Title**: "Flow of Fluids Through Valves, Fittings, and Pipe"
**Publisher**: Crane Co. Technical Paper No. 410
**Status**: Industry standard since 1942, latest edition 2013

**Content**:
- Comprehensive K-values for all component types
- Resistance coefficients for valves by size and type
- Pipe friction data and charts
- Worked examples for various fluids
- Cv to K conversions for control valves
- Equivalent length tables

**Reliability**: Widely accepted in chemical, petroleum, and power industries
**Availability**: Purchase from Crane Co. or technical bookstores
**Note**: Some data considered conservative (over-predicts losses slightly)

### ASHRAE Handbooks

**ASHRAE Fundamentals Handbook** (Chapter on Fluid Flow):
- Pipe sizing for HVAC systems
- Friction loss charts for water, air, refrigerants
- Fitting loss coefficients for HVAC components
- Duct sizing equivalent for air systems

**Focus**: Building systems, water distribution, chilled water, heating
**Updates**: Revised every 4 years
**Standards**: ASHRAE 90.1 (energy), ASHRAE 62.1 (ventilation)

### Other Authoritative Sources

#### Hydraulic Institute (HI)
- ANSI/HI 9.6.7: Pipe friction loss calculations
- Pump system optimization
- Piping design for pumps

#### ASME (American Society of Mechanical Engineers)
- B31.1: Power piping code
- B31.3: Process piping code
- Includes pressure drop considerations for safety

#### Idelchik's Handbook
**Title**: "Handbook of Hydraulic Resistance"
**Content**:
- Over 6000 coefficients
- Complex geometries
- Research-grade data
- Very comprehensive, academic focus

#### Cameron Hydraulic Data
**Publisher**: Flowserve Corporation
**Content**:
- Friction loss tables
- Pump hydraulics
- Piping formulas
- Quick reference for field engineers

#### Hooper's 2-K Method
**Innovation**: K varies with size
```
K = K₁/Re + K∞(1 + K_d/D^0.3)
```
- More accurate for different pipe sizes
- Accounts for Reynolds number effects
- Used in modern simulation software

### Software Tools

**PIPE-FLO / AFT Fathom**: Commercial pipe network analysis
**EPANET**: Open-source water distribution modeling (EPA)
**Aspen HYSYS / PRO/II**: Process simulation with hydraulics
**HTRI / HTFS**: Heat exchanger and piping thermal-hydraulics
**Excel add-ins**: Many companies have internal spreadsheets

### Standards and Testing

**ISO 5167**: Measurement of fluid flow by means of pressure differential devices
**AWWA M11**: Steel pipe design manual
**BS 806**: UK specifications for pipework systems

### Academic References

- **White, F.M.**: "Fluid Mechanics" - Standard textbook
- **Munson, Young, Okiishi**: "Fundamentals of Fluid Mechanics"
- **Streeter & Wylie**: "Fluid Mechanics" - Classic reference
- **Karassik's Pump Handbook**: Chapter on system hydraulics

## Best Practices

### Calculation Methodology

1. **Always calculate both major and minor losses** - Don't assume one is negligible
2. **Use consistent units** - SI or Imperial, don't mix
3. **Reference temperature** - Viscosity affects Re and friction factor
4. **Pipe schedule** - Use actual ID, not nominal size
5. **Future fouling** - Add 10-20% margin for aging and deposits
6. **Elevation changes** - Don't forget static head
7. **Pressure recovery** - Expansions have partial recovery (not in K-method)

### Design Margins

**Pressure drop allowance**:
- Add 10-15% for calculation uncertainty
- Add 10-20% for pipe fouling over time
- Add 10-25% for flow variations
- **Total margin**: 30-50% common in conservative designs

**Velocity limits**:
- Water/thin liquids: 1-3 m/s (3-10 ft/s)
- Viscous liquids: 0.5-1.5 m/s
- Suction piping: 1-2 m/s (avoid cavitation)
- Steam: 20-50 m/s (higher velocities acceptable)
- Erosion velocity: v < C/√ρ where C ≈ 100-150 (empirical)

### Common Errors to Avoid

1. **Using wrong velocity** - K for expansion/contraction uses smaller pipe v
2. **Ignoring Reynolds number** - Laminar vs. turbulent drastically different
3. **Adding L/D at wrong friction factor** - L/D tables assume f ≈ 0.02
4. **Neglecting entrance/exit losses** - K = 0.5 entrance, K = 1.0 exit
5. **Forgetting elevation** - Static head can dominate in vertical piping
6. **Using nominal diameter** - Always use actual inside diameter
7. **Mixing Darcy and Fanning factors** - f_Darcy = 4 × f_Fanning

### Documentation

Record in calculations:
- Fluid properties (ρ, μ, temperature)
- Pipe material and schedule (actual ID)
- Flow rate and velocity
- Reynolds number and flow regime
- Friction factor method used
- Each fitting type and K-value
- Source of K-values (Crane TP-410, etc.)
- Safety margins applied

### Verification

**Sanity checks**:
- Does ΔP seem reasonable for application?
- Is velocity within acceptable range?
- Is Re clearly turbulent or laminar (avoid transition)?
- Do fittings account for >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.*

