You are on page 1of 20

Course in ANSYS

Example0151

Example – Truss 2D

Example0151 2

1
Example – Truss 2D
Objective: E = 210000N/mm2
Compute the maximum deflection n = 0.3
Tasks: L = 100mm
Display the deflection figure? H = 120mm
Topics: a = b = 20mm
Topics: Start of analysis, Element type, Real c = d = 10mm
constants, Material, modeling, element size for e = f = 5mm
beam models, saving/restoring F = 1000N

Example0151 3

Example - title
Utility Menu > File > Change Jobname GUI
/jobname, Example0151 Command line entry
Enter: Example0151

Utility Menu > File > Change Title Enter: Truss 2D


/title, Truss 2D

Example0151 4

2
Example - Keypoints
Preprocessor > Modeling > Create > Keypoints > In Active CS
Enter five points with coordinates
General format: Note: An empty #
0,0,0 result in automatic
0,120,0 K,#,X,Y,Z numbering.
100,0,0
100,120,0
Enter 0,0,0
200,120,0
Press Apply for KP1
Enter 0,120,0
Press Apply for KP2
Enter 100,0,0
Press Apply for KP3
Enter 100,120,0
Press Apply for KP4
Enter 200,120,0
Press Apply for KP5

Example0151 5

Example - Numbering
Utility Menu > PlotCtrls > Numbering Switch on Keypoint numbers

Press OK
Example0151 6

3
Example - Lines
Preprocessor > Modeling > Create > Lines > Lines > Straight Line
Create a line between Keypoint 1 and Keypoint 2 and so on
L,1,3
L,2,3 HINT: By clicking with the right-
L,2,4 hand mouse button you shift
L,3,4 between the Pick/Unpick
L,4,5 function. This is indicated by
L,3,5 the direction of the cursor
arrow:
Pick: upward arrow
Unpick: downward arrow

Press OK or Cancel
to finish selection

Example0151 7

Example – Element Type


Preprocessor > Element Type > Add/Edit/Delete

Press Add

Example0151 8

4
Example - Element Type
Preprocessor > Element Type > Add/Edit/Delete

Press Options

Press Help to learn more about


the element. Find the table on
the nex page
Example0151 9

Example – Element Table


Find the following table for the element. Identify how to plot member
forces in longitudinal direction of the beam element - MFORX

Example0151 10

5
Example – Element Table
Find also the following table in the Help function

Remember MFORX, SMISC,1,7

Example0151 11

Example - Element Type


Preprocessor > Element Type > Add/Edit/Delete

Press OK

Press Close Example0151 12

6
Example – Real Constants
Preprocessor > Real Constants > Add

Place the cursor


on the relevant
element and
press OK

Example0151 13

Example - Real Constants


Preprocessor > Real Constants > Add
Enter cross-
sectional data
for section 1

Press OK
Press Close
to finish
Example0151 14

7
Example - Real Constants
Preprocessor > Real Constants > Add
Enter cross-sectional
data for section 2, 4, 6
2

Press OK

Example0151 15

Example - Real Constants


Preprocessor > Real Constants > Add
Enter cross-
sectional data for
3
section 3, 5

Press OK

Example0151 16

8
Example - Material Properties
Preprocessor > Material Props > Material Models
Double Click
to step in the
material tree

Example0151 17

Example - Material Properties


Preprocessor > Material Props > Material Models
Enter: Click here
Modulus of elasticity to Close
Enter:
Poisson’s ratio

Press OK

Example0151 18

9
Example – Mesh Attributes
Preprocessor > Meshing > Mesh Attributes > Line Attributes > Picked Lines
Select Line 1

Press OK Example0151 19

Example – Mesh Attributes


Preprocessor > Meshing > Mesh Attributes > Line Attributes > Picked Lines
Select Line 2, 4, 6

Press OK Example0151 20

10
Example – Mesh Attributes
Preprocessor > Meshing > Mesh Attributes > Line Attributes > Picked Lines
Select Line 3, 5

Press OK Example0151 21

Example - Meshing
Preprocessor > Meshing > Size Cntrls > ManualSize > Lines > Picked Lines

Select/Pick
All lines to
specify
mesh size
for

Press OK when finish with selection Enter 1


Example0151 22

11
Example - Meshing
Preprocessor > Meshing > Mesh > Lines

Select individual lines to be meshed by Picking

NB: It is often necessary to “Clear” the model for


example if Element Type is to be changed

Select all lines defined to be meshed

Example0151 23

Example0151 24

12
Example – Analysis Type
File > Write DB log file
Enter “example0151.lgw”

Solution > Analysis Type > New Analysis

Press OK

Example0151 25

Example – Define Loads


Solution > Define Loads > Apply > Structural > Displacement > On Keypoints
Select keypoint 1

Select UX

Press OK
Example0151 26

13
Example – Define Loads
Solution > Define Loads > Apply > Structural > Displacement > On Keypoints
Select keypoint 2

Select UX and UY

Press OK
Example0151 27

Example – Define Loads


Solution > Define Loads > Apply > Structural > Force/Moment > On Keypoints

Select keypoint 3

Change to FY

Press OK to finish Enter -1000

Example0151 28

14
Example - Solve
Solution > Solve > Current LS

Press OK

Example0151 29

Example - PostProcessing
General Postproc > Plot Results > Deformed Shape

Select “Def+undeformed”
and Press OK

Example0151 30

15
Example - PostProcessing

Read Maximum displacement: DMX

Example0151 31

Example – Element Table

Press Add to add the first data line

Example0151 32

16
Example – Element Table

Scroll down in this menu to find the line “By sequence number”

Example0151 33

Example – Element Table

Enter 6 as found in table 3.2


Press OK
From table 3.2 MFORX, SMISC,6,12
Example0151 34

17
Example – Element Table

Press Add to add the second data line


Example0151 35

Example – Element Table

12

Enter 12 as found in table 3.2


Press OK
From table 3.2 MFORX, SMISC,6,12
Example0151 36

18
Example – Element Table

Press Close
Example0151 37

Example – Plot Line-Element

Press OK Change to SMIS12

Example0151 38

19
Example – Plot Line-Element

Example0151 39

20

You might also like