UPSC Mathematics Optional · Paper II · Lagrangian Mechanics to Fluid Flow
For a system with \(n\) particles and \(k\) constraints: DOF \(= 3n-k\). Generalised coordinates \(q_1,\ldots,q_s\) parameterize the configuration space.
\[L = T - V\] (Lagrangian = kinetic − potential energy)
\[\frac{d}{dt}\frac{\partial L}{\partial \dot q_i}-\frac{\partial L}{\partial q_i}=Q_i\]
where \(Q_i\) = generalised force for non-conservative forces. For conservative systems: \(Q_i=0\).
Cyclic / ignorable coordinate: If \(\partial L/\partial q_i=0\), then \(\partial L/\partial\dot q_i=p_i=\text{const}\) (conserved generalised momentum).
Generalised momentum: \(p_i=\dfrac{\partial L}{\partial\dot q_i}\).
Hamiltonian: \(H=\sum_i p_i\dot q_i - L\). For conservative natural systems: \(H=T+V\) (total energy).
Hamilton's equations:
\[\dot q_i=\frac{\partial H}{\partial p_i},\qquad\dot p_i=-\frac{\partial H}{\partial q_i}\]
If \(H\) has no explicit time dependence: \(H=E=\text{const}\) (energy conservation).
\(\{f,g\}=\sum_i\left(\dfrac{\partial f}{\partial q_i}\dfrac{\partial g}{\partial p_i}-\dfrac{\partial f}{\partial p_i}\dfrac{\partial g}{\partial q_i}\right)\)
\(\dot f=\{f,H\}+\dfrac{\partial f}{\partial t}\). Conservation: \(\dot f=0\) iff \(\{f,H\}=0\) (and \(f\) not explicit in \(t\)).
Fundamental: \(\{q_i,p_j\}=\delta_{ij}\). \(\{q_i,q_j\}=0\). \(\{p_i,p_j\}=0\).
Coefficient of restitution \(e\in[0,1]\): \(\dfrac{\text{velocity of separation}}{\text{velocity of approach}}=e\).
Conservation of linear momentum: \(m_1u_1+m_2u_2=m_1v_1+m_2v_2\).
Loss of KE \(=\dfrac{m_1m_2(1-e^2)}{2(m_1+m_2)}(u_1-u_2)^2\). For \(e=1\): elastic (no loss). \(e=0\): perfectly inelastic.
Eulerian: velocity field \(\mathbf{v}(x,y,z,t)\) at fixed points.
Lagrangian: track individual fluid particles.
Material (substantial) derivative: \(\dfrac{D}{Dt}=\dfrac{\partial}{\partial t}+(\mathbf{v}\cdot\nabla)\) = rate of change following a fluid particle.
General (compressible): \(\dfrac{\partial\rho}{\partial t}+\nabla\cdot(\rho\mathbf{v})=0\)
Incompressible (\(\rho=\text{const}\)): \(\nabla\cdot\mathbf{v}=0\), i.e. \(\dfrac{\partial u}{\partial x}+\dfrac{\partial v}{\partial y}+\dfrac{\partial w}{\partial z}=0\).
2D incompressible: stream function \(\psi\) exists: \(u=\dfrac{\partial\psi}{\partial y}\), \(v=-\dfrac{\partial\psi}{\partial x}\).
\[\rho\frac{D\mathbf{v}}{Dt}=\rho\left[\frac{\partial\mathbf{v}}{\partial t}+(\mathbf{v}\cdot\nabla)\mathbf{v}\right]=-\nabla p+\rho\mathbf{F}\]
where \(\mathbf{F}\) = body force per unit mass (e.g. gravity \(\mathbf{g}\)).
For steady, inviscid, incompressible flow along a streamline:
\[p+\frac{1}{2}\rho v^2+\rho gz=\text{constant along streamline}\]
For irrotational flow: constant throughout entire fluid.
Unsteady form: \(\rho\dfrac{\partial\phi}{\partial t}+\dfrac{1}{2}\rho v^2+p+\rho gz=\text{const}\) where \(\phi\) = velocity potential.
For irrotational flow (\(\nabla\times\mathbf{v}=\mathbf{0}\)): \(\mathbf{v}=\nabla\phi\).
Incompressible + irrotational: \(\nabla^2\phi=0\) (Laplace equation).
Complex potential (2D): \(w=\phi+i\psi\) where \(\phi\)=velocity potential, \(\psi\)=stream function. \(w\) is an analytic function of \(z=x+iy\).
Complex velocity: \(\dfrac{dw}{dz}=u-iv\).
\(u=\phi_x=\psi_y\), \(v=\phi_y=-\psi_x\). Streamlines \(\psi=\text{const}\), equipotentials \(\phi=\text{const}\) are orthogonal families.
Uniform flow \(U\) past cylinder radius \(a\): \(w=U\left(z+\dfrac{a^2}{z}\right)\).
With circulation \(\kappa\): \(w=U\left(z+\dfrac{a^2}{z}\right)-\dfrac{i\kappa}{2\pi}\ln z\).
Blasius theorem: Force on body \(= \dfrac{1}{2}i\rho\oint\left(\dfrac{dw}{dz}\right)^2dz\).
Kutta-Joukowski: Lift \(L=\rho U\kappa\) (lift per unit span = density × velocity × circulation).
Vorticity: \(\boldsymbol\omega=\nabla\times\mathbf{v}\). Irrotational iff \(\boldsymbol\omega=0\).
Kelvin's Circulation Theorem: In inviscid, barotropic flow with conservative body forces, the circulation around any material loop is constant: \(\dfrac{D\Gamma}{Dt}=0\) where \(\Gamma=\oint_C\mathbf{v}\cdot d\mathbf{r}\).
Helmholtz's theorems: Vortex lines move with the fluid; circulation of a vortex tube is constant.
\[\rho\frac{D\mathbf{v}}{Dt}=-\nabla p+\mu\nabla^2\mathbf{v}+\rho\mathbf{F}\]
\(\mu\) = dynamic viscosity. \(\nu=\mu/\rho\) = kinematic viscosity.
Reynolds number: \(\text{Re}=\dfrac{\rho UL}{\mu}=\dfrac{UL}{\nu}\). Low Re: viscous (laminar); High Re: inertia dominant (turbulent).
Poiseuille flow (flow between parallel plates driven by pressure gradient):
\(u(y)=\dfrac{1}{2\mu}\dfrac{dp}{dx}(y^2-h^2)\). Parabolic profile. Volume flux \(Q=\dfrac{2h^3}{3\mu}\left|\dfrac{dp}{dx}\right|\).
Circular Poiseuille (Hagen-Poiseuille): \(u(r)=\dfrac{1}{4\mu}\left(-\dfrac{dp}{dz}\right)(R^2-r^2)\). \(Q=\dfrac{\pi R^4}{8\mu}\left(-\dfrac{dp}{dz}\right)\).
Couette flow (between moving plates, no pressure gradient): \(u(y)=U\dfrac{y}{h}\). Linear profile.
Drag force on sphere of radius \(a\) moving at velocity \(U\) in viscous fluid (low Re):
\(F=6\pi\mu aU\) (Stokes' drag formula).
Terminal velocity: \(F_{\text{drag}}+F_{\text{buoy}}=W\) → \(U_{\text{term}}=\dfrac{2a^2(\rho_s-\rho_f)g}{9\mu}\).