---
jupytext:
    formats: md:myst
    text_representation:
        extension: .md
        format_name: myst
kernelspec:
    display_name: Python 3 (ipykernel)
    language: python
    name: python3
---

# Bending of beams: Cross-section Properties and Combined Stresses

**Book: Sections 5.3 and 5.4 (excluding Subsections 5.3.2 and 5.3.4-5.3.7, but including Appendix B).**


`````{admonition} Important
:class: important


```{figure-md} L7-fig5
<img src="Media/L7_Media/L7-fig5.svg" width="450px">

3 Step guide to go from $\displaystyle M \implies \sigma_x$.
```

{numref}`L7-fig5` shows using relations earlier describes how to go from $\displaystyle M \implies \sigma_x$ in three steps. 
`````

The resulting moment applied by the axial stresses in the cross-section is equal to the bending moment $M$:

$$ M =\int^{c_1}_{-c_2} - \sigma_x b(y)y\,dy =
 \int^{c_1}_{-c_2}\frac{Ey}{R} b(y)y \,dy =
 \frac{E}{R} \int^{c_1}_{-c_2} y^2 b(y) \,dy  =
 \frac{E}{R} \int^{c_1}_{-c_2} y^2 \,dA = \frac{EI}{R} $$ (eq3-L7_8)

and from $\displaystyle \sigma_x = \frac{-Ey}{R} $ we find $\displaystyle
\frac{E}{R} = \frac{-\sigma_x}{y} $, which means that:

$$ M = \frac{-\sigma_x(y) I}{y} \quad \Rightarrow \quad \sigma_x(y) =
\frac{-My}{I} $$ (eq4-L7_8)

In Figure 5.47 this axial stress field is visualised.

In the theory of bending it is assumed that shear forces do not affect the
axial bending stress distribution in the cross section.

The largest absolute bending stress is found at the largest distance from the neutral axis $c=\max(c_1,c_2)$:

$$ \sigma_\text{max} = \left| \frac{cM}{I} \right| $$ (eq5-L7_8)

Sometimes $c$ is called the distance from the neutral axis of the **extreme fiber**.

The **section modulus** is defined as $ S =
I/c$. Therefore

$$ \sigma_\text{max} = \left| \frac{M}{S} \right| $$ (eq6-L7_8)

**Examples**: (note: $I$ is with respect to the centroid of the area)



1. For a beam with a rectangular cross-section having a width $b$ and height $d$ we find (see Figure 5.48):

  $$ I = \int^{\frac{d}{2}}_{-\frac{d}{2}} by^2\,dy = \left[ b\frac{y^3}{3}\right]_{-\frac{d}{2}}^{\frac{d}{2}} \quad \Rightarrow \quad I = \frac{bd^3}{12} \quad \text{and} \quad \displaystyle S = \frac{I}{c} = \frac{bd^3/12}{d/2} \quad \Rightarrow \quad S = \frac{bd^2}{6}$$ (eq7-L7_8)

1. For a beam with a circular cross-section we find (see Figure 5.48 and Appendix B):

  $$ \displaystyle I = \int_{A} y^2\,dA = \frac{1}{2} \left( \int_{A} y^2\,dA + \int_{A} z^2\,dA \right) = \frac{1}{2} \int_{A} r^2 \,dA = \frac{1}{2} \int_{0}^{R} r^2 2\pi r \,dr = \pi \int_{0}^{R} r^3 \,dr $$ (eq8-L7_8)
  
  Hence $\displaystyle I = \frac{\pi}{4} R^4 = \frac{\pi}{64} D^4$ and $\displaystyle S = \frac{I}{R} = \frac{\pi}{32}D^3 \approx 0{,}1D^3$


Section 5.3.2 is about **computing the shear stress distribution** (due to the shear force) in the cross-section. 
The maximum shear stress in the cross-section is generally of the same order of magnitude as the average shear stress:

$$ \tau_\text{gem} = \frac{V}{A} $$ (eq9-L7_8)

This is the most important take home message of this section.
Furthermore, in Section 5.3.2 it is shown that for a rectangular cross-section $ \tau_\text{max} = \frac{3}{2} \tau_\text{gem} $. 
For slender beams the maximum shear stress in a cross-section is generally very small compared to the normal stress (due to bending) in that cross-section. Therefore, the importance of calculating the shear stress distribution is only of minor importance for slender beams. **Except for the computation of the average shear stress** $\tau_{\text{gem}}$ **as shown above, Section 5.3.2 is not part of the exam.**

The ratio of shear stress and normal stress depends strongly on the “slenderness” of the beam. See Example 5.13 and replace $\tau_{\text{max}}$ by $ \tau_{\text{gem}} = {F}/{bd} $. Which length-height ratio do you find for $\sigma_{\text{max}} = \tau_{\text{gem}}$?

In Section 5.3.3 both $I$ and $S$ are derived for a number of common thin-walled beam cross-sections. For the hollow rectangular cross-section (box section) in Figure 5.55, it follows that

$$ I = \int_{A} y^2 \,dA = \frac{1}{12} b_2d_2^{3}
- \frac{1}{12}b_1d_1^3  \quad \text{and}  \quad \displaystyle S =
\frac{I}{d_2/2} = \frac{1}{6d_2} \left( b_2d_2^3 - b_1d_1^3
\right) $$ (eq10-L7_8)

For a pipe of uniform cross-section according to Figure 5.56 we find by applying the same "difference method":

$$ \displaystyle I = \frac{\pi}{64} \left( D_2^4 -D_1^4 \right)
\quad \text{and} \quad \displaystyle S = \frac{I}{{D_2}/{2}} =
\frac{\pi}{32D_2} \left( D_2^4 - D_1^4 \right) $$ (eq11-L7_8)

For the I-section of Figure 5.57a, simplified to that of Figure 5.57b, we find by the difference method:

$$ \displaystyle I = \frac{bd^3}{12} -
\frac1{12}(b-t_\text{w})\left(d-2t_\text{f} \right)^3 $$ (eq12-L7_8)

An alternative method is shown in Figure 5.58a: for the web (region 1) and the flanges (region 2 and 3)
the $I$ is determined separately relative to the centroids of the regions itself. Subsequently, Steiner's theorem is applied to the flanges:

$$ \displaystyle I = \frac{t_\text{w}}{12} \left( d - 2t_\text{f}
\right)^3 + 2 \left[ \frac{b t_\text{f}^3}{12}
+ bt_\text{f} \left(\frac{d-t_\text{f}}{2} \right)^2 \right] $$ (eq13-L7_8)

After elaborating this equation further, the same result as before is obtained. For computing the (average) shear stress as before, it can be assumed that the shear force will be fully supported by
the web (see last paragraph of Example 5.14). The reason is that the vertical shear stress is very small in the flanges and can therefore be neglected.

**Sections 5.3.4-5.3.7 are not part of the exam**. However, it is advised to read these sections once to get an idea of the limitations of the theory you learned up to now.

## Combined bending and axial loads



```{figure-md} L7-fig6
<img src="Media/L7_Media/L7-fig6.svg" width="450px">

Pure bending: linear stress; axial load: uniform; combined: superposed stresses.
```


If bending is combined with an axial load, the normal stress will not be zero at the neutral surface. The normal stress
can be found by superposition (see {numref}`L7-fig6`):

$$ \sigma_x=\frac{F}{A}-\frac{My}I $$ (eq14-L7_8)

The definition of the neutral surface will not change however: it is the surface with zero normal stress under a pure bending load. 
See Examples  5.21 and 5.22.


## Additional Video

These videos by The Efficient Engineer provides a detailed visual introduction to bending and shear stresses in beams. They clearly explains how external loads create internal bending moments and shear forces, leading to bending stresses (tension and compression) and shear stresses within a beam's cross-section. The video's also covers the derivation of the fundamental flexure formula and the shear stress formula, providing a solid conceptual foundation. This video is non mandatory and is purely to give a different perspective on the topic.

<div class="video-wrapper">
  <iframe width="560" height="315" 
    src="https://www.youtube.com/embed/f08Y39UiC-o" 
    frameborder="0" 
    allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" 
    allowfullscreen>
  </iframe>
</div>

<br> <!-- Optional: Add some space between videos -->

<div class="video-wrapper">
  <iframe width="560" height="315" 
    src="https://www.youtube.com/embed/Bls5KnQOWkY" 
    frameborder="0" 
    allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" 
    allowfullscreen>
  </iframe>
</div>









## Quiz
### Question 1

```{code-cell} ipython3
:tags: ["remove-input"]

import json
from jupyterquiz import display_quiz

with open("Quizzes/L8_quizzes/q1.json", "r", encoding="utf-8") as f:
    questions = json.load(f)

display_quiz(questions, shuffle_answers=True)
```

### Question 2


```{code-cell} ipython3
:tags: ["remove-input"]

import json
from jupyterquiz import display_quiz

with open("Quizzes/L8_quizzes/q2.json", "r", encoding="utf-8") as f:
    questions = json.load(f)

display_quiz(questions, shuffle_answers=True)
```
### Question 3


```{code-cell} ipython3
:tags: ["remove-input"]

import json
from jupyterquiz import display_quiz

with open("Quizzes/L8_quizzes/q3.json", "r", encoding="utf-8") as f:
    questions = json.load(f)

display_quiz(questions, shuffle_answers=True)
```


### Question 4

```{figure-md} L8-figQ4
<img src="Media/Quizzes/L8_quiz/quiz4.png" width="600px">

Figure for question below.
```

```{code-cell} ipython3
:tags: ["remove-input"]

import json
from jupyterquiz import display_quiz

with open("Quizzes/L8_quizzes/q4.json", "r", encoding="utf-8") as f:
    questions = json.load(f)

display_quiz(questions, shuffle_answers=True)
```

### Question 5


```{code-cell} ipython3
:tags: ["remove-input"]

import json
from jupyterquiz import display_quiz

with open("Quizzes/L8_quizzes/q5.json", "r", encoding="utf-8") as f:
    questions = json.load(f)

display_quiz(questions, shuffle_answers=True)
```

### Question 6

```{figure-md} L8-figQ6
<img src="Media/Quizzes/L8_quiz/quiz6.png" width="400px">

Figure for question below.
```


```{code-cell} ipython3
:tags: ["remove-input"]

import json
from jupyterquiz import display_quiz

with open("Quizzes/L8_quizzes/q6.json", "r", encoding="utf-8") as f:
    questions = json.load(f)

display_quiz(questions, shuffle_answers=True)
```

### Question 7

```{figure-md} L8-figQ7
<img src="Media/Quizzes/L8_quiz/quiz7.png" width="400px">

Figure for question below.
```


```{code-cell} ipython3
:tags: ["remove-input"]

import json
from jupyterquiz import display_quiz

with open("Quizzes/L8_quizzes/q7.json", "r", encoding="utf-8") as f:
    questions = json.load(f)

display_quiz(questions, shuffle_answers=True)
```


### Question 8

```{figure-md} L8-figQ8
<img src="Media/Quizzes/L8_quiz/quiz8.PNG" width="300px">

Figure for question below.
```


```{code-cell} ipython3
:tags: ["remove-input"]

import json
from jupyterquiz import display_quiz

with open("Quizzes/L8_quizzes/q8.json", "r", encoding="utf-8") as f:
    questions = json.load(f)

display_quiz(questions, shuffle_answers=True)
```

### Question 9

```{figure-md} L8-figQ9
<img src="Media/Quizzes/L8_quiz/quiz9.png" width="600px">

Figure for question below.
```


```{code-cell} ipython3
:tags: ["remove-input"]

import json
from jupyterquiz import display_quiz

with open("Quizzes/L8_quizzes/q9.json", "r", encoding="utf-8") as f:
    questions = json.load(f)

display_quiz(questions, shuffle_answers=True)
```


### Question 10

```{figure-md} L8-figQ10
<img src="Media/Quizzes/L8_quiz/quiz10.png" width="600px">

Figure for question below.
```


```{code-cell} ipython3
:tags: ["remove-input"]

import json
from jupyterquiz import display_quiz

with open("Quizzes/L8_quizzes/q10.json", "r", encoding="utf-8") as f:
    questions = json.load(f)

display_quiz(questions, shuffle_answers=True)
```
