Mechanical APDL Basic Analysis Guide - Ansys

Mechanical APDL Basic Analysis Guide - Ansys Mechanical APDL Basic Analysis Guide - Ansys

www1.ansys.com
from www1.ansys.com More from this publisher
15.11.2012 Views

Chapter 15: Creating Graphs To display a stress item associated with a particular location and event versus loading number (for use in fatigue analyses), use one of the following: Command(s): FSPLOT GUI: Main Menu> General Postproc> Fatigue> Store Stresses> Plot Stresses To calculate and graph path items versus path length, choose one of these methods: Command(s): PLPATH GUI: Main Menu> General Postproc> Path Operations> Plot Path Item Main Menu> General Postproc> Plot Results> Plot Path Item Utility Menu> Plot> Results> Path Plot To calculate and graph the membrane and membrane plus linearized stresses along a path, use one of these methods: Command(s): PLSECT GUI: Main Menu> General Postproc> Path Operations> Linearized Strs Main Menu> General Postproc> Plot Results> Plot Path Item> Lineariz Strs The PLVAR command (Main Menu> TimeHist Postpro> Graph Variables) graphs any predefined variable as a function of TIME (or, for harmonic response analyses, frequency) or some other variable that you define. This command is available in the time-history postprocessor, POST26. A similar PLVAROPT command (Main Menu> Design Opt> Graphs/Tables) is available in OPT, the design optimization processor. Issue the /REPLOT command (Utility Menu> Plot> Replot) to re-execute the last display action command that was executed. 15.2. Changing the Specifications for Graph Displays In addition to reading about the features listed below, also see Getting Started with Graphics (p. 217) for general graphics specifications that apply to any type of display, including graphs. 15.2.1. Changing the Type, Style, and Color of Your Graph Display You can alter the appearance of your graph display as follows: Turning axis divisions (tick marks) on or off. You can control this feature using the AXDV label on the /GROPT command (Utility Menu> PlotCtrls> Style> Graphs). Turning axis scale numbers on or off. The AXNM label on the /GROPT command controls whether or not your axis scale numbers appear. Changing the size of axis scale numbers. You can enlarge or reduce the axis scale numbers, using the AXNSC label (and the KEY field) on the /GROPT command. Changing the number of significant digits used in axis scale numbers. Axis values will, by default, display four significant digits before the decimal point, and three significant digits after the decimal point. You can change these values with the DIG1 and DIG2 labels on the /GROPT command. Switching between log and linear scales. By default, your graphs will use linear scales. You can switch to log scales on the X and Y axes, using the LOGX and LOGY labels on the /GROPT command. (X and Y axes can be switched independently of each other; Z is always linear.) 258 Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

Establishing separate Y-axis scales for different curves. If you want to graph two or more different items on one display, you might find that the numerical values of the different graphed items differ so significantly that no meaningful information can be obtained from some of the curves. An example would be a time- history graph of an applied force (with magnitude ~10 3 ) superimposed over a time-history graph of a resulting deflection (with magnitude ~10 -1 ). The deflection curve would appear to be a straight line if plotted to the same scale as the applied force. To solve this problem, use different Y-axis scales for each curve. You can activate such a feature with the /GRTYP command (Utility Menu> PlotCtrls> Style> Graphs). /GRTYP,2 displays up to three separate 2-D curves, while /GRTYP,3 displays up to six separate 3-D curves. You must also make sure that automatic Yaxis scaling is set to its default value of ON (/GROPT,ASCAL,ON) for this feature to work. Uniform scaling of separate Y axes. If you want to label separate Y-axes distinctly, but want all of them to use the same Y axis scale, you must turn automatic Y-axis scaling off (/GROPT,ASCAL,OFF). Creating "data slice" graph curves (curves that have Z-direction "thickness"). Separately-scaled curves can be separated and given Z-direction thickness with the /GRTYP,3 command. (To see this effect, you must change your display's viewing angle and distance - for instance, via /VIEW,1,2,2,3 and /DIST,1,.88 (Utility Menu> PlotCtrls> Pan, Zoom, Rotate). The color-fill option must also be set on via the /GROPT,FILL,ON command.) Setting line thickness for axes, grid lines or graph curve lines. You can accentuate graph items by increasing their line thickness, using the AXIS, GRID, and CURVE labels in the /GTHK command (Utility Menu> Plot Ctrls> Style> Graphs). Turning the grid on or off (in the XY plane). You can add a grid to your graph displays, using the /GRID command (Utility Menu> Plot Ctrls> Style> Graphs). If you add a grid, it can be either a full grid (horizontal and vertical grid lines) or a partial grid (horizontal or vertical grid lines). Producing a dashed tolerance curve about the displayed curve. You might want to indicate a range of data spread, tolerance, or uncertainty on your graph curves. You can do so using the SPREAD command (Main Menu> TimeHist Postpro> Settings> Graph). Color-filling areas under curves. You can enhance the visual impact of your graph curves by using the FILL label on the /GROPT command to fill the areas under the curves with color. Changing the color of curves (and color-filled areas under curves). The CURVE label on the /COLOR command (Utility Menu> PlotCtrls> Style> Colors> color type) allows you to control the color of each curve in your graph. Filling the areas under curves with grids. If you have turned on the color-fill option and have also turned on the grid option, then you can cause the grid to appear in the color-filled areas under curves by issuing /GROPT,CGRID,ON. Coloring the XY, XZ, and/or YZ grid planes. The GRBAK label on the /COLOR command allows you to control the color of the XY, YZ, and ZX planes. Coloring the window background. The WBAK label on the /COLOR command enables you to control the background color of each window in your display. 15.2.2. Labeling Your Graph Labeling the axes. You can label the X and Y axes using the /AXLAB command. Command(s): /AXLAB Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates. 15.2.2. Labeling Your Graph 259

Chapter 15: Creating Graphs<br />

To display a stress item associated with a particular location and event versus loading number (for use in<br />

fatigue analyses), use one of the following:<br />

Command(s): FSPLOT<br />

GUI: Main Menu> General Postproc> Fatigue> Store Stresses> Plot Stresses<br />

To calculate and graph path items versus path length, choose one of these methods:<br />

Command(s): PLPATH<br />

GUI: Main Menu> General Postproc> Path Operations> Plot Path Item<br />

Main Menu> General Postproc> Plot Results> Plot Path Item<br />

Utility Menu> Plot> Results> Path Plot<br />

To calculate and graph the membrane and membrane plus linearized stresses along a path, use one of these<br />

methods:<br />

Command(s): PLSECT<br />

GUI: Main Menu> General Postproc> Path Operations> Linearized Strs<br />

Main Menu> General Postproc> Plot Results> Plot Path Item> Lineariz Strs<br />

The PLVAR command (Main Menu> TimeHist Postpro> Graph Variables) graphs any predefined variable<br />

as a function of TIME (or, for harmonic response analyses, frequency) or some other variable that you define.<br />

This command is available in the time-history postprocessor, POST26. A similar PLVAROPT command (Main<br />

Menu> Design Opt> Graphs/Tables) is available in OPT, the design optimization processor.<br />

Issue the /REPLOT command (Utility Menu> Plot> Replot) to re-execute the last display action command<br />

that was executed.<br />

15.2. Changing the Specifications for Graph Displays<br />

In addition to reading about the features listed below, also see Getting Started with Graphics (p. 217) for<br />

general graphics specifications that apply to any type of display, including graphs.<br />

15.2.1. Changing the Type, Style, and Color of Your Graph Display<br />

You can alter the appearance of your graph display as follows:<br />

Turning axis divisions (tick marks) on or off. You can control this feature using the AXDV label on the /GROPT<br />

command (Utility Menu> PlotCtrls> Style> Graphs).<br />

Turning axis scale numbers on or off. The AXNM label on the /GROPT command controls whether or not your<br />

axis scale numbers appear.<br />

Changing the size of axis scale numbers. You can enlarge or reduce the axis scale numbers, using the AXNSC<br />

label (and the KEY field) on the /GROPT command.<br />

Changing the number of significant digits used in axis scale numbers. Axis values will, by default, display four<br />

significant digits before the decimal point, and three significant digits after the decimal point. You can<br />

change these values with the DIG1 and DIG2 labels on the /GROPT command.<br />

Switching between log and linear scales. By default, your graphs will use linear scales. You can switch to log<br />

scales on the X and Y axes, using the LOGX and LOGY labels on the /GROPT command. (X and Y axes can<br />

be switched independently of each other; Z is always linear.)<br />

258<br />

Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information<br />

of ANSYS, Inc. and its subsidiaries and affiliates.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!