Professional Documents
Culture Documents
1.) Textbook p.195, problem 6.1. In one dimension, the master element (M = [1, 1]) quadratic
isoparametric shape functions are H(s) = [s(1 + s)/2, 1 s2 , s(1 + s)/2]T , and the mapping from
M to the element [x1 , x3 ] = [2, 6] with interior node x2 = 4 is given by
x=x
(s) = ( 2
6)H
J=
(1 + 2s)/2
= 2.
6)
2s
(1 + 2s)/2
The derivative of the shape functions are found from the definition H(
=
1 /dx = (1 + 2s)/4. Utilizing this information we have
(dH/ds)J 1 so that dH
#
2
Z 1"
Z 1
dH1
1 (1 + 2s)2
s2 (1 + s)2
2
2
K11 =
J
+ H1 Jds =
+
2ds.
ds
4
4
4
1
1
Integrating we find K11 = 67/60
2.) Textbook p.195, problem 6.3. The master element for bilinear shape functions on rectangles
is the square M = {(s, t) : 1 s, t 1}. The bilinear master element shape functions are
H(s, t) = [(1 s)(1 t)/4, (1 + s)(1 t)/4, (1 + s)(1 + t)/4, (1 s)(1 + t)/4]T and the isoparametric
transformation from the master element to the rectangle R (physical element) shown in Fig.P6.3
may be written as
x
x
(s, t)
1 3 5 2
=
=
H XH
y
y(s, t)
1 2 4 5
The Jacobian matrix of this transformation is
J=
x
/s y/t
y/s y/t
or
= X ( H/s
1
J=
4
(1 t) (1 s)
1 (1 t) (1 + s)
H/t ) = X
(1 + t)
(1 + s)
4
(1 + t) (1 s)
11 + 3t
2
1 + 3s
12
2
=
67 + 3s + 18t
12
2
1 3s
11 + 3t
The matrix of partial derivatives of the shape functions for the physical element with respect to
j (x, y) are related to the master
x, y is given by (Recall that the physical element shape functions H
H
H H 1
H
,
]=[
,
]J .
x y
s t
Since all the requisite matrices have been computed, the derivatives may be found by matrix algebra.
i /x and H
i /y for i = 1, 2. These are computed as follows:
The problem requires H
1 /x
H
1 /y
H
H2 /x
2 /y
H
nglx=ngx; ngly=ngy;
xcoord=xpts;
ycoord=ypts;
% x coordinate values
% y coordinate values
[point2,weight2]=feglqd2(nglx,ngly);
% initialization to zero
% compute Jacobian
% determinant of Jacobian
% inverse of Jacobian matrix
-0.3175
0.7163
-0.1092
-0.2896
-0.3951
-0.1092
0.6344
-0.1302
-0.1404
-0.2896
-0.1302
0.5602
=
H = XH
1 1 2
2
y
with H = (H1 , . . . , H4 )T . The Jacobian of the mapping is
(1 t) (1 s)
1 (1 t) (1 + s)
0.5
J = X ( H/s H/t ) = X
=
(1 + t)
(1 + s)
0
4
(1 + t) (1 s)
0.25
0.5