|
[Sponsors] |
How do i make SU2 print ONLY the history files and nothing else? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 23, 2021, 02:54 |
How do i make SU2 print ONLY the history files and nothing else?
|
#1 |
New Member
tobi
Join Date: Jan 2021
Posts: 4
Rep Power: 5 |
I want to make su2 to only print the history file and restart file, I do not want it to write the solution file. Also if i call SU2 multiple times, is there a way for me to make it append my already exiting history.csv file rather than make a new one everytime?
|
|
September 23, 2021, 05:54 |
|
#2 | |
Member
Ravi
Join Date: May 2017
Posts: 32
Rep Power: 9 |
Quote:
You can simply not print any other output files. That should solve the issue. And regarding appending the history file on calling SU2 multiple times, that is something that SU2 already does from what I understand. It just overwrites the same file if the file name remains the same. Hope this solves your issue. |
||
September 23, 2021, 06:15 |
|
#3 | |
New Member
tobi
Join Date: Jan 2021
Posts: 4
Rep Power: 5 |
Quote:
Hey, thanks for the quick reply, but how do i not print any output files. and also what im doing is that im conducting the simulation several times from another python program using the restart files. But everytime i restart the simulation a new history file is created. Is there any way i can append the first file that was created? |
||
September 23, 2021, 06:22 |
|
#4 |
Member
na
Join Date: Jul 2018
Posts: 90
Rep Power: 8 |
Hi Tobi,
a) We use restart-file and solution-file for the same thing. The former is written by a simulation and the latter is read for restarts. But they are the same file so-to-say. I guess you dont want to write a visualization file for Paraview/Tecplot. In that case set OUTPUT_FILES= RESTART (OUTPUT_FILES= RESTART, PARAVIEW_MULTIBLOCK e.g. would write output for visualization). For more info please look here https://su2code.github.io/docs_v7/Custom-Output/ b) Unfortunately I think there is currently no way to append to a history file. It also always starts to count from iteration number 1 each time. hope that helps, Tobi (as well) |
|
September 23, 2021, 06:34 |
|
#5 | |
New Member
tobi
Join Date: Jan 2021
Posts: 4
Rep Power: 5 |
Quote:
Hey, thanks for the quick reply. ill try that out and let you know if it works! |
||
September 23, 2021, 18:12 |
|
#6 | |
Senior Member
|
Quote:
You can write a shell script like what I attached to do this. If you set OUTPUT_WRT_FREQ= 10000000 (large number) it will write only when convergence criteria is met but then you can remove them at each of your runs. Also I think you can do the similar thing with FADO. For that you need to put up a python script. Refer to FADO on github. You can find the mesh on SU2's testcases: https://github.com/su2code/TestCases.../rans/naca0012
__________________
since every contribution counts, always good ones are appreciated! Last edited by pdp.aero; September 24, 2021 at 01:39. |
||
September 27, 2021, 04:01 |
|
#7 |
New Member
tobi
Join Date: Jan 2021
Posts: 4
Rep Power: 5 |
Hey, thanks for the reply. I'll try it out!
|
|
Tags |
output data, printing, su2 |
|
|