stop_job
Stop a running OpenFOAM job gracefully so current results are written, or force termination when immediate shutdown is needed.
Instructions
Stop a running job, gracefully (results written) or forcibly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 'write': solver writes the current time and exits cleanly (controlDict stopAt writeNow); 'now': exit at next step without writing; 'kill': terminate the process group immediately. | write |
| job_id | Yes |