Solving beam deflection problems using the moment-deflection approach and using the Euler-Bernoulli approach

by Nasser M. Abbasi
November 2009

Links

PDF  file
Mathematica notebook

Introduction

These are problems in beam deflection showing how to use Mathematica to solve them.

Problem 1

This is problem 9-3, page 551, from bok Problem Solvers, strength of materials and mechanics of materials by REA. I show here how to solve this problem using Mathematica.

Start by setting up the moment deflection equation for the Euler beam E I  y''[x]=M(x) , this equation is found for both halves of the beam resulting in 2 solutions, "euler_beam_1.gif" and "euler_beam_2.gif".

On the right side, boundary condition is that "euler_beam_3.gif" and on the left side "euler_beam_4.gif", then we need an additional 2 boundary conditions, for this, use the  continuity  conditions at L/2 where we set "euler_beam_5.gif" and "euler_beam_6.gif" and now we have the complete solutions.

For the left half of beam, it is easily found that "euler_beam_7.gif" and for the right half "euler_beam_8.gif"

"euler_beam_9.gif"

Find "euler_beam_10.gif"

"euler_beam_11.gif"

"euler_beam_12.gif"

"euler_beam_13.gif"

Use first boundary condition "euler_beam_14.gif"

"euler_beam_15.gif"

"euler_beam_16.gif"

"euler_beam_17.gif"

Find "euler_beam_18.gif"

"euler_beam_19.gif"

"euler_beam_20.gif"

Use boundary condition "euler_beam_21.gif"

"euler_beam_22.gif"

"euler_beam_23.gif"

"euler_beam_24.gif"

We see from the above, that we have 2 additional constants of integrations to solve for. c2 and c4. To solve for these, we use the continuity conditions at L/2

"euler_beam_25.gif"

"euler_beam_26.gif"

All the integration of constants now found, we can now plot moment diagrams, shear diagram, and deflection diagrams

"euler_beam_27.gif"

"euler_beam_28.gif"

"euler_beam_29.gif"

"euler_beam_30.gif"

Assign some values for E, I, L and w and do the plots. PLot the deflection

"euler_beam_31.gif"

"euler_beam_32.gif"

Plot the bending moment

"euler_beam_33.gif"

"euler_beam_34.gif"

Plot the shear diagram

"euler_beam_35.gif"

"euler_beam_36.gif"

Solving the same problem directly from the Euler-Bernoulli "euler_beam_37.gif" order ODE

The above approach (using the Moment-deflection ODE) is a standard approach to solve deflection beam problems. However, we can also use the 4th order Euler beam equation direclty as follows. One needs to make sure that the load on the RHS of this ODE is the load per unit length only, i.e. w in this problem. Notice the use of the unit step function since w only acts on half the beam.

"euler_beam_38.gif"

"euler_beam_39.gif"

Assign some values for E, I, L and w and do the plots. PLot the deflection

"euler_beam_40.gif"

"euler_beam_41.gif"

We see that we obtain the same result as earlier.

Plot the bending moment

"euler_beam_42.gif"

"euler_beam_43.gif"

Plot the shear diagram

"euler_beam_44.gif"

"euler_beam_45.gif"

Problem 2

In this problem. I set up a cantilever beam and first solved it using the Java beam applet that can be accessed  here
and then I solved this problem using Mathematica below, showing that I get the same answer as shown

"euler_beam_46.gif"

"euler_beam_47.gif"

The boundary conditions to use are: y[L] == 0, y''[0] == 0, y'''[0] == 0, y'[L] == 0

"euler_beam_48.gif"

Out[8]=

"euler_beam_49.gif"

Assign same values as shown above for E, I, L and w and do the plots.

In[17]:=

"euler_beam_50.gif"

Out[19]=

"euler_beam_51.gif"

"euler_beam_52.gif"

Plot the bending moment

In[23]:=

"euler_beam_53.gif"

Out[23]=

"euler_beam_54.gif"

"euler_beam_55.gif"

Plot the shear diagram

In[25]:=

"euler_beam_56.gif"

Out[25]=

"euler_beam_57.gif"

Spikey Created with Wolfram Mathematica 7.0