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 9: Selecting and Components 9.3.3. Selecting Entities by Component or Assembly The main advantage of defining a component or an assembly is that you can conveniently select items that belong to it using a combination of the CMSEL and ALLSEL commands. The CMSEL command selects all entities belonging to a component or assembly by its name. You can then issue ALLSEL,BELOW to select all attached lower entities. For example, you can select all elements belonging to the WINDINGS component, apply a current density loading to all of them, and then select all nodes attached to those elements: CMSEL,,WINDINGS BFE,ALL,JS,,-1000 ALLSEL,BELOW,ELEM You can also use the picker to select components. By choosing Utility Menu> Select> Comp/Assembly> Pick Comp/Assembly, you can select a defined component and all of the items belonging to it. The item is displayed in the prompt window during the select process. For more information about the CMSEL, BFE and ALLSEL commands, and the CMEDIT, CMDELE, and CMLIST commands mentioned below, see the Command Reference. 9.3.4. Adding or Removing Components Issuing the CMEDIT command (Utility Menu> Select> Comp/Assembly> Edit Assembly) allows you to add components to or remove components from an assembly. For example, the following command removes AIRGAP from the assembly MOTOR: CMEDIT,MOTOR,DELE,AIRGAP You can delete a component or assembly definition, using the CMDELE command (Utility Menu> Select> Comp/Assembly> Delete Comp/Assembly). You can list the entities that make up a particular component with the CMLIST command (Utility Menu> Select> Comp/Assembly> List Comp/Assembly). You can use CMLIST to generate expanded, detailed listings of the entities that make up specific components by using it along with the CMSEL command. The CMSEL command also allows you to use components to narrow your selection or increase your selection criteria. Issuing CMSEL,ALL will select all defined components in addition to any items you already have selected. 9.3.5. Modifying Components or Assemblies You can modify the specification of a component with the CMMOD command. If an entity is modified (e.g., via the KMODIF command), that entity may be deleted and then redefined. The deletion may cause the entity to be removed from the component. If all of the entities are removed from the component, the component will also be deleted. 216 Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

Chapter 10: Getting Started with Graphics The ANSYS program (and the associated DISPLAY program) enable you to portray almost any aspect of your model in pictures or graphs that you can view on your terminal screen, store on a file, or plot out as hard copy. ANSYS has numerous features to help you to customize or enhance your graphics displays to suit your needs. The following graphics topics are available: 10.1. Interactive Versus External Graphics 10.2. Identifying the Graphics Device Name (for UNIX) 10.3. Specifying the Graphics Display Device Type (for Windows) 10.4. System-Dependent Graphics Information 10.5. Creating Graphics Displays 10.6. Multi-Plotting Techniques 10.1. Interactive Versus External Graphics Any discussion of graphics might seem to imply that you are running the ANSYS program interactively and viewing graphics images on your terminal screen. For the most part, this chapter is written for such a scenario. However, you can run the ANSYS program in either interactive or batch mode and store graphics images on a file for later viewing and processing. This process is called creating external graphics. External Graphics (p. 275) discusses the procedures for external graphics. Chapter General Graphics Specifications (p. 227) through Animation (p. 267) pertain to obtaining graphics displays interactively on your screen. 10.2. Identifying the Graphics Device Name (for UNIX) When using the ANSYS program, one of the first things you must do is specify the graphics device name (sometimes referred to as the graphics driver). ANSYS requires this information to properly direct graphics instructions to your display device. The default graphics device name for most systems is X11. You can change it from X11 to, say, 3D if you have a 3-D graphics device for running ANSYS. You must define the graphics device name before you activate the Graphical User Interface (GUI). Once you have activated the GUI, you cannot change graphics device names. Refer to the Operations Guide for more information about using the GUI. The best way to identify the graphics device name is to do so directly at program start-up. You can enter the graphics device name in the launcher from the ANSYS GUI Settings dialog box, accessed by selecting Edit> Preferences> ANSYS GUI Settings. By defining the graphics device name at start-up, you can activate the GUI immediately upon entering the ANSYS program. Alternatively, you can specify the graphics device name using /SHOW command once you have entered the program (but before you have activated the GUI). 10.2.1. Graphics Device Names Available X11 (or X11C) and 3D are common graphics device names supported by the ANSYS program. Each of these are described briefly below. Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates. 217

Chapter 9: Selecting and Components<br />

9.3.3. Selecting Entities by Component or Assembly<br />

The main advantage of defining a component or an assembly is that you can conveniently select items that<br />

belong to it using a combination of the CMSEL and ALLSEL commands. The CMSEL command selects all<br />

entities belonging to a component or assembly by its name. You can then issue ALLSEL,BELOW to select<br />

all attached lower entities. For example, you can select all elements belonging to the WINDINGS component,<br />

apply a current density loading to all of them, and then select all nodes attached to those elements:<br />

CMSEL,,WINDINGS<br />

BFE,ALL,JS,,-1000<br />

ALLSEL,BELOW,ELEM<br />

You can also use the picker to select components. By choosing Utility Menu> Select> Comp/Assembly><br />

Pick Comp/Assembly, you can select a defined component and all of the items belonging to it. The item<br />

is displayed in the prompt window during the select process.<br />

For more information about the CMSEL, BFE and ALLSEL commands, and the CMEDIT, CMDELE, and CMLIST<br />

commands mentioned below, see the Command Reference.<br />

9.3.4. Adding or Removing Components<br />

Issuing the CMEDIT command (Utility Menu> Select> Comp/Assembly> Edit Assembly) allows you to<br />

add components to or remove components from an assembly. For example, the following command removes<br />

AIRGAP from the assembly MOTOR:<br />

CMEDIT,MOTOR,DELE,AIRGAP<br />

You can delete a component or assembly definition, using the CMDELE command (Utility Menu> Select><br />

Comp/Assembly> Delete Comp/Assembly). You can list the entities that make up a particular component<br />

with the CMLIST command (Utility Menu> Select> Comp/Assembly> List Comp/Assembly). You can use<br />

CMLIST to generate expanded, detailed listings of the entities that make up specific components by using<br />

it along with the CMSEL command.<br />

The CMSEL command also allows you to use components to narrow your selection or increase your selection<br />

criteria. Issuing CMSEL,ALL will select all defined components in addition to any items you already have<br />

selected.<br />

9.3.5. Modifying Components or Assemblies<br />

You can modify the specification of a component with the CMMOD command.<br />

If an entity is modified (e.g., via the KMODIF command), that entity may be deleted and then redefined.<br />

The deletion may cause the entity to be removed from the component. If all of the entities are removed<br />

from the component, the component will also be deleted.<br />

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