run_simulation
Starts a simulation as a background job and returns results with gates if completed within about 20 seconds; otherwise returns a job ID to poll for status. Supports preview and final solver modes.
Instructions
Start the solver as a background job. Waits up to ~20 s: if finished, returns results and gates; otherwise returns job_id - then call job_status, which waits for the job. preview = built-in solver, final = CalculiX/OpenFOAM when offered by the template. Electrostatics and DC/Joule always use the built-in FEM.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| case_id | Yes | ||
| language | No | ja |