#!MC 1410 # INSTRUCTIONS: # 1. Load Surface Zones from CFD solution into Tecplot360 EX (the surface info should include CP and # any other surface information desired) # 2. Assign LABEL variable in this file as the "XXX" identifier of the dataset # 3. Assign INFO variable with appropriate information for the particular case # 4. Run macro. It should create/extract zones for Row A slat, Row A wing, Row A flap, Row B... etc. # 5. You can write out these zones to data files as appropriate, including any data desired # # XXX: Participant ID (To be assigned by HiLiftPW workshop committee) # #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ $!VARSET |LABEL| = "XXX" $!VARSET |INFO| = "aoa 7.05 case1a 37/34" $!VARSET |ZONE| = |NUMZONES| # --- Row A flap --- $!SliceAttributes 1 ShowGroup = Yes $!SliceAttributes 1 SliceSurface = Arbitrary $!SliceAttributes 1 EdgeLayer{Show = Yes} $!SliceAttributes 1 SliceSource = SurfaceZones $!SetArbitrarySliceUsingThreePoints Group = 1 X1 = 0.00000 Y1 = 96.06218 Z1 = 0.00000 X2 = 0.00000 Y2 = 94.55281 Z2 = 10.00000 X3 = 10.00000 Y3 = 96.77091 Z3 = 0.00000 $!ExtractSlices Group = 1 $!VARSET |ZONE| += 1 $!RenameDataSetZone Zone = |ZONE| Name = '|LABEL| Row A flap |INFO|' # --- Row B flap --- $!SliceAttributes 1 ShowGroup = Yes $!SliceAttributes 1 SliceSurface = Arbitrary $!SliceAttributes 1 EdgeLayer{Show = Yes} $!SliceAttributes 1 SliceSource = SurfaceZones $!SetArbitrarySliceUsingThreePoints Group = 1 X1 = 0.00000 Y1 = 200.48431 Z1 = 0.00000 X2 = 0.00000 Y2 = 198.97495 Z2 = 10.00000 X3 = 10.00000 Y3 = 201.19305 Z3 = 0.00000 $!ExtractSlices Group = 1 $!VARSET |ZONE| += 1 $!RenameDataSetZone Zone = |ZONE| Name = '|LABEL| Row B flap |INFO|' # --- Row C flap --- $!SliceAttributes 1 ShowGroup = Yes $!SliceAttributes 1 SliceSurface = Arbitrary $!SliceAttributes 1 EdgeLayer{Show = Yes} $!SliceAttributes 1 SliceSource = SurfaceZones $!SetArbitrarySliceUsingThreePoints Group = 1 X1 = 0.00000 Y1 = 304.90644 Z1 = 0.00000 X2 = 0.00000 Y2 = 303.39708 Z2 = 10.00000 X3 = 10.00000 Y3 = 305.61518 Z3 = 0.00000 $!ExtractSlices Group = 1 $!VARSET |ZONE| += 1 $!RenameDataSetZone Zone = |ZONE| Name = '|LABEL| Row C flap |INFO|' # --- Row D flap --- $!SliceAttributes 1 ShowGroup = Yes $!SliceAttributes 1 SliceSurface = Arbitrary $!SliceAttributes 1 EdgeLayer{Show = Yes} $!SliceAttributes 1 SliceSource = SurfaceZones $!SetArbitrarySliceUsingThreePoints Group = 1 X1 = 0.00000 Y1 = 581.22720 Z1 = 0.00000 X2 = 0.00000 Y2 = 577.86712 Z2 = 10.00000 X3 = 10.00000 Y3 = 581.03067 Z3 = 0.00000 $!ExtractSlices Group = 1 $!VARSET |ZONE| += 1 $!RenameDataSetZone Zone = |ZONE| Name = '|LABEL| Row D flap |INFO|' # --- Row E flap --- $!SliceAttributes 1 ShowGroup = Yes $!SliceAttributes 1 SliceSurface = Arbitrary $!SliceAttributes 1 EdgeLayer{Show = Yes} $!SliceAttributes 1 SliceSource = SurfaceZones $!SetArbitrarySliceUsingThreePoints Group = 1 X1 = 0.00000 Y1 = 744.24395 Z1 = 0.00000 X2 = 0.00000 Y2 = 740.88387 Z2 = 10.00000 X3 = 10.00000 Y3 = 744.04742 Z3 = 0.00000 $!ExtractSlices Group = 1 $!VARSET |ZONE| += 1 $!RenameDataSetZone Zone = |ZONE| Name = '|LABEL| Row E flap |INFO|' # --- Row F flap --- $!SliceAttributes 1 ShowGroup = Yes $!SliceAttributes 1 SliceSurface = Arbitrary $!SliceAttributes 1 EdgeLayer{Show = Yes} $!SliceAttributes 1 SliceSource = SurfaceZones $!SetArbitrarySliceUsingThreePoints Group = 1 X1 = 0.00000 Y1 = 907.26071 Z1 = 0.00000 X2 = 0.00000 Y2 = 903.90062 Z2 = 10.00000 X3 = 10.00000 Y3 = 907.06417 Z3 = 0.00000 $!ExtractSlices Group = 1 $!VARSET |ZONE| += 1 $!RenameDataSetZone Zone = |ZONE| Name = '|LABEL| Row F flap |INFO|'