CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   how to export data from CFX-post (http://www.cfd-online.com/Forums/cfx/68248-how-export-data-cfx-post.html)

Rachel_09 September 11, 2009 08:18

how to export data from CFX-post
 
Hi,

I have a question about how to export data from cfx-post.
I already have *. res file. Then I have the coordinate of the points set (x, y z, in *.txt file). I would like to have the velocity and pressure information at these points. How should I do.

I tried to make a *csv file with the point coordinate file, then import into cfx-post. but It does not work. It says "Error Invalid contents of file for importing data, or type can not be determined".

So what's the problem?
Do anyone have other way to get the flow information of the coordintes?

Any comments will be appreciated.

have a nice day!

ghorrocks September 12, 2009 08:27

Record a session file in CFD-Post where you make a point using XYZ coordinates. Then edit the file to create all of your points and play the session file.

Rachel_09 September 14, 2009 09:51

I have difficult in reading the point coordinates in Session file
 
Hi,

When I play a sessin file to read the point coordinates from the *.txt file. I got the following error message. This is the first time I use session file. What do you think is the reason?

ERROR
CCL parser failed with message:
invalid parameter name: must be non-empty.


The session file is as follows:

# Session file started: 2009/09/10 16:57:39
# CFX-11.0 build 2007.08.09-23.01
# To avoid unnecessary file pre-processing and modifications, include
# COMMAND FILE at the top of your session file.
# If it is not included, the file is assumed to be older and will be
# modified for backward compatibility.
COMMAND FILE:
CFX Post Version = 11.0
END
################################################## #############
$filename="Ployline1.txt"
################################################## #############
open(MYDATA, "qPlane5a1.txt") or die("Error: cannot open file 'qPlane5a1.txt'\n");
my @lines = <MYDATA>;
chomp @lines;
print "@lines";
close MYDATA;
# Session file stopped: 2009/09/10 16:58:25

Please indicate what is the problem and what I should do?

many thanks

Crank-Shaft October 31, 2012 20:25

Hello all,

I am also trying to achieve something similar and extract data into CFD post. I created a point in space using x,y,z coordinates in FLUENT and the data for each time step was written into this however, it becomes a .out format rather than .txt or .csv.

Please comment or provide some guidance on the best way to extract unsteady data for time-dependent plots in CFD Post. Thanks everyone.


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