engineering.darcy_weisbach
Calculates pipe friction head loss and pressure drop using the Darcy-Weisbach equation from friction factor, length, diameter, and velocity; excludes valve and fitting losses.
Instructions
다르시-바이스바흐 식으로 관 마찰 손실 수두 h_f = f·(L/D)·v²/(2g) (m)와 압력강하 ρ·g·h_f (Pa)를 계산한다. friction_factor 무차원, length 와 diameter m, velocity m/s, density 기본 1000 kg/m³, gravity 기본 9.80665. 마찰계수를 모르면 moody_friction_factor 로 먼저 구하며 밸브나 곡관의 국부 손실은 포함하지 않는다. 반올림 없이 50자리 유효숫자.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | Yes | ||
| density | No | 1000 | |
| gravity | No | 9.80665 | |
| diameter | Yes | ||
| velocity | Yes | ||
| friction_factor | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| trace | Yes | 계산 근거(tool, formula, inputs, steps, output) | |
| head_loss_m | Yes | ||
| pressure_drop_pa | Yes |