|
[Sponsors] |
December 15, 2009, 02:36 |
Extracting results file to a text file
|
#1 |
New Member
Join Date: Jun 2009
Posts: 8
Rep Power: 17 |
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 |
|
December 15, 2009, 05:34 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
Try monitor points or exporting from CFD-Post. Both are covered in the tutorial examples and the documentation.
|
|
December 16, 2009, 20:15 |
|
#3 |
Senior Member
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 18 |
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. |
|
December 17, 2009, 05:34 |
|
#4 |
New Member
Andrej Hoyningen
Join Date: Jul 2009
Posts: 22
Rep Power: 17 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM Install Script | ljsh | OpenFOAM Installation | 82 | October 12, 2009 12:47 |
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise | mbeaudoin | OpenFOAM Installation | 20 | June 17, 2008 07:43 |
Export CFD Solver results to text file format | Maik | Main CFD Forum | 2 | May 23, 2008 02:34 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |
Results saving in CFD | hawk | Main CFD Forum | 16 | July 21, 2005 21:51 |