CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CCM+ (https://www.cfd-online.com/Forums/star-ccm/)
-   -   Export plane section data to Tepclot or csv (https://www.cfd-online.com/Forums/star-ccm/92759-export-plane-section-data-tepclot-csv.html)

eRzBeNgEl September 24, 2011 07:44

Export plane section data to Tepclot or csv
 
Hi guys,

how can I export just the data of a section plane to tecplot 2d contour plot or a csv File.

Following would be best:

Coordinates X Y Z, Static Pressure, Total Pressure, etc...

I tried it with a XYZ Table and exported it as a csv Table. When I try to import this to tecplot it always offers a XY Plot. I just want to get a Contour plot, not a XY Plot. If I select a contour plot tecplots shows no contour. It must have to do something with my input data. You can find an csv example in the following:

Quote:

Title= "test"
VARIABLES= "Absolute Pressure (Pa)" "Deviation_S120" "Entropy" "Inz_Dev_relativ" "Inzidenz_S120" "Relative Velocity[i] (m/s)" "Relative Velocity[j] (m/s)" "Relative Velocity[k] (m/s)" "Relative Velocity: Magnitude (m/s)" "Rothalpy (J/kg)" "Total Pressure (Pa)" "Velocity: Magnitude (m/s)" "Velocity[i] (m/s)" "Velocity[j] (m/s)" "Velocity[k] (m/s)" "Static Pressure (Pa)" "X (m)" "Y (m)" "Z (m)"
Zone I=29
1.012619e+005 -8.402044e+001 8.660738e+003 2.704381e-001 -2.446844e+001 -6.048732e+000 1.662400e+001 -1.600665e+001 2.385702e+001 3.007872e+005 1.981974e+002 2.179652e+001 7.823819e+000 -1.255640e+001 -1.600665e+001 -6.310109e+001 2.649529e-002 1.293916e-002 -1.261799e-002
1.012619e+005 -8.402044e+001 8.660738e+003 2.704381e-001 -2.446844e+001 -6.048732e+000 1.662400e+001 -1.600665e+001 2.385702e+001 3.007872e+005 1.981974e+002 2.179652e+001 7.823819e+000 -1.255640e+001 -1.600665e+001 -6.310109e+001 2.640790e-002 1.311879e-002 -1.320353e-002
Thanks for help

jfcorbett September 24, 2011 08:37

What attachment?

eRzBeNgEl September 24, 2011 09:22

sorry, update :-)

jfcorbett September 25, 2011 12:49

The example you show: is this what you want to obtain? Or is it what you have, and you want to convert this to some other format?

CSV stands for Comma-Separated Values. The values in your example aren't separated by commas, but by space delimiters, so technically it isn't really CSV.

eRzBeNgEl September 26, 2011 02:17

The example is what I have. The comma is for tecplot not necessary, but of course you´re also right, the comma is the usual seperator in a csv file

scott_rumage September 26, 2011 18:54

Contour plots in Tecplot
 
One can make a contour plot in Tecplot only after the program is informed of the connectivity of the data. In other words -- for you the variables X, Y, and Z have a spatial relationship (and the other variables have different meanings), but Tecplot does not assume a relationship between the data, and therefore it must be informed of the spatial relationship (or connectivity) between X,Y, and Z.

One can create the connectivity for data in Tecplot as described in this thread: http://www.cfd-online.com/Forums/mai...e-tecplot.html

Regards,
Scott


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