Peeter Joot's (OLD) Blog.

Math, physics, perl, and programming obscurity.

PHY454H1S Continuum mechanics midterm reflection.

Posted by peeterjoot on March 17, 2012

[Click here for a PDF of this post with nicer formatting and figures if the post had any (especially if my latex to wordpress script has left FORMULA DOES NOT PARSE errors.)]

Motivation.

I didn’t manage my time well enough on the midterm to complete it (and also missed one easy part of the second question). For later review purposes, here is either what I answered, or what I think I should have answered for these questions.

Problem 1.

\mathbf{P}-waves, \mathbf{S}-waves, and Love-waves.

\begin{itemize}
\item Show that in \mathbf{P}-waves the divergence of the displacement vector represents a measure of the relative change in the volume of the body.

Answer.
The \mathbf{P}-wave equation was a result of operating on the displacement equation with the divergence operator

\begin{aligned}\boldsymbol{\nabla} \cdot \left( \rho \frac{\partial^2 {\mathbf{e}}}{\partial {{t}}^2} = (\lambda + \mu) \boldsymbol{\nabla} (\boldsymbol{\nabla} \cdot \mathbf{e}) + \mu \boldsymbol{\nabla}^2 \mathbf{e}\right)\end{aligned} \hspace{\stretch{1}}(2.1)

we obtain

\begin{aligned}\frac{\partial^2 {{}}}{\partial {{t}}^2} \left( \boldsymbol{\nabla} \cdot \mathbf{e} \right) = \frac{\lambda + 2 \mu}{\rho} \boldsymbol{\nabla}^2 (\boldsymbol{\nabla} \cdot \mathbf{e}).\end{aligned} \hspace{\stretch{1}}(2.2)

We have a wave equation where the “waving” quantity is \Theta = \boldsymbol{\nabla} \cdot \mathbf{e}. Explicitly

\begin{aligned}\Theta &= \boldsymbol{\nabla} \cdot \mathbf{e} \\ &= \frac{\partial {e_1}}{\partial {x}}+\frac{\partial {e_2}}{\partial {y}}+\frac{\partial {e_3}}{\partial {z}}\end{aligned}

Recall that, in a coordinate basis for which the strain e_{ij} is diagonal we have

\begin{aligned}dx' &= \sqrt{1 + 2 e_{11}} dx \\ dy' &= \sqrt{1 + 2 e_{22}} dy \\ dz' &= \sqrt{1 + 2 e_{33}} dz.\end{aligned} \hspace{\stretch{1}}(2.3)

Expanding in Taylor series to O(1) we have for i = 1, 2, 3 (no sum)

\begin{aligned}dx_i' \approx (1 + e_{ii}) dx_i.\end{aligned} \hspace{\stretch{1}}(2.6)

so the displaced volume is

\begin{aligned}dV' &= dx_1dx_2dx_3(1 + e_{11})(1 + e_{22})(1 + e_{33}) \\ &=dx_1dx_2dx_3( 1  + e_{11} + e_{22} + e_{33} + O(e_{kk}^2) )\end{aligned}

Since

\begin{aligned}e_{11} &= \frac{1}{{2}} \left( \frac{\partial {e_1}}{\partial {x}} +\frac{\partial {e_1}}{\partial {x}} \right) = \frac{\partial {e_1}}{\partial {x}} \\ e_{22} &= \frac{1}{{2}} \left( \frac{\partial {e_2}}{\partial {y}} +\frac{\partial {e_2}}{\partial {y}} \right) = \frac{\partial {e_2}}{\partial {y}} \\ e_{33} &= \frac{1}{{2}} \left( \frac{\partial {e_3}}{\partial {z}} +\frac{\partial {e_3}}{\partial {z}} \right) = \frac{\partial {e_3}}{\partial {z}}\end{aligned} \hspace{\stretch{1}}(2.7)

We have

\begin{aligned}dV' = (1 + \boldsymbol{\nabla} \cdot \mathbf{e}) dV,\end{aligned} \hspace{\stretch{1}}(2.10)

or

\begin{aligned}\frac{dV' - dV}{dV} = \boldsymbol{\nabla} \cdot \mathbf{e}\end{aligned} \hspace{\stretch{1}}(2.11)

The relative change in volume can therefore be expressed as the divergence of \mathbf{e}, the displacement vector, and it is this relative volume change that is “waving” in the \mathbf{P}-wave equation as illustrated in the following (\ref{fig:continuumMidtermReflection:continuumMidtermReflectionFig1}) sample 1D compression wave

\begin{figure}[htp]
\centering
\includegraphics[totalheight=0.2\textheight]{continuumMidtermReflectionFig1}
\caption{A 1D compression wave.}
\end{figure}

\item Between a \mathbf{P}-wave and an \mathbf{S}-wave which one is longitudinal and which one is transverse?

Answer.
\mathbf{P}-waves are longitudinal.

\mathbf{S}-waves are transverse.

\item Whose speed is higher?

Answer.
From the formula sheet we have

\begin{aligned}\left( \frac{c_L}{c_T} \right)^2 &= \frac{ \lambda + 2 \mu}{\rho} \frac{\rho}{\mu}  \\ &= \frac{\lambda}{\mu} + 2  \\ &> 1\end{aligned}

so \mathbf{P}-waves travel faster than \mathbf{S}-waves.

\item Is Love wave a body wave or a surface wave?

Answer.

Love waves are surface waves, traveling in a medium that can slide on top of another surface. These are characterized by vorticity rotating backwards compared to the direction of propagation as shown in figure (\ref{fig:continuumMidtermReflection:continuumMidtermReflectionFig2})

\begin{figure}[htp]
\centering
\def\svgwidth{0.6\columnwidth}
\caption{Love wave illustrated.}
\end{figure}
\end{itemize}

(b) constitutive relation, Newtonian fluids, and no-slip conditions.

\begin{itemize}
\item In continuum mechanics what do you mean by \textit{constitutive relation}?
Answer. The constitutive relation is the stress-strain relation, generally

\begin{aligned}\sigma_{ij} = c_{abij} e_{ab}\end{aligned} \hspace{\stretch{1}}(2.12)

for isotropic solids we model this as

\begin{aligned}\sigma_{ij} = \lambda e_{kk} \delta_{ij} + 2 \mu e_{ij}\end{aligned} \hspace{\stretch{1}}(2.13)

and for Newtonian fluids

\begin{aligned}\sigma_{ij} = -p \delta_{ij} + 2 \mu e_{ij}\end{aligned} \hspace{\stretch{1}}(2.14)

\item What is the definition of a Non-Newtonian fluid?
Answer.

A non-Newtonian fluid would be one with a more general constitutive relationship.

Grading note. I lost a mark here. I think the answer that was being looked for (as in [1]) was that a Newtonian fluid is one with a linear stress strain relationship, and a non-Newtonian fluid would be one with a non-linear relationship. According to [2] an example of a non-Newtonian material that we are all familiar with is Silly Putty. This linearity is also how a Newtonian fluid was defined in the notes, but I didn’t remember that (this isn’t really something we use since we assume all fluids and materials are Newtonian in any calculations that we do).

\item What do you mean by \emph{no-slip} boundary condition at a fluid-fluid interface?

Exam time management note. Somehow in my misguided attempt to be complete, I missed this question amongst the rest of my verbosity).

Answer.
The no slip boundary condition is just one of velocity matching. At a non-moving boundary, the no-slip condition means that we’ll require the fluid to also have no velocity (ie. at that interface the fluid isn’t slipping over the surface). Between two fluids, this is a requirement that the velocities of both fluids match at that point (and all the rest of the points along the region of the interaction.)

\item Write down the continuity equation for an incompressible fluid.
Answer.

An incompressible fluid has

\begin{aligned}\frac{d\rho}{dt} = 0,\end{aligned} \hspace{\stretch{1}}(2.15)

but since we also have

\begin{aligned}0 &=\frac{d\rho}{dt} \\ &= - \rho (\boldsymbol{\nabla} \cdot \mathbf{u})  \\ &= \frac{\partial {\rho}}{\partial {t}} + (\mathbf{u} \cdot \boldsymbol{\nabla}) \rho \\ &= 0.\end{aligned}

A consequence is that \boldsymbol{\nabla} \cdot \mathbf{u} = 0 for an incompressible fluid. Let’s recall where this statement comes from. Looking at mass conservation, the rate that mass leaves a volume can be expressed as

\begin{aligned}\frac{dm}{dt}&= \int \frac{d\rho}{dt} dV \\ &= -\int_{\partial V} \rho \mathbf{u} \cdot d\mathbf{A} \\ &= -\int_V \boldsymbol{\nabla} \cdot (\rho \mathbf{u}) dV\end{aligned}

(the minus sign here signifying that the mass is leaving the volume through the surface, and that we are using an outwards facing normal on the volume.)

If the surface bounding the volume doesn’t change with time (ie. {\partial {V}}/{\partial {t}} = 0) we can write

\begin{aligned}\frac{\partial {}}{\partial {t}} \int \rho dV = -\int \boldsymbol{\nabla} \cdot (\rho \mathbf{u}) dV,\end{aligned} \hspace{\stretch{1}}(2.16)

or

\begin{aligned}0 = \int \left( \frac{\partial {\rho}}{\partial {t}} + \boldsymbol{\nabla} \cdot (\rho \mathbf{u}) \right) dV,\end{aligned} \hspace{\stretch{1}}(2.17)

so that in differential form we have

\begin{aligned}0 = \frac{\partial {\rho}}{\partial {t}} + \boldsymbol{\nabla} \cdot (\rho \mathbf{u}).\end{aligned} \hspace{\stretch{1}}(2.18)

Expanding the divergence by chain rule we have

\begin{aligned}\frac{\partial {\rho}}{\partial {t}} +\mathbf{u} \cdot \boldsymbol{\nabla} \rho = -\rho \boldsymbol{\nabla} \cdot \mathbf{u},\end{aligned} \hspace{\stretch{1}}(2.19)

but this is just

\begin{aligned}\frac{d\rho}{dt} = -\rho \boldsymbol{\nabla} \cdot \mathbf{u}.\end{aligned} \hspace{\stretch{1}}(2.20)

So, for an incompressible fluid (one for which d\rho/dt =0), we must also have \boldsymbol{\nabla} \cdot \mathbf{u} = 0.

\end{itemize}

Problem 2.

Statement.

Consider steady simple shearing flow \mathbf{u} = \hat{\mathbf{x}} u(y) as shown in figure (\ref{fig:continuumMidtermReflection:continuumMidtermReflectionFigQ1}) with imposed constant pressure gradient (G = -dp/dx), G being a positive number, of a single layer fluid with viscosity \mu.

\begin{figure}[htp]
\centering
\includegraphics[totalheight=0.2\textheight]{continuumMidtermReflectionFigQ1}
\caption{Shearing flow with pressure gradient and one moving boundary.}
\end{figure}

The boundary conditions are no-slip at the lower plate (y = h). The top plate is moving with a velocity -U at y = h and fluid is sticking to it, so u(h) = -U, U being a positive number. Using the Navier-Stokes equation.

\begin{itemize}
\item Derive the velocity profile of the fluid.

Answer

Our equations of motion are

\begin{subequations}

\begin{aligned}0 = \boldsymbol{\nabla} \cdot \mathbf{u}\end{aligned} \hspace{\stretch{1}}(3.21a)

\begin{aligned}\not{{\rho \frac{\partial {\mathbf{u}}}{\partial {t}}}} + (\mathbf{u} \cdot \boldsymbol{\nabla}) \mathbf{u} = - \boldsymbol{\nabla} p + \mu \boldsymbol{\nabla} (\not{{\boldsymbol{\nabla} \cdot \mathbf{u}}}) + \mu \boldsymbol{\nabla}^2 \mathbf{u} + \not{{\rho \mathbf{g}}}\end{aligned} \hspace{\stretch{1}}(3.21b)

\end{subequations}

Here, we’ve used the steady state condition and are neglecting gravity, and kill off our mass compression term with the incompressibility assumption. In component form, what we have left is

\begin{aligned}0 &= \partial_x u \\ u \not{{\partial_x u}} &= -\partial_x p + \mu \boldsymbol{\nabla}^2 u \\ 0 &= -\partial_y p \\ 0 &= -\partial_z p\end{aligned} \hspace{\stretch{1}}(3.22)

with \partial_y p = \partial_z p = 0, we must have

\begin{aligned}\frac{\partial {p}}{\partial {x}} = \frac{dp}{dx} = -G,\end{aligned} \hspace{\stretch{1}}(3.26)

which leaves us with just

\begin{aligned}0 &= G + \mu \boldsymbol{\nabla}^2 u(y)  \\ &= G + \mu \frac{\partial^2 {{u}}}{\partial {{y}}^2} \\ &= G + \mu \frac{d^2 u}{dy^2}.\end{aligned}

Having dropped the partials we really just want to integrate our very simple ODE a couple times

\begin{aligned}u'' = -\frac{G}{\mu}.\end{aligned} \hspace{\stretch{1}}(3.27)

Integrate once

\begin{aligned}u' = -\frac{G}{\mu} y + \frac{A}{h},\end{aligned} \hspace{\stretch{1}}(3.28)

and once more to find the velocity

\begin{aligned}u = -\frac{G}{2 \mu} y^2 + \frac{A}{h} y + B'.\end{aligned} \hspace{\stretch{1}}(3.29)

Let’s incorporate an additional constant into B'

\begin{aligned}B' = \frac{G}{2 \mu} h^2 + B\end{aligned} \hspace{\stretch{1}}(3.30)

so that we have

\begin{aligned}u = \frac{G}{2 \mu} (h^2 - y^2) + \frac{A}{h} y + B.\end{aligned} \hspace{\stretch{1}}(3.31)

(I didn’t do use B' this way on the exam, nor did I include the factor of 1/h in the first integration constant, but both of these should simplify the algebra since we’ll be evaluating the boundary value conditions at y = \pm h.)

\begin{aligned}u = \frac{G}{2 \mu} (h^2 - y^2) + \frac{A}{h} y + B\end{aligned} \hspace{\stretch{1}}(3.32)

Applying the velocity matching conditions we have for the lower and upper plates respectively

\begin{aligned}0 &= \frac{A}{h} (-h) + B \\ -U &= \frac{A}{h} (h) + B\end{aligned} \hspace{\stretch{1}}(3.33)

Adding these we find

\begin{aligned}B = -\frac{U}{2}\end{aligned} \hspace{\stretch{1}}(3.35)

and subtracting find

\begin{aligned}A = -\frac{U}{2}.\end{aligned} \hspace{\stretch{1}}(3.36)

Our velocity is

\begin{aligned}u = \frac{G}{2 \mu} (h^2 - y^2) - \frac{U}{2 h} y -\frac{U}{2}\end{aligned} \hspace{\stretch{1}}(3.37)

or rearranged a bit

\begin{aligned}\boxed{u(y) = \frac{G}{2 \mu} (h^2 - y^2) - \frac{U}{2} \left( 1 + \frac{y}{h} \right)}\end{aligned} \hspace{\stretch{1}}(3.38)

\item Draw the velocity profile with the direction of the flow of the fluid when U = 0, G \ne 0.

Answer

With U = 0 our velocity has a simple parabolic profile with a max of \frac{G}{2 \mu} (h^2 - y^2) at y = 0

\begin{aligned}u(y) = \frac{G}{2 \mu} (h^2 - y^2).\end{aligned} \hspace{\stretch{1}}(3.39)

This is plotted in figure (\ref{fig:continuumMidtermReflection:continuumMidtermReflectionFig3})
\begin{figure}[htp]
\centering
\includegraphics[totalheight=0.2\textheight]{continuumMidtermReflectionFig3}
\caption{Parabolic velocity profile.}
\end{figure}

\item Draw the velocity profile with the direction of the flow of the fluid when G = 0, U \ne 0.

Answer

With G = 0, we have a plain old shear flow

\begin{aligned}u(y) = - \frac{U}{2} \left( 1 + \frac{y}{h} \right).\end{aligned} \hspace{\stretch{1}}(3.40)

This is linear with minimum velocity u = 0 at y = -h, and a maximum of -U at y = h. This is plotted in figure (\ref{fig:continuumMidtermReflection:continuumMidtermReflectionFig4})
\begin{figure}[htp]
\centering
\includegraphics[totalheight=0.2\textheight]{continuumMidtermReflectionFig4}
\caption{Shear flow.}
\end{figure}

\item Using linear superposition draw the velocity profile of the fluid with the direction of flow qualitatively when U \ne 0, G \ne 0. (i) low U, (ii) large U.
Exam time management note. Somehow I missed this question when I wrote the exam … I figured this out right at the end when I’d run out of time by being too verbose elsewhere. I’m really not very good at writing exams in tight time constraints anymore.

Answer

For low U we’ll let the parabolic dominate, and can graphically add these two as in figure (\ref{fig:continuumMidtermReflection:continuumMidtermReflectionFig5})
\begin{figure}[htp]
\centering
\includegraphics[totalheight=0.2\textheight]{continuumMidtermReflectionFig5}
\caption{Superposition of shear and parabolic flow (low U)}
\end{figure}
For high U, we’ll let the shear flow dominate, and have plotted this in figure (\ref{fig:continuumMidtermReflection:continuumMidtermReflectionFig6})
\begin{figure}[htp]
\centering
\includegraphics[totalheight=0.2\textheight]{continuumMidtermReflectionFig6}
\caption{Superposition of shear and parabolic flow (high U)}
\end{figure}

\item Calculate the maximum speed when U \ne 0, G \ne 0.
Answer

Since our acceleration is

\begin{aligned}\frac{du}{dy} = -\frac{G}{\mu} y - \frac{U}{2 h}\end{aligned} \hspace{\stretch{1}}(3.41)

our extreme values occur at

\begin{aligned}y_m = -\frac{U \mu}{2 h G}.\end{aligned} \hspace{\stretch{1}}(3.42)

At this point, our velocity is

\begin{aligned}u(y_m) &= \frac{G}{2 \mu} \left(h^2 - \left( \frac{U \mu}{2 h G} \right)^2\right) - \frac{U}{2} \left( 1 -\frac{U \mu}{2 h^2 G}\right) \\ &=\frac{G h^2}{2 \mu} -\frac{U}{2}+ \frac{U^2 \mu}{4 h^2 G} \left(1 -\frac{1}{{2}}\right)\end{aligned}

or just

\begin{aligned}u_{\text{max}} = \frac{G h^2}{2 \mu} -\frac{U}{2} + \frac{U^2 \mu}{8 h^2 G}.\end{aligned} \hspace{\stretch{1}}(3.43)

\item Calculate the flux (the volume flow rate) when U \ne 0, G \ne 0.
Answer

An element of our volume flux is

\begin{aligned}\frac{dV}{dt} = dy dz \mathbf{u} \cdot \hat{\mathbf{x}}\end{aligned} \hspace{\stretch{1}}(3.44)

Looking at the volume flux through the width \Delta z is then

\begin{aligned}\text{Flux} &= \int_0^{\Delta z} dz \int_{-h}^h dy u(y) \\ &= \Delta z \int_{-h}^h dy \frac{G}{2 \mu} (h^2 - y^2) - \frac{U}{2} \left( 1 + \frac{y}{h} \right) \\ &= \Delta z \int_{-h}^h dy \frac{G}{2 \mu} \left(h^2 y - \frac{1}{{3}} y^3 \right) - \frac{U}{2} \left( y + \frac{y^2}{2 h} \right) \\ &= \Delta z \left( \frac{2 G h^3}{3 \mu} - U h \right)\end{aligned}

\item Calculate the mean speed when U \ne 0, G \ne 0.
Answer

Exam time management note. I squandered too much time on other stuff and didn’t get to this part of the problem (which was unfortunately worth a lot). This is how I think it should have been answered.

We’ve done most of the work above, and just have to divide the flux by 2 h \Delta z. That is

\begin{aligned}\left\langle{{u}}\right\rangle = \frac{G h^2}{3 \mu} - \frac{U}{2}.\end{aligned} \hspace{\stretch{1}}(3.45)

\item Calculate the tangential force (per unit width) F_x on the strip 0 \le x \le L of the wall y = -h when U \ne 0, G \ne 0.
Answer

Our traction vector is

\begin{aligned}T_1 &= \sigma_{1j} n_j \\ &= \left( -p \delta_{1j} + 2 \mu e_{1j} \right) \delta_{2j} \\ &= 2 \mu e_{12} \\ &= \mu \left( \frac{\partial {u}}{\partial {y}}+\not{{\frac{\partial {v}}{\partial {x}}}}\right)\end{aligned}

So the \hat{\mathbf{x}} directed component of the traction vector is just

\begin{aligned}T_1 = \mu \frac{\partial {u}}{\partial {y}}.\end{aligned} \hspace{\stretch{1}}(3.46)

We’ve calculated that derivative above in 3.41, so we have

\begin{aligned}T_1 &= \mu \left( -\frac{G}{\mu} y - \frac{U}{2 h} \right) \\ &= - G y - \frac{U \mu}{2 h} \end{aligned}

so at y = -h we have

\begin{aligned}T_1(-h) = G h - \frac{U \mu}{2 h}.\end{aligned} \hspace{\stretch{1}}(3.47)

To see the contribution of this force on the lower wall over an interval of length L we integrate, but this amounts to just multiplying by the length of the segment of the wall

\begin{aligned}\int_0^L T_1(-h) dx = \left( G h - \frac{U \mu}{2 h} \right) L.\end{aligned} \hspace{\stretch{1}}(3.48)

\end{itemize}

References

[1] Wikipedia. Newtonian fluid — wikipedia, the free encyclopedia [online]. 2011. [Online; accessed 17-March-2012]. http://en.wikipedia.org/w/index.php?title=Newtonian_fluid&oldid=460346447.

[2] Wikipedia. Non-newtonian fluid — wikipedia, the free encyclopedia [online]. 2012. [Online; accessed 17-March-2012]. http://en.wikipedia.org/w/index.php?title=Non-Newtonian_fluid&oldid=479813690.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: