FEM Run
fem_runRun small CalculiX finite element analyses synchronously, blocking until completion (up to 600 s) and returning results—ideal for coarse-mesh linear static solves that finish in seconds.
Instructions
Run the CalculiX solver on an analysis. BLOCKS the MCP channel until the solve finishes (up to 600 s).
Which to reach for: fem_run for small solves — a coarse mesh, linear static, a few thousand nodes — that finish in seconds, where a poll round-trip only adds latency. fem_run_submit for anything that may take a minute or more (fine or 2nd-order meshes, modal/buckling with many modes, nonlinear material or geometry), so the channel stays free while ccx runs.
workdir defaults to <TMPDIR>/ankusdrive_fem. Raises if ccx exits non-zero
(with its *ERROR lines), or if a fem_run_submit solve is still running on this
analysis or workdir. Returns {workdir, status: 'ok', returncode, analysis_type,
result_objects, analysis}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workdir | No | ||
| analysis | Yes |