CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   Continue from previous log file (

bernarde September 21, 2010 05:09

Continue from previous log file
Hi all

I am look for a way to continue from my previous log file. Suppose I run a simulation for 2000 iteratins, using for example simpleFoam > log.

The simulation completes, and now I want to run for an additional 1000 iterations. Is there a way I can add these iterations to the first log file, or do I have to create an additional log file? If I run simpleFoam > log again, it overwrites the original log file, and the new one is only from iteration 2000 to 3000. I can do simpleFoam > log2, but then I have two logfiles, and I have to combine them to view residuals etc.

Is there a command to have the original log file appended with the new run data?


l_r_mcglashan September 21, 2010 05:19



instead of


Test it though to be sure...

bernarde September 21, 2010 08:06

Thanks Laurence, that worked perfectly.

All times are GMT -4. The time now is 03:07.