Files
Entropyk/apps/web/public/docs/components/pipe.md
sepehr 3358b74342 Add diagram workbench UI with Modelica DoF coaching and ISO glyphs.
Ship the Next.js cycle editor with CAD chrome, technical HX symbols, Fixed/Free boundary guidance, and secondary water/air pressure drop support in the solver stack.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 22:46:46 +02:00

55 lines
1020 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Pipe
Config type: `"Pipe"`
Source: `crates/components/src/pipe.rs`
---
## EN
### Purpose & model
Fluid duct with **friction pressure drop** (Darcy/Colebrook-style or equivalent implementation) and near-isenthalpic or adiabatic energy transport:
```
ΔP = f(L, D, ε, Re, ṁ, ρ)
h_out ≈ h_in (or with small heat loss if modeled)
```
### Residuals & `n_equations()`
Pressure-drop residual + energy residual (typically **2** on a series branch).
### Ports
`inlet` / `outlet`.
### Calibration
`z_dp` (or equivalent) scales ΔP when exposed via calib — default **1.0**.
### JSON (main)
| Key | Meaning | Default |
|-----|---------|---------|
| `length_m` | length | required |
| `diameter_m` | inner diameter | required |
| `roughness_m` | roughness | small metal default |
| fluid | water / refrigerant path | from circuit |
---
## FR
### But & modèle
**Conduite** avec pertes de charge et transport denthalpie.
### Calibration
Facteur de perte de charge (défaut 1).
### JSON
Voir EN.