CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Tecplot (http://www.cfd-online.com/Forums/tecplot/)
-   -   How to plot a contour from an excel file in Tecplot? (http://www.cfd-online.com/Forums/tecplot/76081-how-plot-contour-excel-file-tecplot.html)

gholamghar May 13, 2010 10:04

How to plot a contour from an excel file in Tecplot?
 
Hello
I have an excel file with three columns,first column is x coordinate,second column is y coordinate,third column is values of stream function in fluid,i need to plot contours of stream function.i successfully import the data with excel loader,but when i choose contours in the sidebar nothing happens.could anybody give me an step by step guide on how to plot contours of stream function from my excel file?
(I have read some help files but I couldn't make it to draw contours in tecplot.)

(is there any syntax or commands that i can add to my fortran code so that it creates a tecplot file (plt) and there is no need to insert data from an excel file?)
Thanks in advance

scott_rumage May 13, 2010 19:53

Plotting contours in Tecplot (unconnected data)
 
Gholamghar,

Tecplot is unable to create a contour plot from data that is "unconnected" (which is what Excel data are). One can connect data in Tecplot a variety of ways. Once Tecplot understands the connectivity of the data, then it will be able to produce the contour.

Option 1. -- If the data are 2D one can triangulate via a method described in this "Getting Started" tutorial video: http://download.tecplot.com/focus/tu...deo/index.html

Option 2. -- If the data are on a regular XY grid, one can create a grid in Tecplot Data>>Create Zone>>Rectangular and then interpolate the data onto the newly created grid Data>>Interpolate

Option 3. -- If the data are 3D one can compile the 3D triangulation add-on found at this link: http://www.tecplottalk.com/addons.php the triangualtion is the 3rd add-on item listed.

Option 4. -- Help in creating output from your Fortran program to a Tecplot .plt is found at this link for the TecIO library: http://download.tecplot.com/tecio/ We also have documentation of the Tecplot data format at this link: http://www.tecplot.com/Support/Documentation.aspx

We also have a recorded training session at this link: http://www.tecplottalk.com/viewtopic.php?t=948

Finally search on www.tecplottalk.com for additional help/methods for plotting your results with Tecplot.

Cheers,
Scott

zahra.hosseini October 13, 2010 12:47

I created a rectangular grid for my xy data, but when I interpolate the data, it interpolates the data from the new grid on my previous ordered data. I mean when I interpolate data, all the values both on the new grid and my ordered data changes to 0.

mhassani August 27, 2011 18:08

I have the same problem as zahra. When I interpolate the data it sets them to zero. I don't know how it works. If U found out how to solve it please let me know. thanks

regards

scott_rumage September 6, 2011 11:28

This link on TecplotTalk http://tecplottalk.com/bb/viewtopic.php?p=4169 gives a detailed example of the interpolation of Excel data onto a XY grid in Tecplot (option 2 above), and a subsequent contour plot.

Regards,
Scott

zahra.hosseini September 7, 2011 21:47

Muhammad reza,

I triangulated my data before interpolating (go to data>triangulate). Tecplot generates an automatic grid on your domain and interpolates your data on it.

If you want to keep your original grid, you need to define it for Tecplot otherwise Tecplot won't understand the connections betweend the nodes.

Zahra


All times are GMT -4. The time now is 04:01.