Calibration-driven, no_bias only, 2000x600 grid. All cases share unified env/train/calibrate pattern. Multi-GPU server deployment ready. Core additions: - calibrate.py: Phase 0 calibration (karman/illusion), produces calibration.json with rounded FORCE_SCALE, SENS_SCALE, SIM_BP/VAL - env_karman.py: parameterized Karman cloak env (calibration + config_path) - env_illusion.py: illusion env with FFT harmonics target (S_DIM=14) - env_vortex.py: vortex cloaking env (lamb/taylor, MAX_STEPS=150) - train_karman.py, train_illusion.py: parameterized training scripts - launch_multi.sh: sequential multi-GPU launcher (7-min staggered) - SERVER_DEPLOY.md: complete server setup, calibration, training guide - calibrations/re100/ & calibrations/illusion_1L/: pre-run calibrations Fixes: - SIM_VAL[-1] 0.95 -> 1.0 (r_sim maps to full [0,1] range) - Cross-Re configs: re50/200/400 (viscosity-only variants) Verified end-to-end on GPU0+GPU1: - Karman V5 20-ep: best reward 0.459 at Ep16 (monotonic rise) - Illusion 20-ep: best reward 0.224 at Ep19 (harmonics, DTW learning) Co-authored-by: Cursor <cursoragent@cursor.com>
51 lines
1.2 KiB
JSON
51 lines
1.2 KiB
JSON
{
|
|
"_doc": "Karman Cloak Re400: uniform inlet, free-slip walls, 2000x600 grid. Pinball centered.",
|
|
"grid": {
|
|
"lattice_model": "D2Q9",
|
|
"nx": 2000,
|
|
"ny": 600,
|
|
"nz": 1
|
|
},
|
|
"physics": {
|
|
"data_type": "FP32",
|
|
"viscosity": 0.001,
|
|
"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": "uniform",
|
|
"scheme": "regularized",
|
|
"trt_neq_damp": 0.5,
|
|
"regularized_neq_damp": 0.5
|
|
},
|
|
"outlet": {
|
|
"mode": "neq_extrap",
|
|
"backflow_clamp": true,
|
|
"blend_alpha": 0.7,
|
|
"srt_neq_damp": 0.5
|
|
},
|
|
"y_wall_bc": "free_slip",
|
|
"omega_guard": {
|
|
"min": 0.01,
|
|
"max": 1.99
|
|
}
|
|
},
|
|
"cuda": {
|
|
"threads_per_block": 256,
|
|
"compute_capability": "auto"
|
|
}
|
|
}
|