Files
DynamisLab/configs/config_lbm_pinball_legacy_compat.json
Frank14fandCursor f2f88c2442 feat(reproduce): legacy-test framework + fixed-inlet reproduce pipeline
- Track A (legacy_test): systematic validation scripts for all trained PPO
  models using LegacyCelerisLab. Each test script rebuilds the exact legacy
  CFD environment, runs deterministic inference, and compares against
  SR_analysis reference data using DTW-based comparison. Verified: Karman
  re100/re50/re200, Vortex lamb/taylor all pass (DTW > 0.95).

- Track B (reproduce): Phase 2 open-loop CFD validation + Phase 3 DRL
  inference using the legacy-compatible config (regularized inlet with
  neq_damp=1.0, matching the legacy NBB formula). The inlet scheme fix
  improves new-CFD Karman DTW from 0.916 to 0.943.

- Fixes: action_wrapper sign convention docstring, model inventory
  duplicate entries and missing models, stale config paths in legacy
  run_all_cases.py/run_illusion_vortex.py, illusion label formatting

- Add READMEs and run-all shell scripts for both tracks
- Add .gitignore entries for runtime output directories

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-12 23:09:53 +08:00

50 lines
1.3 KiB
JSON

{
"_doc": "Pinball config for legacy-compatible reproduction. Same as config_lbm_pinball.json but uses regularized inlet with NEQ damp=1.0 to match legacy NBB (f = feq_target + (f_neb - feq_neb)).",
"grid": {
"lattice_model": "D2Q9",
"nx": 1280,
"ny": 512,
"nz": 1
},
"physics": {
"data_type": "FP32",
"viscosity": 0.004,
"velocity": 0.01,
"rho": 1.0
},
"method": {
"collision": "MRT",
"streaming": "double_buffer",
"store_precision": "FP32",
"ddf_shifting": false,
"les": {
"enabled": false,
"cs": 0.16,
"closed_form": true
},
"trt": {
"magic_param": 0.1875
},
"inlet": {
"profile": "parabolic",
"scheme": "regularized",
"regularized_neq_damp": 1.0
},
"outlet": {
"mode": "neq_extrap",
"backflow_clamp": true,
"blend_alpha": 0.7,
"srt_neq_damp": 0.5
},
"y_wall_bc": "bounce_back",
"omega_guard": {
"min": 0.01,
"max": 1.99
}
},
"cuda": {
"threads_per_block": 256,
"compute_capability": "auto"
}
}