MPh-py / MPh

Pythonic scripting interface for Comsol Multiphysics
https://mph.readthedocs.io
MIT License
280 stars 71 forks source link

Mph-py doesn't work with manually loaded to Comsol packages #189

Closed Jristina closed 3 months ago

Jristina commented 3 months ago

Exception: com.comsol.util.exceptions.FlException: Unknown physics interface Messages: Unknown physics interface

Please, fix this, I'd like to use Mph-py with Micromagnetics package!

john-hen commented 3 months ago

I don't know what you're talking about, "manually loaded to Comsol packages". That error is raised by Comsol, not MPh. I don't know how you managed to have a model with an "unknown" physics interface, but MPh does not deal with the physics interfaces anyway. It just tells Comsol to load the model, Comsol then looks at the model file and loads whatever else may be needed. In your case, it fails with that error.

john-hen commented 3 months ago

Closed: not reproducible.