Replies: 4 comments 3 replies
-
I guess you'll have to figure out what commands to call that correspond to clicking that "Refresh" button in the Comsol GUI. See #86 for guidance. Please note that MPh itself has very little to do with any of that. It's just a scripting interface. It does not solve the model, Comsol does. Calling |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for the answer.
Now, can I use it based on something you explained in "Access the full Comsol API" to force COMSOL to read the text file in each iteration? Thanks, |
Beta Was this translation helpful? Give feedback.
-
I appreciate your help. THANK YOU. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I want to update the COMSOL input and output in each iteration. The input is a dynamic text file, with data that varies in each iteration. On the other hand, I have asked COMSOL to generate a text file as output. However, when I use model.solve('Study 1') in each step, mph cannot update the input and output, and only solves the problem for the data from the first step.
Is there any way to solve this issue using mph?
I am stuck on this, and any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions