CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

Continue from previous log file

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 21, 2010, 05:09
Default Continue from previous log file
  #1
Member
 
Bernard Esterhuyse
Join Date: Mar 2009
Location: Pretoria, South Africa
Posts: 50
Rep Power: 8
bernarde is on a distinguished road
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
bernarde is offline   Reply With Quote

Old   September 21, 2010, 05:19
Default
  #2
Senior Member
 
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 14
l_r_mcglashan will become famous soon enough
Use:

>>

instead of

>

Test it though to be sure...
__________________
Laurence R. McGlashan :: Website
l_r_mcglashan is online now   Reply With Quote

Old   September 21, 2010, 08:06
Default
  #3
Member
 
Bernard Esterhuyse
Join Date: Mar 2009
Location: Pretoria, South Africa
Posts: 50
Rep Power: 8
bernarde is on a distinguished road
Thanks Laurence, that worked perfectly.
bernarde is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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 09:19


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