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 its native Java API.

MPh brings the dearly missing power of Python to the world of Comsol. It leverages the Java bridge provided by JPype to access the Comsol API and wraps it in a layer of pythonic ease-of-use. The Python wrapper covers common scripting tasks, such as loading a model from a file, modifying parameters, importing data, to then run the simulation, evaluate the results, and export them.

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.

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

MPh-1.1.2-py3-none-any.whl (63.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for MPh-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c0ce930958ccb02c96fa262ce68d7a50746f11bd8f87e9c7da0cccd35bc0c0d1
MD5 d8d01748a43267763c1b3647335ec356
BLAKE2b-256 2ec6db28bacb6a8867fe7c8f8dcec7193360a3830ead25b13ffe2f269a00d01b

See more details on using hashes here.

Supported by

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