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.2.1-py3-none-any.whl (64.9 kB view details)

Uploaded Python 3

File details

Details for the file mph-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: mph-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 64.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for mph-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3ad6276619fc202e7b7d95f874074a941844c636d506cc4772245d28d89c30e9
MD5 c498bd682614e9993c2c9c57619e2c1b
BLAKE2b-256 5a517c48204b360654e2516e6410ca1abca8b8d4b086bf16d5c78316758f396b

See more details on using hashes here.

Supported by

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