MPh-py / MPh

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

`model.solve()` starts but never ends, does not use resources #167

Closed mmichelis closed 5 months ago

mmichelis commented 5 months ago

Hey all,

I was just wondering if this issue happened before, the model loads perfectly, I can evaluate expressions of the already solved solution, but when I try to recompute the solution with model.solve(), it seems to loop forever. The COMSOL solve itself should take 13s on a dynamic FSI problem of a 2D circle being pushed by inflow, but I've been waiting for 10min already and still have not seen the model.solve() finish. When looking at the resources used by the Linux PC, the python or comsol processes are not really using anything, so I suspect it never even started the computation. Has this happened before? Did I miss some crucial points in the tutorial?

Cheers, Mike

mmichelis commented 5 months ago

This seemed to be a case-specific issue, creating a COMSOL case from scratch separately seems to resolve this problem. I will try to look more into detail what was the issue with the first MPH file.