CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Extracting results file to a text file (https://www.cfd-online.com/Forums/cfx/71076-extracting-results-file-text-file.html)

ealatawi December 15, 2009 01:36

Extracting results file to a text file
 
I did simulation using CFX and I want to extract the CFX results file to a readable text file. Is there any comments or suggestion please.

Thanks

ghorrocks December 15, 2009 04:34

Try monitor points or exporting from CFD-Post. Both are covered in the tutorial examples and the documentation.

Josh December 16, 2009 19:15

I like, as Glenn mentioned, creating a monitor point. Pretty easy to do. In CFX-Pre, go to the Output Control. There's a tab at the top labeled "Monitor". In here, there's an option to "Monitor Points and Expressions". Create a new one. The list of standard variables (e.g. absolute pressure) will appear. You can also input an expression (e.g. for drag force, the expression would be force_x@[name of object]). When the Solver is finished running, right click your monitor points and export to a .csv file (these are better than .txt because Excel imports the values in separate columns automatically).

Voila.

darookie December 17, 2009 04:34

If you have several files, you can do it also in batchmode.
Therefore record a sessionfile in cfdpost and then create a .bat file containing:

<Path to bin>\cfdpost.exe -batch <path to sce>\_.sce <path to res>\_.res

bin --> binary folder of your ANSYS distribution
sce --> folder containing your sessionfile
res --> folder containing your resolutionfile

If you start this in cmd you can export data automatically or do any other operation in cfdpost


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