|
[Sponsors] |
December 9, 2013, 01:55 |
How to plot a 3D XY line?
|
#1 |
New Member
|
Can someone help me to plot a picture like this? I don't know how to prepare the data format. |
|
December 10, 2013, 13:37 |
Plotting a 3D line in Tecplot
|
#2 |
Senior Member
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 16 |
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. |
|
|
|
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 |