4.1 Conservation Equations#
Lecture 3.3 and 4.1
Saskia Goes, s.goes@imperial.ac.uk
Table of Contents#
Learning Objectives#
Learn main conservation equations used in continuum mechanics modelling and understand what different terms in these equations represent
Be able to solve conservation equations for basic analytical solutions given boundary/initial conditions.
Continuum Mechanics Equations#
General:
Kinematics – describing deformation and velocity without considering forces
Dynamics – equations that describe force balance, conservation of linear and angular momentum
Thermodynamics – relations temperature, heat flux, stress, entropy
Material Specific:
Constitutive equations - relations describing how material properties vary as a function of temperature, pressure, stress, and possibly other state parameters. Such material properties govern dynamics (e.g. density), response to stress (viscosity, elastic parameters), and heat transport (thermal conductivity, diffusivity)
Conservation of Mass#
Describes that no material lost during flow or deformation
Material-in balances material-out
Need to take into account any potential changes in density (e.g. due to changes in temperature, pressure, phase)
2-D Incompressible Continuity Equation#
Let’s illustrate the conservation of mass for a case where material is incompressible, i.e. density \(\rho\) is constant. In this case it is sufficient to conserve the volume of material.
Consider a small volume of material with dimensions \(\delta x\) by \(\delta y\)
The flux of material flowing in in \(x\) direction = \( v_x \delta y\)
The flux of material flowing out in \(x\) direction = \( (v_x +\frac{\partial{v_x}}{\partial x})\delta y\)
Here we use a continuum formulation by expressing the velocity on the left-hand side of the volume in terms of the velocity on the right-hand side plus a change described by the velocity gradient field.
The net flux of material in \(x\) direction is then equal to \( (\frac{\partial{v_x}}{\partial x})\delta y\)
Similarly, the influx of material in \(y\) direction = \( v_y \delta x\)
And outflux in \(y\) direction = \( (v_y +\frac{\partial{v_y}}{\partial y})\delta x\)
The net flux of material in \(y\) direction is then equal to \( (\frac{\partial{v_y}}{\partial y})\delta x\)
If mass is conserved the net flow has to equal zero, i.e.:
Total net flow per unit area (i.e. divided by the volume area \(\delta x \delta y\)) should satisfy:
General conservation of mass equation#
In the expression above, you probably recognise the divergence of velocity. The continuity equation for incompressible material can be generalised to 3-D by writing it as a vector equation:
If density is not constant then it is not sufficient to conserve volume, but full mass needs to be considered. Lets do this for an infinitesimal volume \(dV\):
This can be written as:
where the first term describes the changes in density and the second in volume.
Per unit volume (i.e. dividing by \(dV\)), we can write this as:
In spatial description:
where the first term describes the changes in time of density \(\rho\) and the second term change in density by advection of density.
Putting this expression in the equation above yields the general conservation of mass equation in vector form:
Conservation of Momentum#
Linear force balance = Newton’s second law, \(\mathbf{F}=m\mathbf{a}\)
Relates force \(\mathbf{F}\) to motion, acceleration \(\mathbf{a}\). Hence also called “equation of motion”
Conservation angular momentum assumed in symmetry of stress tensor
We can use the stress tensor to write a balance of forces in 3-D for a small volume with dimensions \(\Delta x_1\) by \(\Delta x_2\) by \(\Delta x_3\)
Let’s start with a balance of forces in \(x_1\) direction:
Body force = \(f_1 ~ \Delta x_1 ~ \Delta x_2 ~\Delta x_3\) , where \(f\) is force per unit volume.
The net force due to stress in \(x_1\) direction on planes with normal in \(x_1\) direction (written in continuum form, using stress gradients) equals:
Similarly, we can write stress in \(x_1\) direction on planes with normal in \(x_2\) direction, and on planes with normal in \(x_3\) direction:
The total forces have to balance mass times acceleration in \(x_1\) direction:
Dividing by the volume, gives the following force balance per unit volume:
General Conservation of Momentum#
Generalising the previous result to all directions using index (and Einstein) notation yields:
Or in vector notation:
Practise#
Do \(\color{blue}{\textbf{exercises 1, 2}}\)
Thermodynamics: Conservation of Energy#
First law of thermodynamics
Preservation of energy, i.e any change in kinetic or internal energy is balanced by work done and heat used/produced
Where:
\(K\) - kinetic energy
\(U\) - internal energy
\(W\) - net power input
\(Q\) - net heat input
Let’s start with the form that describes preservation of thermal energy, in 2-D
Fourier’s Law for conduction#
Heat flux, q, = heat/area = energy/time/area, unit: \(J/s/m^2\) = \(W/m^2\)
Heat flux proportional to temperature gradient
Minus sign because heat flows from hot to cold
Constant of proportionality: thermal conductivity, \(k\), unit: \(W/m/K\)
1-D Steady State Conduction#
net heat flow per unit area per unit time:
heat produced = \(\rho H \delta x = A \delta x\)
\(H\) - heat production rate per unit mass (\(W/kg\))
\(A\) - heat production per unit volume (\(W/m^3\))
2-D Energy Equation#
Spatial, constant \(\mathit{\rho}\), \(\mathit{C_P}\), k, incompressible, no heat sources
Change in heat content:
Advection:
simplifies by conservation of mass
Conduction:
Bringing it all together
Energy Equation#
Material derivative internal heat
Allowing for spatial variations of material parameters
Heat input
\(\nabla \cdot k \nabla T\) - Conduction,
\(A\) - Internal heat production
Work done
Change in motion (kinetic energy) and internal deformation
Net effect of \(W - \frac{DK}{Dt}\) becomes \(\mathbf{\sigma : D}\), where \(\mathbf{D}\) is strain rate
Conservation of heat#
\(D (\rho C_P T)/Dt\) - Change in temperature with time
\(\nabla \cdot k \nabla T\) - Heat transfer by conduction (and radiation)
\(A\) - heat production (including latent heat)
\(\boldsymbol{\sigma}:\mathbf{D}\) - heat generated by internal deformation
\(\alpha T\mathbf{v} \cdot \nabla P\) - heat generated by adiabatic compression
\(....\) - Other heat sources, e.g. latent heat
Summary Conservation Equations#
Conservation of mass
Kinematics
Conservation of momentum
Dynamics
Newton’s second law:
$\( \rho \frac{D\mathbf{v}}{Dt} = \nabla \cdot \boldsymbol{\sigma} + \mathbf{f} \)$
plus a condition for angular momentum: $\( \boldsymbol{\sigma} = \boldsymbol{\sigma}^T \)$
Conservation of energy
First law of thermodynamics
Entropy inequality
Which law is this?
Rate of entropy increase of a particle \(\geq\) entropy supply
1-D advection-diffusion solution#
Take \(f(z) = \frac{\partial T}{\partial z}\) and \(c = \frac{v_z}{\kappa}\)
Then \(\frac{\partial f}{\partial z} = -cf(z)\), which yields \(f(z) = f(0) e^{-cz}\)
i.e. $\(\frac{\partial T}{\partial z}(z) = A e^{-v_z z/ \kappa}\)\(, \)\(T(z) = B - \frac{A}{v_z / \kappa} e^{-v_z z/ \kappa}\)\( where \)A, B$ are integration constants
For constant temperature boundary conditions \(T(z=0) = 0\) and \(T(z=L) = T_L\)
\(\Rightarrow\)
Integration gives:
$\(T(z) = T_L \left[ \frac{1 - e^{-v_z z/ \kappa}}{1 - e^{-v_z L/ \kappa}}\right]\)$
What shape if diffusion dominates, if advection increases?
Peclet number, measure of relative importance advection/diffusion: \(Pe = \frac{v_z L}{\kappa} = \frac{[(m/s)m]}{[m^2 / s]}\)
Practise#
Use Exercise 3 to look at the shape of the solutions
Exercise 4 for afternoon workshop