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>
61 lines
1.3 KiB
Markdown
61 lines
1.3 KiB
Markdown
# Anchor & HeatSource (inline BOLT-style nodes)
|
||
|
||
Config types: `"Anchor"` / `"RefrigerantNode"`, `"HeatSource"`
|
||
Source: anchor / heat source modules in components
|
||
|
||
---
|
||
|
||
## EN
|
||
|
||
### Anchor (Refrigerant.Node)
|
||
|
||
Inline **probe or spec** on a refrigerant edge:
|
||
|
||
| Mode | Behaviour | DoF |
|
||
|------|-----------|-----|
|
||
| Probe (no key) | measures P/T/SH/SC — **DoF-neutral** | 0 equations |
|
||
| Spec | imposes **one** of `superheat_k`, `quality`, `t_c`/`t_k`, `p_bar` | **+1 equation** |
|
||
|
||
When imposing, free something elsewhere (emergent pressure, free actuator, free boundary).
|
||
|
||
### HeatSource (Heat.Source)
|
||
|
||
Injects `q_w` (or `q_kw`) into the stream energy balance:
|
||
|
||
```
|
||
ṁ · (h_out − h_in) = Q_heat
|
||
```
|
||
|
||
Negative Q extracts heat. Can be linked as `cold_component` of a thermal coupling (motor cooling pattern).
|
||
|
||
### Ports
|
||
|
||
Inline on a single branch (inlet/outlet pass-through).
|
||
|
||
### Calibration
|
||
|
||
None required for probe mode.
|
||
|
||
### JSON (main)
|
||
|
||
| Key | Component | Meaning |
|
||
|-----|-----------|---------|
|
||
| `superheat_k` / `quality` / `t_c` / `p_bar` | Anchor | one optional FIX |
|
||
| `q_w` / `q_kw` | HeatSource | heat injection |
|
||
|
||
---
|
||
|
||
## FR
|
||
|
||
### Anchor
|
||
|
||
Sonde (0 DoF) ou **une** spécification (+1 équation) : SH, x, T ou P.
|
||
|
||
### HeatSource
|
||
|
||
Injection de chaleur `Q` dans le bilan d’énergie du fluide.
|
||
|
||
### DoF
|
||
|
||
Imposer une spec Anchor ⇒ libérer ailleurs.
|