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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sim_plugin_comsol-0.1.8.tar.gz
  • Upload date:
  • Size: 155.7 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.8.tar.gz
Algorithm Hash digest
SHA256 c19a1a2752fd46a60b009e7341d51cf3dc90bd5e40a0b29d4edaa44a38d438f4
MD5 df597e24020a51fe89afd298f1e87347
BLAKE2b-256 479eba1149c4d486f5f3b8d0f098aa613cb804400dd0711e17ecf636cbabcb96

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sim_plugin_comsol-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ebbb48568ab0cf3a67c31eb7f5d94c94a6bce52fb5ab8f436eef1f318fd2d99b
MD5 c4c9954118df9e9d7c46cf3e81279888
BLAKE2b-256 c0405c7905998518734f2edfb818b3c4351eb92b846b238003a74948cf7721d4

See more details on using hashes here.

Provenance

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