15
http://rezaabedi.com/teaching/me-517-finite-elements/ Option 1 (free academic version, link). While this is a limited version, it is sufficient for your project and is recommended due to the ease of installation. https://www.ansys.com/academic/%20free-student-products Choose APDL Mechanical Launcher Choose the option below 2019/09/25 Wednesday, September 25, 2019 2:10 PM FEM Page 1

2019/09/25 - rezaabedi.comrezaabedi.com/.../Courses/FEM2019-ME517/ME517_20190925_30_Ansys.pdf · Default material (E ) and area (A ) are chosen under Define Link Element: Adding Elastic

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

http://rezaabedi.com/teaching/me-517-finite-elements/

Option 1 (free academic version, link). While this is a limited version, it is sufficient for your project and is recommended due to the ease of installation.

https://www.ansys.com/academic/%20free-student-products

Choose APDL Mechanical Launcher

Choose the option below

2019/09/25Wednesday, September 25, 2019 2:10 PM

FEM Page 1

Default material (E ) and area (A ) are chosen under

Define Link Element:

Adding Elastic modulus

Adding area sections A:

------------------------------------------------------------------------------------------------------------------------------------------------------For the previous two steps (E and A), multiple values can be entered. When creating elements through the step below default E and A chosen for the subsequent elements. The default values be changed for another set of elements …

FEM Page 2

Creating truss elements through FEM nodes

Changing A and E for the other two elements:

Doublecheck element As and Es:

FEM Page 3

LIST ALL SELECTED ELEMENTS. (LIST NODES)

ELEM MAT TYP REL ESY SEC NODES

1 1 1 1 0 1 1 2 2 2 1 1 0 2 2 3 3 2 1 1 0 2 3 1

-------------------------------------

Essential BCs (displacements)1.

Applying boundary conditions (FEM: default is 0 traction (force) is applied => supports and nonzero forces, need to specify them in FEM software)

Applying displacement boundary condition on nodes:

Apply the vertical force2.

-----------------------------------------------------------------------------------------------Stage 2:Solving the problem

--------------------------------------------------------------Stage 3:Postprocessing

FEM Page 4

Postprocessing

We also want to list results such as nodal forces and displacements, and element forces

PRINT SUMMED NODAL LOADS

***** POST1 SUMMED TOTAL NODAL LOADS LISTING *****

LOAD STEP= 1 SUBSTEP= 1 TIME= 1.0000 LOAD CASE= 0

THE FOLLOWING X,Y,Z SOLUTIONS ARE IN THE GLOBAL COORDINATE SYSTEM

NODE FX FY FZ 1 -0.57143 2 1.0000 3 0.57143 -1.0000

TOTAL VALUESVALUE -0.51070E-014 0.11102E-015 0.0000

Reactions

PRINT REACTION SOLUTIONS PER NODE

***** POST1 TOTAL REACTION SOLUTION LISTING *****

LOAD STEP= 1 SUBSTEP= 1 TIME= 1.0000 LOAD CASE= 0

THE FOLLOWING X,Y,Z SOLUTIONS ARE IN THE GLOBAL COORDINATE SYSTEM

NODE FX FY FZ 1 0.57143 3 -0.57143 1.0000 0.0000

TOTAL VALUES

FEM Page 5

1 0.57143 3 -0.57143 1.0000 0.0000

TOTAL VALUESVALUE 0.51070E-014 1.0000 0.0000

This is how to get support forces:

Nodal displacements:

PRINT U NODAL SOLUTION PER NODE

***** POST1 NODAL DEGREE OF FREEDOM LISTING *****

LOAD STEP= 1 SUBSTEP= 1 TIME= 1.0000 LOAD CASE= 0

THE FOLLOWING DEGREE OF FREEDOM RESULTS ARE IN THE GLOBAL COORDINATE SYSTEM

NODE UX UY UZ USUM 1 0.0000 -0.12000E-002 0.0000 0.12000E-002 2 -0.10145 -0.10403 0.0000 0.14531 3 0.0000 0.0000 0.0000 0.0000

MAXIMUM ABSOLUTE VALUESNODE 2 2 0 2VALUE -0.10145 -0.10403 0.0000 0.14531

-----

Axial forces for the truss element:

FEM Page 6

PRINT ELEM ELEMENT SOLUTION PER ELEMENT

***** POST1 ELEMENT SOLUTION LISTING *****

LOAD STEP 1 SUBSTEP= 1 TIME= 1.0000 LOAD CASE= 0

EL= 1 NODES= 1 2 MAT= 1 XC,YC,ZC= 0.8000 -0.6000 0.000 AREA= 0.10000E-01 LINK180 FORCE=-0.71429 STRESS= -71.429 EPEL=-0.71429E-01 TEMP= 0.00 0.00 EPTH= 0.0000

EL= 2 NODES= 2 3 MAT= 2 XC,YC,ZC= 0.8000 0.8000 0.000 AREA= 0.10000 LINK180 FORCE= 0.80812 STRESS= 8.0812 EPEL= 0.80812E-03 TEMP= 0.00 0.00 EPTH= 0.0000

EL= 3 NODES= 3 1 MAT= 2 XC,YC,ZC= 0.000 0.2000 0.000 AREA= 0.10000 LINK180 FORCE= 0.42857 STRESS= 4.2857 EPEL= 0.42857E-03 TEMP= 0.00 0.00 EPTH= 0.0000

To save results to files:

Problem number 2:An axisymmetry 2D problem

FEM Page 7

Problem number 2:An axisymmetry 2D problem

Ansys:Specify element type:

FEM Page 8

Adding the materials

--------------------------------------------------------Creating the geometry:

For 2D and 3 problems we create geometry and then mesh it with elements

Creating 2 rectangles on top of each other:

FEM Page 9

Next one:

Problem is that these two rectangles are not connected:

LIST ALL SELECTED KEYPOINTS. DSYS= 0

NO. X,Y,Z LOCATION KESIZE NODE ELEM MAT REAL TYP ESYS 1 0.00 0.00 0.00 0.00 0 0 0 0 0 0 2 10.0 0.00 0.00 0.00 0 0 0 0 0 0 3 10.0 1.00 0.00 0.00 0 0 0 0 0 0 4 0.00 1.00 0.00 0.00 0 0 0 0 0 0 5 0.00 1.00 0.00 0.00 0 0 0 0 0 0 6 10.0 1.00 0.00 0.00 0 0 0 0 0 0 7 10.0 1.10 0.00 0.00 0 0 0 0 0 0 8 0.00 1.10 0.00 0.00 0 0 0 0 0 0

We need to merge duplicate keypoints:

LIST ALL SELECTED KEYPOINTS. DSYS= 0

NO. X,Y,Z LOCATION THXY,THYZ,THZX ANGLES 1 0.000000 0.000000 0.000000 0.0000 0.0000 0.0000 2 10.00000 0.000000 0.000000 0.0000 0.0000 0.0000 3 10.00000 1.000000 0.000000 0.0000 0.0000 0.0000 4 0.000000 1.000000 0.000000 0.0000 0.0000 0.0000

FEM Page 10

4 0.000000 1.000000 0.000000 0.0000 0.0000 0.0000 7 10.00000 1.100000 0.000000 0.0000 0.0000 0.0000 8 0.000000 1.100000 0.000000 0.0000 0.0000 0.0000

----Dividing the top line so we can apply the load on the first segment:

---------------------------Apply the boundary conditions

Now apply the load on the top 1/4 segment

FEM Page 11

-------Remaining steps: specifying materials for each layer and then meshing it

Choose material 1 and 2 for bottom and top rectangles

Choose area 2 and use material number 2

--------Meshing the areas

Use mesh tool, smart mesh option to mesh all areas:

FEM Page 12

In the mesh tool option, click on Mesh and select all areasYou can ignore mesh quality warnings

Now we can solve this

Solve current LS

------General Postprocessor

Generate contour plots of principal stress solution

For the term project plot the contour plots on undeformed geometry:

FEM Page 13

If you want to report minimum and maximum P1 stress (or any quantity plotted) they are on the corner of the screen:

What if we want to set the limit ourselves:

Setting the user-specified limits for contour plots

FEM Page 14

How to select a few layers to plot stresses (so that we extract min max values for different layers)

Under select -> Entities ->

Layers with material number 1 are chosen

So after replot only the bottom layer is plotted:

FEM Page 15