CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Extracting results file to a text file

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 15, 2009, 02:36
Default Extracting results file to a text file
  #1
New Member
 
Join Date: Jun 2009
Posts: 8
Rep Power: 17
ealatawi is on a distinguished road
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
ealatawi is offline   Reply With Quote

Old   December 15, 2009, 05:34
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Try monitor points or exporting from CFD-Post. Both are covered in the tutorial examples and the documentation.
ghorrocks is offline   Reply With Quote

Old   December 16, 2009, 20:15
Default
  #3
Senior Member
 
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 18
Josh is on a distinguished road
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.
Josh is offline   Reply With Quote

Old   December 17, 2009, 05:34
Default
  #4
New Member
 
Andrej Hoyningen
Join Date: Jul 2009
Posts: 22
Rep Power: 17
darookie is on a distinguished road
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
darookie is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 16:42.