Mechanical APDL Basic Analysis Guide - Ansys
Mechanical APDL Basic Analysis Guide - Ansys Mechanical APDL Basic Analysis Guide - Ansys
Chapter 10: Getting Started with Graphics 2. You use graphics action functions to actually produce the display. You can perform both types of graphics functions either by using menu functions in the GUI or by typing in commands directly. 10.5.1. GUI-Driven Graphics Functions When running the ANSYS program interactively, most users will prefer to use the GUI. As you use the GUI functions, you execute commands without actually seeing or editing them. (The program will record all underlying executed commands in your Jobname.LOG file.) You can access graphics specification functions via Utility Menu> PlotCtrls. Graphics action functions reside under Utility Menu> Plot. 10.5.2. Command-Driven Graphics Functions As an alternative to using the GUI functions, you can type ANSYS commands directly in the Input Window. In general, you enter the graphics specifications using the graphics "slash" commands (for example, /WINDOW, /PNUM, etc.). Graphics action commands are usually either prefixed with PL (PLNSOL, PLVAR, etc.) or are suffixed with PLOT (EPLOT, KPLOT, etc.). 10.5.3. Immediate Mode Graphics By default in the GUI, your model will immediately be displayed in the Graphics Window as you create new entities (such as areas, keypoints, nodes, elements, local coordinate systems, boundary conditions, etc.). This is called immediate mode graphics. Anything drawn immediately in this way, however, will be destroyed if you bring up a menu or dialog box on top of it. Or, if you iconify the GUI, the immediate mode graphics image will not be shown when you restore the GUI icon. An immediate image will also be automatically scaled to fit nicely within the Graphics Window - a feature called automatic scaling. Periodically, though, you may need to issue an explicit plot function because you have created new entities which lie "outside" the boundaries of the scaled image already in the Graphics Window and are thus not captured with immediate mode graphics. The plot function will rescale and redraw the image. To obtain a more "permanent" image, you need to execute one of the plot functions (such as Utility Menu> Plot> Volumes) or a graphics action command (such as VPLOT). An image generated in this way will not be destroyed by menu pop-ups or by iconifying the GUI. Also note that symbols (such as keypoint or node numbers, local coordinate systems, boundary conditions, etc.) are also shown immediately but will not be present on a "permanent" display unless you first "turn on" the appropriate symbol using the functions under Utility Menu> PlotCtrls or the appropriate graphics specification command. If you prefer not to see things immediately as you define them, you can use the IMMED command (Utility Menu> PlotCtrls> Erase Options> Immediate Display) to turn off immediate mode. When you run the ANSYS program interactively without using the GUI, immediate mode is off by default. 10.5.4. Replotting the Current Display The /REPLOT command (Utility Menu> Plot> Replot) re-executes the last display action command that was executed. However, the program can execute that command only if it is valid in the current ANSYS routine. For instance, if you issue a PLNSOL command in POST1, then exit that routine and replot while at the Begin level, no contour display will be formed. To save time, you may want to define an abbreviation for the /REPLOT command so that it is available on the Toolbar as a "quick pick." 224 Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
10.5.5. Erasing the Current Display You can clear the current graphics display by issuing the ERASE command (Utility Menu> PlotCtrls> Erase Options> Erase Screen). (GUI menus will not be erased, however.) 10.5.6. Aborting a Display in Progress If you have initiated a display and decide to terminate it before it is completed, invoke your system "break." (Typically, this means moving the mouse pointer to the Output Window and typing Ctrl+C. However, the specific procedure varies from system to system.) You must execute this break while the display is visibly in progress, or else your entire ANSYS session will terminate. 10.6. Multi-Plotting Techniques The multi-plotting capabilities within ANSYS enable you to display both multiple entities within a window and multiple windows with varying entity types. Defining each window's composition is a four-step process: 1. Define the window layout. 2. Choose the entities you want each window to display. 3. If you are displaying elements or graphs, choose the type of element or graph display used for plots. 4. Display the entities you selected. 10.6.1. Defining the Window Layout You need to define how many windows you want the ANSYS program to use for plotting and how those windows appear on your screen. You have the following layout options: • One window • Two windows (left and right of the screen, or top and bottom) • Three windows (two at the top of the screen and one at the bottom, or one window at the top and two windows at the bottom) • Four windows (two at the top of the screen and two at the bottom) To define the window layout, issue the /WINDOW command (Utility Menu> PlotCtrls> MultiWindow Layout). If you choose the GUI path, the program displays a dialog box, in which you click on the layout you prefer. That dialog box also contains a Display upon OK/Apply field, where you also can specify what the ANSYS program displays next. Choices for this field are Multi-Plots, Replot, and No redisplay. When you finish specifying your layout design, click on Apply or OK. 10.6.2. Choosing What Entities Each Window Displays Once you have designed your window layout, you choose what entities each window will display. To do so, use either of the following: Command(s): /GTYPE,WN,Label,KEY GUI: Utility Menu> PlotCtrls> Multi-Plot Controls 10.6.2. Choosing What Entities Each Window Displays If you use the GUI path, a dialog box appears. In its Window to edit field, click on either All window or a specific window number (default is window 1). In the Display type field, choose either Entity plots or Graph plots. Then, click on OK. If you choose Entity plots, another dialog box appears, listing the types of entities Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates. 225
- Page 189 and 190: the effect of the rigid body rotati
- Page 191 and 192: The SADD command (Main Menu> Genera
- Page 193 and 194: To view correct mid-surface results
- Page 195 and 196: To get usable results combine the r
- Page 197 and 198: 7.4.4. Mapping Results onto a Diffe
- Page 199 and 200: • EMF (Main Menu> General Postpro
- Page 201 and 202: 7.4.8.1. Matching the Nodes The Mec
- Page 203 and 204: 7.4.8. Comparing Nodal Solutions Fr
- Page 205 and 206: Chapter 8: The Time-History Postpro
- Page 207 and 208: enables the alternate selections sh
- Page 209 and 210: 1. Click on the Add Data button. Re
- Page 211 and 212: APPEND Appends data to previously s
- Page 213 and 214: !derivative of variable 2 with resp
- Page 215 and 216: The above command assumes that you
- Page 217 and 218: When plotting complex data such as
- Page 219 and 220: Sample Output from EXTREM time-hist
- Page 221 and 222: 5. Select the variables to be opera
- Page 223 and 224: RESP requires two previously define
- Page 225 and 226: Chapter 9: Selecting and Components
- Page 227 and 228: Note Crossover commands for selecti
- Page 229 and 230: would put UX and UZ constraints on
- Page 231 and 232: The Command Reference describes the
- Page 233 and 234: Chapter 10: Getting Started with Gr
- Page 235 and 236: Remote Network Access Hidden Line R
- Page 237 and 238: 10.4.1. Adjusting Input Focus To en
- Page 239: • If the environment variable SB_
- Page 243 and 244: Chapter 11: General Graphics Specif
- Page 245 and 246: 11.3.1. Changing the Viewing Direct
- Page 247 and 248: 11.4. Controlling Miscellaneous Tex
- Page 249 and 250: 11.4.3. Controlling the Location of
- Page 251 and 252: Chapter 12: PowerGraphics Two metho
- Page 253 and 254: The subgrid approach affects both t
- Page 255 and 256: Chapter 13: Creating Geometry Displ
- Page 257 and 258: Figure 13.1 Element Plot of SOLID65
- Page 259 and 260: 13.2.1.12. Vector Versus Raster Mod
- Page 261 and 262: Figure 13.2 Create Best Quality Ima
- Page 263 and 264: 13.2.3.2. Choosing a Format for the
- Page 265 and 266: Chapter 14: Creating Geometric Resu
- Page 267 and 268: Figure 14.2 A Typical ANSYS Results
- Page 269 and 270: • Changing the contour interval.
- Page 271 and 272: 14.5. Isosurface Techniques Isosurf
- Page 273 and 274: Chapter 15: Creating Graphs If you
- Page 275 and 276: Establishing separate Y-axis scales
- Page 277 and 278: 15.2.3.5. Defining the TIME (or, Fo
- Page 279 and 280: Chapter 16: Annotation A common ste
- Page 281 and 282: 16.3. 3-D Annotation 3-D text and g
- Page 283 and 284: Chapter 17: Animation Animation is
- Page 285 and 286: • ANMODE (Utility Menu> PlotCtrls
- Page 287 and 288: Figure 17.2 The Animation Controlle
- Page 289 and 290: Note If you are doing animation fro
Chapter 10: Getting Started with Graphics<br />
2. You use graphics action functions to actually produce the display.<br />
You can perform both types of graphics functions either by using menu functions in the GUI or by typing<br />
in commands directly.<br />
10.5.1. GUI-Driven Graphics Functions<br />
When running the ANSYS program interactively, most users will prefer to use the GUI. As you use the GUI<br />
functions, you execute commands without actually seeing or editing them. (The program will record all underlying<br />
executed commands in your Jobname.LOG file.) You can access graphics specification functions<br />
via Utility Menu> PlotCtrls. Graphics action functions reside under Utility Menu> Plot.<br />
10.5.2. Command-Driven Graphics Functions<br />
As an alternative to using the GUI functions, you can type ANSYS commands directly in the Input Window.<br />
In general, you enter the graphics specifications using the graphics "slash" commands (for example, /WINDOW,<br />
/PNUM, etc.). Graphics action commands are usually either prefixed with PL (PLNSOL, PLVAR, etc.) or are<br />
suffixed with PLOT (EPLOT, KPLOT, etc.).<br />
10.5.3. Immediate Mode Graphics<br />
By default in the GUI, your model will immediately be displayed in the Graphics Window as you create new<br />
entities (such as areas, keypoints, nodes, elements, local coordinate systems, boundary conditions, etc.). This<br />
is called immediate mode graphics. Anything drawn immediately in this way, however, will be destroyed if<br />
you bring up a menu or dialog box on top of it. Or, if you iconify the GUI, the immediate mode graphics<br />
image will not be shown when you restore the GUI icon.<br />
An immediate image will also be automatically scaled to fit nicely within the Graphics Window - a feature<br />
called automatic scaling. Periodically, though, you may need to issue an explicit plot function because you<br />
have created new entities which lie "outside" the boundaries of the scaled image already in the Graphics<br />
Window and are thus not captured with immediate mode graphics. The plot function will rescale and redraw<br />
the image.<br />
To obtain a more "permanent" image, you need to execute one of the plot functions (such as Utility Menu><br />
Plot> Volumes) or a graphics action command (such as VPLOT). An image generated in this way will not<br />
be destroyed by menu pop-ups or by iconifying the GUI. Also note that symbols (such as keypoint or node<br />
numbers, local coordinate systems, boundary conditions, etc.) are also shown immediately but will not be<br />
present on a "permanent" display unless you first "turn on" the appropriate symbol using the functions under<br />
Utility Menu> PlotCtrls or the appropriate graphics specification command.<br />
If you prefer not to see things immediately as you define them, you can use the IMMED command (Utility<br />
Menu> PlotCtrls> Erase Options> Immediate Display) to turn off immediate mode. When you run the<br />
ANSYS program interactively without using the GUI, immediate mode is off by default.<br />
10.5.4. Replotting the Current Display<br />
The /REPLOT command (Utility Menu> Plot> Replot) re-executes the last display action command that<br />
was executed. However, the program can execute that command only if it is valid in the current ANSYS<br />
routine. For instance, if you issue a PLNSOL command in POST1, then exit that routine and replot while at<br />
the Begin level, no contour display will be formed. To save time, you may want to define an abbreviation<br />
for the /REPLOT command so that it is available on the Toolbar as a "quick pick."<br />
224<br />
Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information<br />
of ANSYS, Inc. and its subsidiaries and affiliates.