autocorrect_simulation
Run an Abaqus simulation job and automatically fix convergence, singularity, or deck errors by reading diagnostics, editing the input deck, and retrying until success or iteration limit.
Instructions
Run a job and autonomously fix failures (convergence, singularity, deck errors) by editing the deck from the .sta/.msg/.dat diagnostics, retrying up to max_iters times. Returns a full narrative of every attempt and fix.
Args: inp_path: Path to the Abaqus keyword input deck (.inp). job_name: Optional job name (defaults to the deck's file stem). max_iters: Maximum run/fix iterations. cpus: Number of CPUs for the solver. timeout_s: Wall-clock ceiling per solver run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpus | No | ||
| inp_path | Yes | ||
| job_name | No | ||
| max_iters | No | ||
| timeout_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |