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.9.tar.gz (155.9 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.9-py3-none-any.whl (91.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sim_plugin_comsol-0.1.9.tar.gz
  • Upload date:
  • Size: 155.9 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.9.tar.gz
Algorithm Hash digest
SHA256 ff9bed7f058ad883b73a462b6196e0f230bc2d351743da9704c47ffb1fa3fae4
MD5 e2e5f55938a786dfcd26a934e95754ac
BLAKE2b-256 b10d1a58c518ef730ab503e4a6d177dc9cce6af215625edbbbeb385534b57b15

See more details on using hashes here.

Provenance

The following attestation bundles were made for sim_plugin_comsol-0.1.9.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.9-py3-none-any.whl.

File metadata

File hashes

Hashes for sim_plugin_comsol-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 091d8d2275aae93affb1d3ca569f1b67e1b75f0ec133f3a5dfd6829b8d84cc17
MD5 80e5f9ff85e077dbf4050808d722ea3a
BLAKE2b-256 a8f41f84d81f99bee14cfa58722789f22c57d74b3f0bac62467c5f14d6e859bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for sim_plugin_comsol-0.1.9-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