Now we will edit this macro to get the multiple slice extraction macro we showed at the beginning of this video. When you finish the steps of video 3, click Stop Recording to finish your macro. However, do not load in the experimental data. Next, go through the same steps as we did in video 3 (about the first 5 minutes of that video).Third, start recording a macro by choosing Scripting>Record Macro.Second, load the data by choosing File>Load Data and choose OneraM6_SU2_RANS (PLT file).First open a new layout by choosing File>New Layout.This macro will extract each slice, calculate X/L, then plot each extracted slice on the same XY plot. The variable number for Pressure Coefficient is 12 for this data set. To play the macro, Choose Scripting>Play Macro, navigate to your Tecplot 360 installation folder and examples>OneraM6wing>macros folder, and then select the CpPlot_Demo.mcr file. Because this macro can be used for any wing, the slices have already been placed wherever you wish to have them extracted. If you are following along in Tecplot 360, choose Scripting>Quick Macros from the main menu.Īt this point we assume that the slices have already been placed from previous video in the series and we need only to toggle them on (see the first 5 minutes of Comparing a CFD Simulation with Experimental Data).
Tecplot 360 2015 does not have assign xy how to#
We will show you how to add macros to the quick macro panel later in the video.
Notice the Quick Macro Panel in the lower right side of the Tecplot 360 user interface. In this video, we will automate slice extraction and show you how to:įirst, I’ll show you the results from using a macro so you will know what to expect. In the previous video ( Comparing a CFD Simulation with Experimental Data), we extracted slices to create a Cp plot. Hello and welcome the fourth video in our Tecplot 360 Getting Started: External Flow series. Download data & layout files External Flow – Automation and Macros