40
Course in ANSYS Example0151 Computational Mechanics, AAU, Esbjerg ANSYS

Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Embed Size (px)

Citation preview

Page 1: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Course in ANSYS

Example0151

Computational Mechanics, AAU, EsbjergANSYS

Page 2: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example – Truss 2D

Example0151 2Computational Mechanics, AAU, EsbjergANSYS

Page 3: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example – Truss 2DObjective:Compute the maximum deflection Tasks:Display the deflection figure?Topics:Topics: Start of analysis, Element type, Real constants, Material, modeling, element size for beam models, saving/restoring

E = 210000N/mm2

n = 0.3L = 100mmH = 120mma = b = 20mmc = d = 10mme = f = 5mmF = 1000N

Example0151 3Computational Mechanics, AAU, EsbjergANSYS

Page 4: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example - titleUtility Menu > File > Change Jobname/jobname, Example0151 Command line entry

GUI

Enter: Example0151

Utility Menu > File > Change Title/title, Truss 2D

Enter: Truss 2D

Example0151 4Computational Mechanics, AAU, EsbjergANSYS

Page 5: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example - KeypointsPreprocessor > Modeling > Create > Keypoints > In Active CSEnter five points with coordinates0,0,00,120,0100,0,0100,120,0200,120,0

General format:K,#,X,Y,Z

Note: An empty #result in automaticnumbering.

Enter 0,0,0Press Apply for KP1Enter 0,120,0Press Apply for KP2Enter 100,0,0Press Apply for KP3Enter 100,120,0Press Apply for KP4Enter 200,120,0Press Apply for KP5

Example0151 5Computational Mechanics, AAU, EsbjergANSYS

Page 6: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example - NumberingSwitch on Keypoint numbersUtility Menu > PlotCtrls > Numbering

Example0151 6Computational Mechanics, AAU, EsbjergANSYS

Press OK

Page 7: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example - LinesPreprocessor > Modeling > Create > Lines > Lines > Straight LineCreate a line between Keypoint 1 and Keypoint 2 and so onL,1,3L,2,3L,2,4L,3,4L,4,5L,3,5

Example0151 7Computational Mechanics, AAU, EsbjergANSYS

HINT: By clicking with the right-hand mouse button you shift between the Pick/Unpick function. This is indicated by the direction of the cursor arrow:

Pick: upward arrow

Unpick: downward arrow

Press OK or Cancelto finish selection

Page 8: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example – Element TypePreprocessor > Element Type > Add/Edit/Delete

Press Add

Example0151 8Computational Mechanics, AAU, EsbjergANSYS

Page 9: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example - Element TypePreprocessor > Element Type > Add/Edit/Delete

Press Options

Press Help to learn more about the element. Find the table on the nex page

Example0151 9Computational Mechanics, AAU, EsbjergANSYS

Page 10: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example – Element Table

Example0151 10Computational Mechanics, AAU, EsbjergANSYS

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

Page 11: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example0151 11Computational Mechanics, AAU, EsbjergANSYS

Example – Element Table

Remember MFORX, SMISC,1,7

Find also the following table in the Help function

Page 12: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example - Element TypePreprocessor > Element Type > Add/Edit/Delete

Example0151 12Computational Mechanics, AAU, EsbjergANSYS

Press OK

Press Close

Page 13: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example – Real ConstantsPreprocessor > Real Constants > Add

Place the cursoron the relevantelement andpress OK

Example0151 13Computational Mechanics, AAU, EsbjergANSYS

Page 14: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example - Real ConstantsPreprocessor > Real Constants > Add

Example0151 14Computational Mechanics, AAU, EsbjergANSYS

Press Closeto finish

Enter cross-sectional data for section 1

Press OK

Page 15: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example - Real ConstantsPreprocessor > Real Constants > Add

Enter cross-sectional data for section 2, 4, 6

2

Press OK

Example0151 15Computational Mechanics, AAU, EsbjergANSYS

Page 16: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example - Real ConstantsPreprocessor > Real Constants > Add

Enter cross-sectional data for section 3, 5

3

Press OK

Example0151 16Computational Mechanics, AAU, EsbjergANSYS

Page 17: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example - Material PropertiesPreprocessor > Material Props > Material Models

Double Clickto step in thematerial tree

Example0151 17Computational Mechanics, AAU, EsbjergANSYS

Page 18: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example - Material PropertiesPreprocessor > Material Props > Material Models

Enter:Modulus of elasticity

Enter:Poisson’s ratio

Click hereto Close

Press OK

Example0151 18Computational Mechanics, AAU, EsbjergANSYS

Page 19: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example – Mesh AttributesPreprocessor > Meshing > Mesh Attributes > Line Attributes > Picked Lines

Select Line 1

Example0151 19Computational Mechanics, AAU, EsbjergANSYS Press OK

Page 20: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example – Mesh AttributesPreprocessor > Meshing > Mesh Attributes > Line Attributes > Picked Lines

Select Line 2, 4, 6

Example0151 20Computational Mechanics, AAU, EsbjergANSYS Press OK

2

Page 21: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example – Mesh AttributesPreprocessor > Meshing > Mesh Attributes > Line Attributes > Picked Lines

Select Line 3, 5

Example0151 21Computational Mechanics, AAU, EsbjergANSYS Press OK

3

Page 22: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

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

Example0151 22Computational Mechanics, AAU, EsbjergANSYS

Select/Pick All lines to specify mesh size for

Press OK when finish with selection Enter 1

Page 23: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example - MeshingPreprocessor > Meshing > Mesh > Lines

Select individual lines to be meshed by Picking

Example0151 23Computational Mechanics, AAU, EsbjergANSYS

Select all lines defined to be meshed

NB: It is often necessary to “Clear” the model forexample if Element Type is to be changed

Page 24: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example0151 24Computational Mechanics, AAU, EsbjergANSYS

Example - PlotCtrls Menu

Change to On

Page 25: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example – Display of element

Example0151 25Computational Mechanics, AAU, EsbjergANSYS

Page 26: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example – Analysis Type

Solution > Analysis Type > New Analysis

File > Write DB log fileEnter “example0151.lgw”

Press OK

Example0151 26Computational Mechanics, AAU, EsbjergANSYS

Page 27: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example – Define LoadsSolution > Define Loads > Apply > Structural > Displacement > On Keypoints

Select keypoint 1

Example0151 27Computational Mechanics, AAU, EsbjergANSYS

Select UX

Press OK

Page 28: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example – Define LoadsSolution > Define Loads > Apply > Structural > Displacement > On Keypoints

Select keypoint 2

Press OK

Select UX and UY

Example0151 28Computational Mechanics, AAU, EsbjergANSYS

Page 29: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example – Define LoadsSolution > Define Loads > Apply > Structural > Force/Moment > On Keypoints

Example0151 29Computational Mechanics, AAU, EsbjergANSYS

Select keypoint 3

Change to FY

Press OK to finish Enter -1000

Page 30: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example - SolveSolution > Solve > Current LS

Example0151 30Computational Mechanics, AAU, EsbjergANSYS

Press OK

Page 31: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example - PostProcessingGeneral Postproc > Plot Results > Deformed Shape

Select “Def+undeformed”and Press OK

Example0151 31Computational Mechanics, AAU, EsbjergANSYS

Page 32: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example - PostProcessing

Read Maximum displacement: DMX

Example0151 32Computational Mechanics, AAU, EsbjergANSYS

Page 33: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example – Element Table

Press Add to add the first data line

Example0151 33Computational Mechanics, AAU, EsbjergANSYS

Page 34: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example – Element Table

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

Example0151 34Computational Mechanics, AAU, EsbjergANSYS

Page 35: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example – Element Table

6

Enter 6 as found in table 3.2

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

Example0151 35Computational Mechanics, AAU, EsbjergANSYS

Page 36: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example – Element Table

Press Add to add the second data lineExample0151 36

Computational Mechanics, AAU, EsbjergANSYS

Page 37: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example – Element Table

12

Enter 12 as found in table 3.2

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

Example0151 37Computational Mechanics, AAU, EsbjergANSYS

Page 38: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example – Element Table

Example0151 38Computational Mechanics, AAU, EsbjergANSYS

Press Close

Page 39: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example – Plot Line-Element

Example0151 39Computational Mechanics, AAU, EsbjergANSYS

Change to SMIS12Press OK

Page 40: Course in ANSYS - homes.civil.aau.dk - /homes.civil.aau.dk/shl/ansysc/ansys-example0151.pdf · General format: K,#,X,Y,Z Note: An empty # ... Press Apply for KP4 Enter 200,120,0 Press

Example – Plot Line-Element

Example0151 40Computational Mechanics, AAU, EsbjergANSYS