Skip to main content

COMSOL Multiphysics driver for sim-cli, distributed as an out-of-tree plugin

Project description

sim-plugin-comsol

COMSOL Multiphysics driver for sim-cli, distributed as an out-of-tree plugin via Python entry_points.

The COMSOL solver and its mph Python binding are not bundled — you supply them yourself. See LICENSE-NOTICE.md.

Install

pip install sim-plugin-comsol

After install, sim-cli auto-discovers the driver:

sim drivers | grep comsol
sim run --solver comsol path/to/script.py

You can also install through sim-cli's plugin command:

sim plugin install sim-plugin-comsol

For realtime-visible COMSOL Desktop collaboration on Windows, use the standalone attach helper:

sim-comsol-attach open --json --timeout 120
sim-comsol-attach exec --file step.java --json

How it works

The plugin registers via three entry-point groups:

[project.entry-points."sim.drivers"]
comsol = "sim_plugin_comsol:ComsolDriver"

[project.entry-points."sim.skills"]
comsol = "sim_plugin_comsol:skills_dir"

[project.entry-points."sim.plugins"]
comsol = "sim_plugin_comsol:plugin_info"

sim.drivers exposes the driver class; sim.skills exposes a directory of skill files bundled inside the wheel; sim.plugins exposes plugin metadata for discovery.

Develop

git clone https://github.com/svd-ai-lab/sim-plugin-comsol
cd sim-plugin-comsol
uv sync
uv run pytest

License

Apache-2.0. See LICENSE and LICENSE-NOTICE.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sim_plugin_comsol-0.1.7.tar.gz (155.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sim_plugin_comsol-0.1.7-py3-none-any.whl (91.0 kB view details)

Uploaded Python 3

File details

Details for the file sim_plugin_comsol-0.1.7.tar.gz.

File metadata

  • Download URL: sim_plugin_comsol-0.1.7.tar.gz
  • Upload date:
  • Size: 155.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sim_plugin_comsol-0.1.7.tar.gz
Algorithm Hash digest
SHA256 6cd57cdcaa1b46c2cffc3fe09d0420e639e786f9d86f0b051a61e7acc1d3dd3a
MD5 49d18dff97a75561f01358958202f62c
BLAKE2b-256 a8e0ead3cecf0afba7330b4149f4b63a0df44fed3362e58d5f8866e0cc2c80d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for sim_plugin_comsol-0.1.7.tar.gz:

Publisher: publish.yml on svd-ai-lab/sim-plugin-comsol

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sim_plugin_comsol-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for sim_plugin_comsol-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7311f39f0f8c8cbeaf826d44d04bb6e25febc5fc3cace1df63474ced312822ab
MD5 ae9ce2b1fec914643a4efa3c39e3b3ce
BLAKE2b-256 19c79e9e174c34370b3ce7b94cbcaf8eb43de33876a2e79465c8a0b30394ab7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for sim_plugin_comsol-0.1.7-py3-none-any.whl:

Publisher: publish.yml on svd-ai-lab/sim-plugin-comsol

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page