I am wondering if there is any way to refresh the input data from a dynamic text file in COMSOL for each iteration.

I have attempted to do this in Python, but COMSOL only solves the equation for the first input text file and not for any new files generated. The reason for this is that I have coupled COMSOL with a DEM-based software which feeds the input to COMSOL for each iteration. (same situation for the output to save the results as a text file)

While the connection is established through Python codes, I am unsure if Python can trigger the refresh button for each iteration!!!

Any suggestions would be greatly appreciated.

More Armin Ramezanzad's questions See All
Similar questions and discussions