Contact Elements Using Ansys
Introduction
This tutorial was completed using ANSYS 7.0 The purpose of the tutorial is to describe how to utilize contact elements to simulate how two beams react when they come into contact with each other.
The beams, as shown below, are 100mm long, 10mm x 10mm in cross-section, have a Young's modulus of 200 GPa, and are rigidly constrained at the outer ends. A 10KN load is applied to the center of the upper, causing it to bend and contact the lower.
Preprocessing: Defining the Problem
- Give example a Title
Utility Menu > File > Change Title ...
/title, Contact Elements - Open preprocessor menu
ANSYS Main Menu > Preprocessor
/PREP7 - Define Areas
Preprocessor > Modeling > Create > Area > Rectangle > By 2 Corners
BLC4,WP X, WP Y, Width, HeightWe are going to define 2 rectangles as described in the following table:Rectangle Variables (WP X,WP Y,Width,Height) 1 (0, 15, 100, 10) 2 (50, 0, 100, 10) - Define the Type of Element
- Preprocessor > Element Type > Add/Edit/Delete...For this problem we will use the PLANE42 (Solid, Quad 4node 42) element. This element has 2 degrees of freedom at each node (translation along the X and Y).
- While the Element Types window is still open, click Options.... Change Element behavior K3 to Plane strs w/thk as shown below. This allows a thickness to be input for the elements.
- Define Real Constants
- Thickness THK: 10
- Define Element Material Properties
Preprocessor > Material Props > Material Models > Structural > Linear > Elastic > IsotropicIn the window that appears, enter the following geometric properties for steel: - Young's modulus EX: 200000
- Poisson's Ratio PRXY: 0.3
- Define Mesh Size
Preprocessor > Meshing > Size Cntrls > ManualSize > Areas > All Lines...For this example we will use an element edge length of 2mm. - Mesh the frame
Preprocessor > Meshing > Mesh > Areas > Free > click 'Pick All' - Define the Type of Contact Element
- Preprocessor > Element Type > Add/Edit/Delete...For this problem we will use the CONTAC48 (Contact, pt-to-surf 48) element. CONTAC48 may be used to represent contact and sliding between two surfaces (or between a node and a surface) in 2-D. The element has two degrees of freedom at each node: translations in the nodal x and y directions. Contact occurs when the contact node penetrates the target line.
- While the Element Types window is still open, click Options.... Change Contact time/load prediction K7 to Reasonabl T/L inc. This is an important step. It initiates a process during the solution calculations where the time step or load step, depending on what the user has specified in the solution controls, incremements slowly when contact is immenent. This way, one surface won't penetrate too far into the other and cause the solution to fail.
- Define Real Constants for the Contact Elements
- Normal contact stiffness KN: 200000
CONTAC48 elements basically use a penalty approach to model contact. When one surface comes into "contact" with the other, ANSYS numerically puts a spring of stiffness KN between the two. ANSYS recommends a value between 0.01 and 100 times Young's modulus for the material. Since this "spring" is so stiff, the behaviour of the model is like the two surfaces have made contact. This KN value can greatly affect your solution, so be sure to read the help file on contact so you can recognize when your solution is not converging and why. A good rule of thumb is to start with a low value of KN and see how the solution converges (start watching the ANSYS Output Window). If there is too much penetration, you should increase KN. If it takes a lot of iterations to converge for a single substep, you should decrease KN. - Target length tolerance TOLS: 10
Real constant TOLS is used to add a small tolerance that will internally increase the length of the target. This is useful for problems when node to node contact is likely to occur, rather than node to element edge. In this situation, the contact node may repeatedly "slip" off one of the target nodes, resulting in convergence difficulties. A small value of TOLS, given in %, is usually enough to prevent such difficulties. - Define Nodes for Creating Contact Elements
Unlike the normal meshing sequence used for most elements, contact elements must be defined in a slightly different manner. Sets of nodes that are likely to come into contact must be defined and used to generate the necessary elements. ANSYS has many recommendations about which nodes to select and whether they should act as target nodes or source nodes. In this simple case, source nodes are those that will move into contact with the other surface, where as target nodes are those that are contacted. These terms are important when using the automatic contact element mesher to ensure the elements will correctly model contact between the surfaces. A strong understanding of how the elements work is important when using contact elements for your own analysis.First, the source nodes will be selected. - Utility Menu > Select > Entities...
Select Areas and By Num/Pick from the pull down menus, select From Full from the radio buttons and click OK. Select the top beam and click OK. This will ensure any nodes that are selected in the next few steps will be from the upper beam. In this case, it is not too hard to ensure you select the correct nodes. However, when the geometry is complex, you may inadvertantly select a node from the wrong surface and it could cause problems during element generation. - Utility Menu > Select > Entities...
Select Nodes and By Location from the pull down menus, Y coordinates and Reselect from the radio buttons and enter a value of 15 and click OK. This will select all nodes along the bottom of the upper beam. - Utility Menu > Select > Entities...
Select Nodes and By Location from the pull down menus, X coordinates and Reselect from the radio buttons and enter values of 50,100. This will select the nodes above the lower beam. - Now if you list the selected nodes, Utility Menu > List > Nodes... you should only have the following nodes remaining.
It is important to try and limit the number of nodes you use to create contact elements. If you have a lot of contact elements, it takes a great deal of computational time to reach a solution. In this case, the only nodes that could make contact with the lower beam are those directly above it, thus those are the only nodes we will use to create the contact elements. - Utility Menu > Select > Comp/Assembly > Create Component
Enter the component name Source as shown below, and click OK. Now we can use this component, Source, as a list of nodes to be used in other functions. This can be very useful in other applications as well.
Using the same procedure as above, select the nodes on the lower beam directly under the upper beam. Be sure to reselect all nodes before starting to select others. This is done by opening the entity select menu, Utility Menu > Select > Entities..., clicking the Also Select radio button, and click the Sele All button.
These values will be the ones you'll use.- Click the lower area for the area select.
- The Y coordinate is 10
- The X coordinates vary from 50 to 100.
IMPORTANT: Be sure to reselect all the nodes before continuing. This is done by opening the entity select menu, Utility Menu > Select > Entities..., clicking the Also Select radio button, and click the Sele All button. - Utility Menu > Select > Entities...
- Generate Contact Elements
It is important to note, CONTAC48 elements are created in the space between two surfaces prescribed by the user. This will be covered below. As the surfaces approach each other, the contact element is slowly "crushed" until it's upper node(s) lie along the same line as the lower node(s). Thus, ANSYS can calculate when the two prescribed surfaces have made contact. Other contact elements, such as CONTA175, require a target element, such as TARGE169, to function. When using contact elements in your own analyses, be sure to understand how the elements work. The ANSYS help file has plenty of useful information regarding contact elements and is worth reading.
The following window will pop up. Select the node set SOURCE from the first drop down menu (Ccomp) and TARGET from the second drop down menu (Tcomp). The rest of the selections remain unchanged.
Unfortunately, the contact elements don't get plotted on the screen so it is sometimes difficult to tell they are there. If you wish, you can plot the elements (Utility Menu > Plot > Elements) and turn on element numbering (Utility Menu > PlotCtrls > Numbering > Elem/Attrib numbering > Element Type Numbers). If you zoom in on the contact areas, you can see little purple stars (Contact Nodes) and thin purple lines (Target Elements) numbered "2" which correspond to the contact elements, shown below.
The preprocessor stage is now complete.
Solution Phase: Assigning Loads and Solving
- Define Analysis Type
- Set Solution Controls
- Select Solution > Analysis Type > Sol'n Control...The following image will appear:
Ensure the following selections are made under the 'Basic' tab (as shown above)- Ensure Automatic time stepping is on. Automatic time stepping allows ANSYS to determine appropriate sizes to break the load steps into. Decreasing the step size usually ensures better accuracy, however, this takes time. The Automatic Time Step feature will determine an appropriate balance. This feature also activates the ANSYS bisection feature which will allow recovery if convergence fails.
- Enter 100 as the number of substeps. This will set the initial substep to 1/100 th of the total load.
- Enter a maximum number of substeps of 1000. This stops the program if the solution does not converge after 1000 steps.
- Enter a minimum number of substeps of 20.
- Ensure all solution items are writen to a results file.
- Ensure Maximum Number of Iterations is set to 100
NOTE
There are several options which have not been changed from their default values. For more information about these commands, type help followed by the command into the command line.
- Select Solution > Analysis Type > Sol'n Control...The following image will appear:
- Apply Constraints
- Apply Loads
- Solve the System
ANTYPE,0
SOLVE
Postprocessing: Viewing the Results
- Open postprocessor menu
ANSYS Main Menu > General Postproc
/POST1 - Adjust Graphical Scaling
- Show the Stress Distribution in the Beams
General Postproc > Plot Results > Contour Plot > Nodal Solu > Stress > von Mises - Adjust Contour Scale
Utility Menu > PlotCtrls > Style > Contours > Non-Uniform ContoursFill in the window as follows:
This should produce the following stress distribution plot:
As seen in the figure, the load on the upper beam caused it to deflect and come in contact with the lower beam, producing a stress distribution in both.
Comments
Post a Comment