Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Messages: Failed to initialize physics interface
Posted 2025年8月11日 GMT-7 04:19 General, API, User Interface 1 Reply
Please login with a confirmed email address before reporting spam
When I try to load a COMSOL file into Python using "client = mph.start()" and "model = client.load("./test.mph")", I encounter the following error. Some files load without any issues, while others fail. I suspect it is not a license or version problem, but rather an issue caused by specific settings within the file itself. "Even a blank file with no components, only physics(heat transfer in solids) added causes an error when loading.
Traceback (most recent call last): File "java.lang.Thread.java", line 0, in java.lang.Thread.run
Exception: Java Exception
com.comsol.util.exceptions.com.comsol.util.exceptions.FlException: Exception: com.comsol.util.exceptions.FlException: Failed to initialize physics interface. Messages: Failed to initialize physics interface.
Attachments:
Hello Wonbin Song
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.
