Solve Capabilities
solve_capabilitiesCheck which external CFD, MBD, topology, transient-thermal, and optics solvers are currently usable, so you can choose a working solver for submission without trial and error.
Instructions
Report which P2 external solvers (CFD/MBD/topology/transient-thermal/optics) are usable right now — so you can pick a working solver for a *_submit family instead of discovering availability by trial and error. The solver twin of render_capabilities.
Takes no arguments. Resolves each solver side-effect-free: a binary by ANKUSDRIVE__PATH env -> PATH -> per-OS install dirs; a pip-wheel solver by importability. It executes nothing and installs nothing.
families[*].any_available is the gate to trust: it means AnkusDrive can actually
DRIVE that family here, not just that a binary resolved. A solver that resolves
but that no AnkusDrive tool can build a case for is listed under the family's
prepared_case_only (with the reason on the solver entry) and does NOT set
any_available — today that is SU2, which only ever runs a case_dir you
prepared yourself (*.cfg + *.su2); every built-in CFD case mode is OpenFOAM-only.
Returns {platform, available (sorted ready solver names), unwired,
prepared_case_only, solvers: {name: {available, kind ('binary'|'wheel'), family,
extra, and either path/module (when available) or install_hint, plus
prepared_case_only when nothing can build it a case}}, families: {family:
{solvers, available, unwired, prepared_case_only, any_available}}, extras:
{extra: [solver names]} for pip install ankusdrive[<extra>], toolsets: {enabled,
disabled: {family: {label, tools, enable}}}, cases: {root, count, bytes,
bytes_exact, keep, max_gb, grace_s, reaping}}. A family listed under
toolsets.disabled has no tools registered in this session — tell the user its
enable instruction rather than concluding the capability does not exist.
cases is where every generated solver deck is written (one managed root) and the
retention it is held to: at most keep directories and max_gb GB, reaped
oldest-first, never touching one younger than grace_s seconds. Point a user at
cases.root when they ask where a solve's files went (issue #437).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||