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

export expression from CFX post

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 19, 2013, 08:55
Default export expression from CFX post
  #1
New Member
 
oliver warlow
Join Date: Jun 2013
Posts: 4
Rep Power: 4
owarlow is on a distinguished road
Hi,
I want to be able to export (to .csv) single values calculated using CEL expressions in CFX post.

For example if I have the following expression:

Force1 = force_z_Coord1()@Body1

I would like to export just the value of 'Force1'. If i use export in CFX post I seem to only be able to export a variable at a location i.e. it will be exported for every cell of the mesh on the location 'Body1'.
I assume i must be missing something quite simple where I can export single parameter values?

thanks
owarlow is offline   Reply With Quote

Old   August 19, 2013, 09:37
Default
  #2
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 522
Rep Power: 11
Lance is on a distinguished road
You should be able to modify this PERL script to do what you want.
It exports 'count()@Default Domain' to a .txt file, just copy/paste it into the command editor.

Code:
!$outfile = "tmp.txt"; 
!open(OUT, ">$outfile"); 
!$nodes = count("Default Domain"); 
!print OUT $nodes; 
!close(OUT);
Or make a table with your CEL expression, save as .csv, done.
Lance is offline   Reply With Quote

Old   August 19, 2013, 10:36
Default
  #3
New Member
 
oliver warlow
Join Date: Jun 2013
Posts: 4
Rep Power: 4
owarlow is on a distinguished road
Thanks, I think saving a csv from a table will be the most useful one for me.
cheers
oli
owarlow is offline   Reply With Quote

Old   April 24, 2014, 19:30
Default Querry for CFX post.
  #4
New Member
 
Manpreet
Join Date: Jan 2014
Posts: 14
Rep Power: 3
manpreet is on a distinguished road
Hello everyone,
I need help for plotting cross channel plots of absolute flow angle in ANSYS CFX Post. Also how to create plot for pressure ratio vs blade span (from hub to shroud tip).
Thanks
manpreet_singh_er@yahoo.co.in
manpreet is offline   Reply With Quote

Reply

Tags
cfx, export, expressions, parameters

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 19:44
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 07:25
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
how to export icem mesh to cfx? Michael CFX 1 May 3, 2008 13:35
Expression in cfx selim CFX 13 September 5, 2007 13:09


All times are GMT -4. The time now is 12:02.