run_simulation
Run Kratos simulations as background jobs and retrieve results without blocking. Specify analysis type or class to run structural, fluid, thermal, or potential flow analyses.
Instructions
Start a Kratos simulation as a background job and return its job_id. The analysis class is taken from the 'analysis_stage' key in the parameters, or inferred from solver_type; override with analysis_type (structural/fluid/thermal/potential_flow) or analysis_class ('module.path:ClassName'). If wait_seconds > 0, poll up to that long and return the final status if the job finishes in time. Track progress with job_status/job_logs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case_dir | Yes | ||
| wait_seconds | No | ||
| analysis_type | No | ||
| analysis_class | No | ||
| parameters_file | No | ProjectParameters.json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||