Professional Documents
Culture Documents
Numerical integrations using Gauss Quadrature method can be extended to two and three
dimensional cases in a similar fashion. Such integrations are necessary to perform for the analysis of
plane stress/strain problem, plate and shell structures and for the three dimensional stress analysis.
1 1 1 é n ù n é n ù
I=ò
-1 ò-1
f ( x, h ) dx dh » ê å
ò-1 êë i=1 w i f ( x i , h )ú
úû
dh » å w j
ê å
êë i=1
w i f ( x i , h j )ú
úû
i=1
Or,
n n
I » åå w i w jf (xi , h j ) (3.9.1)
i=1 j=1
Example 1:
y=d = 4 x = b=3
2 2
Evaluate the integral: I = ò ò (1- x ) (2 - y) dxdy
y=c=-4 x =a = 2
Solution:
Before applying the Gauss Quadrature formula, the above integral should be converted in terms of
x and h and the existing limits of y should be changed from [-4,4] to [-1, 1] and that of x is from
[2,3] to [-1,1].
62
(b - a ) (b + a ) (x + 5) dx
x= x+ = ; dx =
2 2 2 2
( d - c ) ( d + c )
y= h+ = 4h; dy = 4dh
2 2
h=+1 x=+1 2 h=+1 x=+1
æ 3 + x ö÷
I = 2 ò ò çç
2
çè 2 ÷ø ÷ ( 2 - 4h ) dxdh = ò ò f (x, h)dxdh
h=-1 x=-1 h=-1 x=-1
2
æ 3 + x ö÷
f (x, h) = 2 çç
2 2 2
where
çè 2 ø÷ ÷ ( 2 - 4h ) = 2 (3 + x ) (1 - 2h )
1 1 1 1
x1 = - ; h1 = - ; x2 = ; h2 =
3 3 3 3
2 2
æ 1 ö æ 2 ö
f (x1 , h1 ) = 2 çç3 - ÷÷ çç1 + ÷÷ = 54.49857
çè ÷
3ø èç 3 ÷ø
2
æ ö
çç 3 + 1 ÷÷ 2
f (x 2 , h1 ) = çç
ç 3 ÷÷÷ æ ö
çç2 + 4 ÷÷ = 118.83018
çç 2 ÷÷÷ èç 3ø÷
çç ÷÷
è ø
2
æ ö
çç 3 + 1 ÷÷ 2
ç 3 ÷÷÷ æ 4 ö
f (x 2 , h 2 ) = çç
çç 2 ÷÷÷ ççç2 - ÷÷÷ = 0.61254
è 3ø
çç ÷÷
è ø
2
æ ö
çç 3 - 1 ÷÷ 2
çç ÷
3 ÷÷ æ 4 ö
f (x1 , h 2 ) = ç
çç 2 ÷÷÷ ççç2 - ÷÷÷ = 0.28093
è 3ø
çç ÷÷
è ø
é f (x1 , h1 ) f (x1 , h 2 )ù ïì w 1 ïü
I = {w 1 w 2 } êê ú ïí ï
f ( x , h ) f ( x , h )ú ïw ï
ë 2 1 2 2 ûîï 2 ï
In a similar way one can extend the gauss Quadrature for three dimensional problems also and the
integral can be expressed by.
1 1 1 n n n
I=ò ò ò f (x, h, z) dxdhdz » ååå w i w j w k f (xi , h j , z k ) (3.9.3)
-1 -1 -1
i=1 j=1 k =1
The above equation will produce exact value for a polynomial integrand if the sampling points are
selected as described earlier sections.
64
W V -1 -1 -1
Here, [B] and [D] are the strain displacement relationship matrix and constitutive matrix respectively
and integration is performed over the domain. As the element stiffness matrix will be calculated in
natural coordinate system, the strain displacement matrix [B] and Jacobian matrix [J] are functions
of x, h and z . In case of two dimensional isoparametric element, the stiffness matrix will be
simplified to
+1 +1
[k ] = t ò (3.9.5)
ò [B] [D][B]dxdh J
T
-1 -1
This is actually an 8×8 matrix containing the integrals of each element. We do not need to integrate
elements below the main diagonal of the stiffness matrix as it is symmetric. Considering,
f (x, h) = t[B]T [D][B] J , the element stiffness matrix will become after numerical integration as
n n
[ k ] = åå w i w jf(xi , h j ) (3.9.6)
i=1 j=1
Where, L terms are the triangular area coordinates and the wi terms are the weights associated with
those coordinates. The locations of integration points are shown in Fig. 3.9.2.
65
The sampling points and their associated weights are described below:
For sampling point =1 (Linear triangle)
1
w1 = 1 L11 = L12 = L13 = (3.9.9)
3
For sampling points =3 (Quadratic triangle)
1 1
w1 = L11 = L12 = , L13 = 0
3 2
1 1
w2 = L21 = 0, L22 =L23 = (3.9.10)
3 2
1 1 1
w3 = L31 = , L32 = 0, L33 =
3 2 2
For sampling point = 7 (Cubic triangle)
27 1
w1 = L11 = L12 = L13 =
60 3
8 1
w2 = L21 = L22 = , L23 = 0
60 2
8 1
w3 = L31 = 0, L32 = L33 =
60 2
8 1
w4 = L41 = L43 = , L42 = 0 (3.9.11)
60 2
3
w5 = L51 = 1, L52 = L53 = 0
60
3
w6 = L61 = L63 = 0, L62 = 1
60
3
w7 = L71 = L72 = 0, L73 = 1
60
66
Where, L terms are the volume coordinates and the wi terms are the weights associated with those
coordinates. The locations of Gauss points are shown in Fig. 3.9.3.
The sampling points and their associated weights are described below:
For sampling point =1 (Linear tetrahedron)
1
w1 = 1 L11 = L12 = L13 = L14 = (3.9.13)
4
For sampling points = 4 (Quadratic tetrahedron)
1
w1 = L11 = 0.5854102, L12 = L13 = L14 = 0.1381966
4
1
w2 = L22 = 0.5854102, L21 = L23 = L24 = 0.1381966
4
(3.9.14)
1
w3 = L33 = 0.5854102, L31 = L32 = L34 = 0.1381966
4
1
w4 = L44 = 0.5854102, L41 = L42 = L43 = 0.1381966
4
For sampling points = 5 (Cubic tetrahedron)
67
4 1
w1 = - L11 = L12 = L13 = L14 =
5 4
9 1 1
w2 = L21 = , L22 = L23 = L24 =
20 3 6
9 1 1
w3 = L32 = , L31 = L33 = L34 = (3.9.15)
20 3 6
9 1 1
w4 = L43 = , L41 = L42 = L44 =
20 3 6
9 1 1
w5 = L54 = , L51 = L52 = L53 =
20 3 6
68
1 1 2 3
A= 1 1 5 4 = [(30-12) - (12-9) + (8-15)] = = 4
1 1 3 6
1 1 3 4
1 = 1 5 4 = [(30-12) - (18-12) + (12-20)] = = 2
1 1 3 6
1 1 3 4
= 1 = 1 3 6 = [(9-12) - (9-8) + (18-12)] = = 1
1 1 2 3
69
1 1 3 4
= 1 = 1 2 3 = [(8-15) - (12-20) + (9-8)] = = 1
1 1 5 4
= = = 0.5
= = = 0.25
= = = 0.25
u = + +
= 0.5 x 11 + 0.25 x 14 + 0.25 x 17 = 13.25 mm
70
The procedure for four node triangular element is the same as five node triangular element to derive
its interpolation functions. Here, node 5 and 6 are omitted and therefore displacements in these
nodes can be expressed in terms of the displacements at their corner nodes. Hence,
u 2 + u3 u1 + u 3
u '5 = and u '6 =
2 2 (3.11.1)
Substituting the values of u’5 and u’6 in eq.(3.3.8), the following relations can be obtained.
(u 2 + u 3 ) ( u 3 + u1 )
u = N1u1 + N 2 u 2 + N3u 3 + N 4 u 4 + N5 + N6
2 2
(3.11.2)
æ N ö æ N ö æ N + N 6 ÷ö
= çç N1 + 6 ÷÷÷ u1 + çç N 2 + 5 ÷÷÷ u 2 + çç N3 + 5 ÷÷ u 3 + N 4 u 4
èç 2 ø èç 2 ø çè 2 ø
Now, the displacement at any point inside the four node element can be expressed by its nodal
displacement with help of shape function.
u = N1¢u1 + N¢2 u 2 + N3¢ u 3 + N¢4 u 4 (3.11.3)
Comparing eq. (3.11.2) and eq. (3.11.3), one can find the following relations.
N6 4L L
N1¢ = N1 + = L1 (2L1 -1) + 3 1 = L1 (1- 2L 2 )
2 2
N 4L L
N ¢2 = N 2 + 5 = L 2 (2L 2 -1) + 2 3 = L 2 (1- 2L1 )
2 2 (3.11.4)
N + N6 4L L + 4L3L1
N 3¢ = N 3 + 5 = L3 (2L3 -1) + 2 3 = L3
2 2
N ¢4 = N 4 = 4L1L 2
Thus, the shape functions for the four node triangular element are
71
N1¢ = L1 (1- 2L 2 )
N ¢2 = L 2 (1- 2L1 )
(3.11.5)
N 3¢ = L3
N ¢4 = 4L1L 2
ò (x + 11x - 32) dx using one, two and three point gauss Quadrature.
2
Evaluate the integral: I =
-2
Solution:
The existing limits of integration should be changed from [-2, +3] to [-1, +1]. Assuming, x = a + bx ,
the upper and lower limit can be changed. i.e., at x1 = -2, x1 =-1 and at x2 = 3, x2 = +1. Thus,
putting these limits and solving for a&b, we get a = -0.2 and b = 0.4. The relation between two
coordinate systems will become:
5x + 1
x = -0.2 + 0.4x or x = and dx = 2.5dx
2
I = ò ( x 2 + 11x - 32) dx
-2
3
é x 3 11x 2 ù
=ê + - 32 xú
ê3 2 ú
ë û -2
é 99 ù é 8 ù
= ê9 + - 96ú - ê- + 22 + 64ú
êë 2 úû êë 3 úû
= -37.5 - 83.33333 = -120.83333
Thus, Iexact = -120.83333
72
I = ò f(x) d x = w1f(x1 )
-1
éæ 5´ 0 + 1ö2 5´ 0 + 1 ù
ê
I 3 = 0.8889 ´ 2.5´ êç ç ÷ + 11´ - 32úú
çè 2 ÷ø÷ 2
ëê ûú
éæ 5´ 0.7746 + 1ö2 5´ 0.7746 + 1 ù
+ 0.5556 ´ 2.5´ êç ê ç ÷
÷÷ + 11´ - 32úú
çè 2 ø 2
êë úû
éæ -5´ 0.7746 + 1ö2 -5´ 0.7746 + 1 ù
+ 0.5556 ´ 2.5´ êç ê ç ÷
÷÷ + 11´ - 32úú
çè 2 ø 2
êë úû
I 3 = 0.8889 ´ 2.5´[0.25 + 5.5 - 32]
+ 0.5556 ´ 2.5´[5.9365 + 26.8015 - 32]
+ 0.5556 ´ 2.5´[ 2.0635 -15.8015 - 32]
= 2.5´(-23.3336 + 0.4100 - 25.4120)
= -2.5´ 48.3356 = -120.839
Thus, % of error = (120.83333-120.839)×100/120.83333 = 4.69×10-03. However, difference of
results will approach to zero, if few more digits after decimal points are taken in calculation.
Solution:
Using two point gauss Quadrature formula for the evaluation of three dimensional integration, we
have the following sampling points and weights.
w1 = w 2 = 1
x1 = -0.5773502692
x 2 = 0.5773502692
h1 = -0.5773502692
h 2 = 0.5773502692
z1 = -0.5773502692
z 2 = 0.5773502692
2 2 2
Putting the above values, in f (x, h, z) = (1- 2x) (1-h) (3z - 2) one can find the following values
in 8 (i.e., 2 × 2 × 2) sampling points.
74
f (x1 , h1 , z1 ) = 160.8886
f (x1 , h1 , z 2 ) = 0.8293
f (x1 , h 2 , z1 ) = 11.5513
f (x1 , h 2 , z 2 ) = 0.0595
f (x 2 , h1 , z1 ) = 0.8293
f (x 2 , h1 , z 2 ) = 0.0043
f (x 2 , h2 , z1 ) = 0.0595
f (x 2 , h2 , z 2 ) = 0.0003
2 2 2
Now, I = ååå w i w j w k f (xi , h j , z k )
i=1 j=1 k =1