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 7:The General Postprocessor (POST1) path geometry will follow the currently active CSYS coordinate system. Alternatively, you can specify a coordinate system for geometry interpolation (CS argument on the PPATH command). Note To see the status of path settings, choose the PATH,STATUS command. The PATH and PPATH commands define the path geometry in the active CSYS coordinate system. If the path is a straight line or a circular arc, you need only the two end nodes (unless you want highly accurate interpolation, which may require more path points or divisions). Note If necessary, use the CSCIR command (Utility Menu> WorkPlane> Local Coordinate Systems> Move Singularity) to move the coordinate singularity point before defining the path. To display the path you have defined, you must first interpolate data along the path (see Interpolating Data Along the Path (p. 156)). You then issue the /PBC,PATH,1 command followed by the NPLOT or EPLOT command. Alternatively, if you are using the GUI, choose Main Menu> General Postproc> Path Operations> Plot Paths to display the path on a node plot or choose Utility Menu> Plot> Elements followed by Main Menu> General Postproc> Path Operations> Plot Paths to display the path on an element plot. ANSYS displays the path as a series of straight line segments. The path shown below was defined in a cylindrical coordinate system: Figure 7.11 A Node Plot Showing the Path 7.2.5.2. Using Multiple Paths A maximum of 100 paths can exist within one model. However, only one path at a time can be the current path. To change the current path, choose the PATH,NAME command. Do not specify any other arguments on the PATH command. The named path will become the new current path. 7.2.5.3. Interpolating Data Along the Path The following commands are available for this purpose: 156 Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

Command(s): PDEF GUI: Main Menu> General Postproc> Path Operations> path operation Command(s): PVECT GUI: Main Menu> General Postproc> Path Operations> Unit Vector These commands require that the path be defined first. Using the PDEF command, you can interpolate virtually any results data along the path in the active results coordinate system: primary data (nodal DOF solution), derived data (stresses, fluxes, gradients, etc.), element table data, FLOTRAN nodal results data, and so on. The rest of this discussion (and in other documentation) refers to an interpolated item as a path item. For example, to interpolate the thermal flux in the X direction along a path, the command would be as follows: PDEF,XFLUX,TF,X The XFLUX value is an arbitrary user-defined name assigned to the path item. TF and X together identify the item as the thermal flux in the X direction. Note You can make the results coordinate system match the active coordinate system (used to define the path) by issuing the following pair of commands: *GET,ACTSYS,ACTIVE,,CSYS RSYS,ACTSYS The first command creates a user-defined parameter (ACTSYS) that holds the value defining the currently active coordinate system. The second command sets the results coordinate system to the coordinate system specified by ACTSYS. 7.2.5.4. Mapping Path Data POST1 uses {nDiv(nPts-1) + 1} interpolation points to map data onto the path (where nPts is the number of points on the path and nDiv is the number of path divisions between points (PATH)). When you create the first path item, the program automatically interpolates the following additional geometry items: XG, YG, ZG, and S. The first three are the global Cartesian coordinates of the interpolation points and S is the path length from the starting node. These items are useful when performing mathematical operations with path items (for instance, S is required to calculate line integrals). To accurately map data across material discontinuities, use the DISCON = MAT option on the PMAP command (Main Menu> General Postproc> Path Operations> Define Path> Path Options). To clear path items from the path (except XG, YG, ZG, and S), issue PDEF,CLEAR. To form additional labeled path items by operating on existing path items, use the PCALC command (Main Menu> General Postproc> Path Operations>operation). The PVECT command defines the normal, tangent, or position vectors along the path. A Cartesian coordinate system must be active for this command. For example, the command shown below defines a unit vector tangent to the path at each interpolation point. PVECT,TANG,TTX,TTY,TTZ TTX, TTY, and TTZ are user-defined names assigned to the X, Y, and Z components of the vector. You can use these vector quantities for fracture mechanics J-integral calculations, dot and cross product operations, Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates. 7.2.5. Mapping Results onto a Path 157

Chapter 7:The General Postprocessor (POST1)<br />

path geometry will follow the currently active CSYS coordinate system. Alternatively, you can specify a<br />

coordinate system for geometry interpolation (CS argument on the PPATH command).<br />

Note<br />

To see the status of path settings, choose the PATH,STATUS command.<br />

The PATH and PPATH commands define the path geometry in the active CSYS coordinate system. If the path<br />

is a straight line or a circular arc, you need only the two end nodes (unless you want highly accurate interpolation,<br />

which may require more path points or divisions).<br />

Note<br />

If necessary, use the CSCIR command (Utility Menu> WorkPlane> Local Coordinate Systems><br />

Move Singularity) to move the coordinate singularity point before defining the path.<br />

To display the path you have defined, you must first interpolate data along the path (see Interpolating Data<br />

Along the Path (p. 156)). You then issue the /PBC,PATH,1 command followed by the NPLOT or EPLOT command.<br />

Alternatively, if you are using the GUI, choose Main Menu> General Postproc> Path Operations> Plot<br />

Paths to display the path on a node plot or choose Utility Menu> Plot> Elements followed by Main Menu><br />

General Postproc> Path Operations> Plot Paths to display the path on an element plot. ANSYS displays<br />

the path as a series of straight line segments. The path shown below was defined in a cylindrical coordinate<br />

system:<br />

Figure 7.11 A Node Plot Showing the Path<br />

7.2.5.2. Using Multiple Paths<br />

A maximum of 100 paths can exist within one model. However, only one path at a time can be the current<br />

path. To change the current path, choose the PATH,NAME command. Do not specify any other arguments<br />

on the PATH command. The named path will become the new current path.<br />

7.2.5.3. Interpolating Data Along the Path<br />

The following commands are available for this purpose:<br />

156<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!