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

How to Merge/Join Log Files?

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By Dipsomaniac

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 13, 2017, 16:32
Default How to Merge/Join Log Files?
  #1
Member
 
Join Date: May 2017
Posts: 47
Rep Power: 9
LThomes is on a distinguished road
Hello foamers,
During my simulation, I had to pause and resume it 2 times, therefore, I got 3 log files:
Code:
mpirun -np 4 pimpleFoam -parallel > log
mpirun -np 4 pimpleFoam -parallel > log2
mpirun -np 4 pimpleFoam -parallel > log3
Is there anyway I could merge this files into one?

Thanks in advance.
LThomes is offline   Reply With Quote

Old   September 13, 2017, 18:55
Default
  #2
Member
 
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 15
Dipsomaniac is on a distinguished road
Hi LThomas

Use the cat function in terminal

Code:
 cat log log2 log3 > log_combined
Regards,
Brian
LThomes, vivek05 and Liangyuan like this.
Dipsomaniac is offline   Reply With Quote

Old   September 14, 2017, 15:03
Default
  #3
Member
 
Join Date: May 2017
Posts: 47
Rep Power: 9
LThomes is on a distinguished road
Thank you!
LThomes is offline   Reply With Quote

Reply

Tags
file, join, log, merge


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
The udf.h headers are unable to open- in VISUAL STUDIO 13 sanjeetlimbu Fluent UDF and Scheme Programming 4 May 2, 2016 06:38
Problem Reading Fluent Files. Spy-k14 Tecplot 1 April 29, 2015 09:17
UDF help for Rapid compression machine ECM. sanjeetlimbu Fluent UDF and Scheme Programming 0 March 17, 2015 23:45
Writing Case and Data Files Using Journal/Scheme Files svp Fluent UDF and Scheme Programming 0 April 5, 2011 12:04
Problems with result files Kasper CFX 5 December 14, 2006 03:41


All times are GMT -4. The time now is 16:42.