|
[Sponsors] |
September 21, 2010, 06:09 |
Continue from previous log file
|
#1 |
Member
Bernard Esterhuyse
Join Date: Mar 2009
Location: Pretoria, South Africa
Posts: 50
Rep Power: 17 |
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? Regards |
|
September 21, 2010, 09:06 |
|
#3 |
Member
Bernard Esterhuyse
Join Date: Mar 2009
Location: Pretoria, South Africa
Posts: 50
Rep Power: 17 |
Thanks Laurence, that worked perfectly.
|
|
March 17, 2020, 07:20 |
|
#4 |
New Member
pranay
Join Date: Mar 2020
Posts: 7
Rep Power: 6 |
hi i tried that but it just adding the timesteps to the same file but its not staring from where it stopped, i mean it just starting from begining timestep by adding to the same file where it stopped. is there a way to start simulations from where it stopped?? i mean if the simulations stoped at 0.0106 deltaT but begin deltaT is 0.0002024, i want start simulation from deltaT =0.0106 not from 0.0002024?? can you tell me how to do that..Thanks in advance..
|
|
March 17, 2020, 09:49 |
|
#5 | |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
Hi Pranay,
You just have to adjust the startFrom parameter in your controlDict file to latestTime. Have a look at the documentation : https://cfd.direct/openfoam/user-guide/v7-controlDict/ Quote:
Cheers, Yann |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |
paraview installation woes | vex | OpenFOAM Installation | 15 | January 30, 2011 08:11 |
Installation of OpenFOAM-1.6 on Ubuntu 9.10 | marval | OpenFOAM Installation | 2 | March 17, 2010 09:33 |
Statically Compiling OpenFOAM Issues | herzfeldd | OpenFOAM Installation | 21 | January 6, 2009 10:38 |
EULER-Forward-Method | freak | Main CFD Forum | 4 | June 12, 2001 10:19 |