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


# Constitutive equations (stress-strain relations)

**Book: Introduction Chapter 3, Sections 3.1 to 3.3.**

## Relations between stress and strain

Relations between stress and strain are also called **constitutive relations**.

Consider an infinitesimally small rectangular block of material cut out of a loaded structure, where edges of the block are aligned with the axes of a Cartesian $(x,y,z)$-coordinate system. Next, consider a **triaxial state of stress** with normal stresses $\sigma_x$, $\sigma_y$ and $\sigma_z$ on the faces of the block. If $\sigma_x = \sigma_y = \sigma_z = \sigma_\text{H}$ it is called a
**hydrostatic state of stress**. If $\sigma_\text{H}$ is negative, such as often is the case for fluids, $-\sigma_\text{H}$ is called a hydrostatic pressure.

```{figure-md} L4-fig1
<img src="Media/L4_Media/L4-fig1.svg" width="600px">

Loaded structure with edges aligned towards cartesian coordinate system.
```

Assuming the lengths of the edges are $L_x$, $L_y$ and $L_z$ in the unloaded state (as depicted in {numref}`L4-fig1`), we have three strains associated with the hydrostatic state of stress:

$$ e_x = \frac{\Delta L_x}{L_x}, \qquad e_y = \frac{\Delta L_y}{L_y},
\qquad e_z = \frac{\Delta L_z}{L_z} $$  (eq1-L4)

Under load, the deformed volume becomes

$$ V = (L_x+\Delta L_x)(L_y+\Delta L_y)(L_z+\Delta L_z) = L_x L_y L_z
(1+e_x)(1+e_y)(1+e_z) $$ (eq2-L4)

Now we define the **volumetric strain** or **dilatation** as follows:

$$ e_\text{vol} = \frac{V-V_0}{V_0} = (1+e_x)(1+e_y)(1+e_z) - 1 =
 e_x + e_y + e_z + e_x e_y + e_y e_z + e_z e_x + e_x e_y e_z $$ (eq3-L4)

If $e_x \ll 1$, $e_y \ll 1$ and $e_z \ll 1$ we have the following approximation: $e_\text{vol} = e_x + e_y + e_z$.

For an **isotropic** material, where the properties are the same for all directions, we have

$$ e_x = e_y = e_z = \frac{e_\text{vol}}{3} $$ (eq4-L4)

Note, that many materials such as wood, reinforced concrete and fibre-reinforced polymers are **anisotropic**, i.e.$\,$ the properties are direction dependent.

The relation between $\sigma_\text{H}$ and $e_\text{vol}$ is linear for most materials (see Figure 3.3).

## Hooke's law

For many materials there is a linear relation between the tensile stress and strain in a uniaxial tensile test. This property can be written as follows: $\sigma = Ee$. This is called **Hooke's law**. The coefficient $E$ is the **modulus of elasticity** or 
**Young's modulus** of the material.

Consider a rectangular bar of material having an initial length of $L_0$ as depicted in {numref}`L4-fig2`, initial thickness  $d_0$ and initial width $b_0$ subjected to a uniaxial stress $\sigma$. Under load the dimensions of bar become $L_0 + \Delta L$, $d_0 - \Delta d$ en $b_0 - \Delta b$. The axial strain becomes $\displaystyle e_\text{L} = \Delta L/L_0 $, whereas the strain in depth and width directions become $ \displaystyle e_\text{d} = -\Delta d/d_0 $  and $ \displaystyle e_\text{b} = -\Delta b/b_0 $, respectively.



```{figure-md} L4-fig2
<img src="Media/L4_Media/L4-fig2.svg" width="600px">

Rectangular box sunjected to a unaxial stress $\sigma$.
```



```{admonition} Warning
:class: warning


Here the authors of the book use an inconsistent definition for the changes in size. It is almost universally accepted that a change is positive if a quantitive increases and negative if it decreases However, here $\Delta L$, $\Delta d$ and $\Delta b$ are defined such that the signs are the same for the most common case. However, it is much better to adhere to the usual definition and define:

$$  \Delta L = L - L_0, \qquad \Delta d = d - d_0, \qquad \Delta b = b -
b_0 $$

and use the same strain definition in the three directions:

$$ \displaystyle e_\text{L} = \frac{\Delta L}{L_0}, \qquad 
\displaystyle e_\text{d} = \frac{\Delta d}{d_0}, \qquad
\displaystyle e_\text{b} = \frac{\Delta b}{b_0} $$

The conclusions do not change. Only the expressions for the strains are different.

```

From experiments we find for linear elastic material behaviour that the strains in perpendicular direction are proportional to the axial strain: $e_\text{d} = e_\text{b} = -\nu e_\text{L}$. The parameter $\nu$ is a material constant and is called **Poisson's ratio**.
The value of $\nu$ is usually between 0 and $0.5$. For most metals $\nu=0.3$ and for rubbery materials the value of $\nu$ is close to $0.5$.

For the triaxial state of stress as depicted in Figure~3.1, the corresponding
*triaxial state of strain* is given by the following **generalised Hooke's law**:

$$ e_x = \frac{1}{E} \left[ \sigma_x - \nu (\sigma_y + \sigma_z) \right],
\qquad e_y = \frac{1}{E} \left[ \sigma_y - \nu (\sigma_z + \sigma_x)
\right], \qquad e_z = \frac{1}{E} \left[ \sigma_z - \nu (\sigma_x +
\sigma_y) \right] $$ (eq5-L4)

This state of strain is obtained by adding or **superimposing** the strains corresponding with the three stress components. The general **principal of superposition** states that:**the total effect of a combination of loads is the sum of the effects of the individual loads separately**. This principal is valid if there is a linear relation between stresses and strains, and strains due to the individual loads are small.



<a name="example-L4-1"></a>
`````{admonition} Apparent modulus of elasticity
:class: examp dropdown


```{figure-md} L4-fig3
<img src="Media/L4_Media/L4-fig3.svg" width="600px">

Rectangular box experiencing normal stresses.
```

The system depicted in {numref}`L4-fig3` experiences two forces one on the $\sigma_x$ and one on the $- \sigma_x$ side. the lenght, width and height of the box are $100$ mm, $20$ mm and $20$ mm repsectively. Find the change in lenght and the apperent modulus of elasticity for the system.


````{admonition} Solution
:class: sol dropdown

The bar is loaded only in the $x$-direction by an axial force $F$ Its ends are free to move axially, but the faces perpendicular to $y$ and $z$ are constrained so that

$$
e_y = e_z = 0
$$

and next to this we also know that

$$
\sigma_x = -\frac{F}{A}.
$$

Since the lateral ($y$ and $z$) stresses $\sigma_y$ and $\sigma_z$ are not zero in general, they must develop whatever value is needed to enforce $\displaystyle e_y = e_z = 0 $. By symmetry we set 

$$
\sigma_y=\sigma_z=-p.
$$

For an isotropic solid the small-strain Hooke’s law gives, in they y direction,

$$
e_y = \frac{1}{E}\left(\sigma_y - \nu(\sigma_x + \sigma_z)\right). 
$$

Using substitution of the earlier found relation for $-p$ gives

$$
\frac{1}{E}\left(-p - \nu\sigma_x +\nu p \right)  = 0.
$$

Thus finally when solving for $p$ we get

$$
\implies p = -\frac{\nu}{1-\nu}\sigma_x.
$$

The next step is solving for $e_x$ which is given by

$$
e_x = \frac{1}{E}\left(\sigma_x - \nu(\sigma_y+\sigma_z)\right) \ \ \ = \ \ \ \frac{1}{E}\left(\sigma_x + 2\nu p\right),
$$

where the earlier found relations for $p$ are used again. This gives

$$
\frac{1}{E}\frac{(1+\nu)(1-2\nu)}{1-\nu} \sigma_x.
$$

with the relation $\displaystyle e_x= \frac{\sigma_x}{E'}$ finally 

$$
\implies E'= E\frac{1-\nu}{(1+\nu)(1-2\nu)}.
$$


````

`````





For **shear loading** in the linear elastic regime, (Hooke's law for shearing) is valid:

$$ \tau = G \gamma $$ (eq6-L4)

The constant $G$ is called the **shear modulus (of elasticity)**.
The shear strain in one direction is not influenced by the shear loading in the directions normal to it.

For hydrostatic loading a linear relation is valid between the hydrostatic stress and the volumetric strain: 

$$
\sigma_\text{H} = Ke_\text{vol} 
$$ (eq7-L4)

where $K$ is called the **bulkmodulus (of elasticity)**.

For a triaxial state of stress having normal stresses $\sigma_x$, $\sigma_y$ and $\sigma_z$, the following relation can easily be derived from the generalised Hooke's law:

$$ e_\text{vol} = e_x + e_y + e_z = \frac{(1-2 \nu)}{E} \left( \sigma_x
+ \sigma_y + \sigma_z \right) $$ (eq8-L4)

For a hydrostatic state of of stress, i.e.\ $\sigma_x = \sigma_y =
\sigma_z = \sigma_\text{H} $, it follows that 

$$ e_\text{vol} = \frac{\sigma_\text{H}}{K} =  \frac{(1-2 \nu)}{E}
3 \sigma_\text{H} $$ (eq9-L4)

This leads to $\displaystyle E = 3K(1-2 \nu)$. For $\nu=0.5$, we see that $K=\infty$, assuming $E$ is finite. This means that the material is incompressible.

In Chapter 9 it is derived that the shear modulus $G$ can be expressed in the two material parameters $E$ and $\nu$ according to $G=E/2(1+\nu)$. For realistic materials $E$, $K$ and $G$ are always positive, which leads to $-1 \leq \nu \leq 0.5$. In practice we have $0\leq \nu \leq 0.5$.

## Thermal strains

Changes in temperature can cause strains. It is well-known, that for a large class of materials we have $e_x = \alpha \Delta T$, $e_y = \alpha \Delta T$ en $e_z = \alpha \Delta T$, if the material is able to freely expand (no constraints). Here, $\Delta T$ is the increase in temperature and $\alpha$ is the **coefficient of linear thermal expansion**, for which we have $\alpha\geq0$. In general, the coefficient $\alpha$ depends on temperature, however in many cases it can be assumed to be constant for certain ranges of temperature.

The volumetric strain of a freely expanding material is given by

 $$ e_\text{vol} = \beta \Delta T = e_x + e_y + e_z = 3 \alpha \Delta
T \qquad \Rightarrow \qquad \beta = 3 \alpha $$ (eq10-L4)

where $\beta$ is **the coefficient of volumetric thermal expansion**.

Superposition of the strains due to mechanical loading and the thermal strains leads to:

$$
\begin{align*}
 e_x = \frac{1}{E} \left[ \sigma_x - \nu (\sigma_y + \sigma_z) \right]
 + \alpha \Delta T \\
 e_y = \frac{1}{E} \left[ \sigma_y - \nu (\sigma_z + \sigma_x) \right]
 + \alpha \Delta T \\
 e_z = \frac{1}{E} \left[ \sigma_z - \nu (\sigma_x + \sigma_y) \right]+
 \alpha \Delta T
\end{align*}
$$ (eq11-L4)

Shear strains are not affected by changes in temperature, i.e.$\,$ $\tau = G \gamma$ is still valid here.

<a name="example-L4-2"></a>
`````{admonition} Change in volume of a block
:class: examp dropdown


```{figure-md} L4-fig4
<img src="Media/L4_Media/L4-fig4.svg" width="600px">

thermally and mechanically constrained rectangular box.
```

A thermo‐elastic, three-dimensional stress–strain problem in which a rectangular steel block is both **thermally** and **mechanically** constrained is concidered. The problem is depicted in {numref}`L4-fig4`. The steel specimen that is constrained has dimensions $L= 90$ mm, $B = 40$ mm (width), $H = 50$ mm (height). Its ends sit against two immovable rigid blocks, but there is initially a small clearance $d = 0.02$ mm between the specimen and the rigid stops. 

The block is uniformly heated by $\displaystyle \Delta T = 15 \ \rm ^{\circ}\rm C$. Simultaniously a total normal force $\displaystyle F = 0.7 \rm MN$ is applied as a uniformly distributed presure on the top pace ($y$-direction).

The material properties of steel are given by $\displaystyle E = 207 \rm GPa$, $\displaystyle \nu = 0.30$ and  $\displaystyle \alpha = 11\times 10^{-6} \ \rm ^{\circ} \rm C^{-1}$.

Determine the uniformly distributed forces and the change in volume of the block.

````{admonition} Solution
:class: sol dropdown


the total strain in $x$ is prescribed by the gap:

$$
e_x = \frac{d}{L}.
$$

In equilibrium the only non-zero stress from the load $F$ is

$$
\sigma_y = -\frac{F}{LB} \qquad \sigma_z = 0.
$$

Steel expands freely by an amount $\alpha \Delta T$ in every direction heated by $\displaystyle \Delta T = 15 \ \rm ^{\circ}\rm C$.  But here the rigid blocks resist the $x$–expansion, so a reaction stress $\sigma_x$ develops. Thus $e_x$ concists of a mechanical and a therma strain

$$
e_x =  \frac{1}{E} [\sigma_x - \nu(\sigma_y + \sigma_z)] + \alpha \Delta T 
$$

Solving with previous relations gives

$$
\implies \sigma_x  = E\frac{d}{L}  +\nu\frac{F}{LB}-\alpha E\Delta T = -46.49 \ \rm MPa < 0
$$

Since 

$$
\Delta V = V e_{\rm vol} 
$$

we need to compute $e_{\rm vol}$. This is done via hookes law and gives

$$
e_{\rm vol} = e_x+e_y+e_z = 2.951 \times 10^{-5} \ [-].
$$

Thus 

$$\Delta V = V e_{\rm vol} = LBH e_{\rm vol} = 5.31 \rm \ mm^3$$

represents the change in volume due to the thermal and mechanical constrains.
````

`````


```{admonition} Note
:class: note
**Section 3.3 of the book is not part of the exam**. In general, we can say that material behaviour is time-dependent, showing *viscoelastic*, *viscoplastic* or *viscoelastic-plastic* response. Plastic response here refers to material behaviour showing a permanent deformation after fully unloading. These non-elastic constitutive relations will be a subject of courses later in the curriculum.
```

## Additional Video

This video by The Efficient Engineer gives another perspective on the relationship between stress and strain by introducing the concept of Poisson's Ratio. 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/tuOlM3P7ygA"
    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/L4_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/L4_quizzes/q2.json", "r", encoding="utf-8") as f:
    questions = json.load(f)

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


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


import json
from jupyterquiz import display_quiz

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

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

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


import json
from jupyterquiz import display_quiz

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

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

```{figure-md} L4-figQ5 
<img src="Media/Quizzes/L4_quiz/quiz4b.png" width="600px">

Figure for question below.
```

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


import json
from jupyterquiz import display_quiz

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

display_quiz(questions, shuffle_answers=True)
```
### Question 6
```{figure-md} L4-figQ6
<img src="Media/Quizzes/L4_quiz/quiz4a2-1.png" width="600px">

Figure for question below.
```

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


import json
from jupyterquiz import display_quiz

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

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

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


import json
from jupyterquiz import display_quiz

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

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

```{figure-md} L4-figQ8
<img src="Media/Quizzes/L4_quiz/quiz4c.png" width="600px">

Figure for question below.
```

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


import json
from jupyterquiz import display_quiz

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

display_quiz(questions, shuffle_answers=True)
```

### Question 9


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


import json
from jupyterquiz import display_quiz

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

display_quiz(questions, shuffle_answers=True)
```

### Question 10

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


import json
from jupyterquiz import display_quiz

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

display_quiz(questions, shuffle_answers=True)
```