Skip to main content

Pythonic scripting interface for Comsol Multiphysics

Project description

Pythonic scripting interface for Comsol Multiphysics®

Comsol is a commercial software application that is widely used in science and industry for research and development. It excels at modeling almost any (multi-)physics problem by solving the governing set of partial differential equations via the finite-element method. It comes with a modern graphical user interface to set up simulation models and can be scripted from Matlab® or via its native Java API.

This library brings the dearly missing power of Python to the world of Comsol. It leverages the universal Python-to-Java bridge provided by JPype to access the native API, and wraps it in a layer of pythonic ease-of-use. The Python wrapper only covers common scripting tasks, such as loading a model from a file, modifying some parameters, running the simulation, to then evaluate the results. Though the full functionality is available to those willing to drop down to the pythonized Java layer underneath.

Comsol models are marked by their .mph file extension, which stands for multi-physics. Hence the name of this library. It is open-source and in no way affiliated with Comsol Inc., the company that develops and sells the simulation software.

Find the full documentation on Read-the-Docs.

release downloads license documentation

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

MPh-0.9.0-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file MPh-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: MPh-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for MPh-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5fda9ef2cae8d56c7b1fb884d325292de8a3b801fb19f81076f85bd1ae206684
MD5 b50076be30869ba1cc14b3cd66afd6e6
BLAKE2b-256 84ba9713f9c39c7e074d9351b67203ebc471ff60feb477fb453029548e5c03f1

See more details on using hashes here.

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