CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > Tecplot

How to plot a contour from an excel file in Tecplot?

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 4 Post By scott_rumage
  • 1 Post By zahra.hosseini
  • 1 Post By zahra.hosseini

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 13, 2010, 11:04
Default How to plot a contour from an excel file in Tecplot?
  #1
Member
 
Join Date: Mar 2009
Posts: 43
Rep Power: 17
gholamghar is on a distinguished road
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
gholamghar is offline   Reply With Quote

Old   May 13, 2010, 20:53
Default Plotting contours in Tecplot (unconnected data)
  #2
Senior Member
 
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 17
scott_rumage is on a distinguished road
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
scott_rumage is offline   Reply With Quote

Old   October 13, 2010, 13:47
Default
  #3
New Member
 
Zahra
Join Date: Feb 2010
Posts: 3
Rep Power: 16
zahra.hosseini is on a distinguished road
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 likes this.
zahra.hosseini is offline   Reply With Quote

Old   August 27, 2011, 19:08
Default
  #4
New Member
 
Muhammad reza hassani
Join Date: Apr 2010
Posts: 29
Rep Power: 16
mhassani is on a distinguished road
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
mhassani is offline   Reply With Quote

Old   September 6, 2011, 12:28
Default
  #5
Senior Member
 
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 17
scott_rumage is on a distinguished road
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
scott_rumage is offline   Reply With Quote

Old   September 7, 2011, 22:47
Default
  #6
New Member
 
Zahra
Join Date: Feb 2010
Posts: 3
Rep Power: 16
zahra.hosseini is on a distinguished road
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
huiselilun likes this.
zahra.hosseini is offline   Reply With Quote

Old   March 4, 2016, 08:43
Default Isotherms in Tecplot
  #7
New Member
 
Join Date: Mar 2016
Posts: 1
Rep Power: 0
venki is on a distinguished road
I have the data file which contains x and y location and temperature values for a particular time step. I want to plot temperature contours in Tecplot 360. I did triangulation and got the contours but I want to know how to fix the levels in tecplot. I mean how to choose the levels so that we will have the proper picture of the isotherms.
venki is offline   Reply With Quote

Old   March 4, 2016, 12:18
Default
  #8
Senior Member
 
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 17
scott_rumage is on a distinguished road
I would recommend a review of the Tecplot 360 manual located at this link: http://download.tecplot.com/360/curr...ers_manual.pdf starting on page 178 to resolve your question.

Scott
scott_rumage is offline   Reply With Quote

Old   May 18, 2017, 00:00
Default Loading Excel Data in Tecplot for Contours
  #9
ZAB
New Member
 
Zaka Muhammad
Join Date: Jan 2012
Posts: 6
Rep Power: 14
ZAB is on a distinguished road
I Guess its late, but for others it could be useful.
this is the way you get actual grid and actual data, not interpolated, only limitation is that your data is arranged in rectangular equally spaced grid points
Here is an example, first you need to figure out how large is your data.
say for example you have 6x6 matrix grid points, all you have to do is to add this header to your data tweek it accordingly and save file as .dat file and load in tecplot ... ta da ... you are set to go for contour plot
oh and remember paste your data below from excel and replace all tabs by spaces

Code:
TITLE     = "my excel data"
VARIABLES = "x"
"y"
"contour variable"
ZONE T="Rectangular zone"
 STRANDID=0, SOLUTIONTIME=0
 I=6, J=6, K=1, ZONETYPE=Ordered
 DATAPACKING=POINT
 DT=(SINGLE SINGLE SINGLE )

Last edited by ZAB; May 18, 2017 at 00:04. Reason: missed a point
ZAB is offline   Reply With Quote

Old   February 11, 2021, 14:43
Default
  #10
Member
 
Brandon M
Join Date: Feb 2019
Posts: 38
Rep Power: 7
Brandon_CFD is on a distinguished road
Here is a helpful video that gives in-depth information on how to load Excel data into Tecplot via the Excel Add-In:
https://www.tecplot.com/2021/01/28/t...-excel-add-in/

In particular, see ~17:54 in the video that discusses 2D contour plots with 1 solution variable.
Brandon_CFD 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
Installation of OpenFOAM-1.6 on Ubuntu 9.10 marval OpenFOAM Installation 2 March 17, 2010 09:33
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise mbeaudoin OpenFOAM Installation 20 June 17, 2008 07:43
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 21:51
Tecplot problem of plotting boundary in contour mafoi Tecplot 1 April 5, 2005 07:43


All times are GMT -4. The time now is 17:32.