Zone Styles / Plot settings definition in file header

Creating Tecplot binary data files

Moderators: davetaflin, salter, steve, jprenaud, straton, Chris Idso

MicFX
Newbie
Posts: 2
Joined: Fri Jan 31, 2014 8:50 am
Location: Germany

Zone Styles / Plot settings definition in file header

Postby MicFX » Sat Feb 01, 2014 4:24 pm

Hi guys,

I am exporting my Matlab calculations in a ".dat File" to visualize the results with Tecplot. Right now I have to set up the following things manually every time when I am importing my .dat files:

"Zone Styles":
- Vector > Vector Type > "Anchor at Midpoint"
- Points > Points To Plot > "All Cell Centers"

"Plot" settings:
- Vector > Length > Relative(Grid Units/Magnitude): "2"
- Vector > Arrowheads > Fraction of Length: "0"

My file header looks like that:

Title = "Test"
VARIABLES = "X" "Y" "Z" "x_HS" "y_HS" "z_HS"
Zone T= "Layer 1", Nodes=5531, Elements=5543, Zonetype=FEQUADRILATERAL, VARLOCATION=([4-6]=CELLCENTERED)

Can you help and tell me, what I have to add to the file header to implement the 4 things mentioned above? Thanks in advance!!

Svetlana
Expert
Posts: 93
Joined: Sun Dec 22, 2013 3:08 pm
Location: Australia
Contact:

Re: Zone Styles / Plot settings definition in file header

Postby Svetlana » Sun Feb 02, 2014 9:45 pm

I'm afraid plot style and the like are not defined in the data; you may want to File > Save layout. After opening a saved layout, you can go to File > Load Data Files to load a new data file.

User avatar
Scott Rumage
Tecplot Employee
Posts: 45
Joined: Mon Nov 20, 2006 2:28 pm
Location: Seattle
Contact:

Re: Zone Styles / Plot settings definition in file header

Postby Scott Rumage » Tue Feb 04, 2014 2:55 pm

You might also try the mat2tecplot converter found in CFD Online forum at this link: http://www.cfd-online.com/Forums/tecplo ... cplot.html to see if it is helpful for moving your Matlab data into Tecplot.

MicFX
Newbie
Posts: 2
Joined: Fri Jan 31, 2014 8:50 am
Location: Germany

Re: Zone Styles / Plot settings definition in file header

Postby MicFX » Wed Feb 05, 2014 9:18 am

Too bad an implementation of those settings is not possible in the code. To save it as a Layout file is better than nothing and a pretty reasonable solution for now. Thank you very much for your help so far!


Return to “TecIO Library”

Who is online

Users browsing this forum: No registered users and 1 guest