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

mat2tecplot

Register Blogs Community New Posts Updated Threads Search

Like Tree22Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 20, 2018, 16:07
Default
  #61
New Member
 
wen long
Join Date: May 2012
Posts: 29
Rep Power: 14
wenlong is on a distinguished road
You can a) Set up the field variables in Analyze --> Field Variables dialog
b)Calculate z-vorticity in Analyze -->Calculate Variables. See attached figure here. (I am using Tecplot 360 2018 R2)

Wen Long
Attached Images
File Type: jpg z-voricity-calculation.jpg (109.3 KB, 35 views)
wenlong is offline   Reply With Quote

Old   December 27, 2018, 17:53
Default update to mat2tecplot (v1.7)
  #62
New Member
 
wen long
Join Date: May 2012
Posts: 29
Rep Power: 14
wenlong is on a distinguished road
There was a bug with padding for element center data, so the updated code is attached here. mat2tecplot_v1.7.zip

====How to use======

1) unizp the mat2tecplot.zip file to get mat2tecplot.m

2) Open it in MATLAB or Octave,

3) Type in the command line terminal

help mat2tecplplot
=================

The distribution of this code does not represent any responsibility of Tecplot Inc. Use freely with your own discretion and risk.

Wen
wenlong is offline   Reply With Quote

Old   June 3, 2019, 18:01
Default
  #63
New Member
 
bebo
Join Date: Jun 2019
Posts: 2
Rep Power: 0
pop go is on a distinguished road
Hi Engineers,

I'm trying to simulate fluid flow inside Lid-Driven cavity using MATLAB, and I'm using Tecplot 360 v2018.1.1.87425 on win. 10, 64 bit. And I'm facing a problem with streamtraces while plotting the contour lines the streamtraces didn't match with the contours, they appear as straight lines from the lower left hand corner with no physical meaning for that and they should be curved to show the vortexes and eddies at the corners. I'm attaching the image and the dat file

Any help would be appreciated

Thanks in advance

tecpsi.txt

lid driven cavity.jpg
pop go is offline   Reply With Quote

Old   June 3, 2019, 18:28
Default
  #64
Member
 
Join Date: May 2013
Posts: 61
Rep Power: 13
novedevon is on a distinguished road
You need to have variables loaded to generate the streamlines. The streamlines are being calculated by X&Y values so they are straight lines. If you include variables to represent U/V vector variables the streamlines should properly.
novedevon is offline   Reply With Quote

Old   June 4, 2019, 06:50
Default
  #65
New Member
 
bebo
Join Date: Jun 2019
Posts: 2
Rep Power: 0
pop go is on a distinguished road
Thanks novedevon for the quick reply, I included 2 more variables in the dat file and they are the horizontal and vertical components of the velocity (u,v) to be able to plot streamlines properly.

Thanks a ton
pop go is offline   Reply With Quote

Old   March 3, 2020, 06:04
Default Plotting Line Data
  #66
New Member
 
Join Date: Jan 2020
Posts: 1
Rep Power: 0
HolgerH is on a distinguished road
I tried to convert measured data as plain line data. I used tdata.lines.x for time and tdata.lines.v for the measured data.


Is it possible, that y and z are not "optional" as said in the documentation?



Can someone help here?
HolgerH is offline   Reply With Quote

Old   May 21, 2020, 12:11
Post
  #67
New Member
 
Join Date: May 2020
Posts: 1
Rep Power: 0
XIAOLIN is on a distinguished road
Thanks a lot! Works very well
XIAOLIN is offline   Reply With Quote

Old   October 20, 2020, 03:49
Default how to create the 2-D vector field file?
  #68
New Member
 
He Yuhao
Join Date: Oct 2020
Posts: 1
Rep Power: 0
heyuhao is on a distinguished road
I have matlab data with X Y and the horizontal and vertical velocity components u and v, how can I convert it to tecplot file then I can plot the vector field in tecplot. Thank you !
heyuhao 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



All times are GMT -4. The time now is 21:42.