Sei sulla pagina 1di 32

Principle of Virtual Work

1-D example
ux ux ux x = x2
x = x1

σ xx x = x1
σ xx x = x2

fx
x = x1 body force x = x2

A = cross-sectional area

If we let the x-displacement change by a small "virtual" amount δ u x


throughout the bar, those virtual displacement changes will do "virtual'
work:
x2

δ Wv = σ xx Aδ u x x = x2
− σ xx Aδ u x x = x1
+ ∫ f xδ u x Adx
x1
x2
x = x2
so δ Wv = ∫ σ xxδ u x x = x1
dA + ∫ ∫ f xδ u x dA dx
A x1 A
x2 2 x
d
= ∫ ∫ (σ xxδ u x ) dA dx + ∫ ∫ f xδ u x dA dx
x1 A
dx x1 A
⎛ dσ xx
x2 x
⎞ 2
⎛ du ⎞
δ Wv = ∫ ∫ ⎜ + f x ⎟ δ u x dA dx + ∫ ∫ σ xxδ ⎜ x ⎟ dA dx
x1 A ⎝ ⎠ ⎝ dx ⎠
dx x1 A

=
= 0 by equilibrium δ exx virtual change of strain

δ Wv = ∫ σ xxδ exx dV
V

duo
But σ xx = for elastic material
dexx
so du0
∫ σ xxδ exx dV = ∫
V V
dexx
δ exx dV

= ∫ δ u0 dV = δ ∫ u0 dV = δ U
V V

and we have
δ Wv = δ U
Thus, we have shown that if equilibrium is satisfied then the
virtual work done by all the loads is equal to the virtual change in
strain energy
Equilibrium δ Wv = δ U

But we can also show that if the principal of virtual work is satisfied for
all possible virtual displacements then equilibrium will be satisfied

δ Wv = δ U
Equilibrium
for all possible virtual
displacements
General 3-D Problems
P1 θ1
M1
u1 f
fl u
S (surface on which traction acts)
w
T(
n)

P1 … concentrated load u1 … displacement at P1 along it's direction


M1 … concentrated couple θ1 … angular rotation in a plane
perpendicular to M1 in its direction of
rotation action

f … body force u … displacement


T(n) … traction (stress) vector u … displacement
fl … line force (force/unit length) w … displacement in direction of fl
3-D Problems
P1 θ1
M1
u1 f
fl u
S (surface on which traction acts)
w
T(
n)

δ Wv = ∫ T( n ) ⋅ δ u dS + ∫ f ⋅ δ u dV + ∫ flδ wds + ∑ Piδ ui + ∑ M iδθi


S V l i i

for multiple loads and moments


As in the 1-D case can show that if equilibrium is satisfied
3 3
δ Wv = ∫ ∑∑ σ ijδ eij dV
V i =1 j =1
3 3
δ Wv = ∫ ∑∑ σ ijδ eij dV
V i =1 j =1

For elastic bodies where a strain energy exists

∂u0
σ ij =
∂eij

3 3 3 3
∂u0
∑∑
i =1 j =1
σ ijδ eij = ∑∑
i =1 j =1 ∂eij
δ eij = δ u0

and, therefore

δ Wv = ∫ δ uo dV = δ ∫ u0 dV = δ U
V V

so in 3-D δ Wv = δ U
problems also
Example:

Determine the stresses in bars 1 and 2

θ θ
bar 1 A, L y
L L bar2 θ θ

σ1 A σ2A

P x
P1

Equilibrium Approach

+
+
↑ ∑ Fy = 0
→ ∑ Fx = 0
σ 1 A sin θ + σ 2 A sin θ − P = 0
−σ 1 A cos θ + σ 2 A cos θ = 0
P
σ1 = σ 2 σ1 = σ 2 =
2 A sin θ
Virtual Work Approach

θ θ L
virtual change of strain in
θ bar 2

δv δ v sin θ
δv δ e2 =
L
δ v sin θ
P δ e1 = δ e2

δ Wv = δ U

Pδ v = ∫ σ δ e dV + ∫ σ δ e dV
bar1
1 1
bar 2
2 2

⎛ δ v sin θ ⎞ ⎛ δ v sin θ ⎞
Pδ v = σ 1 ⎜ ⎟ AL + σ 2⎜ ⎟ AL
⎝ L ⎠ ⎝ L ⎠
(σ 1 A sin θ + σ 2 A sin θ − P ) δ v = 0
δ u cos θ
θ δ e1 =
L
θ θ
L δ u cos θ
θ
δu
δu P θ
L

δ u cos θ
θ
δ Wv = δ U
δu
−δ u cos θ
δ e2 =
0= ∫ σ δ e dV + ∫ σ δ e dV
bar1
1 1
bar 2
2 2 L

⎛ δ u cos θ ⎞ ⎛ −δ u cos θ ⎞
0 = σ1 ⎜ ⎟ AL + σ 2⎜ ⎟ AL
⎝ L ⎠ ⎝ L ⎠
(σ 1 A cos θ − σ 2 A cos θ ) δ u = 0
Example 2: use of virtual work to obtain
an approximate solution

a b c

A0 x P
A0/2

L/2 L/2

A0 x
Cross-sectional area A ( x ) = A0 −
2L

P
Pa Pc

Problem: Determine Pa and Pc


This is a statically indeterminant problem. The exact solution is, as we will see

Pa = 0.585 P
Pc = 0.415 P

Note that the strains in a-b and b-c are not constants. They are given by:
du x σ xx
exx = =
dx E
⎧ Pa
⎪ A ( x ) E in a − b

=⎨
⎪ − Pc in b − c
⎪⎩ A ( x ) E
To obtain this exact solution we use equilibrium

Pa + Pc = P

together with the condition that the total displacement of the bar must be
zero, i.e.
L L

∫ du = ∫ e
0
x
0
xx dx = 0

which gives
L/2 L
Pa dx P dx
EA0 ∫0
− c
(1 − x / 2 L ) EA0 ∫L / 2 (1 − x / 2 L ) = 0
Doing the integration gives

2 Pc ⎛ 1 ⎞ 2 ( Pa + Pc ) ⎛ 3 ⎞
ln ⎜ ⎟ − ln ⎜ ⎟ = 0
EA0 ⎝ 2 ⎠ EA0 ⎝4⎠
so that exactly

ln ( 3 / 4 )
Pc = P ≅ 0.415 P
ln (1/ 2 )
Pa = P − Pc ≅ 0.585 P

The displacement in the bar is given by


x x
0 < x< L/2 Pa dx
∫0 x x
du = u ( x ) − 0 = ∫0 (1 − x / 2 L )
EAo
−2 Pa L
= ln (1 − x / 2 L )
EA0
−2 PL ⎡ ln ( 3 / 4 ) ⎤
= ⎢1 − ⎥ ln (1 − x / 2 L )
EA0 ⎣ ln (1/ 2 ) ⎦
− Pc
x x
dx
and for L/2 < x < L
∫L x x
du = u ( x ) − 0 = ∫L (1 − x / 2 L )
EAo
2 Pc L
= ⎡ln (1 − x / 2 L ) − ln (1/ 2 ) ⎤⎦
EA0 ⎣
2 PL ln ( 3 / 4 )
= ⎡⎣ln (1 − x / 2 L ) − ln (1/ 2 ) ⎤⎦
EA0 ln (1/ 2 )

At x= L/2 we obtain

PL
u x ≅ 0.3366
EA0
A plot of the displacement in the bar gives

% script tapered_bar for calculating displacement of the tapered bar


% x here is the normalized distance x/L
% u is the normalized displacement u*E*Ao/(P*L)
%
x= linspace(0, 1, 500);
u = -2*(1-log(3/4)/log(1/2)).*log(1-x/2).*(x <= 0.5) + 2*(log(3/4)/log(1/2))* ...
(log(1-x/2) - log(1/2)).*(x>0.5);
plot(x,u)
xlabel('x/L')
ylabel('u_xEA_0/PL')
0.35

0.3

0.25

0.2
ux EA0/PL

0.15

0.1

0.05

0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
x/L
Virtual work approximate solution

E ⎡⎣exx ( x ) ⎤⎦ E ⎡⎣ exx ( x ) ⎤⎦
2 2
L/2 L
Strain energy U= ∫ A ( x ) dx + ∫ A ( x ) dx
0
2 L/2
2

Now, approximate the displacement as: ⎧ 2uP x


⎪⎪ L 0< x < L/2
ux ux = ⎨
uP ⎪ 2uP ( L − x ) L / 2 < x < L
⎪⎩ L

x
L/2 L/2

du x 2uP
Then in a-b exx = =
dx L
du x −2uP
and in b-c exx = =
dx L
which are both constants
L/2 L
2 Eu P2 2 Eu P2
so U ( uP ) = 2 ∫ A ( x ) dx + 2 ∫ A ( x ) dx
L 0
L L/2

⎛ x ⎞ ⎛ x ⎞
L/2 L
2 EuP2 A0 2 EuP2 A0
=
L2 ∫
0
⎜1 −
⎝ 2L ⎠
⎟ dx +
L2 ∫L / 2 ⎝ 2 L ⎟⎠ dx
⎜ 1 −

3 EuP2 A0
=
2 L

δ Wv = δ U

3EuP A0
Pδ uP = δ uP
L
PL PL
which gives uP = ≅ 0.3333 which is close to the exact value
3EA0 EA0

and the (constant) strains in a-b and b-c are

2 P 2 P
eab = , ebc = −
3 EA0 3 EA0
Thus the end reactions are

2
Pa = Eeab A0 = P
3
A0 1
Pc = E ebc = P
2 3

Compare these with the exact solution

Pa = 0.585 P
Pc = 0.415 P

This approximate solution is not bad considering the simplicity of


the deformation we assumed. We could do much better by
choosing a displacement that was able to follow more closely the
exact result. For example, we could break the bar into small
segments and write the displacement ux in terms of the
displacements at the ends of these segments:
ux

u3 = uP
u2
u4
u1 u5
x

If we express the strain energy in terms of those end displacements, i.e.

U = U ( u1 , u2 ,... u5 )

Then from the principal of virtual work δ Wv = δ U

5
∂U
Pδ u3 = ∑ δ ui
i =1 ∂ui

we obtain, by allowing each end displacement to vary independently


∂U ∂U ∂U
= 0, = 0, =P
∂u1 ∂u2 ∂u3
∂U ∂U
= 0, =0
∂u4 ∂u5

which for our problem would give five linear equations to solve for
the five unknowns
u1 , u2 , u3 , u4 , u5
This is is essentially the approach used by Finite Elements to solve
very complex 3-D stress analysis (and many other) problems

Note that the third of these equations gives

∂U ( u1 ,..., u P ,..., u5 )
=P P
∂ P
u
uP
∂U ( u1 ,..., u P ,..., u5 )
P
=P
∂uP uP

This is an example of Castigliano's first theorem which says that the


derivative of the strain energy with respect to a displacement at a
concentrated load in the direction of the load is equal to that load. a
similar result holds for concentrated moments:

P1
θ1 ∂U ( u1 , θ1 ,...)
= P1
∂u1
w u1
M1 ∂U ( u1 , θ1 ,...)
= M1
∂θ1
P
Pa Pc

Also note that in applying the principle of virtual work, we used

δ U = δ Wv = Pδ uP

i.e. we only calculated the virtual work of only the external load and not
the reactions. This was consistent with our choice of virtual changes of
the displacement that vanished at the reactions and, hence those
reactions did no work:

⎧ 2uP x ⎧ 2δ uP x
⎪⎪ L 0< x < L/2 ⎪⎪ L 0< x < L/2
ux = ⎨ δ ux = ⎨
⎪ 2uP ( L − x ) L / 2 < x < L ⎪ 2δ uP ( L − x ) L / 2 < x < L
⎪⎩ L ⎪⎩ L

This is an example of choosing virtual displacement changes that satisfy


the so-called essential boundary conditions on displacement.
However, there is nothing that prevents us from choosing virtual
displacements that violate the essential boundary conditions. For
example, consider the problem: ∆
P
x
L
A,E

First, choose a displacement that satisfies the essential boundary

ux =0 ∆x
condition
x =0 ux =
L
2
⎛ du ⎞
L
Then 1
U ( ∆ ) = ∫ EA ⎜ x ⎟ dx
20 ⎝ dx ⎠
1 EA∆ 2
=
2 L EA∆
and δU =
∂U
δ∆ = Pδ∆ gives δ∆ = Pδ∆
∂∆ L
or P = EA∆
L
Now, instead choose a displacement that violates the wall constraint

( ∆ − ∆w ) x ∆w ∆
ux = ∆ w +
L
R P
In this case

1 EA ( ∆ − ∆ w )
2
du x ∆ − ∆ w U = U ( ∆, ∆ w ) =
= and
dx L 2 L
and the principle of virtual work gives, since now the reaction
force, R, does work
∂U ∂U
δU = δ∆ + δ∆ w = Pδ∆ − Rδ∆ w
∂∆ ∂∆ w
EA ( ∆ − ∆ w ) EA ( ∆ w − ∆ )
which gives δ∆ + δ∆ w = Pδ∆ − Rδ∆ w
L L
In order to satisfy this equation for all displacement variations δ∆, δ∆ w
we must have
P=
(
EA ∆ − ∆ w ), R=P
L
EA ( ∆ − ∆ w )
P= , R=P
L
These equations are just the exact solution for the bar with a
elongation ∆ − ∆ w
However, note that if we had tried to solve for the "nodal" displacements
∆, ∆ w we would obtain

⎡ EA EA ⎤ ⎧ ∆ ⎫
⎧P⎫
⎢ L − ⎥
L ⎪ ⎪ ⎪ ⎪
⎢ ⎥⎨ ⎬= ⎨ ⎬
⎢ − EA EA ⎥ ⎪∆ ⎪ ⎪ R ⎪
⎢⎣ L L ⎥⎦ ⎩ w ⎭ ⎩ ⎭

which is a singular system of equations. This occurs since obviously


we cannot solve uniquely for ∆, ∆ w since we can always add a rigid
body displacement ∆ = ∆ w = C and not affect the loads. This also
occurs in Finite Elements where we must restrain the body so that
rigid body displacements are eliminated or else we will end up with a
singular system of equations for the "nodal" displacements.
Principle of Complimentary Virtual Work

1-D example
ux ux ux x = x2
x = x1

σ xx x = x1
σ xx x = x2

fx
x = x1 body force x = x2

A = cross-sectional area
Now, let the displacements be held fixed and consider "virtual
changes in the stresses and loads. Then the virtual complimentary
work done by these changes is
L
x = x2
δ Wvc = ∫ δσ xx u x x = x1
dA + ∫ ∫ δ f x u x dA dx
A 0 A

⎡d ⎤
L
= ∫ ∫ ⎢ (δσ xx u x ) + δ f x u x ⎥ dAdx
0 A⎣ ⎦
dx
or ⎧⎪ ⎡ d (δσ xx )
L
⎤ du x ⎫⎪
δW = ∫ ∫ ⎨⎢
v
c
+ δ f x ⎥ u x + δσ xx ⎬ dAdx
0 A⎪ ⎩ ⎣ dx ⎦ dx ⎪⎭

=
exx
= 0 if virtual changes do
not violate equilibrium

L
δ Wvc = ∫ ∫ δσ xx exx dAdx
0 A

= ∫ δ u0c dV
V

= δU c

virtual complimentary work = change in complimentary strain energy

δ Wvc = δ U c
Consider the problem where we have a combination of concentrated
loads and moments plus other loadings on a body

P1
θ1

w u1
M1

Ax
B
Ay

If the problem is statically determinant, then we can use equilibrium


and determine all the forces and moments. Then we can write the
complimentary strain energy entirely in terms of the applied loads:

U c = U c ( P1 , M 1 , w,...)
Consider now varying the applied load P1 and moment M1. Then
from the principle of complimentary virtual work

∂U c ∂U c
δU =
c
δ P1 + δθ1 = δ P1 u1 + δ M 1θ1
∂P1 ∂M 1

But since these virtual changes are arbitrary, we must have

∂U c ∂U c
u1 = , θ1 = Engesser's first theorem
∂P1 ∂M 1

If the body is linearly elastic U c = U and we have

∂U ∂U
u1 = , θ1 = Castigliano's second theorem
∂P1 ∂M 1

Note that the reactions Ax , Ay , B also vary when we vary P1 and

M1 but these do no work since ( ux ) A = ( u y ) A = ( u y )B = 0


Now, consider the case when the problem is statically indeterminant.
In this case, we cannot use equilibrium to solve for all the reaction
forces or moments. There will be some reactions left over which are
unknowns. If we can vary those left over reactions independently
without violating equilibrium, then they are called redundants.

For the problem shown below, for example, we have one redundant
which we could take, for example, as By.
P1
θ1

w u1
M1

Ax Bx
Ay By

In this case we then could write

U c = U c ( P1 , M 1 , By , w,...)
Now, imagine for the moment that we ignore the constraint ( u y ) B = 0 and
allow By to vary. Then by the principle of complimentary virtual work we have

∂U c
δU =c
δ By = δ By ( u y ) B
∂By

which gives, since the redundant δ By can be varied arbitrarily

∂U c
(u )y B =
∂By
If we now enforce the constraint (u )
y B =0 we obtain

∂U c ( P1 , M 1 , By , w,...)
=0
∂By
which is an equation we can use to solve for By
Note that the condition ∂U c ( P1 , M 1 , By , w,...)
=0
∂By

also implies that δ U c ( P1 , M 1 , By , w,...) = 0

which is a statement of Engesser's second theorem or the principle of


least work:

Of all the possible values of the redundants R1, R2 , … Rn that satisfy


equilibrium for a statically indeterminant elastic system, the correct
values of the redundants ( those that satisfy both equilibrium and the
given constraints) are those that make the complimentary strain energy
stationary with respect to variations of those redundants.
∂U c
n
δU = ∑c
δ Rm = 0
m =1 ∂Rm

Potrebbero piacerti anche