Snapshot WIP: solver HP epic progress, BPHX/HX physics, BMAD skill refresh.
Some checks failed
CI / check (push) Has been cancelled
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>
This commit is contained in:
34
ui/README.md
34
ui/README.md
@@ -1,31 +1,11 @@
|
||||
# Entropyk - Test UI
|
||||
# Deprecated — do not use
|
||||
|
||||
Interface qui utilise les **composants Rust réels** pour les calculs.
|
||||
This static HTML prototype is **dead**. It posts to `/api/calculate`, which no longer exists.
|
||||
|
||||
## Lancer
|
||||
Use the supported workbench instead:
|
||||
|
||||
```bash
|
||||
cargo run -p entropyk-demo --bin ui-server
|
||||
```
|
||||
- Frontend: [`apps/web`](../apps/web) (Next.js, http://localhost:3000)
|
||||
- API: `cargo run -p entropyk-demo --bin ui-server` (http://localhost:3030)
|
||||
- CLI: `cargo run -p entropyk-cli -- run config.json`
|
||||
|
||||
Puis ouvrir **http://localhost:3030** dans le navigateur.
|
||||
|
||||
## Utilisation
|
||||
|
||||
1. **Glisser-déposer** les composants de la palette vers le canvas
|
||||
2. **Configurer** : sélectionner un composant → panneau droit pour fluide, polynômes, etc.
|
||||
3. **Relier** : cliquer "Relier", puis cliquer sur une **sortie** (orange) puis une **entrée** (verte)
|
||||
4. **Calculer** : envoie la config au serveur Rust, résultats affichés
|
||||
|
||||
## Ports
|
||||
|
||||
Chaque composant a des ports (points de connexion) :
|
||||
- **Entrée** (vert) : aspiration, inlet
|
||||
- **Sortie** (orange) : refoulement, outlet
|
||||
|
||||
## Composants (calculs réels)
|
||||
|
||||
- **Pompe** : PumpCurves, head_at_flow(), efficiency_at_flow()
|
||||
- **Compresseur** : SstSdtCoefficients, mass_flow_at(), power_at()
|
||||
- **Conduite** : PipeGeometry, Darcy-Weisbach, friction_factor
|
||||
- **Détendeur** : config (solveur à venir)
|
||||
This folder may be removed in a future cleanup.
|
||||
|
||||
Reference in New Issue
Block a user