360 Getting Started
360 Getting Started
Tecplot 360TM Getting Started Manual is for use with Tecplot 360TM Version 2022 R1.
Copyright © 1988-2022 Tecplot, Inc. All rights reserved worldwide. Except for personal use, this manual may not be reproduced, transmitted, transcribed, stored in a retrieval system, or translated in any form, in whole or in part, without the express written
permission of Tecplot, Inc., 3535 Factoria Blvd, Ste. 550; Bellevue, WA 98006 U.S.A.
The software discussed in this documentation and the documentation itself are furnished under license for utilization and duplication only according to the license terms. The copyright for the software is held by Tecplot, Inc. Documentation is provided for
information only. It is subject to change without notice. It should not be interpreted as a commitment by Tecplot, Inc. Tecplot, Inc. assumes no liability or responsibility for documentation errors or inaccuracies.
Tecplot, Inc.
Post Office Box 52708
Bellevue, WA 98015-2708 U.S.A.
Tel:1.800.763.7005 (within the U.S. or Canada), 00 1 (425) 653-1200 (internationally)
email: [email protected], [email protected]
Questions, comments or concerns regarding this document: [email protected]
For more information, visit http://www.tecplot.com
LAPACK 1992-2007 LAPACK Copyright © 1992-2007 the University of Tennessee. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistribu-
tions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer listed in this license
in the documentation and/or other materials provided with the distribution. Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written per-
mission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ʺAS ISʺ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. The University
of Tennessee. All Rights Reserved. SciPy 2001-2009 Enthought. Inc. All Rights Reserved. NumPy 2005 NumPy Developers. All Rights Reserved. VisTools and VdmTools 1992-2009 Visual Kinematics, Inc. All Rights Reserved. NCSA HDF & HDF5 (Hierarchical
Data Format) Software Library and Utilities Contributors: National Center for Supercomputing Applications (NCSA) at the University of Illinois, Fortner Software, Unidata Program Center (netCDF), The Independent JPEG Group (JPEG), Jean-loup Gailly
and Mark Adler (gzip), and Digital Equipment Corporation (DEC). Conditions of Redistribution: 1. Redistributions of source code must retain the above copyright notice, this list of conditions, and the following disclaimer. 2. Redistributions in binary form
must reproduce the above copyright notice, this list of conditions, and the following disclaimer in the documentation and/or materials provided with the distribution. 3. In addition, redistributions of modified forms of the source or binary code must carry
prominent notices stating that the original code was changed and the date of the change. 4. All publications or advertising materials mentioning features or use of this software are asked, but not required, to acknowledge that it was developed by The HDF
Group and by the National Center for Supercomputing Applications at the University of Illinois at Urbana-Champaign and credit the contributors. 5. Neither the name of The HDF Group, the name of the University, nor the name of any Contributor may be
used to endorse or promote products derived from this software without specific prior written permission from the University, THG, or the Contributor, respectively. DISCLAIMER: THIS SOFTWARE IS PROVIDED BY THE HDF GROUP (THG) AND THE
CONTRIBUTORS ʺAS ISʺ WITH NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. In no event shall THG or the Contributors be liable for any damages suffered by the users arising out of the use of this software, even if advised of the pos-
sibility of such damage. Copyright © 1998-2006 The Board of Trustees of the University of Illinois, Copyright © 2006-2008 The HDF Group (THG). All Rights Reserved. PNG Reference Library Copyright © 1995, 1996 Guy Eric Schalnat, Group 42, Inc., Copy-
right © 1996, 1997 Andreas Dilger, Copyright © 1998, 1999 Glenn Randers-Pehrson. All Rights Reserved. Tcl 1989-1994 The Regents of the University of California. Copyright © 1994 The Australian National University. Copyright © 1994-1998 Sun
Microsystems, Inc. Copyright © 1998-1999 Scriptics Corporation. All Rights Reserved. bmptopnm 1992 David W. Sanderson. All Rights Reserved. Netpbm 1988 Jef Poskanzer. All Rights Reserved. Mesa 1999-2003 Brian Paul. All Rights Reserved. W3C IPR
1995-1998 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. Ppmtopict 1990 Ken Yap. All Rights Reserved. JPEG 1991-1998 Thomas
G. Lane. All Rights Reserved. Dirent API for Microsoft Visual Studio (dirent.h) 2006-2006 Copyright © 2006 Toni Ronkko. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the
``Softwareʹʹ), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so.
Toni Ronkko. All Rights Reserved. ICU 1995-2009 Copyright © 1995-2009 International Business Machines Corporation and others. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the ʺSoftwareʺ), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Software, and to permit persons to whom the Software is furnished
to do so, provided that the above copyright notice(s) and this permission notice appear in all copies of the Software and that both the above copyright notice(s) and this permission notice appear in supporting documentation. International Business Machines
Corporation and others. All Rights Reserved. QsLog 2010 Copyright © 2010, Razvan Petru. All rights reserved. QsLog Copyright (c) 2010, Razvan Petru. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. The name of the contributors may not be used to endorse or promote products derived from this software without specific prior written
permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ʺAS ISʺ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABI-
LITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUEN-
TIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Razvan Petru.
All Rights Reserved. VTK 1993-2008 Copyright © 1993-2008 Ken Martin, Will Schroeder, Bill Lorenson. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions
are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the distribution. Neither name of Ken Martin, Will Schroeder, or Bill Lorensen nor the names of any contributors may be used to endorse or promote products derived from this software without spe-
cific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS ISʹʹ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSE-
QUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABIL-
ITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Ken Martin,
Will Schroeder, Bill Lorenson. All Rights Reserved.
TRADEMARKS
Tecplot,® Tecplot 360,TM the Tecplot 360 logo, Preplot,TM Enjoy the View,TM Master the View,TM and FramerTM are registered trademarks or trademarks of Tecplot, Inc. in the United States and other countries.
3D Systems is a registered trademark or trademark of 3D Systems Corporation in the U.S. and/or other countries. Macintosh OS is a registered trademark or trademark of Apple, Incorporated in the U.S. and/or other countries. Reflection-X is a registered trade-
mark or trademark of Attachmate Corporation in the U.S. and/or other countries. EnSight is a registered trademark or trademark of Computation Engineering International (CEI), Incorporated in the U.S. and/or other countries. EDEM is a registered trademark
or trademark of DEM Solutions Ltd in the U.S. and/or other countries. Exceed 3D, Hummingbird, and Exceed are registered trademarks or trademarks of Hummingbird Limited in the U.S. and/or other countries. Konqueror is a registered trademark or trade-
mark of KDE e.V. in the U.S. and/or other countries. VIP and VDB are registered trademarks or trademarks of Halliburton in the U.S. and/or other countries. ECLIPSE FrontSim is a registered trademark or trademark of Schlumberger Information Solutions
(SIS) in the U.S. and/or other countries. Debian is a registered trademark or trademark of Software in the Public Interest, Incorporated in the U.S. and/or other countries. X3D is a registered trademark or trademark of Web3D Consortium in the U.S. and/or other
countries. X Window System is a registered trademark or trademark of X Consortium, Incorporated in the U.S. and/or other countries. ANSYS, Fluent and any and all ANSYS, Inc. brand, product, service and feature names, logos and slogans are registered
trademarks or trademarks of ANSYS Incorporated or its subsidiaries in the U.S. and/or other countries. PAM-CRASH is a registered trademark or trademark of ESI Group in the U.S. and/or other countries. LS-DYNA is a registered trademark or trademark of
Livermore Software Technology Corporation in the U.S. and/or other countries. MSC/NASTRAN is a registered trademark or trademark of MSC Software Corporation in the U.S. and/or other countries. NASTRAN is a registered trademark or trademark of
National Aeronautics Space Administration in the U.S. and/or other countries. 3DSL is a registered trademark or trademark of StreamSim Technologies, Incorporated in the U.S. and/or other countries. SDRC/IDEAS Universal is a registered trademark or trade-
mark of UGS PLM Solutions Incorporated or its subsidiaries in the U.S. and/or other countries. Star-CCM+ is a registered trademark or trademark of CD-adapco in the U.S. and/or other countries. Reprise License Manager is a registered trademark or trade-
mark of Reprise Software, Inc. in the U.S. and/or other countries. Python is a registered trademark or trademark of Python Software Foundation in the U.S. and/or other countries. Abaqus, the 3DS logo, SIMULIA and CATIA are registered trademarks or
trademarks of Dassault Systèmes or its subsidiaries in the U.S. and/or other countries. The Abaqus runtime libraries are a product of Dassault Systèmes Simulia Corp., Providence, RI, USA. © Dassault Systèmes, 2007 FLOW-3D is a registered trademark or
trademark of Flow Science, Incorporated in the U.S. and/or other countries. Adobe, Flash, Flash Player, Premier and PostScript are registered trademarks or trademarks of Adobe Systems, Incorporated in the U.S. and/or other countries. AutoCAD and DXF are
registered trademarks or trademarks of Autodesk, Incorporated in the U.S. and/or other countries. Ubuntu is a registered trademark or trademark of Canonical Limited in the U.S. and/or other countries. HP, LaserJet and PaintJet are registered trademarks or
trademarks of Hewlett-Packard Development Company, Limited Partnership in the U.S. and/or other countries. IBM, RS/6000 and AIX are registered trademarks or trademarks of International Business Machines Corporation in the U.S. and/or other countries.
Helvetica Font Family and Times Font Family are registered trademarks or trademarks of Linotype GmbH in the U.S. and/or other countries. Linux is a registered trademark or trademark of Linus Torvalds in the U.S. and/or other countries. ActiveX, Excel,
Microsoft, Visual C++, Visual Studio, Windows, Windows Metafile, Windows XP, Windows Vista, Windows 2000 and PowerPoint are registered trademarks or trademarks of Microsoft Corporation in the U.S. and/or other countries. Firefox is a registered trade-
mark or trademark of The Mozilla Foundation in the U.S. and/or other countries. Netscape is a registered trademark or trademark of Netscape Communications Corporation in the U.S. and/or other countries. SUSE is a registered trademark or trademark of
Novell, Incorporated in the U.S. and/or other countries. Red Hat is a registered trademark or trademark of Red Hat, Incorporated in the U.S. and/or other countries. SPARC is a registered trademark or trademark of SPARC International, Incorporated in the
U.S. and/or other countries. Products bearing SPARC trademarks are based on an architecture developed by Sun Microsystems, Inc. Solaris, Sun and SunRaster are registered trademarks or trademarks of Sun MicroSystems, Incorporated in the U.S. and/or
other countries. Courier is a registered trademark or trademark of Monotype Imaging Incorporated in the U.S. and/or other countries. UNIX and Motif are registered trademarks or trademarks of The Open Group in the U.S. and/or other countries. Qt is a reg-
istered trademark or trademark of Digia PLC in the U.S. and/or other countries. Zlib is a registered trademark or trademark of Jean-loup Gailly and Mark Adler in the U.S. and/or other countries. OpenGL is a registered trademark or trademark of Silicon
Graphics, Incorporated in the U.S. and/or other countries. JPEG is a registered trademark or trademark of Thomas G. Lane in the U.S. and/or other countries. SENSOR is a registered trademark or trademark of Coats Engineering in the U.S. and/or other coun-
tries. SENSOR is licensed and distributed only by Coats Engineering and by JOA Oil and Gas, a world-wide authorized reseller.All other product names mentioned herein are trademarks or registered trademarks of their respective owners.
Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraphs (a) through (d) of the Commercial Computer-Restricted Rights clause at FAR 52.227-19 when applicable, or in subparagraph (c)(1)(ii) of the Rights in
Technical Data and Computer Software clause at DFARS 252.227-7013, and/or in similar or successor clauses in the DOD or NASA FAR Supplement. Contractor/manufacturer is Tecplot, Inc., 3535 Factoria Blvd, Ste. 550; Bellevue, WA 98006 U.S.A.
Released: 7/2022
Table of Contents
1 Introduction ............................................................................ 7
Before You Start the Tutorials ..................................................... 8
Tutorials In This Guide ................................................................ 8
General Application
2 External Flow ....................................................................... 10
Loading and Manipulating Data.............................................. 11
Launch Tecplot 360 EX and Load the Data Set ................................ 11
Rotate the Wing................................................................................. 13
View Information About the Data Set............................................... 13
Disable Bounding Box for Fluid Volume Zone ................................. 14
View the Mesh Using the Context Toolbar ....................................... 15
Change the Mesh Color ..................................................................... 16
Set Up Contour Groups and Color Maps ......................................... 18
Change Contour Group on Plot ........................................................ 20
Format Legend................................................................................... 21
Exploring a CFD Solution.......................................................... 23
Add a Slice......................................................................................... 23
Set Slice Details................................................................................. 25
Show Contours .................................................................................. 26
Prepare for Streamtraces ................................................................... 29
Seed Streamtraces.............................................................................. 30
Seed Volume Ribbons ........................................................................ 33
Adjust Rotation and Lighting ........................................................... 35
Surface Streamtraces ......................................................................... 36
Create Iso-Surfaces ............................................................................ 38
Probe Data ......................................................................................... 44
Comparing a CFD Simulation with Experimental Data ....... 45
Load Layout ....................................................................................... 45
Append Experimental Data............................................................... 45
Variable Load and Combine............................................................... 45
Normalize Y to Y/b............................................................................ 46
Extract Slice from Simulation Data at Pressure Tap Location......... 49
Normalize Slice’s X to X/L................................................................ 50
Create XY Plot of Slice ...................................................................... 51
Plot Experimental Data..................................................................... 55
Add Error Bars .................................................................................. 58
Final Polishing .................................................................................. 59
3
Next Steps .................................................................................... 60
4
Specify an Equation......................................................................... 103
Contour It ........................................................................................ 103
Flood by Primary Cell Value ........................................................... 105
Plot Maximum Stress Over Time ........................................... 106
Load the Macro ................................................................................ 106
Macro Breakdown: Create a Zone ................................................... 106
Macro Breakdown: Alter Variables ................................................. 107
Macro Breakdown: Create XY Plot ................................................. 108
Next Steps .................................................................................. 109
Ocean Modeling
7 Ocean Modeling ................................................................ 133
Loading and Manipulating Data............................................ 134
Launch Tecplot 360 EX and Load the Data Set .............................. 134
Inspecting the Data ......................................................................... 136
Making your first plot.............................................................. 136
Turn on Contour to See the Domain............................................... 136
Assign XYZ to Lon, Lat .................................................................. 137
Adjusting Z-scaling ........................................................................ 138
Change View and Lighting.............................................................. 138
Change the Contour Variable and Colormap .................................. 139
5
Use Value Blanking to Hide Dry Land ........................................... 141
Animating and Exporting a Movie File.......................................... 142
Specific Ocean Plots.................................................................. 143
Turn on the Vectors......................................................................... 144
Value Blank Siglev .......................................................................... 144
Use Vector Tangents ....................................................................... 145
Calculate Velocity Magnitude......................................................... 146
Contour by Velocity Magnitude...................................................... 148
Resize Vectors.................................................................................. 149
Set Up Coordinate System .............................................................. 150
Insert Georeferenced Image ............................................................. 150
Update Image location..................................................................... 150
Turn off Zone Layers....................................................................... 152
Show the Bathymetry ...................................................................... 152
Place a Slice ..................................................................................... 154
Contour the Slice by Salinity .......................................................... 155
Advanced Topics ...................................................................... 157
Next Steps .................................................................................. 157
6
1
Introduction
Tecplot 360 EX allows you to interactively explore, visualize, and analyze your CFD data, and then
communicate your results. With Tecplot 360 EX, you can produce high-quality plots for reports, papers,
presentations, videos, or web sites.
The user documentation for Tecplot 360 EX includes these resources:
• Getting Started Manual (this document) - Highlights how to work with key features through a
tutorial revolving around data files similar to those you might use.
• User’s Manual - Complete documentation of all Tecplot 360 EX features.
• Scripting Guide - Information on working with Tecplot 360 EX macros and a full syntax
reference.
• Quick Reference Guide - A handy reference for all the little details of using Tecplot 360 EX,
such as text placeholders, keyboard shortcuts, and much more.
• Data Format Guide - Tecplot data formats and how to write them.
• Installation Guide - How to install Tecplot 360 EX on your machine.
• Release Notes - Information on the latest Tecplot 360 EX features along with platform-specific
notes.
This manual includes four tutorials to help you get started with Tecplot 360 EX. For in-depth information
on any of the topics covered in the Getting Started Manual, please refer to the User’s Manual which is
included in your Tecplot 360 EX installation directory or on our website at: https://www.tecplot.com/
documentation/.
7
Introduction
8
Part 1 General
Application
2
External Flow
The Onera M6 wing is a standard design for basic studies of 3D flows at high Reynolds numbers from low
to transonic speeds (that is, local supersonic flow, shocks, and turbulent boundary layer separation). The
wing was tested by NASA in a wind tunnel at four different Mach numbers and various angles of attack.
This is now a classic CFD validation case for external flows because it has a simple geometry, complex
1
flows, and because it includes experimental data against which a CFD solution can be validated.
This tutorial uses the Onera M6 data set as your entry into Tecplot 360 EX, introducing basic operations at
first (loading data and manipulating the view) and progressing to more intermediate and then advanced
operations. We chose this data set because you may already be familiar with it (and if you’re not, it’s
straightforward to understand).
The Onera M6 data set is in the OneraM6wing folder inside the Getting Started Bundle.
This tutorial is divided into three segments. We have provided a layout file for the end of each segment, so
you can check your work. There is also a macro included to generate an enhanced version of one of the
plots in the third segment, and a layout showing its results. The segments are:
Exploring a CFD Solution - Further explore and understand the Onera M6 simulation
2 - Intermediate
data set by adding slices, streamtraces, and iso-surfaces, and by probing data.
10
2-1 Loading and Manipulating Data
The Welcome Screen appears each time you launch Tecplot 360 EX and gives you easy access to layouts
you have recently worked with, along with quick links to documentation and other resources to help you
get the most out of the product.
To begin loading the Onera M6 data, click Load Data at the top of the Welcome Screen. (You may also
choose Load Data from the File drop-down menu in the menu bar, or click the folder icon, second from
the left, in the toolbar. These alternate methods are convenient when the Welcome Screen isn’t visible.)
11
External Flow
Navigate to your Tecplot 360 EX installation folder, then the examples folder, then the OneraM6wing folder.
Then double-click the OneraM6_SU2_RANS.plt file to open it in Tecplot 360 EX. (If you can’t see this file,
choose All Files in the menu at the bottom of the dialog.) The data file is opened and a 3D plot of the
Onera M6 wing appears in the Tecplot 360 EX workspace, as shown here.
12
Step 2 Rotate the Wing
To rotate the view of the wing, hold down the Control key on the keyboard (Command on Mac), then hold
down the right mouse button in the Tecplot 360 EX workspace and move the mouse to rotate the wing.
You’ll notice that the range of rotation is not very great, making it hard to make significant changes to the
view of the wing. This is because the rotation origin (the point around which rotation is performed) is not
set anywhere near the wing. To change this, simply place the mouse pointer in the approximate center of
the wing on the screen, then press the lowercase letter O (for origin) on the keyboard.
Then hold down the Control key (Command on Mac) and drag with the right mouse button again. You’ll
see it is now much easier to rotate the wing, since it rotates around its center.
Step 3 View Information About the Data Set
To see information about the Onera M6 data set, choose Data Set Info from the Data
drop-down menu (left). The Data Set Information dialog, shown here, appears.
This dialog provides a wealth of information about the data set. The two lists at the top of the dialog show
you the names of the zones and the variables in the data set.
The zones in this data set are:
• FluidVolume - the air around the wing
• WingSurface - the surface of the wing itself
You may wish to explore the other information in the dialog, which is divided into three pages. Click the
Help button for more information about the information displayed on any page of the dialog. When
you’re finished, close the Data Set Information dialog.
13
External Flow
This is the bounding box of the FluidVolume zone, which represents the air around the wing. This zone
does not have any style (that is, visual appearance) so it would normally be invisible. Tecplot 360 EX adds
the dashed orange line so that you know it’s there and can see its dimension.
Choose Fit Everything from the View menu to see the full
extent of the volume zone (see right). The wing is a tiny part of
the data set! Choose View>Last to return to the previous view.
The bounding box does not add anything to the plot we’re
making, so let’s turn it off. Choose Show Bounding Boxes for
Enabled Volume Zones with No Style from the Options
menu. The dashed orange line disappears.
14
Step 5 View the Mesh Using the Context Toolbar
To view the mesh for the WingSurface zone, right-click on the wing in the Tecplot 360 EX workspace. A
context toolbar appears, as shown here.
From left to right on this toolbar are buttons that allow you to turn on and off the mesh, contours, vectors,
shade, edge, and translucency. Click the first button to display the mesh for the WingSurface zone, as
shown here.
15
External Flow
The Mesh Color column (right most green column) displays the color of the
mesh for each zone, including WingSurface. Right-click the black color
swatch to display the Color Chooser.
The Color Chooser lets you choose a single solid color, or, using the 1-8 buttons at the bottom of the dialog,
you may choose to have the mesh colored using a contour, such as a gradient based on the value of some
variable. (These numbers actually refer to Tecplot 360 EX’s eight contour groups, which associate variables
and color maps. We will look at contours in more depth shortly.)
16
For now, let’s choose a blue color for the mesh.
Close the Zone Style dialog, so that the wing surface is visible again.
17
External Flow
At the top of the dialog is a drop-down menu for choosing a variable. Next to this are eight numbered
buttons, which specify the contour group you are editing. Each contour group has its own settings for this
dialog. The contour group provides a way to associate a variable with a color map and other settings. The
color map specifies how the zone will be colored according to the value of the specified variable.
For our tutorial, we will set up two contour groups. The first will display density with the Large Rainbow
color map. The second will display the pressure coefficient using the Magma color map.
First, move the dialog so you can see most of the plot and the dialog at the same time.
1. Make sure contour group 1 is set at the top of the Contour & Multi-Coloring Details dialog.
2. Make sure the Density variable is chosen in the drop-down menu at the top of the dialog.
3. From the drop-down menu under the color map preview, choose Large Rainbow.
4. Click Continuous for the Color Map Distribution Method.
The dialog should appear as shown above. You should have noticed the plot changing as you made each
change in the dialog, since the wing surface is already using contour group 1 by default.
Next, we’ll set up contour group 2 for the Pressure_Coefficient variable.
1. Click 2 at the top of the Contour & Multi-Coloring Details dialog to choose contour group 2.
2. Choose the Pressure_Coefficient variable in the drop-down menu at the top of the dialog.
3. From the drop-down menu under the color map preview, choose Magma.
18
4. Click Continuous for the Color Map Distribution Method.
5. We also need to change the levels for the color map. Click the Set Levels button, then, in the
Enter Contour Levels dialog, change the Minimum level to -1 and the number of levels to 21,
as shown here.
19
External Flow
20
Step 9 Format Legend
That contour legend is useful, but it overlaps our plot. Double-click the legend title to open the Legend
page of the Contour & Multi-Coloring Details dialog, shown here.
This is the same dialog we just closed a moment ago, just a different page. You can also get to it by clicking
the button next to Contour in the Plot sidebar, or by choosing Plot>Contour/Multi-Coloring from the
Tecplot 360 EX menu bar.
In the Contour & Multi-Coloring Details dialog:
1. Change the alignment to horizontal
2. Turn on automatic resizing
The desired settings are shown above. Close the dialog after changing these settings.
21
External Flow
Using the mouse, you may now drag the legend to the bottom of the plot. The final plot is shown here.
A Tecplot 360 EX layout (.lay) file containing a snapshot of the final result of this tutorial segment is in
OneraM6wing/finallayouts/ExtenalFlowVideo1.lay in the examples folder in your Tecplot 360 EX installation
folder. You can compare this with your result to see how you did.
You might even try save a layout of your own work. Choose File>Save Layout from the Tecplot 360 EX
menu bar, then navigate to the folder in which you want to save the layout, name it, and click Save.
22
2-2 Exploring a CFD Solution
This segment of the External Flow tutorial covers slicing, streamtraces, iso-surfaces, and probing. These
are tools you’ll frequently use to get a closer look at the volume data in your solution.
We’ll continue from where we left off at the end of the previous segment, with the coefficient of pressure
visible on the surface of the wing. If you have closed Tecplot 360 EX since completing that segment, you
can load the provided layout file OneraM6wing/finallayouts/ExtenalFlowVideo1.lay in the examples folder in
your Tecplot 360 EX installation folder, and continue from there.
23
External Flow
Then click the surface of the wing. (You probably can’t see the wing at first, with the slice in front of it, but
you can still click it even though you can’t see it.) The slice moves to pass through the point that you
clicked. You can see the slice at various positions in the following images.
You can also drag the mouse on the surface of the wing to fine-tune the slice location. A blue-gray preview
plane shows where the slice will be when you release the mouse button.
24
Step 2 Set Slice Details
Click the button next to the Slices in the Plot sidebar to launch the Slice Details dialog.
25
External Flow
26
Scenic Detour - Creating Multiple Slices
Slices are great, so let’s add more of them! We don’t need to do this for the plot we’re trying to make, which
is why this section is labeled as a detour. You can skip it if you want.
1. On the Definition page of the Slice Details dialog, turn off Show Primary Slice and turn on
Show Start/End Slices.
2. Rotate the plot so that you are looking nearly, but not quite, straight down on the wing from
above. The slice, being perpendicular to the view, should be close to a line.
Reminder: To rotate the plot, hold down the Control key (Command on Mac)
and hold down the right mouse button while moving the mouse. Hit “o” (the
lowercase letter O) to set the origin of rotation to the mouse location.
Notice the orientation axis in the upper right corner of the plot, which makes it
easy to tell when the plot’s Z axis is pointing at you.
3. Using the Start slider, set the starting slice location to 0.
4. Set the ending slice location to the wing tip, around 1.16.
5. Turn on the Show Intermediate Slices checkbox and set the number of slices to
4. A total of six slices are shown.
27
External Flow
Here’s what the Slice Details dialog should look at this point, along with the plot.
28
Step 4 Prepare for Streamtraces
Streamtraces are a useful tool for visualizing the flow around a
surface. We’ll try out three different types of streamtraces:
volume lines, volume ribbons, and surface lines.
We only need a single slice for this, so if you followed the
multiple-slice detour, go back to the Slice Details dialog, turn
off Show Start/End Slices, and turn Show Primary Slice on.
We want our slice at the tip of the wing; that’s where the
pressure differential can cause vortex shedding. Enter 1.18 for
the primary slice’s location in the Slice Details dialog to place it
close to the wing’s tip.
The Slice Details dialog should now look as shown here. You
can close the dialog at this point, as we won’t need it for a
while.
Now, rotate the wing so that the tip is pointing almost directly
at us. (Hold Control, or Command on Mac, while dragging
with the right mouse button.) The orientation axis in the upper
right corner of the plot will help you get the wing pointed the
right way. It should look roughly like the image below.
What are we looking at here? The green-blue background is our slice, and it’s hiding most of the wing at
this point, so we only see the wing tip.
29
External Flow
Last but not least, we can specify the vector variables that describe the velocity of the flow around the
wing. If we don’t do it in advance, Tecplot 360 EX will prompt us to choose the variables as we begin
adding our streamtraces. However, just so we know where the feature is, let’s do it ourselves now.
Choose Plot>Vector>Variables from the menu bar. The Select Variables dialog appears. We actually don’t
have velocity values in our data, but we do have momentum, and the vector field for momentum is the
same as for velocity. (Momentum is just velocity times density. In the next segment of this tutorial, you’ll
learn a technique you could use to calculate true velocity values.)
Therefore, for our purposes, we can use the momentum variables. So choose Momentum U, Momentum V,
and Momentum W for the U, V, and W vector variables, respectively.
When the Select Variables dialog appears as shown here, click OK.
Step 5 Seed Streamtraces
Turn on the Streamtraces checkbox in the Plot sidebar, then
click the Streamtrace tool button, as shown here.
You can now place a line with the mouse and seed
streamtraces evenly along the line. To place the line, click and
hold the mouse button at the starting point, drag to the end
point, and release the mouse button. Try drawing a roughly
vertical line along the leading edge of the wing, as shown here.
30
Tecplot 360 EX creates streamtraces showing the flow around the wing, as shown below. The streamtraces
are generated by simulating the release of massless particles at the slice surface at equally-spaced points
along the line (called “seeding”) and calculating their path of travel based on the vector variables that
describe the flow.
31
External Flow
Some of the streamtraces are behind the slice. To see the streamtraces better, let’s change the slice to be 40%
transparent. To do this, right-click the slice and choose 40 from the right-most drop down menu in the
context toolbar.
Now, rotate the plot in three dimensions to better see the streamtraces and the wing. A possible result is
shown below.
32
Step 6 Seed Volume Ribbons
By default, streamtraces are simple lines with arrowheads. Ribbons can allow us to see the flow better
because they show local twist using a 2D surface. Here’s how to switch to volume ribbons.
1. Open the Streamtrace Details dialog by clicking the button next to Streamtraces in the
Plot sidebar. Make sure the Placement page is active using the tabs at the top of the dialog.
2. Click Delete All in the Streamtrace Details dialog to remove the existing streamtraces.
3. Change the drop-down menu at the top of the dialog to Volume Ribbon.
4. Click the streamtrace tool button next to Streamtraces in the Plot sidebar. Leave the
Streamtrace Details open, but move it out of the way.
5. As before, drag out a line along the leading edge of the wing to seed the streamtraces and
create the ribbons.
33
External Flow
The plot should look something like this with the ribbons.
Let’s change them from white to a more attention-grabbing color. We can do this on the Rod/Ribbon page
of the Streamtrace Details dialog.
34
Near the bottom of this dialog, under the Show Shade checkbox, click the button next to Color. Then, in
the Color Chooser, click the red swatch.
35
External Flow
Click or drag around the plot to move the light. As you do so, you will find spots where the ribbons catch
a highlight. You can also try rotating the plot to get the best view.
Step 8 Surface Streamtraces
So far, we’ve been looking at flow through the air around the wing: volume streamtraces and ribbons. We
can also visualize the flow across the surface of the wing.
Just to be clear, these streamtraces will be calculated using the momentum data from the volume zone
around the wing. The wing surface zone does not actually contain momentum or velocity data. The data
file we provide for this tutorial has the zones set up to make this work correctly.
We used the slice to specify a plane on which we could draw a line to seed
streamtraces in a volume. When creating surface streamtraces, we just seed
directly on the surface. So click the Slices checkbox in the Plot sidebar to
turn off the slice.
Next, let’s delete the ribbons we’ve created by clicking Delete All on the
Placement page of the Streamtrace Details dialog. Then choose “Surface
Line” at the top of the dialog.
36
Let’s rotate the wing again so that we can see across it. (Last reminder: hold Control, or Command on Mac,
while dragging with the right mouse button.) We’re going for an angle something like this.
As always, you can use the orientation axis in the upper right corner of the plot to help you stay oriented.
37
External Flow
Now, just as we did before when seeding from the surface of our slice, we choose the streamtrace tool in
the Plot sidebar, then drag a line across the wing surface, parallel to the leading edge. After Tecplot 360 EX
creates the streamtraces, we end up with something like this:
We made our streamlines thicker so you can see them more easily. For extra credit, figure out how to make
yours thicker, too. (The setting you need is on the Lines page of the Streamtrace Details dialog.)
We’re done with streamtraces for now. Turn off the Streamtraces checkbox in the Plot sidebar when you’re
done to hide the streamtraces and show just the wing.
Step 9 Create Iso-Surfaces
Iso-surfaces are great way to visualize a constant value of a contour variable as a surface. In other words,
you specify a value, and the iso-surface shows you where the specified variable has that value.
Let’s use it to visualize the shockwave as the wing passes the speed of
sound. We do this by creating an iso-surface at Mach 1.
1. Turn on the Iso-Surfaces checkbox in the Plot sidebar.
38
2. Click the button next to Iso-Surfaces to open the Iso-Surface Details dialog.
Now, we need to choose a contour group that associates the Mach variable with a color map.
However, if you expand the Define Iso-Surfaces Using dropdown menu, you will see we don’t
have one. So we need to create one.
3. Click the gear icon next to this menu to open the Contour and Multi-Coloring Details dialog,
which we’ve seen before.
4. Click the 3 button at the top of this dialog to define the third contour group.
5. Using the menu at the top of the dialog, choose the Mach variable.
39
External Flow
6. Choose the Large Rainbow color map. Here’s how it should look.
40
The plot is shown here. We’ve rotated the wing to get a better view.
This iso-surface shows us where the air is moving at Mach 1 around the wing. Try adjusting the Value 1
field using the arrows next to the numeric entry field and watch the plot change in response.
It is often instructive to show more than one iso-surface at more than one value. Let’s add a second iso-
surface at Mach 1.2. To do this, change the Draw Iso-Surfaces At menu to “2 Specified Values” and enter
1.2 in the Value 2 field.
41
External Flow
Where’s the second iso-surface? Well, it’s closer to the wing than the first one, so it is hidden. Let’s make
the iso-surfaces partly transparent so we can see the second one inside the first (and also, dimly, the wing
surface inside the second).
To do this, right-click the iso-surface in the plot, then turn on transparency by clicking the rightmost icon
in the toolbar. Our iso-surfaces are both in the same group, so they both become transparent.
42
Now you can see the Mach 1.2 iso-surface inside the Mach 1 iso-surface. Rotate the plot and see! This is the
shock surface where the transition between subsonic and supersonic is happening. Here’s our final iso-
surface plot.
43
External Flow
Now, click points of interest in your plot. The Probe sidebar, which pops out along the right edge of the
screen, displays the variable values at each clicked location.
You can also copy variable names, values, or both from the probe
results by selected the desired information and right-clicking, or by
pressing Control-C (Command-C on Mac OS X).
As with any sidebar, you can move the Probe sidebar to another
edge of the workspace, combine it with another sidebar, or even
tear it off and move it outside the main Tecplot 360 EX window—to
a different monitor, if you want.
As before, a Tecplot 360 EX layout (.lay) file containing a snapshot
of the final result of this tutorial segment is in OneraM6wing/
finallayouts/ExtenalFlowVideo2.lay in the examples folder in your
Tecplot 360 EX installation folder.
44
2-3 Comparing a CFD Simulation with Experimental Data
In this segment, we’ll be creating a classic Coefficient of Pressure (Cp) plot using both simulated and
experimental data. To do this, we’ll first append the experimental data, which was gathered via pressure
taps along the wing in a wind tunnel. Then we’ll extract a slice and create an XY line plot in a new frame.
The experimental data is normalized in both the span and chord directions: the Y direction is normalized
by b (the span) and the X direction is normalized by c (the chord). The simulation data is not normalized,
so part of our work will be to adapt the experimental data so that it can be compared to the simulation.
1. The experimental data file we’ve included is a slightly modified version of data provided by NASA. For more
information, see https://turbmodels.larc.nasa.gov/onerawingnumerics_val.html
45
External Flow
For this example, we will load all of the variables from the Experimental dataset. Select Add All and then
select OK to close the Variable Load and Combine dialog.
To verify that the data was loaded correctly, open the
Data Set Information dialog by choosing Data>Data
Set Info from the menu. Notice the seven new
zones: Section 1 - 0.2, Section 2 -0.44, and so on.
These zones contain the experimental data from the
pressure taps placed along the wing.
You’ll also notice several new variables, starting at
variable #19: TapNumber, X/L, Y/b, Z/L, and Cp
Error.
46
If we open the Data Spreadsheet dialog (Data>Spreadsheet), choose our WingSurface zone, and scroll
over to see the “Y/b” variable, we can see that our simulation data does not contain this information. It is
only in the experimental data set.
However, if you use the Zone menu to switch to one of the experimental data zones, such as “Section 1 -
0.2,” you will see that it has values for this variable.
47
External Flow
Therefore, we will need to calculate this variable for our simulation data. We can do this using an
equation.
Close the Data Spreadsheet dialog, then open the Specify Equations dialog by choosing
Data>Alter>Specify Equations. We know that the span of the wing, b, is 1.19 from publicly-available
information about the Onera M6 model. So, in the Equation(s) field, enter:
{Y/b} = {y}/1.19
We only want to calculate this variable in our simulation zones, since it already exists in our experimental
zones, so make sure only FluidVolume and WingSurface are selected in the Zones to Alter list. (Hold
down the Control key, or Command on Mac, while clicking zones to toggle them on and off.) The Specify
Equations dialog should appear as shown below.
Click Compute to calculate the Y/b value for our simulation zones.
Finally, let’s check our work by probing at the wing tip.
1. Click the Probe tool in the Tecplot 360 EX toolbar.
48
Step 5 Extract Slice from Simulation Data at Pressure Tap Location
Let’s go ahead and change the Y axis to Y/b. Choose Plot>Assign XYZ
from the Tecplot 360 EX menu bar. Then, in the Select Variables dialog,
choose “Y/b” for the Y-axis variable, as shown here. Click OK. to save
this change.
The wing may rotate in the workspace when you change the Y variable.
This is normal.
Our experimental data contains information only at the locations of the
pressure taps on the wing. For this example, we’ll compare the
simulation data with the experimental data from the pressure tap at Y/b =
0.65. We will create a slice of the simulation at this location and extract that slice to a new zone.
All the simulated surface data along the wing at the location of the pressure tap, in other words, will be
copied into a new two-dimensional zone. Here’s how.
1. Turn on slices in the Plot sidebar.
2. Open the Slice Details dialog by clicking next to Slices in
the Plot sidebar.
3. In the Slice Details dialog:
• Change the Slice Location to Y-Planes
• Make sure Show Primary Slice is enabled
• Enter the value 0.65 for the location of the primary slice.
• Set Slice Through to “Surface
Zones.”
A band appears on the surface of the
wing at the location of our slice, as shown
below.
49
External Flow
4. Choose the Extract Slices button to extract this slice to a new zone. (Or by selecting
Data>Extract>Slices).
5. In the Extract Slice dialog, leave all of the default values and click Extract to proceed with the
slice extraction.
6. Close the Extract Slice dialog and the Slice Details dialog.
Our new slice zone is zone 10 and is named “Slice Y=0.65.” You can verify this in Data Set Information, if
you like.
Step 6 Normalize Slice’s X to X/L
Now we can normalize the X dimension of our slice to the chord, in order to match the experimental data.
We’ll do this using the same Specify Equations dialog we used to normalize the Y dimension. In the
experimental data, this is stored as the variable X/L. (If you’re curious, you can verify this in the Data
Spreadsheet dialog, as we did previously with Y/b.)
The equation we’ll need is:
{X/L} = ({x} - MINX) / (MAXX - MINX)
There’s a twist that we need to address before we actually perform this calculation. The equation uses the
MAXX and MINX intrinsic variables. These variables are provided by Tecplot 360 EX and refer to the
maximum and minimum values of X in all active zones. We want the maximum and minimum X for just
our slice, so as to calculate the chord, so we need to temporarily deactivate all other zones while we
perform this calculation.
So open the Zone Style dialog by clicking the Zone Style button in the Plot sidebar.
50
Right-click the Show Zone checkbox for the extracted slice zone and choose Show Selected Only.
The checkboxes next to all zones except the slice zone toggle off. Your plot also disappears; don’t panic!
Now, choose Data>Alter>Specify Equations and enter our equation in the Equation(s) field. For
convenience, here it is again:
{X/L} = ({x} - MINX) / (MAXX - MINX)
Since we need this calculation only for the slice, make sure our new slice zone, listed at the bottom of the
Zones To Alter list as “10: Slice Y=0.65” is the only zone selected.
51
External Flow
Next, use it to draw the new frame in the workspace. The placement and size don’t matter, since we’ll have
Tecplot 360 EX set it up nicely for us in a moment. Click and hold the mouse button somewhere in your
plot, then drag down and to the right to create the frame. Release the mouse button when a rectangle is
visible in the plot.
The new frame might look something like this.
Next, choose Frame>Tile Frames in the Tecplot 360 EX menu bar. The Tile dialog appears, as shown here.
52
Click the bottom right button in the Tile Frames dialog to stack the frames on top of each other in the
workspace. Then close the Tile dialog.
Your plot now looks something like this.
Now, using the drop-down menu at the top of the Plot sidebar, change from
Sketch to XY Line.
The Create Mappings dialog appears. In this dialog, we’ll set the X-Axis to
our X/L variable, our Y-Axis to Pressure_Coefficient, and the Zone to our
extracted slice zone. The desired settings are shown here.
53
External Flow
If you’re familiar with Cp plots, you’ll notice something odd about our current plot! The problem is that
the Y axis is reversed from what it should be. Fortunately, this is easily corrected.
1. Choose Plot>Axis from the menu bar to open the Axis Details dialog.
2. Click Y1 at the top to choose the Y axis.
3. Toggle on the Reverse Axis Direction checkbox.
4. When the settings are as shown here, close the Axis Details dialog.
54
Our plot now looks like this. Much better!
A line map is the Tecplot 360 EX way of associating (mapping) a variable with a visual style for each line in
your plot. Tecplot 360 EX created our first line map for us when we switched to XY Line mode. The
Mapping Style dialog is used to manage the line maps in our XY Line plot.
We want to show both the simulation and experimental data in our plot, so we’ll need to create a second
line map for the experimental data. The easiest way to do this is to copy the existing simulation data line
map and modify it to display the experimental data.
1. Click the first row in the Mapping Style table to select the first line map.
2. Click the Copy Map button at the bottom of the dialog. A second line map appears in the
table.
3. Right-click the Zone field in the second row of the table, then choose zone 5, “Section 3 - .65”,
as the zone for the second line map. This is the experimental data for the pressure tap at 0.65
along the wing, corresponding to the position of the slice we’ve taken of the simulation zone.
4. Toggle on the Show Map checkbox for the second map.
55
External Flow
5. Double-click the name of each mapping and enter an appropriate name. Especially with
complex line plots with many mappings, giving your mappings good names will make it
much easier to make changes to the plot. We named them as follows:
• Map 1: CFD Simulation: Y/b = 0.65
• Map 2: Experimental: Y/b = 0.65
The Mapping Style dialog and the plot should now appear as shown here.
As you can see, there’s a slight problem here: both the simulation and the experimental data have the same
appearance, making it impossible to distinguish them. We can address this by using different colors for
the two zones.
Additionally, the simulation data is continuous, while the experimental data, having been measured at
specific points along the wing, is discrete. Therefore, we will display the experimental data using a symbol
at each measurement location rather than as a line.
Finally, we have uncertainty information for the experimental data, which we can display using error bars.
All of these appearance changes can be managed using the Mapping Style dialog. Let’s get to it.
1. Change to the Lines page of the Mapping Style dialog using the tabs at the top of the dialog,
then toggle off the Show Lines checkbox for the Experimental mapping.
2. Also on the Lines page, right-click the line thickness for the CFD Simulation map and change
it to 0.40% to make it thicker.
56
The Lines page should appear as follows.
57
External Flow
You can now close the Mapping Style dialog. The plot should look as follows.
58
Step 10 Final Polishing
As a finishing touch, we can add a legend to the plot. Choose
Plot>Line Legend from the Tecplot 360 EX menu to open the Legend
dialog, then toggle on the Show Line Legend checkbox.
Let’s also choose View>Nice Fit to Full Size to make the plot look a
little less crowded against the axes.
The final plot (including both frames) is shown below.
Naturally, a Tecplot 360 EX layout package (.lpk) file containing a snapshot of the final result of this tutorial
segment is in OneraM6wing/finallayouts/ExtenalFlowVideo3.lpk in the examples folder in your Tecplot 360 EX
installation folder.
59
External Flow
60
3
This tutorial shows an example of how Tecplot 360 EX renders volume surfaces using Surfaces to Plot. For
this tutorial, we will be using the duct flow dataset which can be found in the Getting Started Bundle.
This tutorial contains only one segment. The level of complexity is shown below.
61
Understanding Volume Surfaces
Navigate to the examples/SimpleData directory located in the installation folder of Tecplot and select the
DuctFlow.plt file. After opening this file, you’ll see a 3D Cartesian plot like the one below.
62
Step 2 Surfaces to Plot and the Zone Style dialog
Currently we are looking at an empty box surrounded by orange dashed lines. These lines represent the
boundary of the volume zones with no style applied. To understand what we are looking at, let’s look at
the Surface tab of the Zone Style dialog:
• Open the Zone Style dialog from the Plot sidebar.
• Select the Surfaces tab located at the top and notice the Surfaces to Plot heading.
For performance reasons, the default option for Surfaces to Plot is set to “none” on volume zones. When
you have a volume zone where youʹd like to see the surface data then change this option. Note that if
surface zones are in the dataset, they would be shown in the Zone Style dialog as “N/A”.
Step 3 Contours and Surface Data
Now let’s turn on Contour from the Plot sidebar. To show contours, however,
Tecplot 360 EX must represent this on some sort of surface. Since this data
only contains volume zones, a Question dialog appears asking to display the
63
Understanding Volume Surfaces
surfaces of volume zones. Alternatively, enabling the mesh, contour, shade, vector or scatter layer option
on the plot sidebar will ask you if you want surfaces turned on for active zones.
Turning on the surfaces of volume zones can be a resource-heavy operation as it requires loading the
entire volume zone and calculating which cells represent the outer surface.
Clicking “Yes” on the Question dialog allows Tecplot 360 EX to change the Surfaces to Plot option in the
Zone Style dialog. The volume surfaces will now be contoured by the first variable that is not an axis
variable.
Step 4 Changed Surfaces to Plot in the Zone Style Dialog
If the Zone Style dialog was closed previously, open it again by clicking the Zone Style dialog in the Plot
sidebar.
Navigating to the Surfaces tab, you’ll see that the Surfaces to Plot heading has changed to “Boundary cell
faces” which allows us to see the contour of surfaces of exposed boundary cells.
64
Next Steps
The resulting plot should look similar to what is shown below. Since we did not change the Contour
variable, the plot is displaying the U Vector variable.
65
4
Transient Data
This tutorial uses a vertical-axis wind turbine data set to explore the transient (time-based) capabilities of
Tecplot 360 EX. This data set comprises 127 time steps and 254 separate files in Fluent format—each time
step has two files, one for the geometry and one for the data. These files are sizable (over a gigabyte
compressed), so they are not included with your Tecplot 360 EX installation. Instead, download the
Getting Started Bundle and unzip the compressed data to a convenient location.
This tutorial is divided into four segments. We have provided a layout file for the end of each segment, so
you can check your work. The segments are:
Extracting Data - Use Tecplot 360 EX tools and techniques to reduce the amount of data
2 - Intermediate
that needs to be analyzed, making it easier to understand.
Calculations and Contour Cutoff - Calculate a new variable by using the Tecplot 360 EX
4 - Expert CFDA Analyzer. Use the Contour Color Cutoff property to isolate a region of interest in
the plot.
66
4-1 Loading and Exploring Transient Data
Navigate to the windturbineblades folder where you extracted the data files. Select all the files in this
directory, for example by clicking the first one and then clicking the last one while holding the Shift key,
then click Open. (If you can’t see the files, choose All Supported Files in the menu at the bottom of the
dialog.)
67
Transient Data
Opening all these data files will take a moment; when Tecplot 360 EX is finished, you’ll see a 2D Cartesian
plot like the one below.
68
Step 2 Get A Good Look
What exactly are we looking at here? This is the full 2D fluid domain, representing the wind turbine’s
blades and the air surrounding them. Let’s get a better view:
• Display the mesh by turning on the Mesh checkbox in the Plot
sidebar. The mesh is a collection of interlinked triangles; these
are the individual cells that were used in the simulation.
• Zoom in. Click the Zoom tool on the toolbar, then use the
mouse to draw a rectangle around the center of the plot.
Repeat this two or three times until you see a plot like the one
below.
You may also zoom by placing the mouse pointer in the frame to be zoomed, holding the
mouse’s middle button or scroll wheel, and moving the mouse up and down.
So we can see this is a cross-section of a three-bladed vertical wind turbine. The white areas are the blades,
as you can intuit from their airfoil shape. You can even infer the direction of rotation: counterclockwise.
69
Transient Data
Here you’ll see nine entries: one for each time strand. (The asterisk next to each zone number indicates that
it’s not a single zone, but a group of zones having the same time strand.) In this way, the Zone Style dialog
let you make changes to the “same zone” throughout time all at once, as you’ll usually want to do, instead
of having to make those changes separately at each time step. So although there are technically hundreds
of zones in the data, Tecplot 360 EX lets you style them as though there were only nine.
We’re done with the Zone Style dialog, so close it.
70
Step 5 Visualizing a Contour Plot
Right-click the plot to display the context toolbar and menu, as shown here. These allow you to make
changes to the selected zone.
From left to right, the icons are Mesh, Contour, Vector, Shade, and Edge. Click the first icon to turn off the
Mesh layer, then the second icon to turn on the Contour layer. (You can do this in the Plot sidebar if you
prefer.)
Now your screen should be showing you something like the plot below:
71
Transient Data
After you’ve accepted the vector variables, choose the streamtrace tool in
the main toolbar, or in the Plot sidebar next to the Streamtraces checkbox.
You are now ready to add streamtraces to your plot, a process called
seeding. It is convenient to seed a number of equally-spaced points along
a line, which is referred to as a rake.
To do this, click in the plot near the top blade of the turbine, then hold the
mouse button while dragging down between the two lower blades.
Tecplot 360 EX seeds ten streamtraces at equally-spaced points along the
line you placed Tecplot 360 EX calculates the path of a massless particle
forward and backward from each seeded point and draws the path on the plot.
You may seed additional streamtraces by placing additional rakes in the same way, or seed individual
points by clicking. A Tecplot 360 EX layout (.lay) file containing a snapshot of the final result of this
tutorial segment is in WindTurbineBlades/FinalLayouts/transient_1.lay in the Getting Started bundle.
72
Step 7 Animate Your Plot
Click the Play button in the Plot sidebar to see how pressure and fluid flow
change as the wind turbine blades rotate. (Just as we deduced earlier from
the blade shape, the turbine turns counterclockwise.)
73
Transient Data
Save a layout at this point to make it easy to return this exact place for the next exercise.
74
• Press the V key on the keyboard to constrain the line to vertical. Now you don’t need to worry
about making the line perfectly vertical; Tecplot 360 EX does that for you.
• Move the mouse down to the bottom of the green area. You will notice that a vertical black line
follows the pointer. No matter how you move the mouse horizontally, the line stays put.
• Double-click the mouse to end the creation of the line. (If you had single-clicked, you would
then be able to move the mouse and create an additional line segment attached to the first.)
The line should look roughly like this on the plot. We have made our line thicker so you can see it better.
You don’t have to do the same, but if you have a moment, see if you can figure out how.
You will be asked for the number of points to be extracted along that line. The default value, which should
be 100, is fine.
75
Transient Data
76
Step 3 Create A Line Plot of Pressure
Let’s see what the pressure looks like along our extraction line by
creating a line plot. We can display this line plot side-by-side
with the contour plot and even animate them together.
First, choose the New Frame tool in the Tecplot 360 EX toolbar.
Then hold the mouse button down and drag out a rectangle on the plot. It doesn’t matter where; we will
resize and reposition it in the next step. Your new frame might look something like this.
77
Transient Data
Let’s get that new frame into position. Choose Tile Frames from the Frame menu,
then click the bottom-right button. This will stretch both frames to the width of the
workspace and position them one above the other, as seen here.
Let’s go ahead and zoom out that top frame a bit and reposition it so that
we can see the whole wind turbine. To do this, we will use the Zoom and
Translate tools in the toolbar.
• Choose the Translate tool and drag the plot in the top frame so
that it is centered
• Choose the Zoom tool, then hold down the Control key while clicking the plot to zoom out one
step.
The top frame should look more like this now:
Now we’ll turn our attention to the bottom frame, where we’ll create a line plot of pressure along the line
we placed on the plot earlier.
78
• Choose the selector (arrow) tool from the Tecplot 360 EX toolbar and click the bottom frame to
select it.
• Change the plot mode to 2D Cartesian using the menu at the
top of the Plot sidebar.
You might think to use an XY Line plot for this kind of data, and
normally you could, but XY Line plots don’t have the transient
capabilities of 2D Cartesian plots.
In the bottom frame, you’ll see a gray circle very similar to the
plot that appeared when we first opened this data set.
• Use the Zone Style dialog to turn off all zones except for the
Extracted Points zone. Click the Zone Style button in the Plot
sidebar, then right-click in the Show Zone column of the last
zone listed and choose Show Selected Only.
Note that this zone has an asterisk by its number, indicating that it has a time strand, as we
have previously seen in the Data Set Information dialog. Thus, when we make only this zone
visible, it is the only zone visible at all time steps.
Close the Zone Style dialog after doing this.
• To assign variables to the axes, choose Assign XY from the
Plot menu, then selecting the Y and Pressure variables for the
X and Y axes as shown here.
Your line plot still looks very blank at the moment.
• Activate the Mesh checkbox in the Plot sidebar to see the line.
It’s all scrunched up along the left side of the plot because the
axes aren’t set up properly. We’ll take care of that next.
79
Transient Data
• Choose Axis from the Plot menu to open the Axis Details dialog. Change the Dependency
radio button for the X axis to Independent, as shown here.
We’ll let Tecplot 360 EX choose the range for the axis. Leaving the Axis Details dialog open,
choose Data Fit from the View menu in the main Tecplot 360 EX window. (You can also just
press Control-F.)
• The Data Fit operation also set a range for the Y axis, but it did so only considering the Y-axis
range of the first time step. The range of Pressure at the first time step is not representative of
all time steps, so we will manually specify an appropriate Y-axis range.
Change to the Y axis using the button at the top of the Axis Details dialog, then enter -100 and
-30 as the minimum and maximum.
80
The plot in the bottom frame should now look a lot like this:
On the Between Frames page, mark the Solution Time checkbox, then click the Apply Settings to All
Frames of this Group button. Close the dialog and try animating again!
81
Transient Data
82
When you animate, a moving vertical line appears in this plot to indicate the current time step.
All three plots (the contour plot, the pressure line plot, and the time series plot) animate at the same time.
Try using the Tile Frames tool we used earlier to find a good arrangement for your three frames. You’ll
probably need to re-position and zoom out on the contour plot again.
83
Transient Data
84
Frequency Analysis Using Fourier Transform
In this dialog, choose Pressure as the dependent variable and make sure the Time Series Plot Zone is
selected as the source zone. Using the Plot Placement drop-down menu, choose to tile the new frame with
existing frames. Leave everything else the same. Click Transform to perform the Fourier transform.
-1
A new frame appears, showing Frequency (Solution Time) on the X axis and Amplitude (Pressure) on the
Y axis.
Looking at this plot, we can easily see that there is a low-frequency spike at around 5 Hz and a higher-
frequency spike at about 77 Hz. This matches what we see in the time series plot: a lower-frequency (high-
period) wave overlaid by a higher-frequency (low-period) wave. The combination makes the time series
plot look a little jagged.
From watching the animation, we can attribute the lower-frequency pressure changes to the movement of
the blades. However, we don’t have an obvious explanation for the higher-frequency changes.
85
Transient Data
Before going further, let’s have a quick look at what the Fourier Transform actually did to our data set by
popping into Data Set Information (choose Data Set Info from the Data menu). Make sure that the Fourier
plot frame is selected.
As you can see, Tecplot 360 EX has created a new Fourier Transform zone based on the Time Series Plot
and added three new variables starting with variable 37. (The other zone and the first 36 variables were
created when we generated the time series plot.)
The new variables are the frequency, amplitude, and phase output from the Fourier transform. We only
selected Pressure as our dependent variable in the transform, but if we had selected more, there would be
three new variables for each one we selected.
Step 2 Re-Analyzing at a New Position
Let’s see if we can find out what’s causing the higher-frequency changes. To do this, we’ll re-probe well
outside the turbine, near the left inlet. Then we’ll create a new time series plot and re-do the Fourier
transform.
86
Frequency Analysis Using Fourier Transform
Zoom out the contour plot so that you see most or all of the fluid domain surrounding the turbine. The
blades will be very small in the center of the plot. At right you’ll see we’ve zoomed all the way out. The
mouse pointer is placed roughly where we’ll be probing.
Now choose Probe to Create Time Series Plot from the Tools menu again, and click close to the indicated
position on the plot. A new time series plot is created.
Right away, you can see that this plot has less obvious order in it.
87
Transient Data
Since our Fourier transform plot was calculated from the data in the old time series plot, it disappears. But
we can re-create it easily. Simply right-click the line in the time series plot to display the context menu and
toolbar. Then choose Fourier Transform from the menu.
A new Fourier transform plot is created using the options previously set in the Discrete Fourier Transform
dialog. It looks something like the plot below.
Here, the main frequency is the one we previously saw at around 77 Hz. The lower frequency around 5 Hz
is no longer there, indicating that we are probing far enough away to avoid the effects of the turbine
blades. We can conclude that the 77 Hz frequency is an input boundary condition.
A Tecplot 360 EX layout (.lay) file containing a snapshot of the final result of this tutorial segment is in
WindTurbineBlades/FinalLayouts/transient_2.lay in the Getting Started bundle.
Your Turn
Try analyzing other variables, such as Turbulent Viscosity. By probing near where vortices are shed, you
can see how changes in turbulent viscosity are solely due to the motion of the turbine blades. We will
delve into this in more detail in the next exercise.
88
Calculations and Contour Cutoff
Tecplot 360 EX has chosen defaults that match what it thinks you want to do:
• X Velocity and Y Velocity have been chosen as the convective variables U and V.
• Pressure and Density have been chosen as the corresponding state variables.
For this data set, these defaults are correct, so you can just click OK. For other data sets, you may need to
choose different variables.
89
Transient Data
90
Calculations and Contour Cutoff
91
Transient Data
This makes our vortices stand out by eliminating all contouring below 7. You might experiment with
slightly lower and higher values to see more or less. Now we must remove the legend as it is overlapping
a region of interest on our plot.
92
Calculations and Contour Cutoff
A Tecplot 360 EX layout (.lay) file containing a snapshot of the final result of this tutorial segment is in
WindTurbineBlades/FinalLayouts/transient_3.lay in the Getting Started bundle.
93
Transient Data
Step 6 Animate It
Click the Play button in the Plot sidebar to begin animating the plot.
You’ll notice that the first time through, the animation is a little slow. This
is because Vorticity Magnitude is a calculate-on-demand variable, as we
discussed earlier. It takes a moment to calculate this variable the first time
each time step is plotted.
After the first time through, theK animation will repeat. Since the Vorticity Magnitude variable has
already been calculated for each time step, it does not need to be calculated again, and the animation
moves much more quickly and smoothly the second and subsequent times through.
94
5
This tutorial uses a transient FEA dataset of a connecting rod created with LS-DYNA. The connecting rod
data contains 32 time steps with 32 different variables from the LS-DYNA program of a rod rotating about
a point. The data may be downloaded from the Getting Started Bundle.
The Finite Element Analysis tutorial contains three different segments. The segments will explore multiple
ways to visualize the maximum Von Mises Stress of the rotating rod. We have provided a layout file for
the end of each segment, so you can check your work. The overall difficulty, description, and features used
in each segment are shown below:
95
Finite Element Analysis
Navigate to the downloaded and extracted ConnectingRod folder, open the menu on the bottom right of the
dialog, and select All Supported Files. Load the D3PLOT file.
96
Your loaded data only shows an orange dotted box, select Contour on the Plot sidebar, select Yes on the
question dialog that appears, and your plot should look similar to the above picture. Refer to Section 3 - 1
“Understanding Volume Surfaces” on page 62 to learn about the Surfaces to Plot option.
Step 2 Slow Animation down
Press the play button, , on the plot sidebar and notice the machine parts in motion. If the animation is
too fast, press the button above the animation slider and select the checkbox next to “Limit animation
speed to”, limiting the animation to 12 frames per second.
The resulting animation is now slower the next time the play button is pressed. Close the Time
Animation Details window.
97
Finite Element Analysis
Next, select Tools>FEA Post-Processing to open the “FEA Post-Processing Window”. Under the Derive
Variables section derive “Von Mises Stress/Strain” from “Stress” (the Stress variables shown below).
Click Add to Data Set. Now on the Data Set Information page, Von Mises Stress appears as variable 33.
Close the FEA Post-Processing dialog and close the Data Set Information dialog.
98
Step 4 Contour by Von Mises Stress
To begin contouring, select the button next to the Contour checkbox on the
plot sidebar to open the Contour & Multi-Coloring Details dialog. Currently, X
Acceleration is the contour variable of the first contour group. Change the
contour group variable to Von Mises Stress by selecting the drop-down box at
the top of the dialog.
Tecplot 360 EX allows up to eight contour groups, each with their own contour
variable and levels. This allows multiple contour surfaces to be plotted at the
same time. In this tutorial, only one contour surface needs to be plotted.
Next, select the Set Levels... button and change the minimum level to be 0, maximum level to be 900, and
the number of levels to be 21. The resulting Enter Contour Levels dialog should look like the picture
below. Select OK. Close the Contour & Multi-Coloring Details dialog for now.
99
Finite Element Analysis
The resulting plot isolates the connecting rod because the Von Mises stress contour values are equal to
zero on the crankshaft and cylinder. Though the parts still exist in the data set, they do not give helpful
information. In the Value Blanking dialog, multiple constraints can be enabled at once to confine the plot
view to very specific areas. For this situation, only one constraint was needed.
100
Step 6 Identify the Critical Failure Threshold
When clicking the play button again, the Von Mises Stress ranges between 0 and 900 at different steps in
the cycle. The values of interest are when the Von Mises Stress exceeds 800. This is the critical failure
threshold. To highlight the critical failure threshold, turn on Color Cutoff located in the Contour & Multi-
Coloring Details dialog and cutoff below 800. Close the Contour & Multi-Coloring Details dialog.
Now when playing the animation, there are two steps that are above the critical failure threshold. Turning
on translucency by the checkbox on the plot sidebar can give a better view of the part.
101
Finite Element Analysis
A Tecplot 360 EX layout (.lay) file containing a snapshot of the final result of this tutorial segment is in
ConnectingRod/FinalLayouts/connecting_rod_1.lay in the Getting Started bundle.
102
5-2 Data Alter with If Statements
This section will use an if statement to calculate where a stress threshold is being crossed.
If you have continued from the previous section, be sure to return your screen to one frame. This can be
done quickly by selecting Frame>3D Multi Frame and selecting the icon with the red x (on the bottom
right). The screen should now only display one frame.
If you have not completed the previous section, calculate the Von Mises stress (see Step 3 Calculate Von
Mises stress), and turn on Value Blanking for Von Mises Stress equal to zero (see Step 5 Isolate the
Connecting Rod).
Press the Compute button at the bottom and an Information popup will appear, “Data alteration
successful.” Click OK and close the Specify Equations dialog.
Step 2 Contour It
Open the Contour & Multi-Coloring Details dialog again by selecting the button next to Contour on
the plot sidebar. Change the contour variable to be the variable just created, maxStress. Check that the
Contour settings looks similar to the image below. Remember to remove the color cutoff if it was set in the
previous section.
103
Finite Element Analysis
If your data does not contain the amount of contour levels as the above picture, select the Set Levels
button. This will bring up the Enter Contour Levels dialog. Set the Level Creation mode to “Exact Levels”
and set the minimum, maximum, and delta to 0.05, 0.95, and 0.05, respectively. See Step 4 Contour by
Von Mises Stress for more information.
Now the regions where the threshold of 800, specified in the if statement, are revealed. However, Tecplot
360 EX is not only plotting 0 and 1, as expected. By default, Tecplot 360 EX will interpolate values between
cell values. Close the Contour & Multi-Coloring Details dialog.
104
Step 3 Flood by Primary Cell Value
To minimize interpolation by contouring, open the Zone Style dialog located on the plot sidebar. Select
the Contour tab and set the Contour Type to “Primary value flood”.
Close the Zone Style dialog and notice that the resulting plot contains only yellow and blue. The blue
cells occur when the Von Mises stress threshold is met or being exceeded.
105
Finite Element Analysis
A Tecplot 360 EX layout (.lay) file containing a snapshot of the final result of this tutorial segment is in
ConnectingRod/FinalLayouts/connecting_rod_2.lay in the Getting Started bundle.
Step 2 Macro Breakdown: Create a Zone
This first portion of the macro file takes the first contour variable and finds its name. Then, the macro finds
the number of time steps in the transient data and creates a zone.
# Get the variable name of the contour variable (limited to Contour
Group #1)
$!EXTENDEDCOMMAND
COMMANDPROCESSORID='extendmcr'
COMMAND='QUERY.VARNUMBYASSIGNMENT "C" ContourVarNum'
$!EXTENDEDCOMMAND
COMMANDPROCESSORID='extendmcr'
COMMAND='QUERY.VARNAMEBYNUM |ContourVarNum| ContourVarName'
#
# Create a new zone that represents the MAXC value
# over time. MAXC returns the maximum value of the
# variable which is assigned to Contour Group #1. See
# the scripting guide for more detail on MAXC.
#
$!EXTENDEDCOMMAND
COMMANDPROCESSORID='Extend Time MCR'
COMMAND='QUERY.NUMTIMESTEPS NUMTIMESTEPS'
106
$!CREATERECTANGULARZONE
IMAX = |NUMTIMESTEPS|
JMAX = 1
KMAX = 1
X1 = 0
Y1 = 0
Z1 = 0
X2 = 1
Y2 = 0
Z2 = 0
$!VARSET |TimeZone| = |NUMZONES|
$!RENAMEDATASETZONE
ZONE = |TimeZone|
Name = "Max |ContourVarName| over Time"
Places where vertical bars are used indicate the use of a macro variable. These
can be defined by an intrinsic variable (see Scripting Guide), the
$!VARSETCOMMAND, or specific $!EXTENDEDCOMMAND calls.
To begin, the first two extended commands in conjunction get the variable name by extracting the variable
number by the variable defined in Contour Group 1, then using that to extract the name. The script will
then use this as part of the new zones name.
The script then determines the number of time steps using the ‘QUERY.NUMTIMESTEPS’ which is then
used to create an I-ordered zone (rectangular zone where J = K = 1) dimensioned by the number of time
steps.
Using the $!VARSET command, a new internal macro variable is created based on the total number of
zones. Since the new zone is the last zone created, its index is equal to the maximum number of zones.
Then the zone is renamed using the Contour variable name found earlier.
Step 3 Macro Breakdown: Alter Variables
The next step is to populate the zone created in step 2 with the maximum value of Von Mises Stress. The
key to this process is using the |MAXC| intrinsic variable which returns the maximum value of the
currently active zones.
$!LOOP |NUMTIMESTEPS|
$!EXTENDEDCOMMAND
COMMANDPROCESSORID='Extend Time MCR'
COMMAND='SET.CURTIMESTEP |LOOP|'
$!EXTENDEDCOMMAND
COMMANDPROCESSORID='Extend Time MCR'
COMMAND='QUERY.TIMEATSTEP |LOOP| SolutionTime'
# Instead of creating new variables, we just reuse variables
# #1 and #2. This keeps the dataset a little cleaner, but if we
# really wanted to create new variables we could do so using
# the $!ALTERDATA command
# Variable #1 represents Solution Time
$!SETFIELDVALUE
ZONE = |TimeZone|
VAR = 1
INDEX = |LOOP|
FIELDVALUE = |SolutionTime|
# Variable #2 represent the Max Contour Value
$!SETFIELDVALUE
ZONE = |TimeZone|
VAR = 2
INDEX = |LOOP|
FIELDVALUE = |MAXC|
$!ENDLOOP
107
Finite Element Analysis
|LOOP| when inside a loop is an intrinsic variable to return the value of the
current loop count.
This portion of the macro loops through all time steps activating the current time step though
‘SET.CURTIMESTEP’ which ensure that only the zone in current time are active and used in the |MAXC|
calculation.
Also in the loop, the $!SETFIELDVALUE command is used to set the point value for the specified variable
and zone. In this case we are setting the solution time extracted by the ‘QUERY.TIMEATSTEP’ and the
|MAXC| value to the zone created in step 2.
In preparation for creating a new XY plot the macro performs some simple actions to clean up the plot.
# We deactivate the zone we just created because we don't want it
# to display in the current plot. We'll show it in a new frame instead.
$!ACTIVEFIELDZONES -= [|TimeZone|]
# Turn on Time linking because we'll be turning on the
# Solution Time axis marker on the following XY frame and
# we want that marker to update as we animate over time.
$!LINKING BETWEENFRAMES {LINKSOLUTIONTIME = YES}
# Make sure the active frame is at the top of the frame stack. This
# ensures that the new frame we create below will inherit this dataset
$!FRAMECONTROL MOVETOTOPACTIVE
First, the newly created zoneʹs field map is removed from showing the original plot, since it may affect
how it is displayed. Then Frame linking is turned on and the frame is brought to the top.
Step 4 Macro Breakdown: Create XY Plot
The next step is to create a new XY plot for the newly created zone with a marker which indicates the
current time step of the 3D plot.
# Now plot the new zone in an XY plot
$!CREATENEWFRAME
XYPOS
{
X = 1.3947
Y = 4.6447
}
WIDTH = 8.1217
HEIGHT = 3.2862
$!PLOTTYPE = XYLINE
$!DELETELINEMAPS
$!CREATELINEMAP
$!LINEMAP [1] NAME = 'Max |ContourVarName| Over Time'
$!LINEMAP [1] ASSIGN{ZONE = |TimeZone|}
$!ACTIVELINEMAPS += [1]
$!VIEW FIT
$!XYLINEAXIS XDETAIL 1 {TITLE{TITLEMODE = USETEXT}}
$!XYLINEAXIS XDETAIL 1 {TITLE{TEXT = 'Solution Time'}}
$!XYLINEAXIS YDETAIL 1 {TITLE{TITLEMODE = USETEXT}}
$!XYLINEAXIS YDETAIL 1 {TITLE{TEXT = 'Max |ContourVarName|'}}
# Show the solution time axis marker in the XY frame. We turn
# on solution time frame linking to ensure the line updates when
# we animate in the other frame.
$!LINKING BETWEENFRAMES {LINKSOLUTIONTIME = YES}
$!XYLINEAXIS XDETAIL 1 {MARKERGRIDLINE{SHOW = YES}}
The XY position and dimensions are provided to create a new frame. This new frame automatically
becomes the new active frame. For this reason, changing the plot type and other commands called after
the $!CREATENEWFRAME command only affect the newest frame and not the original.
108
By default, when the plot type is changed to XY Line, line maps are automatically created. The
$!DELETELINEMAPS command must be called in order to create custom line maps. In this case, only one
line map is needed. The name and zones are assigned to the newly created line map and it is then
activated. By default, line maps will use the first two variables of each zone, hence why only the first two
variables were edited in step 3.
To clean up the plot for presentation, the title is set using the XYLINEAXIS commands. The final two lines
ensure that the new frame is linking solution time with the previous one and create a marker line to track
the current solution time between both frames.
109
Part 2 Internal
Combustion Engines
6
This tutorial uses a transient CONVERGE dataset of a single cylinder engine. The data may be
downloaded from the Getting Started Bundle.
The Internal Combustion Engine tutorial contains three different sections. The first section is general
Tecplot knowledge of loading the data and changing plot styling. The second section is more objective-
based and each segment will be individual. We have provided a layout file alongside the data for the end
of each segment, so you can check your work. The overall difficulty, description, and features used in each
segment are shown below:
111
Internal Combustion Engines
The Welcome Screen appears each time you launch Tecplot 360 EX and gives you easy access to layouts
you have recently worked with, along with quick links to documentation and other resources to help you
get the most out of the product.
112
To begin loading the data, click Load Data at the top of the Welcome Screen. (You may also choose Load
Data from the File drop-down menu in the menu bar, or click the folder icon, second from the left, in the
toolbar. These alternate methods are convenient when the Welcome Screen isn’t visible.)
Navigate to your Tecplot 360 EX Getting Started Bundle folder then the Internal Combustion Engine (ICE)
folder. Select all of the .plt files and select Open. The data files are opened and a 3D plot of the Combustion
Engine appears in the Tecplot 360 EX workspace, as shown here:
113
Internal Combustion Engines
Try to hide as many of the exhaust port zones as possible. After hiding, the plot should look something
like this. Do not worry if there are a few zones still active.
114
Exploring the Data Set
115
Internal Combustion Engines
116
Exploring the Data Set
To change the variable of Contour Group 1, select the ʺ1ʺ button at the top of the Contour Details dialog
and select the dropdown list that currently displays mass. Select temp for now. Close the Contour Details
dialog.
Back in the Slice Details dialog, you should see the variable under the Contour tab change to temp as well.
The contour group changed successfully!
117
Internal Combustion Engines
The slice mesh can also be turned on via the Other tab of the Slice Details dialog.Select the magnifying
glass in the toolbar to zoom in for a better look.
Using the Forward, Back, and Play buttons on the Plot Sidebar, see how the plot changes over time.
Step 3 Showing Spray Parcels
The slice gives a good indication of the temperatures in the cylinder through time. However, the slice is
not the only tool at our disposal. This data set also contains spray information that may be beneficial for
our visualization of the engine. To follow along, be sure your Solution Time in the Plot sidebar is set to the
first time step.
Open the Zone Style dialog from the plot sidebar and scroll to the bottom of the Zone list. There you will
see a zone called ʺSprayʺ. We want to style this zone to our specifications. To do this, check the Scatter
checkbox from the Plot sidebar.
118
Exploring the Data Set
The plot will update with scatter symbols for every zone. This is not what we want though. We only want
to show the scatter symbols for the ʺSprayʺ zone. In the Zone Style dialog, select the Scatter tab and
highlight every zone except the ʺSprayʺ zone, right-click the ʺShow Scatterʺ column and select No.
119
Internal Combustion Engines
We want to have the Scatter symbols sized by their radius, from the scatter symbol variable dropdown
menu, select the variable DP_radius. However the plot still hasnʹt updated yet. Finally right-click the
symbol size dropdown menu again and select the DP_radius variable. Your Zone Style should look like
this and the plot should show scatter spheres sized by radius.
Select Multi 2. This corresponds to the Contour & Multi-Coloring group 2. To change the variable of group
2, we will go back to the Contour Details dialog accessed by the button on the sidebar next to the
120
Exploring the Data Set
Contour toggle. For the parcels, we want the color to be contoured by DP_temp. Now you can see how the
parcels change temperature and size through time.
You’ll notice after changing the Parcel color that two contour legends appear on screen. This is because the
parcels are colored by DP_temp while the slice is contoured by temp. Since both contours are in reference to
temperature, we can update the contour levels of both contour groups.
First remove the legend on contour group 2 by right-clicking the legend and selecting Hide. Then in the
Levels and Color tab and select the Set Levels button. Enter the level information like below:
Now repeat with group 1. This will update temp and DP_temp to the same scale.
121
Internal Combustion Engines
NOTE: Spheres of Parcel spray can be graphically intensive for some systems. If that is the case, use Point
shapes or circles. Points cannot be resized but can use colors much like Spheres.
$!FieldMap Scatter{
Show = No
SymbolShape{GeomShape = Point}
}
122
Exploring the Data Set
Next, we will turn on the Iso-surface option from the Plot sidebar. Select the checkbox next to ʺIso-
Surfacesʺ and then the button (similar to how we opened the Slice details dialog). This will open the
Iso-surface Details dialog.
123
Internal Combustion Engines
Since we want to visualize a flame front, use the variable temp set to Contour Group 1. Also select the
Contour tab on the Iso-surface Details dialog and verify the Iso-surface is being contoured by temp as well.
Back on the details page, set the value of the Iso-surface to be 2000, which represents the flame front.
Pressing the play button on the Plot sidebar to animate through the flame front propagation.
124
Exploring the Data Set
This will give us orthogonal views of our data set and we can derive a better understanding of our data
throughout time.
125
Internal Combustion Engines
This dialog displays more advanced animation options than the Plot sidebar.
From the Time Animation details dialog, select the ʺExport to Fileʺ button next to the VCR buttons. This
will open up the Animation Export dialog. The default animation export is MPEG-4. Because of the 3D
Multi Frames in our workspace, ensure the region is ʺAll Framesʺ.
You can also choose to export a larger image width than your current view. This is especially helpful if the
movie is going to be displayed on a high-resolution screen. For this example, we want our final product to
be viewed on a 4K resolution display so we will enter a width of 4096. Select OK and save the final file.
126
Loading Cell Averaged Output Files (CONVERGE)
127
Internal Combustion Engines
Notice how the plot automatically merges both lines to one Y Axis. The min/max values of Mass_Flow_Rate
and Avg_Temp are very different, so putting one of the mappings in a second Y axis will help.
Select the Mapping Style button again on the Plot Sidebar. Scroll to the right to the ʺWhich Y-Axisʺ column
and right click the Avg_Temp row. Then select Y2 as the Y-Axis. The plot will automatically update.
Finally close the Mapping Style dialog to see the final plot. If your plot doesn’t automatically update to the
new axis bounds, select Ctrl+F (or use View > Fit to Full Size).
128
Loading Cell Averaged Output Files (CONVERGE)
To increase the line thickness, right-click the line to bring up the right-click context menu and update the
the thickness as desired. For black and white printing, consider changing one of the lines to dashed.
Step 3 Add Grid Lines
Select Plot > Axis to open the Axis Details menu (or double click on the axis). From the Axis Details menu,
you can see the different tabs to update the plot axes. Notice the X1, Y1, X2 ... buttons, these control the
axis being acted on. For now, we want to update the X1 Grid Lines. Select the Grid tab to update the grid
lines for the X1 axis. Select the Y1 button as well to update the Grid options for Y1. In our case, Y1 is the
Mass_Flow_Rate.
129
Internal Combustion Engines
Select the Show checkboxes under Gridlines and Minor Grid Lines. Notice how the Major Tick labels have
the Solid gridlines and the Minor Tick labels have the Dotted Gridlines.
Next select the Y2 button to edit the Grid Lines for Avg_Temp. Like before, show the Gridlines but this
time leave the Minor Gridlines off. Also notice that there are no distinguishing differences between the
major gridlines. For that reason, we want to update the Gridlines color to “Blue”.
130
Next Steps
131
Part 3 Ocean
Modeling
7
Ocean Modeling
This tutorial uses a transient FVCOM NetCDF data set of the Boston harbor. The data may be downloaded
from the Getting Started Bundle.
This data set was provided by UMASS Chen’s lab. The original data is located here.
The FVCOM NetCDF data file must have nv (element to node connectivity), siglev (sigma level), h
(depth), zeta (surface elevation), (lon,lat) or (x, y) coordinates for Tecplot to be able to load. Tecplot 360 is
not able to deal with FVCOM NetCDF data without the above variables.
The overall difficulty, description, and features used in each segment are shown below:
133
Ocean Modeling
The Welcome Screen appears each time you launch Tecplot 360 EX and gives you easy access to layouts
you have recently worked with, along with quick links to documentation and other resources to help you
get the most out of the product.
134
To begin loading the data, click Load Data at the top of the Welcome Screen. (You may also choose Load
Data from the File drop-down menu in the menu bar, or click the folder icon, second from the left, in the
toolbar. These alternate methods are convenient when the Welcome Screen isnʹt visible.)
Navigate to your Tecplot 360 EX Getting Started Bundle folder and then the Ocean folder. Highlight the
.nc file and select Open to open it in Tecplot 360 EX. (If you canʹt see this file, choose All Files in the menu
at the bottom of the dialog.) The data file is opened and a 3D plot of the Boston harbor loads in the Tecplot
360 EX workspace, as shown here, an orange box shows the bounds of the volume data. See Chapter 3:
“Understanding Volume Surfaces”.
135
Ocean Modeling
In the Zones field, we can see that the NetCDF ocean model has loaded 24 zones. In this case, each zone
represents a new timestep of the data so we have 24 timesteps in total. We can also see in the other column
the variables that have been loaded from the dataset. Close the Data Set Info dialog for now.
136
Making your first plot
A pop-up will appear asking about Surfaces to Plot. For now, select ʺYesʺ. A contour plot will appear with
the default contour variable selected. In this case it is ʺlonʺ. This is because ʺlonʺ is the first, non-XYZ
variable in the dataset.
137
Ocean Modeling
Note that the Z-axis is still exaggerated even at this ratio, but it gives a better understanding of the overall
scale.
Step 4 Change View and Lighting
If you want the map to change to a top-down view, select the rollerball rotate (shown below), click, and
drag the screen around to get a top-down perspective.
Another option is selecting ʺSnap to Orientation viewʺ in the Plot Sidebar and selecting the XY
perspective.
138
Making your first plot
From this angle, lighting effects wash out the contour color. For now we can turn off lighting by
unchecking the ʺLightingʺ checkbox on the Plot sidebar.
Now the plot should have no lighting effect and the contour data can be seen more clearly.
139
Ocean Modeling
Notice the dropdown list at the top of the dialog is set to ʺlonʺ. Select the dropdown list and all the
variables in your dataset appear. Now select ʺsalinityʺ as your new contour variable. The plot will
automatically update.
140
Making your first plot
Also select a new colormap based on the cmocean colormaps, in this case, the ʺcmocean - halineʺ colormap
which is designed to be used with salinity plots. To change the colormap select the colormap dropdown
from the middle of the Contour & Multi-Coloring Details dialog, and select ʺcmocean - halineʺ option.
141
Ocean Modeling
Then turn on the ʺInclude value blankingʺ checkbox. This will tell the plot that we want to blank
something. Change the Blank when fields to be when ʺwet_nodesʺ, ʺis equal toʺ, ʺConstantʺ and ʺ0ʺ. Then
select the ʺActiveʺ checkbox. The plot will update accordingly. The exact value blanking options are in the
image above and final plot should look like this:
Note that the first animation takes longer because it needs to load data. The second play through will be
faster as the data has already been loaded.
Now we want to save this animation to a movie file. On the Plot sidebar select the button next to
Solution time and the Time Animation details dialog will appear. This dialog can give more control over
142
Specific Ocean Plots
your plot animation but since the default settings are already sufficient, select the ʺExport to Fileʺ button
next to the VCR buttons on the Time Animation details dialog.
Finally the Export dialog appears. From this dialog, we can select things such as export format, image
width, antialiasing, and animation speed. For this instruction, select the MPEG-4 format. This will create a
file with an .mp4 extension that is usable by most video viewers. Also, turn on antialiasing as well to get
the definition on the shoreline and have smoother lines. Keep everything else the default and click OK.
Next, save the file to a convenient location as ʺboston_salinity.mp4ʺ. Congratulations youʹve created your
first Tecplot ocean animation!
143
Ocean Modeling
For the next section, select the u, v, and ʺwwʺ variables from the dropdown.
Step 2 Value Blank Siglev
At this point all surfaces are showing vectors including the sea floor. To only show the sea surface, use
value blanking to isolate the ocean surface by blanking when “siglev” is less than 0. Using the second
value blanking constraint, select Plot -> Blanking -> Value Blanking and update the options to match the
image below. Be sure to change the “Blank entire cells when” option to “all corners are blanked”.
144
Specific Ocean Plots
Select the Vector tab and then select the checkbox under ʺVector Tangentsʺ. This will ensure that the
vectors will be displayed tangential to the surface. Close the Zone Style dialog.
145
Ocean Modeling
Next select Analyze -> Calculate Variables. This will bring up the Calculate Variables page. Select Velocity
magnitude as the variable calculation and uncheck the Calculate on Demand button. This will make sure
the points are calculated now instead of when the variable is plotted.
146
Specific Ocean Plots
Then select Calculate and the Velocity Magnitude variable will begin the calculation process for all zones.
Information will appear upon completion that the calculation was successful. Now in the Data Set Info
dialog (Data->Data Set Info) you can see the Velocity Magnitude variable at the end of the variable list.
147
Ocean Modeling
Click OK and close the Contour & Multi-Coloring Details dialog. Here is what your plot should look like
currently.
148
Specific Ocean Plots
Set the Length to Relative (grid units/magnitude) and set the number to 0.005. This will update the vectors
to be smaller and more manageable in the dense areas of the plot. Your final plot should be similar to the
one you see below:
149
Ocean Modeling
At this point, use the zoom and pan tools to explore different regions of the data.
Select Plot > Assign XYZ and assign lon to the X variable and assign lat to the Y variable. If you are
continuing from the previous exercises, this step will already be done.
Step 2 Insert Georeferenced Image
Select Insert > Image/Georeferenced Image and select the ʹboston.pngʹ file from the same folder the data
was loaded. The map of the Boston harbor will appear alongside the dataset. Click the Play button and
notice that the colormap disappears behind the image as we animate through time.
150
Specific Ocean Plots
image. Right click the georeferenced image and select Image Details. The 3D Image Geometry Details
dialog appears. Notice that the Z position field defaults to 0. Update this field to -10 and click Accept.
The image will now be moved below the contour flooding. Select the play button again from the Plot
Sidebar and notice how the sea height fluctuates but never falls below the image like before.
151
Ocean Modeling
Set the Iso-surface definition to C3 and enter the value of -1. Update the Contour variable in group three to
siglev via the Contour Details dialog. See the above image for the Contour details and Iso-surface details
options. Also while you have the Contour details dialog open, update the contour group two to be colored
by z using the “cmocean-deep” colormap and with the colormap reversed. Then select C2 in the Contour
152
Specific Ocean Plots
tab of the Iso-surface details dialog. See the below image for the correct options for how to update the iso-
surface contour.
Setting the iso-surface definition will create an iso-surface of the bottom layer of the dataset. Rotating the
plot around, you can see the ridges of the harbor floor through the dataset.
153
Ocean Modeling
154
Specific Ocean Plots
Remove the z legend by right-clicking the legend edge and selecting “Hide”. Rotate the plot to see the slice
easier like below.
155
Ocean Modeling
If the variable is not already salinity, update the variable in the Contour Details dialog.
Also be sure to turn on the slice mesh in the Other tab. This will show us the final plot. The slice displays
the salinity stratification through the Boston harbor. Be sure to use the zoom and pan tools to orient the
plot to your liking.
156
Advanced Topics
157