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>
This commit is contained in:
54
apps/web/public/docs/components/pipe.md
Normal file
54
apps/web/public/docs/components/pipe.md
Normal file
@@ -0,0 +1,54 @@
|
||||
# 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 d’enthalpie.
|
||||
|
||||
### Calibration
|
||||
|
||||
Facteur de perte de charge (défaut 1).
|
||||
|
||||
### JSON
|
||||
|
||||
Voir EN.
|
||||
Reference in New Issue
Block a user