comsol
Drive COMSOL Multiphysics from sim.
What you can do
Section titled “What you can do”- Run a model — point
simat a.mphfile and let it solve, headless or with the GUI visible. - Connect a live session — keep one COMSOL process open across many steps, send model-control snippets, observe model state, watch results stream back.
- Shared desktop — the agent and a human engineer share the same Model Builder window. Edits the agent makes appear live in the engineer’s screen; the engineer can interrupt, click around, or hand control back.
- Parametric sweeps — vary parameters between runs and collect results without restarting COMSOL.
- Extract solved fields — pull temperature, velocity, or any other evaluated quantity out of a finished study for downstream analysis.
- Server attach mode — point
simat a COMSOL server you already have running;simwon’t take ownership and won’t kill it on disconnect.
Works on Linux, macOS, and Windows.
Install
Section titled “Install”sim plugin install comsolsim drivers | grep comsolQuick start
Section titled “Quick start”One-shot run:
sim run --solver comsol path/to/model.mphPersistent session with the engineer watching the GUI:
sim connect --solver comsol --ui-mode gui --driver-option visual_mode=shared-desktopsim exec '<your model-control snippet>'sim inspect session.healthsim disconnectPrerequisites
Section titled “Prerequisites”- A licensed COMSOL Multiphysics install on the host
- Network access to
cdn.svdailab.comfor the install step