Variational Principle
Variational Principle
Variational Principle
Variational Principle
By
Dr. A. Chakraborty
Department of Civil Engineering
Indian Institute of Technology Guwahati,
India
9/12/15
Optimization of a
f ( x)
amax)
Let,
has extremum (min xor
function
f ( x)
at
. Expandx a
in Taylor series at
around
i.e.
of a
df in
(a) the neighborhood
1 d 2 f (a)
2
f ( x) f (a )
( x a)
( x a ) L
2
dx
2 dx
For minimum value
f ( x ) f (a ) 0
x a x
x
Here,
is either +ve or -ve i.e. nonzero
9/12/15
a
)
0
2
2 dx x a
df (a)
0
Note:
dx x a
d 2 f (a)
0
2
dx x a
min
d 2 f (a)
0
2
dx x a
max
3
9/12/15
Observation:
( x)
Max or minf of
depends on the values
of
Only differentiationa,is
b enough to identify
extremum
Extremum are points (like
) on the space
that defines independent variable
9/12/15
Optimum of a
dv Pu
functional
T
i i
of &
( x, y, z ) of
is a function
is a ufunction
.
is
a functional
Note:
We
are looking foruoptimal , so that
is minimum. Individually speaking, one can
f1 , f 2 , out
f3 , f 4 maximum
x
find
or minimum of
and get . However, our objective
is to optimize
the following functional
x2
T F ( f ( x), x)dx given f ( x1 ) f1 & f ( x2 ) f 2
x1
9/12/15
x1 x x2
( )
f ( x)a function
Delta operator
: Let us consider
in
[ f ( x)] f%( x) f ( x)
f%( x)
Here,
is an admissible function that
satisfies boundary
f%( x1 ) f ( xcondition
and f%( x2 ) f ( x2 )
1)
[ f ( x )] f%( x ) f ( x ) 0
1
[ f ( x2 )] f%( x2 ) f ( x2 ) 0
f%( x)
9/12/15
f (of
x)
f ( x)
off the
and
then
( x) derivative
is a strong variation.
f ( x) restriction
f%( x) impose
f%( x )
Weak Variation: if we
that
not much difference in derivative of
and
then
is a weak
variation
9/12/15
g ( x) f1 ( x ) f 2 ( x )
%
g ( x) g% g f%
1 f 2 f1 f 2 [ f1 ] [ f 2 ]
f1 f 2 [ f1 ] f 2 f1 [ f 2 ]
[ f1 ] f 2 f1 [ f 2 ]
f1 f
2
f 22
f f
8
9/12/15
9/12/15
Let,
Example:
I (u, v) sin xu 2 ( x) u ( x) e v ( x )
Find
I sin xu 2 ( x) u ( x) ev ( x )
sin x 2u u u ev ( x ) u ev ( x ) v
2u sin x ev ( x ) u u ev ( x ) v
10
9/12/15
I (u, v, u , v) F (u , v, u , v)dx
x1
x2
F
F
F
F
%%%%
I (u , v , u , v ) I (u, v, u , v )
u v u v
u
v
u
v
x1
dx h.o.t.
x2
F
F
F
F
I
u v u v dx
u
v
u
v
x1
d
Note:
by property of Delta
u
operatordx
x2
x2
F d F
F
F
F d F
I
u u
u
v dx
u x1 v x1
v dx
v
u dx u
11
9/12/15
v dx
u
v dx v
u dx u
Apply localization theorem, the governing
equations are F d F 0
u dx u
F d F
0
v dx v
2
12
9/12/15
1 du 2
(u ) EA qu dx PuL
Example:
2 dx
0
. Given
0
L
u (0) u0 0
du du
q u dx P u L 0
0 2 EA2 dx dx
du d u
0 EA dx dx q u dx P uL 0
L
du
d
du
EA u
EA q udx P u L 0
dx 0 0 dx
dx
du
du
d
du
EA
EA
EA
udx 0
dx
dx 0 0 dx
dx
0
13
9/12/15
Governing equation:
d
du
EA
q 0 0 x L
dx
dx
Boundary condition:
du
EA P 0 x L
dx
Essential Boundary
Condition
u (0)
Natural Boundary
Condition
du
EA P x L
dx
Dirichlet BVP
Neuman BVP
Displacement BVP
Force BVP
14
9/12/15
and traction
by
(is
u ) given
f
u
V 2 ij ij i i dv S tiui ds
2
Son
ui
ui is
Given,
. Using variational
1
principle find governing equation and force
boundary condition. Material is isotropic.
: Differential equation of equilibrium &
Caucheys stress-strain relation
Note: Variational principle provides
a) Homogenous form of the governing
equation using essential boundary
condition
b) Natural boundary condition needs to be
satisfied
15
9/12/15
Integral Formulation:
Let us consider the problem d
dv
a( x) f ( x) 0 x L
dx
dx
du
u
(0)
u
&
a
QL
Given,
0
dx a L
Note: A large class of problem may be
N
classified in this format
u ( x) ; u N ( x) C j j ( x) 0 ( x)
j 1
uN ( x)
Where,
are unknown coefficients,
Cj
satisfies the differential equation
du N
d
a( x) f ( x)
0 xL
dx
dx
du N
d
R ( x, C j ) a ( x ) f ( x ) 0
0xL
dx
dx
16
9/12/15
u N ( x) zero as
The above equation is not exactly
R( xis
, C japproximate.
)
R
N
Cj
is residue. But we need
to be
for solve
x xi ,K & i 1, 2, , N
zero at R( x, Cpoints
to
j) 0
17
9/12/15
wi
Note: For different
methods
Name
Petrov-Galerkin
Galerkin
Least square
Collocation
*
we have different
wi
wi i i
wi i
di
d
wi a( x)
dx
dx
wi ( x xi )*
9/12/15
f ( x) ( x x0 )dx f ( x0 )
19
9/12/15
Development of Weak
Form w d a dv f 0
L
dx
dw du
dv
a
wf
dx
wa
0 dx dx
dx
L
dx
0
0
dw du
wf
0 dx dx dx wQ 0 wQ L 0
9/12/15
Weak form:
L
dw du
wf
0 dx dx dx wQ L 0
Let,
L
dw du
B( w, u ) a
dx
bilinear
dx dx
0
L
l ( w) wfdx wQ L
linear
21
9/12/15
Note: ifw u
2
d u du
a du
1 du du
B( u , u ) a
dx dx a
dx
dx dx
2 dx
2 0 dx dx
0
0
1
B( u , u ) B(u, u )
2
L
L
and
L
l ( u ) ufdx u (t ) Qt ufdx u Q L
0
0
l ( u ) l (u )
1
I (u ) B (u, u ) l (u )
2
I B( u , u ) l ( u )
22
9/12/15
2 I B( u, u ) 0
For minima
for
u 0
L
1 du 2
(u ) EA qu dx P u L
2 dx
0
L
du
du
d
EA q udx EA P u L
dx
dx
dx
0
0
u w
In above eq.
u
a
QL
Subjected to 0
and
dx x L
23
9/12/15
a EA, q f , w u and
L
dw du
B a
dx
dx dx
0
L
dw du
EA
dx
dx dx
0
L
du
l EA P u L w(q )dx
dx
0
B of in
using relation
, one can get
B ( u , u ) l ( u )
1
B (u , u ) l (u )
2
1
B(u, u ) l (u )
2
24
9/12/15
I B(u, u ) l (u )
2
L
1 du 2
(u ) EA qu dx P u L
2 dx
0
u (0) 0
(u ) 0
here,
is homogenous essential
condition. Applying,
d
du
EA
q 0
dx
dx
du
EA P
at x L
dx
The above two equations are represents
governing equation and natural boundary
condition respectively.
25
9/12/15
0 w dx EA dx q dx 0
L
d
du
w
EA
0 dx dx dx 0 wqdx 0
L
du
dw du
wEA
EA dx wqdx 0
dx 0 0 dx
dx
0
L
dw du
du
EA
dx wEA
wqdx 0
dx dx
dx 0 0
0
26
9/12/15
here
L
dw du
B( w, u ) EA
dx
dx dx
0
L
du
du
l (u ) w( L) EA
w(0) EA
wqdx
dx L
dx 0 0
hence
B( w, u ) l ( w)
Weak Form
Ritz Solution:
N
Let,
u ( x) ; u%
( x ) C j j 0
j 1
u (0) 0
Note:
can set
u%
( x) C11 C22
N 2
u (0) 0; 1 (0) 2 (0) 0
Now satisfying the above condition
2
(
x
)
x
and
(
x
)
x
Let, 1
2
27
9/12/15
B
(
w
,
u
)
EA
dx Ky&
2x
dx dx
dx
dx
0
L
2
EA
2
x
(
C
2
C
x
)
dx
EAC
2
xdx
4
EAC
x
1
2
1
2 dx
28
9/12/15
2 EAC2 xdx
EAC1dx
0
0
B ( w, u ) L
L
2
2 EAC2 xdx 4 EAC2 x dx
0
0
L
L
2 xdx
dx
C 1
0
0
EA L
L
C 2
2 xdx 4 x 2 dx
0
here
29
9/12/15
L
du
du
l (u ) wqdx w( L) EA
w(0) EA
dx L
dx 0
0
L
wqdx w( L) EA
0
du
dx L
wqdx w( L) P
0
du
EA
In above equation
dx L
From here, one
assume
L
w1 xqdx PL
P
is replaced
by
w2 Lx 2 qdx PL2
0
30
9/12/15
Hence,
xqdx PL
l (u )
Lx 2 qdx PL 2
Matrix Form: 0
C 1 0
EA L
C 2 L
Lx 2 qdx PL 2
2 xdx 4 x 2 dx
qL
2
L L
PL
C
1 2
EA 2 4 3
3
L
L C 2
qL PL 2
3
3
31
9/12/15
C1
Now solve
Cand
2
u ( x) 0.0038L 1.8219 10 7 L2
u ( L) 3.8mm
32
9/12/15
Note:
b
G( x) ( x)dx 0
a xb
( x)
G ( x) 0 for arbitrary
Lemma:
G ( x) ( x)
b
2
G
(
x
)
(
x
)
dx
( x)dx 0
G ( x) 0
( a, b)
33
9/12/15
General Statement:
(a)
G (a)
a x in
b
is arbitrary
a x in
b
is arbitrary
2
2
G
(
x
)
dx
G
(a) 0 Sum of two +ve quantity
G ( a ) 0 & G ( x) 0
34
9/12/15
Thank You!!!
35