Manual Tecplot 360
Manual Tecplot 360
Tecplot, Inc.
Bellevue, WA
2011
COPYRIGHT NOTICE Tecplot 360TM Getting Started Manual is for use with Tecplot 360TM Version 2011. Copyright 1988-2011 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
THIRD PARTY SOFTWARE COPYRIGHT NOTICES 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 possibility 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., Copyright 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. 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 trademark or trademark of Attachmate Corporation in the U.S. and/or other countries. EnSight is a registered trademark or trademark of Computation Engineering Internation (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 trademark 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 Coroporation 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 trademark 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 trademark 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 Systmes or its subsidiaries in the U.S. and/or other countries. The Abaqus runtime libraries are a product of Dassault Systmes Simulia Corp., Providence, RI, USA. Dassault Systmes, 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 trademark 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 registered trademark or trademark of Trolltech 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 countries. 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. NOTICE TO U.S. GOVERNMENT END-USERS 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. 11-360-02-1 Rev 4/2011
Table of Contents
1 2
Data Hierarchy............................................................................ 23
Frames ............................................................................................... 23 Datasets ............................................................................................. 24 Zones ................................................................................................. 24
Add a Contour Legend ...................................................................... 35 Modify the Contour Legend .............................................................. 35 Add Contour Levels........................................................................... 37 Modify the Contour Coloring............................................................ 39 Isolate the Wing Using the Sidebar................................................... 40
Conclusion ................................................................................... 62
Conclusion ................................................................................... 78
1
Introduction
Tecplot 360 allows you to interactively explore, visualize, and analyze your data, and then communicate your results through high-quality plots for reports, papers, presentations, or websites. The user documentation for Tecplot 360 is divided into these nine books: Getting Started Manual (this document) - New Tecplot 360 users are encouraged to work through the tutorials provided in the Getting Started Manual. The tutorials highlight how to work with key features in Tecplot 360. Users Manual - This manual provides a complete description of working with Tecplot 360 features. Scripting Guide - This guide provides Macro and Python command syntax and information on working with Macro and Python files and commands. Quick Reference Guide - This guide provides syntax for zone header files, macro variables, keyboard shortcuts, and more. Data Format Guide - This guide provides information on outputting simulator data to Tecplot 360 file format. Add-on Developers Kit - Users Manual - This manual provides instructions and examples for creating add-ons for Tecplot 360. Add-on Developers Kit - Reference Manual - This manual provides the syntax for the functions included in the add-on kit. Installation Instructions - These instructions give a detailed description of how to install Tecplot 360 on your machine. Release Notes - These notes provide information about new and/or updated Tecplot 360 features. Tecplot Talk - A user-supported forum discussing Tecplot 360, Tecplot Focus, Python scripting, Add-on development, TecIO and more. Visit www.tecplottalk.com for details. This manual includes an overview of Tecplot 360, as well as three tutorials. Each tutorial takes approximately 20-40 minutes to complete. External Flow Tutorial - This tutorial includes calculating a pressure coefficient, using a contour layer, extracting a slice, and plotting data from multiple files in one frame.
Internal Flow Tutorial - This tutorial includes value blanking and streamtrace animation. Fluid Structure Interaction Tutorial - This tutorial includes contour groups, manipulation of multiple data files, and transient animation. For in-depth information on any of the topics covered in the Getting Started Manual, please refer to the Users Manual, which is included in your Tecplot Focus installation directory. Both of these manuals are also available on our website at: http://www.tecplot.com/support/360/docs.aspx.
2
Overview
Tecplot 360 features allow you to visualize complex numerical and computational fluid dynamics and vital engineering plot relationships by: Animating XY, Polar, 2D, and 3D plots in one unified environment Customizing the independent axes for specialty plots (for example, Lift vs. Angle of Attack or Cp vs. Cord) Using the interactive slice, iso-surface, and streamtrace tools Detecting vortex cores, shock surfaces, and separation and reattachment lines Calculating critical flow functions and performing integrations Integrating particle trajectories with support for massed particles and drag effects Validating numerical models with test data in the same window Comparing multiple models simultaneously, including visualization of fluid structure interaction Supporting 30 CFD, FEA, structural analysis, and industry-standard data formats After creating your plots, you can communicate your results clearly and effectively by: Using the Copy Plot to Clipboard command to paste a plot directly into Microsoft PowerPoint, Microsoft Word, and other Microsoft Office applications Animating to a file for use in a PowerPoint presentation, a webpage, or a Framer (AVI, Flash, or Raster Metafile) Using the Publish command to share results directly on the Web Exporting presentation-quality vector and raster formats (JPEG, PNG, TIFF, BMP, WMF, Adobe PostScript, or EPS) You may also save time and effort by automating routine analyses and plotting operations through these methods: Customizing the interface to your workflow Creating macros by recording or writing scripts Using the Quick Macro Panel dialog for one-click macro access Batch process plotting and printing
9
2-1
Interface
Menubar
Tools
Sidebar
Tecplot 360
Status Line
2-2
Menubar
Tecplot 360s features are organized into the following menus: File - Use the File menu to read or write data files and plot layouts, print and export plots, and set configuration preferences. Edit - Use the Edit menu to select, undo, cut, copy, paste, and clear objects, open the Quick Edit dialog, and change the draw order for selected items (push or pop).
Cut, Copy, and Paste work only within Tecplot 360. To place a graphic image of your layout into another program, use Copy Plot to Clipboard. This option is available on Windows and Macintosh platforms.
View - Use the View menu to manipulate the point of view of your data, including scale, view range, and 3D rotation. You can also use the View menu to copy and paste views between frames. The View menu includes the following convenient sizing options:
10
Menubar
Fit Everything (3D Only) - This options resizes plots so that all data points, text, and geometries are included in the frame. Fit Surfaces (3D Only) - This option resizes plots so that all surfaces are included in the frame, excluding any volume zones. Fit to Full Size - This option fits the entire plot into the frame. This option does not affect the axis ranges. Nice Fit to Full Size - This option sets the axis range to begin and end on major axis increments (if axes are dependent, the vertical axis length is adjusted to accommodate a major tick mark). Data Fit - This option fits the data points to the frame. Make Current View Nice - This option modifies the range on a specified axis to fit the minimum and maximum of the variable assigned to that axis, and then snaps the major tick marks to the ends of the axis. (If axis dependency is not set as independent, this may affect the range on another axis.) Center - This option moves the plot image so that the data points are centered within the frame. (Only the data is centered; text, geometries, and the 3D axes are not considered.) Plot - Use the Plot menu to control the style of your plots. The menu items available are dependent upon the active plot type (chosen in the Sidebar). Insert - Use the Insert menu to add text, geometries (polylines, squares, rectangles, circles, and ellipses), or image files. If you have a 3D zone, you may also use the Insert menu to insert a slice. If the plot type is set to 2D or 3D Cartesian, you may insert a streamtrace. Animate - Use the Animate menu to animate IJK Planes, IJK Blanking, iso-surfaces, mappings, slices, streamtraces, time, and zones. Data - Use the Data menu to create, manipulate, and examine data. Types of data manipulation available in Tecplot 360 include zone creation, interpolation, triangulation, and creation or alteration of variables. Frame - Use the Frame menu to create, edit, and control frames. Options - Use the Options menu to control the attributes of your workspace, including the color map, paper grid, display options, and rulers. Scripting - Use the Scripting menu to play or record macros, and to access the Quick Macros Panel dialog. Tools - Use the Tools menu to launch the Quick Edit dialog or an add-on. Analyze - Use the Analyze menu to examine grid quality, perform integrations, generate particle paths, extract flow features, and estimate numerical errors. Help - Choose Tecplot 360 Help from the Help menu to get specific, complete help on features or operations within Tecplot 360. By choosing About Tecplot 360 from this menu, you can obtain specific information about your license.
2 - 2.1
Sidebar
The Sidebar provides easy access for frequently used plot controls. The functions available in the Sidebar depend on the plot type of the active frame. For 2D or 3D Cartesian plot types, you can add or subtract zone layers, zone effects (3D only), and derived objects from your plot using the Sidebar. For line plots (XY and Polar), you can add or subtract mapping layers using the Sidebar. To customize your plot, simply: Choose the desired type of plot from the Plot Types menu. Use the toggle switches to add and subtract Zone Layers/Map Layers, Zone Effects, or Derived Objects. Use the Zone Style/Mapping Style dialogs to further customize your plot by adding
11
or subtracting zones from specific plot layers/mappings, changing the way a zone or group of zones is displayed, or changing various plot settings.
Figure 2-1. Zone Effects (3D only) Derived Objects (Isosurfaces and slices are 3D only) Transient Controls
Placement Plane (3D only, available when the slice or streamtrace tool
The Tecplot 360 Sidebar for a field plot (left) and a line plot (right). The features available in the Sidebar are dependent upon the plot type. For 3D Cartesian plots, you may add and subtract zone layers, derived objects, and effects for your plot. You may also use the Placement Plane for positioning of some 3D objects (3D plots only). For 2D Cartesian plots (not shown), you may add and subtract zone layers and some derived objects for your plot. For field plots (3D or 2D), you may animate transient data directly from the Sidebar. For line plots, you may add and subtract map layers. NOTE: XY line plots have
Plot Types
The plot type, combined with a frames dataset, active layers, and each layers associated attributes, define a plot. Each plot type represents one view of the data. There are five plot types available: 3D Cartesian - 3D plots of surfaces and volumes 2D Cartesian - 2D plots of surfaces, where the vertical and horizontal axes are both dependent variables (i.e. x = f(A) and y = f(A), where A is another variable) XY Line - Line plots of independent and dependent variables on a Cartesian grid; typically with the horizontal axis (x) as the independent variable and the vertical axis (y = f(x)) as a dependent variable Polar Line - Line plots of independent and dependent variables on a polar grid Sketch - Plots without data, such as drawings, flow charts, and viewgraphs
12
Menubar
Zone Effects
For 3D Cartesian plot types, use the Sidebar to turn Lighting and Translucency on or off. Only shaded and flooded contour surface plot types are affected.
Derived Objects
For Cartesian plot types (2D and 3D), toggle-on Iso-Surfaces, Slices, or Streamtraces from the Sidebar to explore these elements. Their corresponding Details dialogs can be accessed with the Details button in the Sidebar. (In 2D Cartesian plots, only streamtraces are available.)
Transient Controls
When working with transient data, simply click the Play button in the Sidebar to animate the data over time. The active frame will be animated from the Current Solution Time (left, circled in red) to the last time step. You may also drag the slider left or right to change the Current Solution Time of your plot.
- This button jumps to the Starting Value. - This button jumps toward the Starting Value by one step. - This button runs animation as specified by the Operation field of the Time Details dialog. This Play button becomes a Pause button while the animation is playing. - This button jumps toward the Ending Value by one step. - This button jumps to the Ending Value.
Use the Details button in the Transient Controls region of the Sidebar to launch the Time Details dialog. See Section 7 - 2 Time Aware in the Users Manual for more information on time controls and the Time Details dialog.
Placement Plane
When using certain tools to add objects to your plot, toggle-on Use Placement Plane in the Sidebar to place the objects along a given plane (3D Plots only). Use the X, Y, and Z buttons to choose the plane to use, and use the slider to reposition the Placement Plane. The Placement Plane will appear as a gray slice in your plot.
The Placement Plane is available for: Placing streamtraces (using the Add Streamtrace tool Placing slices (using the Slice tool ) ) ) )
Adding Contour Levels (using the Add Contour Level tool Deleting Contour Levels (using the Remove Contour Level tool Probing (using the Probing tool )
Snap Modes
Snap to Grid - Constrains object movement to whole steps on the axis grid. This can be useful for aligning text and geometries with specific plot features. Snap to Paper - Constrains object movement to whole steps on the paper's ruler grid. This can be useful for positioning frames precisely for printing, or for absolute positioning of text, geometries, and other plot elements.
14
Menubar
Redraw Buttons
The redraw buttons allow you to keep your plot up to date: Redraw All-CTRL-D redraws all frames, SHIFT-Redraw All causes Tecplot 360 to completely regenerate the workspace, and Redraw-CTRL-R redraws only the current frame.
Auto Redraw
Use Auto Redraw - When toggled-on, Tecplot 360 will automatically redraw the plot whenever style or data changes. Some users prefer to turn this option off while setting multiple style settings and then manually clicking Tecplot 360's Redraw or Redraw All button on the Sidebar to see a full plot.
An auto redraw can be interrupted at any time with a mouse click or key press.
Cache Graphics
Tecplot 360 uses OpenGL to render plots. OpenGL provides the ability to cache graphic instructions for rendering and can re-render the cached graphics much faster than having Tecplot 360 send the instructions again. This is particularly true for the interactive manipulation of a plot. However, this performance potential comes at the cost of using more memory. If the memory need is too high, the overall performance could be less. Tecplot 360 has three graphics cache modes: cache all graphics, cache only lightweight graphics objects, and do not cache graphics. When Cache Graphics is toggled-on in the Sidebar, Tecplot 360 assumes there is enough memory to generate the graphics cache. Assuming this is true, Tecplot 360's rendering performance will be optimal for the interactive manipulation of a plot. When memory constraints are very limited, consider toggling-off Cache Graphics. If you intend to interact with the plot under limited memory constraints, also consider setting the Plot Approximation mode to All Frames Always Approximated. See Section Graphics Cache in the Users Manual for more information.
Plot Approximations
If Plot Approximation is toggled-on and the number of data points is above the point threshold, Tecplot 360 will render the approximate plot for style, data, and interactive view changes followed immediately by the full plot. This option provides for good interactive performance with the final plot always displayed in the full representation.
Tools
Each of the tools represented in the toolbar changes the mouse mode and allows you to edit your plot interactively.
Double-click on a tool to launch the Details dialog associated with that tool.
15
Selector Tool
Use the Selector tool to select objects in your workspace. The objects can be modified using the Quick Edit dialog when the Quick Edit button is chosen in the Sidebar before an object is selected. The following objects can be moved (translated) using the Selector tool itself: Frames Axis Grid Area Text Geometries Contour Labels Streamtraces Streamtrace Termination Line Legends 3D Frame Axis To select an object and open that object's attributes dialog, either double-click on the desired object or drag the cursor to select a group of objects to call up the Group Select dialog. Click OK, and then click the Object Details button in the Sidebar.
Adjustor Tool
Use the Adjustor tool to perform the following specific modifications to your plot and data: Change the location of individual or groups of data points in the grid Modify the values of the dataset variables at a particular point Change the length or placement of individual axes (2D Cartesian and XY Line plot types only) Change the spacing between an axis label and its associated axis (2D Cartesian and XY line plot types only) Change the shape of a polyline Except for the above actions, the behavior of the Adjustor tool is identical to that of the Selector tool.
The Adjustor tool can alter your data. Be sure you want to use the Adjustor tool before dragging points in the data region.
To select multiple points, you can either SHIFT-click after selecting your initial point to select additional points, or you can draw a group select band to select the points within the band. (In Line plots, you can select points from only one mapping at a time.) Once you have selected all desired points, move the Adjustor over the selection handles of one of the points, then drag to the desired location of the chosen data point. Other selected points will move as a unit with the chosen data point, maintaining their relative positions.
For XY Line plots: If several mappings are using the same data for one of the variables, adjusting one of the mappings will result in simultaneous adjustments to the others. You can avoid this by pressing the H or V keys on your keyboard while adjusting the selected point. The H and V keys restrict the adjustment to the horizontal and vertical directions, respectively.
16
Menubar
Group Select
The Group Select dialog is opened when you select a group of objects with the Selector or Adjustor tools. Drag to create a rectangle around the objects you want to select. Use the Group Select dialog to specify which types of objects within the specified selection region should be selected. The Group Select dialog allows you to specify the following object types to be selected (if the selection rectangle does not include a specific object, its associated check box is inactive): Text Geometries Frames Zones Axis Grid Area Contour Labels Streamtraces The Group Select dialog offers the following attribute filters: Geoms of Type - Choose geometries of a particular type from the menu. Geoms with Line Pattern - Choose all geometries having a particular line pattern. Text with Font - Choose all text displayed in a particular font. Objects with Color - Choose all objects of a particular color. (Choose the appropriate color from the Select Color dialog.)
Zoom Tool
This tool enables zooming into or away from a plot. With the zoom tool selected as the mouse mode, when a mouse-click occurs (without dragging), the zooming is centered at the location of your click. There are two zoom modes: plot zooming and paper zooming. For plot zooming, drag the magnifying glass cursor to draw a box about the region that you want to fit into the frame. The box may be larger than the frame. Drawing a box larger than the frame zooms away from the plot. The region within the view box will be resized to fit into the frame.
If Snap to Grid is toggled-on in the Sidebar, you cannot make the zoom box larger than the grid area.
To return to the previous view, choose Last from the View menu (CTRL-L). To restore the original 2D view, choose Fit to Full Size (CTRL-F) from the View menu. The results of plot zooming for the 2D plot type are dependent upon the axis mode selected in the Axis Details dialog (accessed via the Plot menu): 2D Independent Axis Mode - The independent axis mode allows the selected region to expand to exactly fit in the frame. The axes are rescaled independently to fit the zoom box. 2D Dependent Axis Mode - In dependent mode, the axes are not fit perfectly to the zoom box. The longest dimension from the zoom box is applied to the associated axis, and the other axis is resized according to the dependency relation.
17
For paper zooming, SHIFT-drag the magnifying glass cursor to draw a box about the region that you want to magnify. The plot is resized such that the longest dimension of the zoom box fits into the workspace. You can fit one or all frames to the workspace by using the Fit Selected Frames to Workspace or Fit All Frames to Workspace options from the View>Workspace menu. To return to the default paper view, choose Fit Paper to Workspace from the View>Workspace menu.
Use the center mouse button to zoom smoothly into or out of the plot. Clicking anywhere in your plot while the zoom tool is active zooms in on the plot and centers that zoom around your click.
Translate Tool
Use the Translate/Magnify tool to translate or magnify data within a frame or the paper within the workspace. While in Translate/Magnify mode, drag the cursor to move the data with respect to the frame, or SHIFTdrag to move the paper with respect to the workspace.
Use the right mouse button to translate objects within a frame interactively. Rescale image: You can rescale your image by choosing the translate tool and pressing + to magnify or - to shrink. Rescale paper: To rescale the paper, first SHIFT-drag to move the paper, and then use the rescale buttons + or - to magnify or shrink the paper, respectively.
Three-dimensional Rotation
Tecplot 360 allows you to rotate your data in a variety of ways. Choose one of the six possible 3D rotation mouse modes, then drag the pointer in the workspace to rotate your 3D image. The six rotation mouse modes can be engaged by selecting one of these six tools: Spherical - Drag the mouse horizontally to rotate about the Z-axis; drag the mouse vertically to control the tilt of the Z-axis. Rollerball - Drag the mouse in the direction you want to move the plot with respect to the current orientation on the screen. In this mode, your mouse acts much like a rollerball. Twist - Drag the mouse clockwise around the image to rotate the image clockwise. Drag the mouse counterclockwise around the image to rotate the image counterclockwise. X-axis Y-axis Z-axis - Drag the mouse to rotate the image about the X-axis. - Drag the mouse to rotate the image about the Y-axis. - Drag the mouse to rotate the image about the Z-axis.
Once you have selected a rotation mouse mode, you can quickly switch to any of the other rotation capabilities or rotation modes using the following keyboard shortcuts:
Rotate about the defined rotation origin with your current Rotate tool. Rotate about the viewer position using your current Rotate tool. Smooth zoom in and out of the data.
18
Menubar
Right-click
Translate the data. Move rotation origin to probed point of data. This shortcut can be used without first selecting a rotation mouse mode. Hover over your intended point of origin, type O, and then CTRL-right-click and drag to rotate the image. Switch to Rollerball rotation. Switch to Spherical rotation. Switch to Twist rotation. Switch to X-axis rotation. Switch to Y-axis rotation. Switch to Z-axis rotation.
R S T X Y Z
Slice Tool
Use the Slice tool to control your slice rendering interactively. The following keyboard/mouse options are available when the Slice tool is active:
Primary Slices, Start/End Slices active - Turn on intermediate slices (if not already active) and add a slice. Primary Slices active [ONLY] - Turn on Start/End Slices and add a slice. Start/End Slices active [ONLY] - Turn on Start/End Slices and add a slice. Primary Slices, Start/End Slices active - Remove start and end slices. Primary Slices active [ONLY] - Remove the primary slice. Start/End Slices active [ONLY] - Remove the Start and End Slices. Update the position of the primary slice (if active). If only start and end slices are visible, click to update the position of the slice closest to the click. Determine the XYZ-location by ignoring zones and looking only at derived volume objects (streamtraces, slices, iso-surfaces). Place the start or end slice (whichever is closest to the initial click location). Show Start/End Slices as activated, if necessary. Move the start or end slice (whichever is closest to the initial click location). Show Start/End Slices as activated, if necessary. Switch to slicing constant I, J, or K planes respectively.
Click-drag
ALT-click/ALT-drag
SHIFT-click
19
X, Y, Z 1-8
Switch to slicing constant X, Y, or Z planes respectively. Numbers one through eight switch to the corresponding slice group.
Add Streamtrace
Choose the Add Streamtrace tool to add a streamtrace interactively by clicking anywhere in your plot. Select the number of streamtraces to include with each click (rake) using 1-9 on the keyboard.
Refer to the Chapter 15: Streamtraces in the Users Manual for more information about using streamtraces. D R S V 1-9 Switch to streamrods Switch to streamribbons Switch to surface lines Switch to volume lines Change the number of streamtraces added when placing a rake of streamtraces
SHIFT Draw a rake on concave 3D volume surfaces. These rakes are normally not drawn, as they occur outside of the data.
20
Menubar
Probe Tool
Choose the Probe tool to probe for values of the dataset's variables at a particular point. To obtain interpolated values of the dataset variables at the specified location, choose any point in the data region. To obtain exact values for the data point nearest the specified location, CTRL-click at the desired location.
For XY plots - When you move into the axis grid area, the cursor crosshair is augmented by a vertical or horizontal line, depending on whether you are probing along the X-axis or the Y-axis. You can change the axis to be probed by pressing X to probe the X-axis or Y to probe the Y-axis.
Insert Text
To add text to any frame, click the Add Text tool and draw a text box in the selected frame. The Text Details dialog will be launched automatically. Use it to assign and modify text.
Insert Geometries
Use the corresponding geometry buttons in the toolbar to insert geometries into your plot: Polylines Squares Rectangles
21
Circles Ellipses Select a geometry shape for insertion, and then drag in the workspace to create the shape of desired size.
22
Data Hierarchy
To specify the maximum I-index and J-index, use the Create Rectangular Zone dialog (accessed via Data>Create Zone>Rectangular).
The current frame must have a dataset attached to it in order for this tool to be active. (This option is only available in 2D Cartesian plots.)
2 - 2.2
Status Line
The status line, running along the bottom of the Tecplot 360 window, gives hover help. When you move the pointer over a tool in the toolbar, a button on the Quick Edit dialog, or a menu item, a description of the control appears. It also provides a progress bar and information during long calculations.
2 - 2.3
The workspace is the portion of your screen in which you create sketches and plots. Each sketch or plot is created within a subwindow called a frame. The current state of the workspace, including the sizing and positioning of frames, the location of the data files used by each frame, and all current attributes for all frames, makes up a layout. By default, the workspace displays a representation of the paper Tecplot 360 is set up to draw on, as well as a reference grid and rulers. The active frame in which you are currently working is on top. All modifications are made to the active frame.
2-3
Data Hierarchy
Tecplot 360 structures data on two levels: datasets and zones. Datasets are contained within frames. Each dataset is composed of a zone or group of zones, and each zone contains a variable or group of variables. All zones in a dataset contain the same set of variables.
2 - 3.1
Frames
You can create multiple plots simultaneously in Tecplot 360 using subwindows called frames. By default, one frame is open when you launch Tecplot 360. You can add frames to the workspace using the Frame menu. Datasets can be unique to the frame or shared between frames. Linking data between frames allows you to generate unique plots of the same data. For more information on working with frames, please refer to Chapter 2: Using the Workspace in the Users Manual.
23
2 - 3.2
Datasets
A dataset is defined as all of the data in a frame. Starting with an empty frame, a dataset is created and assigned to the active frame when you read one or more data files into Tecplot 360, or when you create a zone within Tecplot 360.
2 - 3.3
Zones
Zones are subsets of datasets. A dataset can be composed of a single zone or several zones. Zones are either defined in the data file or created directly in Tecplot 360. The number of zones in a concatenated dataset is the sum of the number of zones in each of the data files that are loaded. Typically, a data file is divided into zones based on its physical coordinates. For example, a dataset of an airplane may consist of a zone for each wing, each wheel, the nose, and so forth. Alternatively, zones may be defined based on material. For example, a dataset of a fluid tank may have a zone for the tank itself and additional zones for each fluid therein.
2-4
Data Structure
Tecplot 360 accommodates two different types of data: ordered and finite element. The data structure is defined within the data file. Each zone is composed of one data type.
2 - 4.1
Ordered Data
Ordered data is a set of points logically stored in a 1D, 2D, or 3D array, where I, J, and K are the index values within the array. The number of data points is the product of all of the dimensions within the array. 1D array (I-ordered, J-ordered, or K-ordered) - A 1D array is a one-dimensional array of data points, where one dimension (I, J, or K) is greater than or equal to one, and the other dimensions are equal to one. In a one-dimensional array, the total number of data points is equal to the length of the single-ordered array. For example, an I-ordered dataset with I=5, J=K=1 has five data points. 2D array (IJ-ordered, JK-ordered, IK-ordered) - In a 2D array of data points, two of the three dimensions (I, J, or K) are greater than one, and the other dimension is equal to one. The number of data points in a 2D ordered dataset is the product of the all of the dimensions. For example, in an IJ-ordered dataset, the number of data points is equal to I x J (where K=1). 3D array (IJK-ordered) - In a 3D array of data points, all three of the dimensions (I, J, and K) are greater than one. The number of data points is the product of the I, J, and K dimensions.
2 - 4.2
While finite element data is usually associated with numerical analysis for modeling complex problems in 3D structures (heat transfer, fluid dynamics, and electromagnetics), it also provides an effective approach for organizing data points in or around complex geometrical shapes. For example, you may not have the same number of data points on different lines, there may be holes in the middle of the dataset, or the data points may be irregularly (randomly) positioned. For such difficult cases, you may be able to organize your data as a patchwork of elements. Each element can be independent of the other elements, so you can
24
Data Structure
group your elements to fit complex boundaries and leave voids within sets of elements. The figure below shows how finite element data can be used to model a complex boundary.
Figure 2-2.
This figure shows finite element data used to model a complex boundary. This plot file, feexchng.plt, is located in your Tecplot 360 distribution under the examples/2D subdirectory.
Finite element data defines a set of points (nodes) and the connected elements of these points. The variables may be defined either at the nodes or at the cell (element) center. Finite element data can be divided into three types: Line data is a set of line segments defining a 2D or 3D line. Unlike I-ordered data, a single finite element line zone may consist of multiple disconnected sections. The values of the variables at each data point (node) are entered in the data file similarly to I-ordered data, where the nodes are numbered with the I-index. This data is followed by another set of data defining connections between nodes. This second section is often referred to as the connectivity list. All elements are lines consisting of two nodes, specified in the connectivity list. Surface data is a set of triangular, quadrilateral, or polygonal elements defining a 2D field or a 3D surface. When using polygonal elements, the number of sides may vary from element to element. In finite element surface data, you can choose (by zone) to arrange your data in three point (triangle), four point (quadrilateral), or variable-point (polygonal) elements. The number of points per node and their arrangement are determined by the element type of the zone. If a mixture of quadrilaterals and triangles is necessary, you may repeat a node in the quadrilateral element type to create a triangle, or you may use polygonal elements. Volume data is a set of tetrahedral, brick or polyhedral elements defining a 3D volume field. When using polyhedral elements, the number of sides may vary from element to element. Finite element volume cells may contain four points (tetrahedron), eight points (brick), or variable points (polyhedral). The figure below shows the arrangement of the nodes for
25
tetrahedral and brick elements. The connectivity arrangement for polyhedral data is governed by the method in which the polyhedral facemap data is supplied.
N1
N4
N2 N3
In the brick format, points may be repeated to achieve 4, 5, 6, or 7 point elements. For example, a connectivity list of n1 n1 n1 n1 n5 n6 n7 n8 (where n1 is repeated four times) results in a quadrilateral-based pyramid element. Section 4 - 5 Finite Element Data in the Data Format Guide provides detailed information about how to format your FE data in Tecplots data file format.
2-5
Creating Plots
The basic steps for creating a plot in Tecplot 360 are the following: 1. Define your dataset using one of the following methods: a. Using the Load Data File(s) command from the File menu to load any type of data file b. Using the Open Layout command from the File menu to load linked layout or layout package files c. Using any combination of the options in the Create Zone submenu of the Data menu or the Insert menu to create your datasets directly within Tecplot 360 2. Choose the Plot Type (3D, 2D, XY line, Polar line, or Sketch) from the Sidebar. 3. Toggle-on any mapping or zone layers from the Sidebar (for example, contour zone layer or symbols mapping layer). Use the Details button to customize zone layers. 4. OPTIONAL (3D only) - Toggle-on zone effects (translucency and lighting). 5. OPTIONAL - Use the Zone Style or Mapping Style dialogs to opt zones in and out of plot layers or the entire plot. 6. OPTIONAL (2D or 3D only) - Add derived objects (slices, streamtraces, or iso-surfaces). Use the Details button to customize any derived objects. You are not limited to working with only one plot at a time in Tecplot 360. You can create multiple files at once using frames and frame linking. Once you have loaded your data, you can use the options in the Plot menu (such as Blanking or Axis Details) to customize how your data is displayed. You can also use the options in the Data menu (such as Specify Equations or Interpolation) to alter the dataset.
2-6
Output Formats
Once you have completed your plot(s), you can use any of the following media to distribute or publish your plot(s) outside of Tecplot 360:
26
Output Formats
Printing - Use the Print option from the File menu to print your plots. Exporting to an image file - Use the Export option from the File menu and select the desired image format in the Export dialog. Exporting to an animation file - Access this export option via any of the Animation dialogs by selecting To File in the Animate field, or by selecting a movie file format from the Export dialog (accessed via the File menu). Publishing - Use the Publish option from the File menu to save your plots in HTML format. Copying the plot to a clipboard (Windows and Macintosh operating systems only) - Use the Copy Plot to Clipboard option from the Edit menu to paste your plot into word processing software.
27
28
3
External Flow Tutorial
3-1 Introduction
The following tutorial demonstrates how to display pressure on an airplane wing, and how to compare measured and simulated data on a two-dimensional projection plane. We will implement several Tecplot 360 features to create this plot, including the PLOT3D loader, the Calculate Variables option, contour legends, a 2D projected plane, and a line legend.
3 - 1.1
Background Information
1
In 1972, the ONERA Aerodynamics Department designed a swept, semi-span wing with no twist . The wing was instrumented to be used as an experimental support 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 simulated dataset is a PLOT3D file with freestream conditions M = 0.8395, Re = 11.72 x 10 , Angle of Attack = 6 degrees, and angle of side-slip = 0.0 degrees. The measured dataset was obtained in the ONERA S2MA wind tunnel by Schmitt and Charpin at Mach numbers of 0.7, 0.84, 0.88, and 0.92 for angles of attack up to 6 degrees and a Reynolds number of approximately 12 x 10 . The measured dataset is an ASCII file. The tutorial compares the datasets at M = 0.84 and y/b = 0.44 (where b is the wingspan).
6 6
3 - 1.2
Tutorial Summary
The tutorial should take approximately 30-40 minutes to complete. All supporting data files for this tutorial can be found in: $TEC_360_2011\tutorials\external_flow2.
1. Schmitt, V. and F. Charpin, "Pressure Distributions on the ONERA-M6-Wing at Transonic Mach Numbers," Experimental Data Base for Computer Program Assessment. Report of the Fluid Dynamics Panel Working Group 04, AGARD AR 138, May 1979. 2. $TEC_360_2011 is the installation directory for Tecplot 360. For Windows users, this is typically C:\Program Files\Tecplot\Tec360 2011.
29
3-2
Getting Started
i. Click the Load Grid and Solution/Function File(s) radio button. ii. Select the Add Files button to the right of Grid File(s).
30
Getting Started
D. In the Read Grid File dialog, navigate to: $TEC_360_2011\tutorials\external_flow\data and select m6wing.xyz. E. Click the Add to List button, then the Open Files button. F. In the Plot3D Loader dialog, click the Browse button next to Solution File(s). G. In the Read Solution File dialog: i. Navigate to: $TEC_360_2011\tutorials\external_flow\data. ii. Select m6wing.q. iii. Click the Add To List button. iv. Click the Open Files button. H. Click OK after returning to the Plot3D Loader dialog. You have now successfully loaded a PLOT3D data file into the Tecplot 360 workspace.
Tecplot 360 will automatically load the boundary file, m6wing.xyz.fvbnd, since its filename prefix (m6wing.xyz) matches the grid file, and the files are located in the same folder.
Any combination of layers can be viewed at the same time by turning them on and off in the Sidebar.
31
In this dataset, there are six zones, each of which contain nine variables.
32
3-3
In order to have a more useful visualization of the wing, we would like to use the Contour layer (which we toggled-on in Step 2) to view the pressure on the wing. In this case, the pressure data was not provided in the data file. However, Tecplot 360 can calculate the Pressure Coefficient for us using the helpful Calculate Variables feature! The following steps teach the calculation of the Pressure Coefficient using Tecplot 360s Calculate on Demand method. This method adds the variable to the dataset, but does not calculate the variable until it is needed, which can optimize operation speed when manipulating unsteady solutions. For more information about calculating on demand, see Section 22 - 6.2 Calculate-on-demand Variables in the Users Manual.
B. In the Calculate dialog, click the Select button to choose the variable to calculate.
C. In the Select Function dialog, highlight Pressure Coefficient and click OK.
33
G. Open the Contour Details dialog by either of the following methods. i. Clicking the Details button to right of Contour in the Sidebar
ii. Choosing Contour/Multi-Coloring in the Plot menu H. In the Contour Details dialog, select the Pressure Coefficient as the contour variable.
3-4
Using the Contour and Multi-Coloring Details dialog (which we will refer to as the Contour Details dialog), you can customize contour levels, coloring, and more.
34
35
ii. In the Select Font dialog, change the header font size (Height) to 2% and click OK to close the dialog.
iv. Change the number font size to 1.5% and click OK to close the dialog.
After completing this step, the Legend page of the Contour Details dialog will look as follows:
36
B. Click the Add Levels button. C. In the Enter Contour Level Range dialog, make the following changes:
i. Click the Min, Max, and Delta radio button. ii. Enter -.15 in the Minimum Level field.
37
iii. Enter .15 in the Maximum Level field. iv. Enter .1 in the Delta field. v. Click OK to apply the changes and close the dialog.
Alternatively, you can add contour levels to your plot using the Add Contour Level tool, or using the Level To Add field on the Levels page and adding the following levels: .15, -.15, -.5, and .5 (one at a time).
38
39
Alternatively, you can select Zones 5-6 and choose Show Selected Only from the Zone Show button.
40
3-5
During the original ONERA wing study, the researchers compared simulation and measured data at y/b equal to 0.2, 0.44, 0.65, 0.8, 0.9, 0.95, and 0.99, where b is the wingspan. The following steps will recreate the comparison plots for y/b equal to 0.44.
B. Make the following adjustments in the Extract Slice from Plane dialog:
i. Choose the Constant Z radio button. ii. Set Position Z equal to 0.526372. iii. Click the Extract button. C. Click OK in the Information dialog.
41
E. Go to the Zone Style dialog and verify that a new zone has been created. The new zone is named SLC Z=0.526372.
B. Reopen the Zone Style dialog, if you closed the dialog at the end of Step 10. C. Switch to the Edge page of the Zone Style dialog and perform the following steps: i. Choose Zone 7 (the extracted slice).
42
iii. Select Zones 5-6 and select No from the Show Edges button.
iv. Close the Zone Style dialog. The plot will look as follows:
When the wingspan is not recorded, you can approximate the wingspan using the Probe tool and a distance equation.
43
Prior to this point, the newly created frame did not have an associated dataset. Switching the plot type for a new frame to a plot type that requires a dataset will automatically attach the dataset from another frame to the new frame.
When working with multiple frames, click within a frame to make that the active frame. By default, the active frame displays with a thicker black border.
44
i. Click on Map 1, hold down the SHIFT key and click on Map 8 ii. Click on Map 1, and drag to Map 8 iii. Select Select Range from the Map Num button and use the Enter Range dialog to specify Maps 1-8
C. With Maps 1-8 highlighted, click the Delete Map button. D. Click OK to confirm deletion of the eight zones.
45
C. Click the OK button to close the Select Mapping Zone dialog. Close the Mapping Style dialog.
3-6
Manipulating Data
The simulated data (Pressure Coefficient) is currently plotted against the x variable. The measured data that will be loaded in the next section uses x/c, where c is the chord length. In order to compare the datasets, we will create a new variable {x/c} that shifts the current x variable to 0 and scales the value by c.
46
Manipulating Data
B. Select Zone 7 in the Zone(s) area of the Data Set Information dialog.
C. Make note of the Min & Max values listed in the Var Range - Selected Zone region of the dialog. We will use these values in the next step. i. Min = 0.3027 ii. Max = 0.8212 iii. Range = 0.5185 (not listed) D. Close the dialog.
B. Enter the following equation in the Equations(s) field of the Specify Equations dialog:
47
C. Click the Compute button. D. Click the OK button in the Information dialog.
Dataset variables that are identified by name are denoted with curly braces, {}, in the Specify Equations dialog. New variables can be created simply by placing the new variable name within curly braces at the left-hand side of the equation. New variables must be applied to all zones. In the above dialog, a new variable {x/c} was created using shifted and scaled values of the existing {x} variable.
48
Manipulating Data
D. Click OK to assign the variable and close the dialog. E. Close the Mapping Style dialog. The plot will look as follows:
49
3-7
B. In the Select Import Format dialog, select the Tecplot Data Loader.
C. In the Load Data File Warning dialog, choose the Add to the current data set radio button and click the OK button.
50
D. In the Tecplot Data Loader dialog, navigate to: $TEC_360_2011\tutorials\external_flow\data and select ONERA_CP_Test_Span0.44.dat.
E. Click the Open button to load the file. F. Click OK in the Warning dialog.
Variables listed on the left-hand side of the dialog are from the new data file. Variables listed on the right-hand side of the dialog are already in the dataset. If a variable has an * before its name, it is not present in all files.
Because the Pressure Coefficient has a different variable name in the experimental and measured datasets, we need to combine the two pressure variables. i. Choose the Cp variable in the left-hand column.
51
ii. Choose the Pressure Coefficient variable in the right-hand column. iii. Click Combine from the center column. iv. Click the OK button to apply your changes and close the dialog.
The combined variable name will be Pressure Coefficient;Cp.
52
53
iii. Enter Simulated Data in the Enter Mapping Name dialog. iv. Click the OK button to apply the changes and close the dialog.
B. Rename Maps 2 & 3. i. Select Maps 2 & 3. ii. Choose Edit Name from the Map Name button.
54
iv. Click the OK button to apply the changes and close the dialog.
iv. Click the OK button to apply the changes and close the dialog. B. Map Num 3: i. In the Mapping Style dialog, choose Map Num 3.
55
iii. Choose 9: Upper Surface from the Select Mapping Zone dialog.
iv. Click the OK button to apply the changes and close the dialog.
56
57
C. On the Range page of the Axis Details dialog, toggle-on Reverse Axis Direction.
D. Close the Axis Details dialog. The plot will look as follows:
B. Open the Mapping Style dialog and go to the Lines page. i. Select Maps 2 & 3.
58
C. On the Symbols page of the Mapping Style dialog: i. Select Map 1. ii. Choose No from the Symb Show button.
iii. Select Maps 2 & 3. iv. Click the Outline Color button. v. Select Red in the Select Color dialog.
The Symbols page of the Mapping Style dialog will look as follows:
59
60
B. In the Export dialog, choose TIFF from the Export Format menu.
61
D. In the Select Export File dialog, navigate to the desired directory and specify a filename.
E. Click Save to export the image. The image file is now ready to be imported into your presentation software.
3-8
Conclusion
This concludes the External Flow tutorial. Having completed this tutorial you should now be familiar with calculating and displaying contour variables such as pressure, as well as comparing measured and simulated data on a 2D projection plane. Refer to the Users Manual for details regarding any of the features discussed in this tutorial.
62
4
Internal Flow Tutorial
4-1 Introduction
This tutorial demonstrates how to visualize the internal flow during the mixing process of soap or detergent. We will use several Tecplot 360 features to create our plot: 3D rotation, surface clipping, lighting effects, and streamtraces.
4 - 1.1
Background Information
There are four primary steps for manufacturing soap and detergent: mixing, heat transfer, drying, and separation. In both liquid and powder detergent manufacturing, dry and liquid ingredients are blended into a uniform mixture using static mixers called crutchers. Location of the dry and liquid inlets, internal temperature, and the velocity of the particles leaving the crutcher all play an important role in optimizing the manufacturing process. This tutorial will model and examine some of these properties with a crutcher model.
4 - 1.2
Tutorial Summary
The tutorial takes an average of 20 minutes to complete. All supporting data files for this tutorial can be found in $TEC_360_2011\tutorials\internal_flow, where $TEC_360_2011 represents the default installation folder for Tecplot 360. For Windows users, Tecplot 360 installs by default to C:\Program Files\Tecplot\Tec360 2011.
63
4-2
Getting Started
A. To start loading the files, choose Load Data File(s) in the File menu.
64
Getting Started
C. In the Fluent Data Loader dialog, click the Add Files button.
D. In the Read Case and Data File dialog: i. Navigate to: $TEC_360_2011\tutorials\internal_flow\data. ii. Highlight both files (crutcher.dat and crutcher.cas) and click the Add To List button.
65
E. In the Fluent Data Loader dialog, accept the remaining default settings and click OK to close the dialog.
66
4-3
67
A. Click the Slice tool in the Sidebar to activate the Slice tool. slice.
B. Open the Slice Details dialog by clicking the Details button next to Slices in the Sidebar. C. Choose Y-Planes from the Slice Location menu to orient the slice along the Y plane rather than the default X plane. Keep this dialog open.
D. You can adjust the position of the slice by either of two methods:
68
i. Adjust Interactively To adjust the position of the slice interactively, with the Slice tool still selected, drag the slice. You can also drag the slider in the Slice Location region of the dialog, below the Show Primary Slice toggle. ii. Edit Position To adjust the position by editing coordinates, in the Slice Details dialog (accessible by clicking the Details button next to Slices in the Sidebar, or by choosing Slices from the Plot menu), enter a coordinate value the first coordinate field in the dialog. A good value for this cut-away is 0.1. E. To clip off the display in front of the slice, in the Slice Details dialog, select Above Primary Slice from the Clip menu. The primary slice display will automatically turn off, revealing the inside of the mixer.
F. Close the Slice Details dialog. Your plot will look similar to the following:
You can still change the position of the clipping slice by choosing the Slices tool and dragging the slice in your plot.
69
4-4
In the previous step of this tutorial, we had a glimpse of how to customize specific zones in the Zone Style dialog. Now we will begin to fine-tune the individual zone settings. Click the Zone Style button from the Sidebar to reopen the Zone Style dialog.
70
71
72
C. Click the Color box and choose Black from the color palette.
D. Click Yes in the confirmation box, and close the Edit Active Frame dialog. The result will look as follows:
By clicking yes in the confirmation box when changing the background color of the frame to a dark color, you allow objects such as the 3D orientation axis to change from black to white.
73
Specular Highlights are toggled-on by default and can be adjusted in the Light Source dialog.
You can interactively move the light source position by dragging the circle within the Light Source Position region of the dialog.
74
B. Accept the default vector variables in the Select Variables dialog by clicking OK.
After the vector variables have been defined, you can change them by going to Plot > Vector > Variables.
When the Add Streamtraces tool is selected, the cursor will change from a pointer to a crosshair (+).
B. Click or drag within your plot. This will add streamtraces to your plot.
Step 11 Position Streamtraces Using the Streamtrace Details Dialog [OPTIONAL] To more closely match the internal flow layout included in your installation, place
streamtraces precisely using the Streamtrace Details dialog. A. Open the Streamtrace Details dialog by clicking the Details button to the right of Streamtraces in the Sidebar. B. Specify the following settings:
75
i. Select the Enter XYZ Positions radio button. ii. For the Streamtrace Start Position, set the following variable values: X = - 0.103 Y = 0 Z = 0.23 C. Click the Create Stream(s) button. D. To contour the streamtraces according to the variable Turbulent Kinetic Energy, set the following: Switch to the Line page of the Streamtrace Details dialog, and choose Multi 1 as the Line Color. Also on the Line page, set the Line Thickness % to 0.3 for better visibility. Open the Contour...Details dialog by clicking the Details button next to the Contour toggle in the Sidebar, and choose Turbulent Kinetic Energy from the menu. Close this dialog. E. Close the Streamtrace Details dialog.
You can see that the clipping slice does not clip the added streamtraces. To instruct the streamtraces to obey the clipping slice(s), toggle-on Obey Clipping Settings on the Integration page of the Streamtrace Details dialog.
B. In the Copy Plot to Clipboard dialog, choose Active Frame from the Region menu.
77
D. Click OK. The plot can now be pasted into other software, such as Microsoft Word.
4-5
Conclusion
This concludes the Internal Flow tutorial. Having completed this tutorial, you should now be familiar with using the Tecplot 360 features of surface clipping, lighting effects, and streamtraces. Refer to the Users Manual for details regarding any of the features discussed in this tutorial.
78
5
Fluid Structure Interaction Tutorial
5-1 Introduction
This tutorial illustrates how to use Tecplot 360 to visualize a Fluid Structure Interaction (FSI). We will produce an animation that shows the movement of a nonlinear baffle as it is affected by fluid pressure. To create this plot, we will implement several Tecplot 360 features, including contours, color maps, streamtraces, and animation.
5 - 1.1
Background Information
The FSI used in this tutorial illustrates the transient deformation of a nonlinear baffle due to fluid flow within a duct. The baffle has a height of 0.1 meters and a thickness of 0.005 meters, and the duct is twice the height of the baffle. The fluid flow enters the duct from the left (inlet) and exits on the right (outlet) over time1. The baffle was modeled in Abaqus, and the fluid data was calculated using FLUENT.
5 - 1.2
Tutorial Summary
The tutorial should take approximately 30-40 minutes to complete. The supporting data files for this tutorial are available for download at: http://download.tecplot.com/360/ tutorials/fsi.zip. The remainder of the tutorial assumes that you have downloaded the zip file and placed its contents in: $TEC_360_2011\tutorials\fsi, where $TEC_360_2011 is your installation directory for Tecplot 360. For Windows users, this is typically C:\Program Files\Tecplot\Tec360 2011. We strongly recommend downloading the files to your computers local drive and not to a network drive. Depending on the speed of your network, accessing the files over the network could dramatically increase the loading time into Tecplot 360.
5-2
Getting Started
This portion of the tutorial illustrates how to load an ABAQUS Output Database file and a set of FLUENT files.
1. The Tecplot 360 FSI tutorial is based on a tutorial created by SIMULIA. For more information on SIMULIA, visit www.simulia.com.
79
B. In the Select Import Format dialog, choose the ABAQUS Output Database (FEA) loader; then click OK.
C. In the Load ABAQUS Output Database (FEA) File dialog: i. Click the Browse button to navigate to $TEC_360_2011\tutorials\fsi.
ii. Choose the file named: abaqus.odb. iii. Accept the default options and click OK to finish the loading process.
80
Getting Started
D. The Select Initial Plot dialog will launch automatically. Make sure 2D Cartesian is selected in the Initial Plot Type menu, and click OK.
E. The FEA Post-Processing dialog will be launched automatically1. F. In this dialog: i. Choose Von Mises Stress/Strain in the Derive Variables region.
ii. Select Stress in the From: list. This will allow you to derive the Von Mises Stress from the Stress variable already included in the data file.
iii. Click the Add to Data Set button to add the Von Mises Stress to your data. iv. Click Close to close the dialog. v. Proceed to Step 2 Load a Set of Transient Fluent Data Files on page 83.
Non-Windows Platforms
For non-Windows users, we have provided a .plt file of the Abaqus data file. This file was created using the Write Data File option in the File menu2.
1. You can access this dialog at any time via the Tools menu.
81
B. In the Select Import Format dialog, select Tecplot Data Loader from the list, and click OK.
C. Choose Add to current data set in the Load Data File Warning dialog.
D. In the Tecplot Data Loader dialog, navigate to $TEC_360_2011\tutorials\fsi\data and choose the file named abaqus_data.plt. Click Open. E. In the Select Initial Plot dialog, be sure that 2D Cartesian is selected and click OK.
2. The Von Mises Stress that was calculated in Step 1: For Windows Users, was calculated for this data prior to writing out the data file.
82
Getting Started
B. In the Select Import Format dialog, select Fluent Data Loader from the list and click OK to launch the Fluent Data Loader dialog.
83
C. In the Import Data File Warning dialog, choose the Add to current data set radio button. Then click OK.
D. In the Fluent Data Loader dialog: i. Click the Add Files button.
E. In the Read Case and Data File dialog: i. Navigate to $TEC_360_2011\tutorials\fsi\data\f. ii. Select all available files (by using the SHIFT key or pressing CTRL-A). The FLUENT data consists of 150 time steps with one case (.cas) file and one data (.dat) file for each time step. iii. Click the Add To List/Add button (Windows/UNIX).
On certain machines, the animation process may dramatically slow if all the data files are loaded. To avoid a lengthy animation series, we recommend loading a subset of the time steps using the Remove button. Be sure that you remove both the .cas file and the .dat file for any time step that you choose to omit.
84
Getting Started
F. In the Fluent Data Loader dialog: i. Select the Load Cells Only radio button. ii. Click OK in the Fluent Data Loader dialog to finish the loading process. Depending on the number of time steps you chose to load, it may take a few minutes to load all the data.
85
A. Toggle-on Mesh in the Sidebar, and then click the Zone Style button to launch the Zone Style dialog. (The Zone Style dialog can also be launched at any time by double-clicking directly on the plot.)
B. To better differentiate the zones, choose the baffle (Step 1 Incr 1) and choose No from the Mesh Show button.
C. Next we will change the water zone color by doing the following. i. Click on the water zone to select it in the Zone Style dialog. ii. Click the Mesh Color button on the Mesh page of the Zone Style Dialog.
An asterisk (*) next to a Zone Num or Zone Name indicates that the zone is a transient zone. The zone number is linked to the active time step. In this case, Zone Name describes the object. Press the Play button in the Sidebar and watch the zone numbers change with the time step. Refer to Section 7 - 1 Field Plot Modification - Zone Style Dialog in the Users Manual for more information about transient zones.
86
5-3
Notice that the FLUENT data surrounds the baffle, but that only one side is visible. Even though the baffle deforms to the right, we would like to see all the surrounding fluid flow. To accomplish this, we will adjust the view.
Tecplot 360 provides several methods of adjusting your current view. Experiment with the options under the View menu to see how you can change the plot view.
87
C. On the Range page of the Axis Details dialog: i. Enter -0.15 for the Min. ii. Enter 0.15 for the Max.
88
5-4
Now that the data is loaded, we would like to examine the effect of the pressure in the fluid body (FLUENT data) on the stress component of the baffle (Abaqus/Tecplot 360 data). To achieve this, we will create a contour plot and animate it. Displaying contours will give us a visual representation of the stress and pressure variables and how they interact with each other.
B. Toggle-on Contour.
89
90
On the Levels page of the Contour Details dialog, a list of the current contour levels is displayed in the Levels region. In addition, the minimum and maximum values of the Contour Variable are displayed on the right-hand side of the page. We will use those values to add two more contour levels.
There are several methods for adding and deleting contour levels. In this tutorial, we will demonstrate using the << Add Level button. Alternatively, you may use the Reset Levels, New Levels, or Add Levels buttons located at the top of the page. C. In the Level To Add field: i. Enter: -7775, and click the << Add Level button.
ii. Enter: 9200, and click the << Add Level button.
91
B. Click the Details button next to Use Color Map Group to open the Color Map dialog1.
C. Tecplot 360 allows you to work with up to eight different color maps. By default, the maps are linked together (so that changing one color map changes the other color maps). In the Color Map dialog:
1. The Color Map dialog can also be launched via the Options menu.
92
i. Toggle-off Link All Color Maps Together to allow you to modify the color maps separately.
Unlinking color maps also results in separate color maps being assigned to each of the contour groups. Color Map 1 is assigned to Contour Group 1, Color Map 2 is assigned to Contour Group 2, and so on. ii. Choose GrayScale from the Base Color Map menu.
D. Click Close.
93
E. On the Coloring page of the Contour Details dialog, make sure that Banded is selected for the Color Distribution Method. This will allow you to easily identify the different contour levels on the plot.
94
C. In the Contour Details dialog, choose the Continuous radio button. This will create a continuous color map between each contour level.
D. In the Contour Values at Color Map Endpoints region: i. Enter -250000 for Min.
95
You may see Min and Max values at zero. This will occur if the Von Mises Stress is not defined at the current time step. The Contour Values will automatically adjust with the time step.
E. Click Close.
96
On the Contour page, you can see a list of all of the active zones for this time step. The first zone, Step 1 Incr 1, is the baffle (Abaqus data). The remaining zone is the fluid body (FLUENT data). i. Choose the baffle (Step 1 Incr 1). ii. Select C2: Von Mises Stress from the Flood By button.
97
5-5
Contour legends are used as a key to define the numerical value of the variable tied to each color in the plot. The attributes of the legend of each contour group can be specified within the Contour Details dialog.
98
E. Choose the 2 contour group to add a legend for the second contour group, Von Mises Stress. On the Legend page, toggle-on Show Contour Legend.
99
iii. Change the Y% to 90. This places the top left-hand corner of the contour legend up 90% of the frames height (in relation to the bottom left-hand corner of the frame).
100
iv. Using the arrows in the Font region, change both the Header Font and the Number Font to 1.5%.
B. Repeat Step i and Step ii in Step A from above for 2 (that is, toggle-off Separate Colors Band and set the Alignment to Horizontal).
C. We will leave Y% at its default of 80 so that the legend for Contour Group 2 will sit below Contour Group 1.
D. Toggle-off Resize Automatically and enter 3 into Level Skip to display only every third contour level in the legend, compressing it.
101
E. Using the arrows in the Font region, change both the Header Font and the Number Font to 1.5%.
5-6
Using Streamtraces
Streamtraces allow you to better visualize how the fluid pressure and the baffle affect one another. There are two main types of streamtraces: surface line streamtraces and volume streamtraces. Volume streamtraces are created in 3D volume zones, while surface line streamtraces are used on 3D or 2D surfaces (such as we have for our plot). For more information about streamtraces, see Chapter 15: Streamtraces in the Users Manual.
You can turn off Streamtraces to hide streamtraces from your plot. Turn on the Streamtraces control in the sidebar to add your previously created streamtraces back into your plot.
102
Using Streamtraces
B. The Select Variables dialog will be launched automatically. The Select Variables dialog allows you to specify the vector variables for your streamtraces. Accept the defaults by clicking OK.
D. On the Position page of the Streamtrace Details dialog, change Streamtrace per Rake to 5. This will allow you to draw individual streamtraces on the plot by creating a rake.
E. Click Close. F. Click the Add Streamtrace button to the right of Streamtraces in the Sidebar1.
1. Double-clicking this tool will also bring up the Streamtrace Details dialog.
103
G. On the plot, draw a rake of streamtraces parallel with the X-axis by dragging the mouse vertically down the plot.
The first pass through the animation will take a few minutes because the streamtraces are calculated for each time step. Subsequent passes will be faster because the information has already been calculated.
104
Using Streamtraces
C. Toggle-off Show Arrowheads on Lines. The arrows will disappear, leaving only lines on your plot.
F. In the Streamtrace Details dialog, change the Line Thickness (%) to 0.4.
G. Click Close.
105
106
B. On the Animate page of the Time Details dialog, choose To File from the Destination menu.
C. Choose AVI from the File Format menu, and click the Generate Animation File button.
107
iii. Choose one of the following AVI Compression options: Color Preserving - This compression option optimizes the color quality of your output. Line Preserving - This compression option optimizes the quality of lines in your output. Lossless Uncompressed - This compression option gives the highest picture quality and preserves complete 24-bit pixel information. Note that this option also creates the largest file size. iv. Accept the other default settings by clicking OK.
108
E. In the Select Movie File dialog, navigate to the desired directory and click Save to save the file as fsi.avi.
Tecplot 360 exports the data images to the file so that it may be viewed via another program. This process may take a few moments.
109
PowerPoint Version 2003 or Older - Go to Insert>Movies and Sounds>Movie from File to launch the Insert Movie dialog.
D. Choose whether you would like your movie to start automatically in your slide show, or by a mouse click.
110
Conclusion
Once the slide show has played, the animation will show on the slide workspace.
5-8
Conclusion
This concludes the FSI tutorial. Having completed this tutorial, you should now be familiar with contour groups, color maps, streamtraces, and animation. Refer to the Users Manual for details regarding any of the features discussed in the tutorial.
111
112