An Sys Tutorial
An Sys Tutorial
Problem Specication
Determine the force in each member of the following truss. Indicate if the member is in tension or compression. The cross-sectional area of each member is 0.01 m and the Youngs modulus is N/m .
1.5 m A
Solution Steps
1. Start-up and preliminary set-up 2. Specify element type and constants 1
3. Specify material properties 4. Create nodes 5. Create elements from nodes 6. Specify boundary conditions 7. Solve! 8. Analyze the solution Lets go through these steps now.
ANSYS/University High Option Utility Menu: This is referred to simply as the Utility Menu. Note that the jobname truss appears in parenthesis in the title bar of the Utility Menu. ANSYS Main Menu ANSYS Graphics ANSYS Toolbar: This contains shortcuts to often-used commands and can be customized. ANSYS 5.5 Output Window (which might be hidden behind the others): This is the window to which output is written by default and provides feedback on the actions taken by ANSYS as you navigate the menus.
Well more or less work our way down the Main Menu. In the Main Menu, click on the Preferences button. In the Preferences for GUI Filtering dialog box, click on the box next to Structural so that a tick mark appears in the box. The effect of selecting the structural preference is that only menu options applicable to structural mechanics are shown in the graphical user interface; options related to other disciplines such as thermal, uid and electromagnetics are grayed out. This helps a little while navigating the vast menu options within ANSYS. Click on OK to close the Preferences dialog box.
element type, click on Help in the Library of Element Types dialog box and then, in the box that comes up, select Pick Elements 3.2: Pictorial Summary and click Go To. This will bring up the the help page containing the pictorial summary of the element types available in ANSYS. Our own humble LINK1 element is listed here. The 1 in the element name refers to the reference number of this element type in ANSYSs list of available element types. Note that the degrees-of-freedom (DOFs) for the LINK1 element are UX and UY i.e. the displacements in X and Y directions, respectively. Its the simplest way you can link two nodes. Note that in general you need to take the time to understand the element types and pick the appropriate one(s) for your problem. This choice has a signicant effect on the speed and accuracy of the solution. Minimize the help window. Click Cancel to close the Article Selection dialog box. Click Cancel to close the Library of Element Types dialog box. Now you will see the following in the Element Types dialog box: Defined Element Types: Type 1 LINK1 Click Close and also close the Element Type sticky menu by clicking on the x in the right corner of the title bar. Specify Element Constants Next well specify the constants for this element type. In the Preprocessor menu, click on Real constants
Add... This opens up the Element Type for Real Constants dialog box. We have only one element type dened from the previous step and its automatically selected. Click OK. For AREA, enter 0.01 which is the cross-sectional area of the element. Leave the Initial Strain eld blank since its not applicable to our problem. Click on OK. Click on Close in the Real Constants dialog box.
Create Nodes
Usually, one creates the geometry and then uses ANSYS meshing routines to create the nodes and elements. In our case, the geometry is simple and we will instead create the nodes and elements manually. Each truss member can be represented by a single LINK1 element with a node at either end. So well need three nodes, located at A, B and C in gure 1. Well locate the origin of the coordinate system at C and number the nodes at A, B and C as 1, 2 and 3, respectively. To create the nodes, in the Preprocessor menu, click on -Modeling- Create
Nodes
In Active CS ... The active CS (i.e. Coordinate System) is the global Cartesian system by default and well work only in this coordinate system in our friendly introduction. ANSYS offers the capability to switch between various types of coordinate systems which will be necessary when you move on to solving super-duper problems. In the Create Nodes in Active Coordinate System dialog box, Enter 1 for node number Enter 0 for X and 2.8 for Y (The rest default to zero) Click Apply (which accepts the input and then brings back the dialog box for further input).
Enter 2 for node number Enter 1.5 for X and 2.0 for Y Click Apply Enter 3 for node number Enter 0 for X and 0 for Y Click OK (which accepts the input and then closes the dialog box; note the difference between Apply and OK which holds throughout ANSYS). The nodes will now be displayed in the Graphics window along with a triad that indicates the origin of the coordinate system (coincident with node 3 in our case) and the axes. To check if the nodes have been created correctly, go to the Utility Menu (usually in the topmost part of the screen) and click on List
Nodes . This brings up the Sort NODE Listing dialog box. Click OK. This brings up a window listing the coordinates and rotation angles for the nodes. Verify that you have the following: NODE 1 2 3 X 0.0000 1.5000 0.0000 Y 2.8000 2.0000 0.0000 Z 0.0000 0.0000 0.0000 THXY 0.00 0.00 0.00 THYZ 0.00 0.00 0.00 THZX 0.00 0.00 0.00
You can rotate the coordinate system associated with each node and that is what the rotation angles THXY, THYZ and THZX refer to. In our case, we dont need to rotate the nodal coordinate system and so the rotation angles are identically zero. Close the window listing the nodes. Close the Nodes and Create sticky menus. If you are like me, you made a mistake while creating nodes and cursed that there is no undo button. To correct your mistake(s), you can delete nodes and re-create them. In case you need to delete a node, in the Preprocessor menu, click on Delete
Nodes. This brings up the so-called pick menu. Click on the node you want to delete; then click on OK in the pick menu. You should see the node disappear in the Graphics window. You can also check that the node has been deleted using List
Nodes . You can then re-create the node. Once you have successfully created the nodes, click on SAVE DB in the toolbar to save the database.
In the Graphics window, click on node 1. ANSYS will draw a little square around node 1 to indicate that its been picked. Then, click on node 3 (at the bottom of the screen overlapping the triad). Click Apply in the Elements from Nodes pick menu. This will draw a line between nodes 1 and 3 which denotes the LINK1 2D spar element between these nodes.
Next, create the element between nodes 1 and 2 as follows:
In the Graphics window, click on node 1. Click on node 2. Click Apply in the pick menu. This will draw a line between nodes 1 and 2 which denotes the LINK1 element between these nodes.
Last, create the element between nodes 2 and 3:
Click OK in the pick menu. (We clicked on OK instead of Apply since this is the last element to be created and OK accepts the input and then gets rid of the menu.)
You can now get rid of the Elements and Create sticky menus. To take a look at the list of elements, in the Utility Menu, click on List
Elements
Nodes + Attributes I get the following list in the window that comes up: ELEM MAT TYP REL ESY SEC 1 2 3 1 1 1 1 1 1 1 1 1 0 0 0 1 1 1 1 1 3 NODES 3 2 2
This table says that Element 1 is of material type 1 and element type 1 and is attached to nodes 1 and 3 and so on. In this element list, the order of the two nodes for each element doesnt matter. For example, element 3 can be attached to nodes 2 and 3 or equivalently, nodes 3 and 2. If one or more elements doesnt look right, you can delete it and re-create that element. To delete an element, in the Preprocessor menu, click on Delete
Elements. This brings up the pick menu. Click on the element you want to delete in the Graphics window and click OK. This deletes the element. Close the window listing the elements. Once you have successfully created the elements, click on SAVE DB in the toolbar to save the database.
Close this window. Click on SAVE DB in the toolbar to save the database. Apply Loading We have only one load to apply on the structure, namely, the 2800 N force in the negative y-direction at node 2. In the Loads sticky menu, click on -Loads- Apply
Force/Moment
Nodes This brings up the pick menu. Click on node 2 in the Graphics window; then click OK in the pick menu. In the Apply 5
F/M on Nodes dialog box that appears, select FY for Direction of force/mom. Enter -2800 for Force/moment value. Click OK. The negative sign for the force indicates that it is in the negative y-direction. Youll see a vector indicating the applied force in the Graphics window. Click on SAVE DB in the toolbar to save the database. Close the Force/Moment, Apply, Loads and Preprocessor menus.
Solution
Enter the solution module in ANSYS by clicking on Solution in the Main Menu. Under Solve, click on Current LS. This solves the current load step (LS) i.e. the current loading conditions. In our problem, there is only one load step; ANSYS allows for multiple load steps that can be solved sequentially without leaving the Solution module. Review the information in the /STAT Command window which is a summary of the problem that ANSYS is about to solve. Close this window. Click OK in Solve Current Load Step dialog box. ANSYS performs the solution and a yellow window should pop up saying Solution is done!. Congratulations! You just obtained your rst ANSYS solution. Close the yellow window. Click on SAVE DB in the toolbar to save the database. In preparation for the post-processing step to be undertaken next, exit the solution module by closing the Solution sticky menu.
Postprocessing
To analyze the solution obtained, enter the General Postprocessing module by clicking on General Postproc in the Main Menu. To list the forces in the members, click on List Results
Element Solution. Select Nodal force data from list on left. Select All forces FORC from list on right. Click OK. This brings up a window listing the forces that the elements apply on each of their nodes: PRINT FORC ELEMENT SOLUTION PER ELEMENT ***** POST1 ELEMENT NODE TOTAL FORCE LISTING ***** LOAD STEP= 1 TIME= 1.0000 SUBSTEP= 1 LOAD CASE=
For example, Element 2 (or member AB) applies a force of 1500 N in the
-direction and 800 N in the negative -direction on node 1 (or pin A). This means that the total force in AB is . The resultant acts from A to B i.e. the member is pulling on pin A. So it must be in tension. Similarly, the force in Element 1 (AC) is 2000 N (tension) and in Element 3 (BC) is 2500 N (compression). To list the reaction forces at the nodes, click on List Results
Reaction Solu . Select All struc forc F for Item to be listed and click OK. This brings up a window with the reaction forces at the nodes: PRINT REACTION SOLUTIONS PER NODE
***** POST1 TOTAL REACTION SOLUTION LISTING ***** LOAD STEP= 1 TIME= 1.0000 SUBSTEP= 1 LOAD CASE=
THE FOLLOWING X,Y,Z SOLUTIONS ARE IN GLOBAL COORDINATES NODE 1 3 FX -1500.0 1500.0 FY 2800.0
2800.0
The sum of the reaction forces balances the applied load as should be the case for static equilibrium. To take a look at the deformed shape of the structure, in the Main Menu, click on General Postproc
Plot Results
Deformed Shape. Select Def + undef edge and click on OK. This plots the deformed and undeformed shapes in the Graphics window. Note that the deformation is magnied in the plot so as to be easily visible. To exit ANSYS, in the Utility Menu, click on File
Exit. Select Save Everything and click OK. You can log out from your account by typing Ctrl+Alt+Delete. This is just a quick introduction to ANSYS to give you a avor of what a full-edged engineering package looks like. If it felt unfriendly or cumbersome, you are not alone; I went through this myself (otherwise, congratulations! you are a genius). It takes some getting used to. Believe it or not, it gets a lot easier to use with time. You have a lot of years ahead of you to gain the experience necessary to harness the power of nite-element analysis. All the ANSYS features including the underlying theory are documented online and can be accessed from the Help button in the Utility Menu. Thats the best way to learn more about the program. There are tutorials available in the documentation which is a good place to start. In the latest version, ANSYS 5.7, the documentation is HTML-based and so is similar to navigating web pages. We will have the 5.7 version installed at ACCEL in the fall.
Problem Set 1
Resume the ANSYS tutorial and make modications to it as discussed below. To resume the ANSYS tutorial, start ANSYS; specify the same directory as in the tutorial but use a different jobname. Once ANSYS comes up, in the Utility Menu, click on File
Resume from. Choose truss.db and click OK. Consider the case where the displacement constraints at A and C are interchanged i.e. at A, only UX is set to zero,
1. Listing of the reactions. Note that you can save the reaction listing as follows: in the window that comes up with the listing of the reaction forces, click on File
Save as. 2. Listing of element forces. From this, determine the force in each member and whether the member is in tension or compression.
Problem Set 2
Determine the force in each member of the following truss using ANSYS. Indicate if the member is in tension or compression. Use the same LINK1 element as in the tutorial. The cross-sectional area of each member is 0.02 m and N/m . Verify your results by calculating the forces manually. the Youngs modulus is
F=1008N A
3m y B x 4m
Submit the following: 1. Listing of the reactions from the ANSYS solution. Indicate which node corresponds to which point (i.e. A,B or C) in the gure. 2. Listing of the element forces from the ANSYS solution. Indicate which element corresponds to which truss member. 3. Your calculation determining the force in each member and whether the member is in tension or compression from the ANSYS result. 4. Your pencil-and-paper calculations verifying the ANSYS results for the member and reaction forces.
C 1.25 m