Total Potential Energy in Solid Mechanics
Total Potential Energy in Solid Mechanics
Outline:
- The minimum of total potential energy
- Bar and beam analysis using total potential energy
- Direct variational method
δ δu 0 , Assuming: δu 0 0
u u
For a system depends on n functions the variation of the total potential energy can be written as
δ1 δu1 δu1 0
0
u1
u1
0
δ 2 δu2 δu2 0
δ δ1 δ 2 δ n 0 u2 Assuming :
u2
0
δ n u δun
δun 0
u
n n
Note that based on calculus of variations, in the variation of total potential energy each derivative of the
function, i.e., u , u ′, u ′′... can be treated as separate functions, i.e., u1 u , u2 u , u3 u ….
Lecture 2 1
Total potential energy of a linear elastic spring
For an applied load of P on a spring with stiffness constant k, the corresponding displacement is u as
shown in the figure below. Note that external loads (or moments) in the positive displacement direction
(or rotation) produce negative potential. The total potential energy is the internal strain energy stored
during deformation U plus the external potential of the applied load which can be written as
1 1
Π ( a1 , a2 )= k1a12 + k2 ( a2 − a1 ) − Pa2
2
2 2
Lecture 2 2
The necessary condition for the total potential energy to be minimum is that it should be a minimum with
respect to both variables a 1 and a 2 . Therefore, we need to calculate the partial derivatives as
∂Π
= 2a1 − 3 ( a2 − a1 ) = 0
∂a1
∂Π
= 3 ( a2 − a1 ) −=
5 0
∂a2
2 2
5 25 1 5 1 25 5 25
Π , = 2 + 3 − − 5 = −10.41
2 6 2 2 2 6 2 6
a1 4.17 2.5
a2
-10.41
Figure: Total potential energy function and its minimum at a1 = 2.5 and a2 = 4.17
5 25 5
Note that k1a=1 2= 5kN and k2 ( a2 − a1=) 3 − = 5kN , therefore the system is in equilibrium
2 6 2
Recall-Mechanics of Solids
x ∆x N
N N N N
∆x
L u
∆u
N
σ σ A
∆u du ( x) N
Strain:
= ε ( x) lim
= (Strain-deflection relation) σ= (Equilibrium equation)
∆x → 0 ∆x dx A
du ( x) N
σ = Eε (Hooke’s law) =
dx EA
Lecture 2 3
For an axially loaded bar,
q N0 q NL
N N+dN dN d 2u
EA +q =0 EA +q =0 L
dx dx 2
x,u
dx
2
1 1 du
the strain energy can be written as U E 2 dV EA dx .
2 V 2 dx
L
Considering the possible boundary conditions, the potential energy functional becomes,
L L
1
Π (=
u, u′) EA( u ′ ) dx − ∫ qudx=
2
20∫ 0
+ N 0 u x 0=
− NL u x L
For the total potential energy to be minimum the first variation of the total potential energy functional
should vanish, i.e.
L L
δΠ = ∫ EAu ′δu ′dx − ∫ qδudx + N 0 δu x=0 − N L δu x= L = 0
0 0
L L
L
By using integration by parts, i.e. ∫ u ′ δu ′dx =
− ∫ u ′′ δu dx + u ′ δu 0 the above equation becomes
0 0
L L
δΠ = − ∫ EAu ′′δudx − ∫ qδudx + (EAu ′)δu 0 + N 0 δu x=0 − N L δu x= L = 0
L
0 0
in which δu is any arbitrary function (called test function or the weighting function). The differential
equilibrium equation in general can be written as
d 2u
EA +q =0
dx 2
For a case with no specified tip loads, the possible boundary conditions are
du
EA = N0 or δu ( 0 ) = 0 ( u ( 0 ) is specified)
dx x =0
du
EA = NL or δu ( L ) = 0 ( u ( L ) is specified)
dx x=L
L L 2
1 d 2v dv dv
Π(v)
= ∫ EI 2 =
2 0 dx
dx + ∫ qvdx − V0 v x 0=
0 =
+ M0 + VL v x L − M L
dx x 0 = dx x L
Lecture 2 4
The first variation of the total potential energy functional should vanish, i.e.
L L
d 2v d 2v dv dv
=δΠ ∫ EI 2 δ 2= dx + ∫ qδvdx − V0 δv x 0=
+ M0 δ + VL δv x L − M L δ
0
dx dx 0 = dx x 0 = dx x L
d 3v
EI = VL or δv( L ) = 0 ( v( L ) is specified)
dx 3 x=L
d 2v dv
EI = M0 or δ = 0 ( v′( 0 ) is specified)
dx 2 x =0
dx x =0
d 2v dv
EI 2 = ML or δ = 0 ( v′( L ) is specified)
dx x=L
dx x=L
v’ q
M0 ML
V0 VL
L
∂u dθ
For Timoshenko beam analysis considering the corresponding strains ε xx = =− y , σ x =Eε x ,
∂x dx
τ xy =Gγ xy , −θ + v′ ,
γ xy = σ y= ε y= 0 , ∫ y dA= I and ∫ dA= A ,
2
the potential energy functional
A A
L
1
Π ∫ ( ε xσ x + ε yσ y + γ xyτ xy ) dV +∫ q y vdx=
= M 0 θ x 0=
− V0 v x 0 += MLθ x
+ VL v x L −= becomes
2V 0
L
L 2 L 2 L
1 dθ 1 dv
Π (θ , v )
= ∫ EI dx + GA∫ − θ dx + ∫ qvdx= M 0 θ x 0=
− V0 v x 0 += MLθ x
+ VL v x L −=
2 0 dx 2 0
dx 0
L
Lecture 2 5
The first variation of the total potential energy functional should vanish, i.e.
L L
dΠ dθ dθ dv
0 ⇒ ∫ EI
= δ dx − GA∫ − θ δθ=
+ M 0 δθ x 0=
− M L δθ x 0
=
dθ 0
dx dx 0 dx
L
L L
dΠ dv dv
0 ⇒ GA∫ − θ δ dx + ∫ qδvdx=
= − V0 δv x 0=
+ VL δv x 0
=
dv 0
dx dx 0
L
d 2θ dv
EI 2
+ GA − θ =
0
dx dx
d 2 v dθ
GA 2 − −q =0
dx dx
The third and fourth terms produce the possible boundary conditions of the problem
dθ
EI = M0 or δθ = 0 ( θ ( 0 ) is specified)
dx x =0
x =0
dθ
EI = ML or δθ = 0 ( θ ( L ) is specified)
dx x=L
x=L
dv
GA − θ = −V0 or δv( 0 ) = 0 ( v( 0 ) v is specified)
dx x =0
dv
GA − θ −VL
= or δv( L ) = 0 ( v( L ) v is specified)
dx x=L
where fi are some individual functions and Ci are unknown constants to be determined from the
minimum of the total potential energy. Introducing the expression for u, we obtain the total potential
energy as a function of the unknown coefficients Ci , i.e.
Π = Π ( C1 , C2 ,...)
Lecture 2 6
Therefore, the extremum problem of calculus of variations is transformed into the problem of differential
N
∂Π
calculus. δΠ =∑ δCi
i =1 ∂Ci
∂Π ∂Π ∂Π
=0, = 0, … = 0, …
∂C1 ∂C2 ∂Ci
• They should be linearly independent, in other words none of them can be expressed by a linear
combination of the others
In summary the following steps are followed in Ritz approximate solution technique
Step 1 Assume an approximate solution;
Step 2 Write the total potential energy function;
Step 3 Perform minimization;
Step 4 Solve simultaneous equations.
+ v(x) v’
+
x
L
The essential boundary conditions are those that are related to the displacement function v . Boundary
conditions that are related to the moment are not essential.
Lecture 2 7
∂Π 1 1 3
= 2 EI ( 4eL3 + 3dL2 + 2cL ) + qL3 − =qL 0
∂c 3 2
∂Π 1 1 4
= 6 EI ( 3eL4 + 2dL3 + cL2 ) + qL4 − =qL 0
∂d 4 2
∂Π 12 3 2 1 1 5
= 12 EI eL5 + dL4 + cL3 + qL5 − = qL 0
∂e 5 2 3 5 2
From the solution of the above set of equations
q qL qL3
e= − , d= , c=0 −eL3 − dL2 − cL ⇒ b =−
b=
24 EI 12 EI 24
The essential boundary conditions should be satisfied for the given trial function, v = dx3 + cx 2 + bx + a
v = dx 3 + cx 2 − ( dL2 + cL ) x
∂Π 1 1 3
= 2 EI ( 3dL2 + 2cL ) + qL3 − qL
= 0
∂c 3 2
∂Π 1 1 4
= 6 EI ( 2dL3 + cL2 ) + qL4 − =qL 0
∂d 4 2
qL2 qL3
d = 0, c = −dL2 − cL ⇒ b =−
b=
24 EI 24 EI
Lecture 2 8
The deflection function is
qL2 2 qL3
= v( x) x − x
24 EI 24 EI
For q=EI=L=1 the deflection and moment functions are plotted and compared with the exact ones
0 0.14
0 0.2 0.4 0.6 0.8 1 0.12
-0.002
0.1
-0.004
Deflection v
Moment
0.08
-0.006 Error in
approximation 0.06
-0.008
0.04
-0.01 Exact
0.02 Approximate
-0.012 0
Exact
-0.014 Approximate 0 0.2 0.4 0.6 0.8 1
x x
Approximate
solution
e a,b,c,d
Exact solution
Above figure indicates that for different selections of the trial function, the total potential energy provides
different minimums. Unless there are sufficient parameters the solution is approximate and the
approximate solution can be conceived as the solution sought in a plane rather than in a wider space. The
minimum of the total potential energy functional does not necessarily match that within the cut plane.
EI + v(x)
x
L
Lecture 2 9
For a given trial function, v = dx3 + cx 2 + bx + a
dv( x = 0)
v( x = 0) = 0 → a = 0 and =0→b=0
dx
Now we can use the trial function
=v dx 3 + cx 2
∂Π
= 2 EI ( 3dL2 + 2cL ) + =
PL2 0
∂c
∂Π
= 6 EI ( 2dL3 + cL2 ) +=
PL3 0
∂d
From the solution of the above set of equations
P PL − Px 2
d= , c= − and the deflection function can be written =
as v( x) ( 3L − x ) ,
6 EI 2 EI 6 EI
− PL3
The tip deflection can be calculated as v(=x L=)
3EI
M=-PL(1-x/L)
d 2v x x
The moment function can be written as M ( x ) =
EI 2 = − PL 1 −
dx L
EI + v(x)
x
L
dv( x = 0)
v( x = 0) = 0 → a = 0 and =0→b=0
dx
Now we can use the trial function
v = cx 2
and seek the minimum of the total potential energy.
L
1
( c, d ) ∫ 2 EI ( 2c ) dx + P ( cL )
2 2
Π=
0
∂Π
= 2 EI ( 2cL ) +=
PL2 0
∂c
Lecture 2 10
From the solution of the above set of equations
PL − PLx 2
c= − and the deflection function can be written as v( x) =
4 EI 4 EI
− PL3
The tip deflection can be calculated as v(=x L=
)
4 EI
M=-PL(1-x/L)
M=-PL/2
d 2 v − PL x
The moment function can be written =
as M EI
=
dx 2 2
+ v(x) θ
+
EI,GA
x
L
L 2 L 2
1 dθ 1 dv
in Π
= (θ , v ) ∫ EI dx + GA∫ − θ dx + Pv ( L )
2 0 dx 2 0
dx
∂Π
= EI ( 4cL + 6dL2 ) + PL=
2
0
∂c
∂Π EI EI
= EI 6cL2 + d 12 L3 + 36 L + P L3 − 6 0
L=
∂d GA GA
From the solution of the above set of equations
P PL
d= , c= −
6 EI 2 EI
Lecture 2 11
Px 2 Px
v( x) =− ( 3L − x ) −
6 EI GA
P 2 PL
as θ
Rotation function can be written= x − x
2 EI EI
PL2
The tip rotation can be calculated as θ ( L ) = −
2 EI
Lecture 2 12