|
[Sponsors] |
How to plot variable along different vertical lines |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 9, 2015, 07:23 |
How to plot variable along different vertical lines
|
#1 |
New Member
Join Date: Jul 2013
Posts: 28
Rep Power: 13 |
Hi
I have a .dat file with x, y, and velocity values in 1st, 2nd, and 3rd column respectively. I can import this to Tecplot and it looks like this https://imgur.com/q2uIerM Now, I want to plot the velocity vectors along different vertical lines at x = 10, 20 ,30, 40, 50 for a Y range of 0 - 100. It feels like it should be simple, but I am using Tecplot for the first time. So can't figure it out. Can anyone help. Thanks a lot. I am using Tecplot 360 2014. |
|
October 22, 2015, 19:37 |
|
#2 |
New Member
Matthew Hjelm
Join Date: Oct 2015
Location: Newcastle, Wa
Posts: 3
Rep Power: 11 |
It is possible to change the spacing of your vectors by using the I,J,K skip feature. Go into the "Zone Style" dialog and the "Points" tab. In there you can change the "Index Skip" which will skip the cells that you do not want drawn. You can see in the attachment that I set up my vector field and only have the vectors starting every 7th cell in the x direction. You can then also change where the vectors are originating from using the "Vector" Tab in "Zone Style". Depending on how your cells line up with the x values that you need, you might be able to make it work. Let me know how it works.
Matthew Hjelm |
|
October 23, 2015, 01:15 |
|
#3 | |
New Member
Join Date: Jul 2013
Posts: 28
Rep Power: 13 |
Quote:
I am now able to plot the vectors along several vertical lines using the skip function, however the vector lengths are not as per their magnitude as seen in the legend. In ur pic however, it looks like the vector length is as per their magnitude. Can you suggest something. Sorry for this follow-up question. |
||
October 23, 2015, 12:36 |
|
#4 | |
New Member
Matthew Hjelm
Join Date: Oct 2015
Location: Newcastle, Wa
Posts: 3
Rep Power: 11 |
Quote:
If you go into plot>>vector>>variables, you should be able to change your vectors to have what ever i,j (or in tecplot it is u,v) components you want. It looks like you have the contour as "V-position". I'm not sure how you might want to set up your vectors to display that data, maybe V-position as the new v component and make your current v component as the new u component. Hope that helps. Matthew Hjelm |
||
October 24, 2015, 03:09 |
|
#5 | |
New Member
Join Date: Jul 2013
Posts: 28
Rep Power: 13 |
Quote:
Hey, thanks so much. You were correct that I had chosen the wrong vectors to display, hence the incorrect vector length. I changed the vector variables to Vx and Vy, and now they are looking exactly as I wanted. I am also attaching a pic of the same. Thanks a lot |
||
Tags |
tecplot 360, velocity field |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Foam warnings - related to swak4Foam | Salam-H | OpenFOAM Community Contributions | 20 | August 2, 2015 16:40 |
error in COMSOL:'ERROR:6164 Duplicate Variable' | bhushas | COMSOL | 1 | May 30, 2008 05:35 |
Plot variable for the cylindrical sector | Cristiano | FLUENT | 0 | April 4, 2008 10:34 |
Replace periodic by inlet-outlet pair | lego | CFX | 3 | November 5, 2002 21:09 |
how to plot 3D lines | shango | Main CFD Forum | 0 | August 10, 2002 22:56 |