CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   OpenFOAM v2006 supress writing of uniform folder within time folder (https://www.cfd-online.com/Forums/openfoam-programming-development/229742-openfoam-v2006-supress-writing-uniform-folder-within-time-folder.html)

t.teschner August 21, 2020 17:47

OpenFOAM v2006 supress writing of uniform folder within time folder
 
I am developing a customised solver and want to suppress the writing of the uniform/ folder within the time directories (which seems to be new since v2006?!). Simply turning off the runTime.write(); command won't help here, that only suppresses the writing of the flow variables. In essence, I don't want to write anything during the calculation, as I take care of that in a different way elsewhere.

HPE August 21, 2020 17:57

Hi,

- I know it will be an incorrect answer, but I will give a shot: Just increase the controlDict writeTime's time/iteration settings beyond the end time of your simulation?

t.teschner August 22, 2020 02:17

No, I still want to iterate normally through the timesteps, I just don't want to output the solution

t.teschner August 22, 2020 02:26

well, it wasn't so hard to track it down in the end through some debugging, the runTime.run(); function is writing these additional outputs, so I just changed the while() statement to get the desired effect. Just in case someone stumbles upon this thread I leave my answer here.

HPE August 22, 2020 04:38

Quote:

Originally Posted by t.teschner (Post 781062)
No, I still want to iterate normally through the timesteps, I just don't want to output the solution

But the simulation runs through timesteps no matter the interim solutions are written out or not.

Anyways, if you have solved the issue, good. :)

t.teschner August 24, 2020 02:42

Quote:

Originally Posted by HPE (Post 781065)
But the simulation runs through timesteps no matter the interim solutions are written out or not.

Anyways, if you have solved the issue, good. :)

Yes, I wasn't saying your solution is wrong, just not what I was looking for :) Thanks for your comments either way


All times are GMT -4. The time now is 21:40.