The Finite Element Method A Practical Course CHAPTER 5: FEM FOR 2D SOLIDS CONTENTS INTRODUCTION LINEAR TRIANGULAR ELEMENTS – – – – – Field variable interpolation Shape functions construction Using area coordinates Strain matrix Element matrices LINEAR RECTANGULAR ELEMENTS – – – – – Shape functions construction Strain matrix Element matrices Gauss integration Evaluation of me CONTENTS LINEAR QUADRILATERAL ELEMENTS – Coordinate mapping – Strain matrix – Element matrices – Remarks HIGHER ORDER ELEMENTS COMMENTS (GAUSS INTEGRATION) CASE STUDY INTRODUCTION 2D solid elements are applicable for the analysis of plane strain and plane stress problems. A 2D solid element can have a triangular, rectangular or quadrilateral shape with straight or curved edges. 2D solid element can deform only in the plane of the 2D solid. At any point, there are two components in x and y directions for the displacement as well as forces. INTRODUCTION For plane strain problems, the thickness of the element is unit, but for plane stress problems, the actual thickness must be used. In this course, it is assumed that the element has a uniform thickness h. Formulating 2-D elements with given variation of thickness is also straightforward, as the procedure is the same as that for a uniform element. 2D solids – plane stress and plane strain Plane stress Plane strain LINEAR TRIANGULAR ELEMENTS Less accurate than quadrilateral elements Used by most mesh generators for complex geometry Linear triangular element Nodes Triangular elements 3 (x3, y3) (u3, v3) y, v fsy fsx A 2 (x2, y2) (u2, v2) 1 (x1, y1) (u1, v1) x, u Field variable interpolation U h ( x, y ) N( x, y)de where u1 v 1 u de 2 v 2 u 3 v3 displaceme nts at node 1 displaceme nts at node 2 displaceme nts at node 3 3 (x3, y3) (u3, v3) y, v N1 N 0 0 N2 0 N3 N1 0 N2 0 Node 1 Node 2 0 N3 fsy fsx A Node 3 2 (x2, y2) (u2, v2) (Shape functions) 1 (x1, y1) (u1, v1) x, u Shape functions construction Assume, N1 a1 b1 x c1 y Ni ai bi x ci y N2 a2 b2 x c2 y N3 a3 b3 x c3 y or Ni 1 x pT i= 1, 2, 3 ai y bi pT c i Shape functions construction Delta function property: 1 Ni ( x j , y j ) 0 for i j for i j N1 ( x1 , y1 ) 1 N1 ( x2 , y2 ) 0 N1 ( x3 , y3 ) 0 Therefore, N1 ( x1 , y1 ) a1 b1 x1 c1 y1 1 N1 ( x2 , y2 ) a1 b1 x2 c1 y2 0 N1 ( x3 , y3 ) a1 b1 x3 c1 y3 0 Solving, x2 y3 x3 y2 y2 y3 x3 x2 a1 , b1 , c1 2 Ae 2 Ae 2 Ae Shape functions construction 1 x1 Ae 1 1 P 1 x2 2 2 1 x3 Area of triangle y1 1 y2 [( x2 y3 x3 y2 ) ( y2 y3 ) x1 ( x3 x2 ) y1 ] 2 y3 Moment matrix Substitute a1, b1 and c1 back into N1 = a1 + b1x + c1y: N1 1 [( y2 y3 )( x x2 ) ( x3 x2 )( y y2 )] 2 Ae Shape functions construction Similarly, N 2 ( x1 , y1 ) 0 N 2 ( x2 , y2 ) 1 N 2 ( x3 , y3 ) 0 N3 ( x1 , y1 ) 0 N3 ( x2 , y2 ) 0 N3 ( x3 , y3 ) 1 N2 1 [( x3 y1 x1 y3 ) ( y3 y1 ) x ( x1 x3 ) y ] 2 Ae 1 [( y3 y1 )( x x3 ) ( x1 x3 )( y y3 )] 2 Ae N3 1 [( x1 y2 x1 y1 ) ( y1 y2 ) x ( x2 x1 ) y ] 2 Ae 1 [( y1 y2 )( x x1 ) ( x2 x1 )( y y1 )] 2 Ae Shape functions construction Ni ai bi x ci y where 1 ai ( x j yk xk y j ) 2 Ae i= 1, 2, 3 1 bi ( y j yk ) 2 Ae J, k determined from cyclic permutation i = 1, 2 i 1 ci ( xk x j ) 2 Ae k k = 3, 1 j j = 2, 3 Using area coordinates Alternative method of constructing shape functions 1 x A1 2-3-P: y k, 3 A1 1 1 x2 2 1 x3 y 1 y2 [( x2 y3 x3 y2 ) ( y2 y3 ) x ( x3 x2 ) y ] 2 y3 A1 L1 Ae Similarly, 3-1-P A2 1-2-P A3 P i, 1 j, 2 x A2 L2 Ae A3 L3 Ae Using area coordinates Partitions of unity: L1 L2 L3 1 A1 A2 A3 A1 A2 A3 L1 L2 L3 1 Ae Ae Ae Ae Delta function property: e.g. L1 = 0 at if P at nodes 2 or 3 Therefore, N1 L1 , N2 L2 , N3 L3 U h ( x, y ) N( x, y)de Strain matrix u xx x v yy y u v xy y x LU LU LNd e Bd e x B LN 0 y 0 N y x x where L 0 y 0 y x b1 0 b2 0 b3 0 B 0 c1 0 c2 0 c3 c1 b1 c2 b2 c3 b3 (constant strain element) Element matrices h k e B cBdV ( dz )BT cBdA hBT cBdA T 0 Ve Ae Ae Constant matrix k e hAe BT cB me N NdV T Ve h 0 Ae dz NT NdA hNT NdA Ae Element matrices For elements with uniform density and thickness, me h Ae N1 N1 0 N 2 N1 0 N3 N1 0 0 N1 N1 0 N 2 N1 0 N3 N1 N1 N 2 0 N2 N2 0 N3 N 2 0 0 N1 N 2 0 N2 N2 0 N3 N 2 N1 N3 0 N 2 N3 0 N3 N3 0 0 N1 N3 0 dA N 2 N3 0 N 3 N 3 Eisenberg and Malvern (1973): A L1m Ln2 L3p dA m! n! p! 2A (m n p 2)! Element matrices 3 (x3, y3) (u3, v3) y, v fsy 2 0 1 0 1 0 2 0 1 0 1 2 0 1 0 hA me 2 0 1 12 sy. 2 0 2 f sx fe N dl 2 3 l f sy T Uniform distributed load: fsx A 2 (x2, y2) (u2, v2) 1 (x1, y1) (u1, v1) 0 0 f x 1 f e l 2 3 2 fy fx f y x, u LINEAR RECTANGULAR ELEMENTS Non-constant strain matrix More accurate representation of stress and strain Regular shape makes formulation easy Shape functions construction Consider a rectangular element u1 v 1 u2 v de 2 u3 v3 u4 v 4 displacements at node 1 displacements at node 2 displacements at node 3 displacements at node 4 y, v 4 (x4, y4) (u4, v4) 2b 3 (x3, y3) (u3, v3) fsy fsx 2a 1 (x1, y1) (u1, v1) 2 (x2, y2) (u2, v2) x, u Shape functions construction y, v 4 (x4, y4) (u4, v4) 2b 3 (1, +1) (u3, v3) 4 (1, +1) (u4, v4) 3 (x3, y3) (u3, v3) fsy fsx 2 2a 1 (x1, y1) (u1, v1) 2 (x2, y2) (u2, v2) 2 2 (1, 1) (u2, v2) 1 (1, 1) (u1, v1) x, u x ( x2 x1 ) / 2 y ( y2 y1 ) / 2 , a b U ( x, y ) N( x, y)de where h N1 N 0 0 N2 0 N3 0 N4 N1 0 N2 0 N3 0 Node 1 Node 2 Node 3 0 N 4 Node 4 Shape functions construction N 1 14 (1 )(1 ) N 2 14 (1 )(1 ) N j 14 (1 j )(1 j ) N 3 14 (1 )(1 ) N 4 14 (1 )(1 ) 3 (1, +1) (u3, v3) 4 (1, +1) (u4, v4) N 3 at node 1 14 (1 )(1 ) 1 0 1 N 3 at node 2 14 (1 )(1 ) 1 0 1 N 3 at node 3 14 (1 )(1 ) 1 1 1 Delta function property N 3 at node 4 14 (1 )(1 ) 1 0 1 4 i 1 Ni N1 N 2 N 3 N 4 [(1 )(1 ) (1 )(1 ) (1 )(1 ) (1 )(1 )] 1 4 14 [2(1 ) 2(1 )] 1 2 2 1 (1, 1) (u1, v1) Partition of unity 2 (1, 1) (u2, v2) Strain matrix 1a 1 B LN 0 4 1 b 0 1 b 1 a 1 a 0 1 b 0 1 b 1 a Note: No longer a constant matrix! 1 a 0 1 b 0 1 b 1 a 1 a 0 1 b 0 1 b 1 a Element matrices dxdy = ab dd x a, y b Therefore, k e hB cBdA T 1 1 1 1 abhB T cBdd A h me N NdV dz N NdA hN NdA T T T 1 0 V A 1 A 1 1 abh NT Nd d Element matrices f sx fe N dl 2 3 l f sy T For uniformly distributed load, 0 0 fx fy f e b fx fy 0 0 y, v 4 (x4, y4) (u4, v4) 2b 3 (x3, y3) (u3, v3) fsy fsx 2a 1 (x1, y1) (u1, v1) 2 (x2, y2) (u2, v2) x, u Gauss integration For evaluation of integrals in ke and me (in practice) In 1 direction: I 1 1 m f ( )d w j f ( j ) j 1 m gauss points gives exact solution of polynomial integrand of n = 2m - 1 In 2 directions: I 1 1 1 1 nx f ( , )d d i 1 ny j 1 wi w j f (i , j ) Gauss integration Gauss Point j m Gauss Weight wj Accuracy order n 1 0 2 1 2 -1/3, 1/3 1, 1 3 3 -0.6, 0, 0.6 5/9, 8/9, 5/9 5 4 -0.861136, -0.339981, 0.339981, 0.861136 0.347855, 0.652145, 0.652145, 0.347855 7 5 -0.906180, -0.538469, 0, 0.538469, 0.906180 0.236927, 0.478629, 0.568889, 0.478629, 0.236927 9 6 -0.932470, -0.661209, -0.238619, 0.238619, 0.661209, 0.932470 0.171324, 0.360762, 0.467914, 0.467914, 0.360762, 0.171324 11 Evaluation of me 4 0 2 0 1 0 2 0 4 0 2 0 1 0 2 4 0 2 0 1 0 4 0 2 0 1 hab me 4 0 2 0 9 4 0 2 sy. 4 0 4 Evaluation of me mij hab 1 1 1 1 hab 1 N i N j dd (1 i )(1 j )d 16 1 hab (1 13 i j )(1 13 i j ) 4 E.g. m33 hab 4 1 1 (1 i )(1 j )d (1 1 1)(1 1 1) 4 1 3 1 3 Note: In practice, gauss integration is often used hab 9 LINEAR QUADRILATERAL ELEMENTS Rectangular elements have limited application Quadrilateral elements with unparallel edges are more useful Irregular shape requires coordinate mapping before using Gauss integration Coordinate mapping y 4 (x4, y4) 3 (x3, y3) 4 (1, +1) 3 (1, +1) 2 (x2, y2) 1 (x1, y1) Physical coordinates x 1 (1, 1) 2 (1, 1) Natural coordinates U h ( , ) N( , )de (Interpolation of displacements) X( , ) N( , )xe (Interpolation of coordinates) Coordinate mapping X( , ) N( , )xe where x X , y N1 14 (1 )(1 ) N 2 14 (1 )(1 ) N 3 14 (1 )(1 ) N 4 14 (1 )(1 ) coordinate at node 1 coordinate at node 2 x1 y 1 x2 y2 xe x3 y3 x4 y 4 coordinate at node 3 coordinate at node 4 4 x N i ( , ) xi i 1 4 y N i ( , ) y i i 1 Coordinate mapping 4 Substitute 1 into x N i ( , ) xi i 1 x 12 (1 ) x2 12 (1 ) x3 y (1 ) y2 (1 ) y3 1 2 1 2 y Eliminating , y or x 12 ( x 2 x3 ) 12 ( x3 x 2 ) y 12 ( y 2 y 3 ) 12 ( y 3 y 2 ) ( y3 y2 ) {x 12 ( x2 x3 )} 12 ( y2 y3 ) ( x3 x2 ) 4 (x4, y4) 3 (x3, y3) 4 (1, +1) 3 (1, +1) 2 (x2, y2) 1 (x1, y1) x 1 (1, 1) 2 (1, 1) Strain matrix N i N i x N i N i x where x N i y x N i y x J x y y y y Since X( , ) N( , )xe , or N i N i x J N i N i y (Jacobian matrix) N1 J N1 N 2 N 2 N3 N3 N 4 x1 x2 N 4 x3 x4 y1 y2 y3 y4 Strain matrix Therefore, N i N i (Relationship between differentials of shape x 1 functions w.r.t. physical coordinates and J N i N i differentials w.r.t. natural coordinates) y Replace differentials of Ni w.r.t. x and y with differentials of Ni w.r.t. and 0 x B LN 0 y N y x Element matrices Murnaghan (1951) : dA=det |J | dd ke 1 1 1 1 hBTcBdet J d d h m e N NdV dxN T NdA hN T NdA T 0 V A 1 1 1 1 hN T Ndet J dd A Remarks Shape functions used for interpolating the coordinates are the same as the shape functions used for the interpolation of the displacement field. Therefore, the element is called isoparametric element. Note that the shape functions for coordinate interpolation and displacement interpolation do not have to be the same. Using the different shape functions for coordinate interpolation and displacement interpolation, respectively, will lead to the development of so-called subparametric or superparametric elements. HIGHER ORDER ELEMENTS Higher order triangular elements (0,0,p) nd = (p+1)(p+2)/2 (1,0,p1) (0,1,p1) Node i, I J K p (2,0,p2) Argyris, 1968 : L1 L2 i (I,J,K) L3 (p,0,0) (p1,1,0) Ni lII ( L1 )lJJ ( L2 )lKK ( L3 ) (0,p1,1) l ( L ) (0,p,0) ( L L 0 )( L L 1 ) ( L L 0 )( L L 1 ) ( L L ( 1) ) ( L L ( 1) ) HIGHER ORDER ELEMENTS Higher order triangular elements (Cont’d) N1 (2 L1 1) L1 3 y, v N 4 4 L1 L2 5 6 2 1 3 y, v 4 7 8 x, u 6 9 Quadratic element N1 1 10 4 1 (3L1 1)(3L1 2) L1 2 9 L1 L2 (3L1 1) 2 N10 27 L1 L2 L3 N4 2 5 x, u Cubic element HIGHER ORDER ELEMENTS (0,m) Higher order rectangular elements Lagrange type: (Zienkiewicz et al., 2000) (n,m) Ni N I1D N 1J D lIn ( )lJm ( ) i(I,J) 0 (0,0) (n,0) lkn ( ) ( 0 )( 1 ) ( k 1 )( k 1 ) ( n ) ( k 0 )( k 1 ) ( k k 1 )( k k 1 ) ( k n ) HIGHER ORDER ELEMENTS Higher order rectangular elements(Cont’d) 4 3 7 J=2 J=1 J=0 8 1 I=0 6 9 5 I=1 (9 node quadratic element) 2 I=2 1 N1 N 01D ( ) N 01D ( ) (1 ) (1 ) 4 1 N 2 N 21D ( ) N 01D ( ) (1 ) (1 ) 4 1 N3 N 21D ( ) N 21D ( ) (1 )(1 ) 4 1 N 4 N 01D ( ) N 21D ( ) (1 )(1 ) 4 1 N 5 N11D ( ) N 01D ( ) (1 )(1 )(1 ) 2 1 N 6 N 21D ( ) N11D ( ) (1 )(1 )(1 ) 2 1 N 7 N11D ( ) N 21D ( ) (1 )(1 )(1 ) 2 1 N8 N 01D ( ) N11D ( ) (1 )(1 ) 2 N 9 N11D ( ) N11D ( ) (1 2 )(1 2 ) HIGHER ORDER ELEMENTS Higher order rectangular elements(Cont’d) Serendipity type: =1 4 7 3 6 0 8 1 =1 5 N j 14 (1 j )(1 j )( j j 1) j 1, 2, 3, 4 N j 12 (1 2 )(1 j ) j 5,7 N j 12 (1 j )(1 2 ) j 6,8 2 (eight node quadratic element) HIGHER ORDER ELEMENTS Higher order rectangular elements(Cont’d) N j 321 (1 j )(1 j )(9 2 9 2 10) 4 1 10 9 for corner nodes j 1, 2, 3, 4 3 11 8 12 7 5 6 2 N j 329 (1 j )(1 2 )(1 9 j ) for side nodes j 7, 8, 11, 12 where j 1 and j 13 N j 329 (1 j )(1 2 )(1 9 j ) for side nodes j 5, 6, 9, 10 where j 13 and j 1 (twelve node cubic element) ELEMENT WITH CURVED EDGES 3 3 5 5 6 6 2 2 4 1 4 4 3 7 4 1 7 6 6 8 3 8 2 1 5 1 5 2 COMMENTS (GAUSS INTEGRATION) When the Gauss integration scheme is used, one has to decide how many Gauss points should be used. Theoretically, for a one-dimensional integral, using m points can give the exact solution for the integral of a polynomial integrand of up to an order of (2m1). As a general rule of thumb, more points should be used for higher order of elements. COMMENTS (GAUSS INTEGRATION) Using smaller number of Gauss points tends to counteract the over-stiff behaviour associated with the displacementbased method. Displacement in an element is assumed using shape functions. This implies that the deformation of the element is somehow prescribed in a fashion of the shape function. This prescription gives a constraint to the element. The soconstrained element behaves stiffer than it should be. It is often observed that higher order elements are usually softer than lower order ones. This is because using higher order elements gives less constraint to the elements. COMMENTS (GAUSS INTEGRATION) Two gauss points for linear elements, and two or three points for quadratic elements in each direction should be sufficient for many cases. Most of the explicit FEM codes based on explicit formulation tend to use one-point integration to achieve the best performance in saving CPU time. CASE STUDY Side drive micro-motor CASE STUDY 10N/m Elastic Properties of Polysilicon 10N/m 10N/m Young’s Modulus, E 169GPa Poisson’s ratio, 0.262 Density, 2300kgm-3 CASE STUDY Analysis no. 1: Von Mises stress distribution using 24 bilinear quadrilateral elements (41 nodes) CASE STUDY Analysis no. 2: Von Mises stress distribution using 96 bilinear quadrilateral elements (129 nodes) CASE STUDY Analysis no. 3: Von Mises stress distribution using 144 bilinear quadrilateral elements (185 nodes) CASE STUDY Analysis no. 4: Von Mises stress distribution using 24 eight-nodal, quadratic elements (105 nodes) CASE STUDY Analysis no. 5: Von Mises stress distribution using 192 three-nodal, triangular elements (129 nodes) CASE STUDY Analysis no. Number / type of elements Total number of nodes in model Maximum Von Mises Stress (GPa) 1 24 bilinear, quadrilateral 41 0.0139 2 96 bilinear, quadrilateral 129 0.0180 3 144 bilinear, quadrilateral 185 0.0197 4 24 quadratic, quadrilateral 105 0.0191 5 192 linear, triangular 129 0.0167