start_sweep
Run a parametric sweep of FEA designs with automatic correction and validation. Failed or implausible results are parked with diagnostics, and re-runs skip already completed designs.
Instructions
Run a parametric sweep, parking whatever needs judgement.
Each design goes through the autocorrect loop and then the validity gate. Anything that fails, or that converges to something not believable, is parked with full diagnostics rather than dropped. Resumable: re-running the same sweep name skips designs that already finished.
This blocks until the sweep completes, so keep the design count small from an interactive client. For a long unattended sweep, run the sweep module as a detached process instead.
Args: sweep_name: Name for this sweep; also its results directory. designs_json: JSON list of {"design_id":..., "inp":..., "params":{...}}. max_iters: Deterministic fix iterations allowed per design. cpus: CPUs per solver run. quasi_static: Whether to judge the event as quasi-static.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpus | No | ||
| max_iters | No | ||
| sweep_name | Yes | ||
| designs_json | Yes | ||
| quasi_static | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |