Professional Documents
Culture Documents
Strong, Weak, FE Form of 1-DScalar PDF
Strong, Weak, FE Form of 1-DScalar PDF
∫ au u dx = ∫ fu (x )dx + Qu (1)
v v v
,x ,x (1.8)
0 0
5. Arrive at weak statement:
Find u(x ), where, u(0) = 0, s.t.
1 1
∫ au u dx = ∫ fu (x )dx + Qu (1)
v v v
,x ,x (1.9)
0 0
∀u v (x )where, u (0) = 0 v
d du
Differential Equation : −a = f
dx dx
4
Weak Forms
u ( x) f ( x) u v ( x)
Kinetic Law
g ( x) q( x) g v ( x)
Material Law
1 1
v
Virtual Work Law: ∫ qg v dx = ∫ fu v dx
du du
Kinetic Law : g = − & gv = − 0 0
du du
1 v 1
dx dx
∫0 dx dx ∫0 fu dx
− − = v
a dx
du
Fourier Law : q = − a
dx 1
du du
v 1
∫0 a dx dx dx = ∫0 fu dx
v
3. Equivalence
Equation (1.1) is 'equivalent' to Equation (1.9).
Consider the example:
d du
− = 1 u(0) = 0; u,x (1) = −1 (1.10)
dx dx
i.e., f = 1 & Q = −1 The exact solution is u(x ) = −x 2 / 2 as one can easily verify. Let us
find the same solution via Equation (1.9). Search for a solution of the form
u(x ) = Ax + Bx 2 (satisfies the essential boundary condition). Similarly, let
u v (x ) = Av x + B v x 2 . Substituting in Equation (1.9):
Find A & B, s.t.
1 1
∀Av & B v
i.e.,
1 1
∀Av & B v
Evaluate right hand side numerically, we have:
1 1 A −0.3469
1 4 / 3 B = −0.21439 (1.22)
i.e., u(x ) ≈ −0.75x + 0.4x 2
Weak formulations naturally promote computing approximate solutions to challenging
problems, and are 'equivalent' to strong forms.
∫ au u dx = ∫ fu (x )dx + Qu (1)
v v v
,x ,x (1.23)
0 0
∀u v (x )where, u v (0) = 0
Break up the domain into finite elements; thus:
x i +1 x i +1
∑∫e
au,x u,vxdx = ∑ ∫ fu vdx + Qu v (1)
e
(1.24)
xi xi
L1,ξ
u,vx =
2
h
(L1,ξuiv + L2,ξu,vi +1 ) =
2 v
h
ui { }
u,vi +1
L2,ξ
Considering integration over a single element:L
x i +1 1 L1,ξ 2 ui h
∫ au,x u,vxdx = ∫a
2 v
h
ui { }
u,vi +1 L1,ξ L2,ξ
L2,ξ h
{ } u d ξ
i +1 2
xi −1
1 L1,ξ L1,ξ L1,ξ L2,ξ ui
=
2 v
h
ui { u,vi +1 } ∫
a
L L L L
d ξ ui +1
−1 2,ξ 1,ξ 2,ξ 2,ξ
(1.28)
and
x i +1 1 L1 h
∫ fu vdx = ∫ { f uiv }
u,vi +1 d ξ
L2 2
xi −1
Thus, from Equation (1.24) and Equation (1.28), we have:
1 L1,ξ L1,ξ L1,ξ L2,ξ ui
∑
2 v
e h
ui { }
u,vi +1 ∫ a
−1 L2,ξ L1,ξ
d ξ
L2,ξ L2,ξ ui +1
(1.29)
1 L1 h
= ∑ ∫ f uiv { u,vi +1 } d ξ + Qu v (1)
L2 2
e −1
The element stiffness matrix and element forcing vector are :
h L1,x L1,x L1,x L2,x
1
Ke = ∫ a d ξ
2 −1 L2,x L1,x L2,x L2,x
(1.30)
1
L1 h
fe = ∫ f d ξ
−1
L2 2
After assembly, and eliminating the virtual variables, we have:
Ku = f (1.31)
where
K = ∑ Ke
e
(1.32)
f = ∑ fe + fQ
e
The essential (Dirichlet) boundary conditions are imposed via the Lagrange multiplier
method:
Ku = f (1.33)
where
K C T u f
K = , u = , f =
λ (1.34)
C 0
b
where C & b capture the boundary condition at x = 0 . The variables λ are the Lagrange
multipliers that contain useful information about the sensitivity of the essential boundary
conditions.
6. Non-Linear Problems
Equations (1.31) and (1.33)is valid for both linear and non-linear problems. For linear
problems, the equation is solved once since the stiffness matrix and forcing vector are
independent of u . On the other hand, for non-linear problems, either the stiffness matrix or
the forcing vector or both is dependent on u . So, Equation (1.31) reads:
[K (u )]u = f (u ) (1.35)
where:
K (u ) = ∑ Ke (u )
e
(1.36)
f (u ) = ∑ fe (u ) + fQ
e
and
2 L1,ξ L1,ξ L1,ξ L2,ξ
1
Ke (u ) = ∫ a(u ) d ξ
h −1 L2,ξ L1,ξ L2,ξ L2,ξ
(1.37)
1
L1 h
fe (u ) = ∫ f (u ) d ξ
L2 2
−1
while Equation (1.33) reads
K (u )u = f (u ) (1.38)
i.e., a non-linear problem.
We will consider two different methods of solving Equation (1.38):
1. Picard iteration
2. Newton Raphson iteration
x n +1 = ϕ(x n ) (1.40)
will converge (to a fixed point of ϕ(x ) ).
Theorem 2: If ϕ(x ) is a differentiable function in a range [a, b ] , then ϕ(x ) has a unique
fixed point if ϕ,x (x ) < 1 for all x ∈ [a, b ] .
Proof: Mean Value Theorem.
−1
From Equation (1.38), ϕ(u ) : K (u ) f (u )
Suppose:
−1 −1
K (u ) f (u ) − K (v ) f (u ) < u − v , ∀u, v (1.41)
then the Picard iteration for Equation (1.35) will proceed as follows:
1. Guess u 0 (say 0). Set n = 0.
2. Assemble K (u n ) & f (u n )
−1
3. Compute u = K (u n ) f (u n )
n +1
Thus, substituting Equation (1.48) and Equation (1.49) in Equation (1.46), we have:
h 1
2
e
T = ∑ ∫ a,u (x , u )Lj Li,x Lm ,xd ξ um + K ije (1.50)
ij
m =1
2 −1
h 1 2
e
Tij = ∫ a,u (x , u )Lj Li ,xd ξ ∑ Lm ,x um + K ije (1.51)
2 −1 m =1
Thus, Equation (1.51) is used to assemble the tangent matrix.
Applying zero boundary conditions on ∆u n , we have:
T (u n ) C T ∆u n R(u n )
=
C (1.52)
0 ζ
0
Thus, we must assemble both the stiffness matrix and the tangent matrix T (u n ) defined via
Equation in each step.