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

How to plot a 3D XY line?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 9, 2013, 01:55
Default How to plot a 3D XY line?
  #1
New Member
 
Join Date: Jun 2011
Posts: 14
Rep Power: 14
sunset is on a distinguished road
Send a message via MSN to sunset

Can someone help me to plot a picture like this?
I don't know how to prepare the data format.
sunset is offline   Reply With Quote

Old   December 10, 2013, 13:37
Default Plotting a 3D line in Tecplot
  #2
Senior Member
 
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 16
scott_rumage is on a distinguished road
Your question is a basic one, and the answer depends on what you are really trying to achieve. So I will show a simple Tecplot format, and refer you to the user manual here: http://download.tecplot.com/360/current/tpum.pdf to makes plots of increasing complexity.

The 3-D plot you show would have six zones in Tecplot – one for each line. To create one of the lines (or zones) you would have a data file similar to what is found on page 128 of the Tecplot data format manual located here: http://download.tecplot.com/360/current/dataformat.pdf .

Here is an example for the creation of one of the six lines.

TITLE = "Example: Simple 3D Line"
VARIABLES = "X", "Y", "Z", "Density"
ZONE I=4, J=1, K=1, DATAPACKING=POINT
1.0 2.0 1.0 2.21
2.0 2.1 1.0 5.05
3.0 2.2 1.0 7.16
4.0 3.0 1.0 3.66

This data file is in a Tecplot ASCII format (*.dat), and can be directly loaded in Tecplot via the Tecplot data loader.

The next step would be to sequentially load in the remaining 5 lines (or data sets) into Tecplot 360 and create the plot.


BTW … the default view for Tecplot 360 for 3-D plots is to not have the XYZ axis show for a volume plot. To show the XYZ axis go to Plot>>Axis and click on “Show Axis” for each dimension.
scott_rumage 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
8x icoFoam speed up with Cufflink CUDA solver library kmooney OpenFOAM Running, Solving & CFD 42 November 6, 2012 11:37
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32
[blockMesh] BlockMeshmergePatchPairs polyTopoChanger benru OpenFOAM Meshing & Mesh Conversion 3 June 29, 2008 21:24


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