CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   How to save a column of data from console a text file? (https://www.cfd-online.com/Forums/main/207652-how-save-column-data-console-text-file.html)

ama294 September 29, 2018 20:52

How to save a column of data from console a text file?
 
Dear All,
Fluent has finished iteration and I forgot to enable the report file of the thrust. The thrust for all the iteration is shown in the console. Is there any way to write or save the thrust (it is in the 9th column in the console) to a text file

Thank you,
Aziz

pbrady2013 September 30, 2018 19:20

Standard *NIX utilities
 
My personal gotos are a combination of grep and awk for linux. cut should also work. You could write your own parser in your favourite language


On Windows the longer method is to use a text editor to strip out the headers and then a spreadsheet can load delimitated files.


Hope that helps,
-pete

ama294 September 30, 2018 20:43

Thank you Peter for your response. The Fluent run on a cluster (Forge) and for some reason, I was not able to copy and past a large number of iterations. Anyway, I thought there is a TUI command that will do that.

Thanks
Aziz


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