CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > CONVERGE

merge vof_spray.out file using catc script

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

LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2022, 02:33
Post merge vof_spray.out file using catc script
New Member
Aman Kumar
Join Date: May 2022
Posts: 1
Rep Power: 0
amankumar7 is on a distinguished road

I'm trying to merge two vof_spray.out file ( created due to 2 restart) using linux catc script.

I edited the file name in catc script line 121.

120 # Files with unknown lines of headers:
121 set files_unknown = ( vof_spray )

Since, vof_spray.out doesn't have header like other output files, it merges file with some loss of data. Also, while running simulation using merged file, I get following error -

in vof_spray.dat. Cell_Count should be followed by an integer

Is there a fast way to merge this big file?

amankumar7 is offline   Reply With Quote

Old   May 20, 2022, 18:25
New Member
psrikanth's Avatar
Praveen Srikanth
Join Date: May 2021
Location: Convergent Science, Madison, WI
Posts: 19
Rep Power: 3
psrikanth is on a distinguished road

The vof_spray.out file has two lines of header (the first two lines which are commented out in the file). You could either change the catc script accordingly. I am not sure how the catc script would handle the additional lines at the start of each time in vof_spray.out. Or if you are a linux user, you could try to manually merge those files with sed (to remove the first two lines from restart outputs) and cat (to combine the files).

psrikanth is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 09:07
[] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
[] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 16:02
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24

All times are GMT -4. The time now is 22:36.