Lecture3(18-1)
Lecture3(18-1)
2
RITZ VARIATIONAL METHOD
(Weak Formulation)
Starting with the equation
d du
dx (x) dx - f(x) = 0 in
i.e., R ( x ) w(x) dx
3
Observations:
4
We note that the first term is of the form
udv = uv vdu
Where u = w(x)
du
And v = (x) dx
Xb Xb
d du du
Xa
w( x)
dx
( (x) ) dx = w(x) ( (x) )
dx dx Xa
Xb
du dw
- ( x ) dx
Xa
dx dx
5
The equation can be now recast as
Xb Xb Xb
du dw du
Xa
( x)
dx dx
dx =
Xa
f ( x) w(x) dx + w(x) (x)
dx Xa
Xb
du dw
Now (x) dx
Xa
dx dx
is a linear function of both field variable
and weighting function = B(u,w)
6
Xb
And - f ( x) w(x) dx
Xa
du
Xb Represents the
w(x) (x) dx boundary term where
Xa
du Is the flux or secondary
(x) dx
variable
7
i.e., B(u,w) = ℓ(w)
Xb Xb Xb
du dw du
Xa
( x)
dx dx
dx = - f ( x) w(x) dx + w(x) (x)
Xa dx Xa
9
In the Ritz method we take, w( x ) = u (x)
which implies that where ever u(x) is specified,
as at the boundary, w(x) = 0.
10
APPLICATION OF VARIATIONAL
FORMULATION
Illustrative Example for Variational
Formulation
11
The governing equation is
d du
[EA(x) ] + A(x) = 0 in 0 < x < L
dx dx
12
The WR formulation is
L d du
w(x) { [ EA(x) ] + A(x) } dx = 0
0 dx dx
where w(x) is the weighting function and
u(x) is the trial solution. Integrating by
parts and r-arranging, we get
L du dw L
EA ( x ) dx = A ( x ) w(x) dx - w(0) P(0) + w(L) P(L)
0 dx dx 0
L du dw
B( u, w) = EA ( x ) dx
0 dx dx
L
( w ) = A(x) w(x) dx + Pw(L)
0
14
Since the bilinear term B is symmetric ie.
[B(u,w) = B (w,u)] a quadratic functional I(u)
exists and is given by I(u) = 1/2 B (u, u) - l(u)
L 1 du 2 L
I( u ) = EA(x) dx - A ( x ) u(x) dx - u(L)
0 2 dx 0
16
Advantages of the weak form
Order of the differential equation becomes
half of that in the original equation.
18
Ritz Method of Solution
2 3
u( x ) = a 0 + a1 x + a 2 x + a 3 x
We get ao = 0 and
3
u ( x) = a j j (x) where j (x) = x j
j=1
19
The weighting function is w(x) =i ( x) i = 1, 2, 3
L
where rj = A(x) j (x) dx + P j (L)
0
20
on evaluation of the integral within the
brackets, this reduces to the set of
algebraic equations.
k11 k12 k13 a1 r1
k
21 k 22 k 23 a 2 = r2
k 31 k 32 k 33 a r
3 3
L d i d j
Where kij = EA ( x ) dx
0 dx dx
21
Solution of this matrix equation leads to
determination of the constants a1,a2 and
a3 there by giving the approximate
solution.
3
j
u( x ) = aj x
j=1
22
For the given illustrative example of a
tapered rod under its weight and also due to
applied pull at the free-end
when i = 1, j = 1. . . . k11
when i = 1, j = 2 . . . . k12
i = 1, j = 2 . . . . k13
and so on
23
300
d1 d1
k11 = EA(x) dx
0
dx dx
= E(80 - 0.2x).1.1dx = 1.5 x104 E
300
d1 d2
k12 = EA(x) dx
0
dx dx
24
Similarly
25
A(x) dx = (80 - 0.2x) .x. dx = 1.3773 x 10
5
r1 = 1
3 9
r3 = A(x) 3 dx = (80 - 0.2x) .x . dx = 4.598 x 10
p1 = P. 1 (L) = P L = 3 x 10 7
p2 = P. 2 (L) = P L2 = 9 x 109
p1 = P. 3 (L) = P. L3 = 27 x 1011
26
On solving
-5
a1 = 6.6762 x 10
a2 = - 4.946 x 10 -8
a3 = 6.4736 x 10 -10
2 3
U | x 300 = a 1 (300) + a 2 (300) + a 3 (300) = 0.033056 cm
27
THE FINITE ELEMENT METHOD
or NODAL APPROXIMATION METHOD:
29
I D elements
30
Constant strain triangular element Bilinear Rectangular element
II D elements 31
3
4
1 2
32
III D elements
33
Selection of suitable displacement
model:
We make an assumption as to the
variation of the unknown solutions over
the element. In general, the field variable
(example, temperature, displacement etc)
is assumed to vary linearly or quadratically
or cubically.
34
Displacement model associated with each
element
35
Field
variable
u
Length l 36
Derivation of elemental matrices and
load vectors:
From the assumed displacement model,
the elemental stiffness matrix [K]e and
load vector [P]e of the element are to be
derived using either equilibrium methods
or a suitable variational principle.
37
Assembly of elemental equations to obtain
overall stiffness matrix: the individual element
stiffness matrices and load vectors are to be
assembled in a suitable manner to get the
overall stiffness equation which is expressed
as
[K]{u} = {P}
where [K] is the assembled stiffness matrix
{u} is the vector of unknowns or nodal
displacements
{P} is the vector of nodal forces for the
complete structure
38
Imposition of boundary conditions: The
Boundary conditions could now be
incorporated to get the reduced equations.
39
Computation of elemental strains
and stresses: From the unknown
displacements, the element strains
and stresses can be computed by
using the necessary equations of
solid or structural mechanics.
40
1
L1 = 10 cm 1
L2 = 10cm 2
E= 2x107N/cm2 2
EBC:
3
U1 = 0
A 1 = 2sq.cm
Pl = 10kN
A2=
1sq.cm 10 kN
41
[K]1 = EA1 1 –1
ℓ1 –1 1
[K]1 = 4 x 105 – 4 x 10 5
–4 x 105 4 x 105
[K]2 = EA2 1 –1
ℓ2 –1 1
4 –4 0
[K]g = 105 –4 4+2 -2
0 –2 2
43
The load vectors are
{P}1 = R
0
where R is the reaction at the fixed end
{P}2 = 0
1
{P} = R
0
10
44
The overall equilibrium equation is given by
[K] {u} = {P}
or
2 x 105 2 -2 0 u1 R
-2 3 -1 u2 = 0
0 -1 1 u3 10
45
2 x 105 2 -2 0 u1 R
-2 3 -1 u2 = 0
0 -1 1 u3 10
2 x 105 3 -1 u2 0
-1 1 u3 = 1
u2 = 0.25 x 10-4 cm
u3 = 0.75 x 10-4 cm
46
Strain for element 1 = Є1
= u/ x for element 1
= (u2 – u1)/ ℓ1
= 0.25 x 10-5
47
The stresses in the elements are given by
48
COMPUTATION OF REACTION AT FIXED END:
2 x 105 [2 * u1 – 2 * u2] = R
Substituting for u1and u2 we get
Reaction R= 10kN
49
NODAL APPROXIMATIONS
In general problems arise in
engineering where we seek an approximation
u (x, y, z) to some exact function u(x, y, z) to
any desired level of accuracy, i.e.
u (x, y, z) = u (x, y, z)
u (x) = i 0
ai xi (power series)
n
51
u(xi) = ui i = 1,2,.....r. Forcing the
approximations to take on these specified
values at the specified points, we have
a1
a
2
a3
2
ui = < 1 x i x i . . . x i n 1 > .
.
.
a
n
(n x 1)
i = 1, 2, . . . . . r.
52
u1 a 1
Taking r = n. We have u a
2 2
. .
{f i } = [ Pn ]
. .
. .
un an
(n x 1) (n x 1)
53
a1 u 1
There, if [Pn ] is non-singular, u
a
2 2
. 1
.
= [Pn ]
. .
. .
an un
and f ( x) = 1 x x 2 . . . . x n -1 > [Pn ] 1 {u}
(1 x n) (n x n) (n x 1)
u 1
u
2
.
= N1 N 2 . . . . N n >
.
.
u n
54
(1 x n) (n x 1)
The last equation expresses the
approximation in terms of the function values
at selected points, as compared to the
expansion in terms of the generalised
coordinates.
These selected points are called the
“nodal points” and {f} is called nodal-
variable vector.
The functions Ni(x) are called the shape
functions.
Finally u(x)=Ni(x)ui is called the Nodal
Approximation. Ni – s are also called as
55
Derivation of Shape function for two
=
noded element:
1) Let u(x) = ai + a2x in 0 < x < l
= <1 x> a1
a2
u(0) = u1 and u(1) = u 2
Therefore a1 = u1
a1 + a 2 l = u2
In matrix form 1 0 a1 = u1
1 l a2 u2
56
u1 a1
= 1 0
u 2 1
* a 2
a1 1 0
1
u1
= *
a 2 1 u 2
= 1 0
1 u1
1
* u
2
57
u(x) = < 1 x > 1 0 u1
- 1/
1/ u2
u1
= (1 - x/) x/ >
u 2
u1
= < N1 N2> = N1 u1 + N2u2
u2
N1 (x) = 1 - x/ N1 (0) = 1. N1 () = 0
N1 (x) = x/ N 2 (0) = 0. N1 () = 1
N1 + N2 = 1 58
It can be verified that
N i (x j ) = 0 i j
= 1 i = j
= ij
(Kronecker Delta Function)
N1 u2
N2
. u1
1 2 1 2
59
To provide for the possibility of a constant
or uniform field when f is constant at all
points in the domain
We have
n n
f(x) = C = j=1
N i (x) f i = C N i (x)
j=1
f1 = f2 = ……. = fn = c
n
j=1
N i (x) = 1
1 X=0 2 x=l
X
=
l
61
2
2) a
Let u(x) = 1 + a 2 x + a 3 x
Shape functions for a1
quadratic elements
= 1 x x2 > a 2
a
3
Taking x1 = 0, x2 = l/2 , x3 = l We have
u1 1 0 0 a1
u2
2
1 /2 /4 a 2
u
= 1 a
2 3
3
a1 1 0 0 u1
a 2 = - 3/ 4/ 1/ u2
a 2 /2 u
3 - 4/2 2/2 3
62
u1
u(x) = < N1 N2 N3 >
u2
u
3
66
Weak form is given by
L L
du dw
0
EA( x)
dx dx
dx = A(x) w(x) dx P(L)w(L) - P(0) w(0)
0
67
e e e
[K ] [u ] = | r |
he
dN i dN j
K e
ij = EA(x) ( x) dx
0
dx dx
he
rje = A( x) N
0
j dx + Pj
68
l
dN1 dN1
K e
11 = EA(x) dx
0
dx dx
= ∫ E A (-1/l)(-1/l)dx
= EA/l2 ∫ dx
= EA/l
69
l
dN 1 dN 2
K e
12 = EA(x) dx
0
dx dx
= ∫ E A (-1/l)(1/l)dx
= -EA/l2 ∫ dx = - EA/l
r 1 l 2 A1 A2
r2 6 2 A2 A 1
= ∫ E A (-1/l)(1/l)dx
= -EA/l2 ∫ dx = - EA/l
70
l
dN 2 dN 2
K e
22 = EA(x) dx
0
dx dx
= ∫ E A (1/l)(1/l)dx
= EA/l2 ∫ dx
= EA/l
Stiffness matrix for 2 noded element
K = EA 1 -1
l -1 1
71
he
r je = AN
0
j dx + Pj
he
r1e = AN
0
1 dx = γ Al/2
he
r2e = AN
0
2 dx = γ Al/2
{r}= γ Al/2 1
1 72
A(x) = A1 – (A1- A2) x/l
ie.A(x) = 80 – (80-20)x/300
= (80 – 0.2x)
= 0.075 N/cm3
E = 2 x 107 N/cm2
73
If for the entire domain, there are only two
nodal points, they also happen to be the
boundary points x = 0 and x = L n = 2 and ij =
1, 2. The above equation reduces to
u1 r1
=
[K] u2 r2
74
Example
Consider the tapered rod problem
= 0.075 N/cm3 L =300cm
E = 2 x 107 N/cm2
u1 = 0 P1 = R
P2 = P
N1(x) = 1 – x / L N2(x) = x / L
dN 1 1 dN 2 1
= - = -
dx L dx L
75
A(x) = 80 – 0.2x
2
300
1 E
K11 = E (80 - 0.2x) - dx = L2 (80-.02x) dx
0 L
E 0.2L2
= 2
[80L - ]
L 2
E 50E E
= = =
(80 - 0.1 L) 300 6
L
E
K12 = K 21 =
6
= E
K 22 =
6 76
E 1 -1
[K] = -1
6 1
L
r1 = (80 - 0.2x) (1- x / L) dx + R
0
= 675 + R
300
= 450 + 10 5
77
Apply the Boundary Condition u1 = 0, this
reduces to
k22u2 = r2 r
2
u2= K 22 = 0.03 cm
u2= 0.033056 cm 78
ao a1 x u ( x)
Linear displacement model
ao a1 x a2 x 2 u ( x)
quadratic displacement model
ao a1 x a2 x 2 a3 x 3 u ( x)
79