Some checks failed
CI / check (push) Has been cancelled
Capture uncommitted solver robustness work (regularization, domain errors, linear solver lifecycle, tube DP/MSH), web workbench updates, and synced BMAD skills across IDE agent folders before starting BPHX pressure-drop. Co-authored-by: Cursor <cursoragent@cursor.com>
49 lines
714 B
Markdown
49 lines
714 B
Markdown
# FlowMerger
|
|
|
|
Config type: `"FlowMerger"`
|
|
Source: `crates/components/src/flow_merger.rs`
|
|
|
|
---
|
|
|
|
## EN
|
|
|
|
### Purpose & model
|
|
|
|
**N inlets → one outlet**. Mass and energy mix at common pressure:
|
|
|
|
```
|
|
ṁ_out = Σ ṁ_in,i
|
|
ṁ_out · h_out = Σ ṁ_in,i · h_in,i
|
|
P_out = P_in,i (ideal junction)
|
|
```
|
|
|
|
### Residuals & `n_equations()`
|
|
|
|
Mixing mass + energy + pressure equality constraints as implemented.
|
|
|
|
### Ports
|
|
|
|
`inlet_0` … `inlet_{n-1}`, `outlet`.
|
|
|
|
### Calibration
|
|
|
|
None by default.
|
|
|
|
### JSON
|
|
|
|
| Key | Meaning | Default |
|
|
|-----|---------|---------|
|
|
| `n_inlets` | number of inlets | ≥ 2 |
|
|
|
|
---
|
|
|
|
## FR
|
|
|
|
### But
|
|
|
|
**Mélangeur** N → 1. Conservation ṁ et H ; pression commune idéale.
|
|
|
|
### JSON
|
|
|
|
Voir EN.
|