|
[Sponsors] |
Deletion of the solution files created by SU2 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 17, 2021, 02:44 |
Deletion of the solution files created by SU2
|
#1 |
Senior Member
Arijit Saha
Join Date: Feb 2019
Location: Singapore
Posts: 132
Rep Power: 7 |
Hello everyone,
It may sound very basic to some people but I'm wondering how can the solution files created by SU2 be deleted using the terminal in Ubuntu? Like in OpenFoam the command is >> foamListTimes -rn. So, in SU2 what can be the command? I searched but didnt find any fitting solution. Doing it manually to select the files and delete is pretty unprofessional in my knowledge. So, any kind of help will be really appreciable. |
|
July 19, 2021, 05:33 |
|
#2 | |
Member
Ravi
Join Date: May 2017
Posts: 32
Rep Power: 9 |
Quote:
Were you able to delete them by using the simple rm command, and then selecting the necessary solution files? Ex: Deleting 10000 surface flow files from the 1st to the 10000th iteration in the vtk format would look like this: rm surface_flow_{00000..10000}.vtk I am unfortunately unaware of any default SU2_SOL commands that do the same function. Maybe a more experienced user can help in that regard. Hope this method helps. |
||
July 23, 2021, 05:38 |
|
#3 |
Member
na
Join Date: Jul 2018
Posts: 90
Rep Power: 8 |
Hi @ari003,
as @raviramesh10 said you have to just use the regular Code:
rm <yourFile> Code:
rm solution_*.dat Note though that SU2 of course overwrites files, so in case you re-run the same case in the same directory, you will have the correct latest files. You can e.g. check the time-stamp of your files in a directory with Code:
ls -l |
|
July 23, 2021, 05:54 |
|
#4 |
Senior Member
Arijit Saha
Join Date: Feb 2019
Location: Singapore
Posts: 132
Rep Power: 7 |
Thanks a lot to both of you.
It worked guys... |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SU2 v 7.0.2 not writing solution files | CarlosLozano | SU2 | 18 | August 19, 2021 10:43 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 14:43 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 08:21 |
OpenFOAM15 paraFoam bug | koen | OpenFOAM Bugs | 19 | June 30, 2009 11:46 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 13, 2001 00:19 |