CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > Tecplot

Plot X vs. Y for all zones for non-linear zones

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 12, 2022, 11:51
Default Plot X vs. Y for all zones for non-linear zones
  #1
New Member
 
PA
Join Date: Jun 2020
Posts: 3
Rep Power: 6
aerojpapp is on a distinguished road
Hello All,

I've been using Tecplot 360 2012 because of a few features still missing from the newer versions but it is starting to feel its age especially concenring graphics drivers. I recently tried 2022r1 and noticed that one cannot plot an X vs. Y plot for all zones unless they are linear. The 2012 version didn't care. Does anyone know why this has been restricted with the newer versions (I see that even the 2018 version has issues)? I have 2D/3D zones and all I want is to plot a variable for all zones (hundredst of zones) as symbols. I guess I could create a macro but why the restriction in the first place.

Might be a 'feature' to add to the next Tecplot release.

Thanks,

John
aerojpapp is offline   Reply With Quote

Old   July 25, 2022, 13:23
Default
  #2
Senior Member
 
Scott Fowler
Join Date: May 2009
Posts: 123
Rep Power: 17
wsfowler is on a distinguished road
John,

We limited the GUI to "all linear zones" because we found that people were accidentally creating line plots of their very large volume zones - which forces loading of more data than is required, causing performance and RAM consumption issues.

For your purpose of showing symbols only - are you able to do this in the 2D Cartesian plot type? It seems that you should be able to - but you may also need to adjust the Axes to be Independent (which is the default in XY, but 2D plots default to Dependent axis scaling).

I hope this helps.
Scott
wsfowler is offline   Reply With Quote

Old   July 25, 2022, 14:59
Default
  #3
New Member
 
PA
Join Date: Jun 2020
Posts: 3
Rep Power: 6
aerojpapp is on a distinguished road
Thanks for the reply.

I could do what you say, but I have a feeling that going to 2D mode might break something else in the future for which an X-Y plot would be approriate, i.e., muitple axis and variables. Otherwise I'll have to do multiple frames with transparent backgrounds to overlay X-Y plot with 2D plot and even then I don't think you can frame link across 2D and X-Y for axis size to match everything up. Is there anyway to re-activate the option for those of us who are careful not to select the option 'accidentally'? Could be something to put in the .ini file.

Thanks,

John
aerojpapp is offline   Reply With Quote

Old   July 25, 2022, 20:06
Default
  #4
Senior Member
 
Scott Fowler
Join Date: May 2009
Posts: 123
Rep Power: 17
wsfowler is on a distinguished road
John,

In the near term you could add to your tecplot.mcr file the following code:

Code:
$!MacroFunction
  Name = "Create linemaps for all zones"
  ShowInMacroPanel = True
  $!DeleteLineMaps
  $!Loop |NumZones|
    $!CreateLineMap 
    $!LineMap [|Loop|] Name = '&ZN&'
    $!LineMap [|Loop|] Assign{XAxisVar = 1}
    $!LineMap [|Loop|] Assign{YAxisVar = 2}
    $!LineMap [|Loop|] Assign{Zone = |Loop|}
  $!EndLoop
$!EndMacroFunction
This will add an entry to the Quick Macro Panel, which you can simply double-click to create a set of linemaps for all zones.

Regards,
Scott
wsfowler is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
2nd Order Convergence Problem for 3D Airfoil turkmengokce OpenFOAM Running, Solving & CFD 1 September 10, 2015 08:20
please help me which solver is better for my application Ger_US OpenFOAM 8 January 8, 2013 13:29
solution diverges when linear upwind interpolation scheme is used subash OpenFOAM 0 May 29, 2010 02:23
IdeasUnvToFoam Bug amp Fix benru OpenFOAM Bugs 42 November 13, 2009 08:59
Water pump OpenFOAM 15 ANSYS CFX 110 comparation waynezw0618 OpenFOAM Running, Solving & CFD 39 March 5, 2009 13:57


All times are GMT -4. The time now is 14:35.