Merging history files with restart case
I have a doubt regarding the history files generated-
Suppose I am running a case from iteration=0 to iteration=2000. I get a history.dat file and I save it. After that I run my case again using the restart_flow.dat file. Again I get a new history file starting from iteration=0 which is essentially iteration=2001. Now I get two history files. How can I merge these two files so that I can get only one convergence plot? Can we do this in SU2 or it can be done in post-processing software? Note- I am using tecplot for post-processing. |
Hi! It's currently not possible from within SU2 to say that the new history file should append to the existing history file. You have to write to different history files, and then you can concatenate them afterwards by getting the header of the first file and adding the body of all files and writing to a concatenated history file simply by using:
Code:
(head -1 history_00001.csv ; tail -n +2 -q history*.csv ) > history_all.txt |
Really thank you.
|
All times are GMT -4. The time now is 07:23. |