https://linen.dev logo
Hi everyone, is there some magic trick to stopping...
# programming
j
Hi everyone, is there some magic trick to stopping and restarting a pimple time run in an outer while loop? I'm trying to program a selective frequency damping code that iteratively determines the correct control coefficients (by rerunning a transient simulation for a couple of times) and applying them, but when I set the endTime to the current time (with runTime.setEndTime()), I get errors in MPI. Alternatively, if I add function objects, it keeps on running without printing or exporting anything. I had expected and hoped using this endTime function would be similar to just modifying endTime in the controlDict during a transient run.