*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][docs].
[Comsol]: https://www.comsol.com
[JPype]: https://github.com/jpype-project/jpype
[docs]: https://mph.readthedocs.io
Raw data
{
"_id": null,
"home_page": null,
"name": "MPh",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "Comsol, multiphysics, physics, finite elements, computer simulation",
"author": "John Hennig",
"author_email": null,
"download_url": null,
"platform": null,
"description": "\ufeff*Pythonic scripting interface for Comsol Multiphysics*\r\n\r\n[Comsol] is a commercial software application that is widely used in science\r\nand industry for research and development. It excels at modeling almost any\r\n(multi-)physics problem by solving the governing set of partial differential\r\nequations via the finite-element method. It comes with a modern graphical user\r\ninterface to set up simulation models and can be scripted from Matlab or its\r\nnative Java API.\r\n\r\nMPh brings the dearly missing power of Python to the world of Comsol. It\r\nleverages the Java bridge provided by [JPype] to access the Comsol API and\r\nwraps it in a layer of pythonic ease-of-use. The Python wrapper covers common\r\nscripting tasks, such as loading a model from a file, modifying parameters,\r\nimporting data, to then run the simulation, evaluate the results, and export\r\nthem.\r\n\r\nComsol models are marked by their `.mph` file extension, which stands for\r\nmulti-physics. Hence the name of this library. It is open-source and in no way\r\naffiliated with Comsol Inc., the company that develops and sells the simulation\r\nsoftware.\r\n\r\nFind the full [documentation on Read-the-Docs][docs].\r\n\r\n[Comsol]: https://www.comsol.com\r\n[JPype]: https://github.com/jpype-project/jpype\r\n[docs]: https://mph.readthedocs.io\r\n",
"bugtrack_url": null,
"license": null,
"summary": "Pythonic scripting interface for Comsol Multiphysics",
"version": "1.3.1",
"project_urls": {
"Documentation": "https://mph.readthedocs.io",
"Source": "https://github.com/MPh-py/MPh"
},
"split_keywords": [
"comsol",
" multiphysics",
" physics",
" finite elements",
" computer simulation"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "71bfff27a123ef0b8121cba0db63f00ba680c0fb6a3001831fc182c460afd980",
"md5": "f8a10656fa64c9b38ef4afc78c98339b",
"sha256": "4aa1e0fefbee537aff8a5932dc8436e156d99cff578a9992f26bb7c44179bad5"
},
"downloads": -1,
"filename": "mph-1.3.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f8a10656fa64c9b38ef4afc78c98339b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 65891,
"upload_time": "2025-11-07T21:35:04",
"upload_time_iso_8601": "2025-11-07T21:35:04.429945Z",
"url": "https://files.pythonhosted.org/packages/71/bf/ff27a123ef0b8121cba0db63f00ba680c0fb6a3001831fc182c460afd980/mph-1.3.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-11-07 21:35:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "MPh-py",
"github_project": "MPh",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "mph"
}