← 2023 Paper 2

UPSC 2023 Maths Optional Paper 2 Q8c — Step-by-Step Solution

20 marks · Section B

Navier-Stokes equation for a viscous fluid · Mechanics & Fluid Dynamics · asked 4× in 14 yrs · Read the full method →

Question

Determine under what conditions the velocity field u=c(x2−y2), v=−2cxy, w=0u=c(x^2-y^2),\,v=-2cxy,\,w=0 is a solution to the Navier-Stokes momentum equations. Assuming that the conditions are met, determine the resulting pressure distribution, when zz is up and the external body forces are Bx=0=By, Bz=−gB_x=0=B_y,\,B_z=-g.

Technique

Substitute into continuity (passes); compute Laplacian (vanishes, so flow is harmonic); integrate the three pressure derivatives subject to compatibility.

Solution

Step 1 — Continuity (incompressibility check)

For an incompressible Newtonian fluid, ∇⋅V⃗=0\nabla\cdot\vec V=0:

ux+vy+wz=2cx+(−2cx)+0=0✓.u_x+v_y+w_z=2cx+(-2cx)+0=0\quad\checkmark.

So the flow is automatically incompressible — no condition on the parameters is needed for continuity.

Step 2 — Convective acceleration

u ux+v uy+w uz=c(x2−y2)(2cx)+(−2cxy)(−2cy)+0=2c2x(x2−y2)+4c2xy2=2c2x(x2+y2),u\,u_x+v\,u_y+w\,u_z=c(x^{2}-y^{2})(2cx)+(-2cxy)(-2cy)+0=2c^{2}x(x^{2}-y^{2})+4c^{2}xy^{2}=2c^{2}x(x^{2}+y^{2}), u vx+v vy+w vz=c(x2−y2)(−2cy)+(−2cxy)(−2cx)+0=−2c2y(x2−y2)+4c2x2y=2c2y(x2+y2),u\,v_x+v\,v_y+w\,v_z=c(x^{2}-y^{2})(-2cy)+(-2cxy)(-2cx)+0=-2c^{2}y(x^{2}-y^{2})+4c^{2}x^{2}y=2c^{2}y(x^{2}+y^{2}), u wx+v wy+w wz=0.u\,w_x+v\,w_y+w\,w_z=0.

Step 3 — Viscous (Laplacian) terms

∇2u=uxx+uyy+uzz=2c+(−2c)+0=0,\nabla^{2}u=u_{xx}+u_{yy}+u_{zz}=2c+(-2c)+0=0, ∇2v=vxx+vyy+vzz=0+0+0=0,∇2w=0.\nabla^{2}v=v_{xx}+v_{yy}+v_{zz}=0+0+0=0,\quad \nabla^{2}w=0.

Each velocity component is harmonic — viscous stresses vanish identically. This means the NS equations reduce to Euler form:

ρ (V⃗⋅∇)V⃗=−∇p+ρB⃗.\rho\,(\vec V\cdot\nabla)\vec V=-\nabla p+\rho\vec B.

Step 4 — Conditions for being an NS solution

Substituting into the three momentum equations (steady, ∂t=0\partial_t=0):

ComponentNS equation⇒\Rightarrow
xxρ⋅2c2x(x2+y2)=−px\rho\cdot 2c^{2}x(x^{2}+y^{2})=-p_xpx=−2ρc2x(x2+y2)p_x=-2\rho c^{2}x(x^{2}+y^{2})
yyρ⋅2c2y(x2+y2)=−py\rho\cdot 2c^{2}y(x^{2}+y^{2})=-p_ypy=−2ρc2y(x2+y2)p_y=-2\rho c^{2}y(x^{2}+y^{2})
zz0=−pz−ρg0=-p_z-\rho gpz=−ρgp_z=-\rho g

The compatibility (mixed-partials) conditions on pp:

∂ypx=−4ρc2xy=∂xpy  ✓,\partial_y p_x=-4\rho c^{2}xy=\partial_x p_y\;\checkmark, ∂zpx=0=∂xpz  ✓,∂zpy=0=∂ypz  ✓.\partial_z p_x=0=\partial_x p_z\;\checkmark,\quad \partial_z p_y=0=\partial_y p_z\;\checkmark.

All consistent. So the velocity field is a Navier-Stokes solution for any constant cc and any (positive) viscosity μ\mu — the only required condition is the fluid be incompressible (which is satisfied) and the integrability of ∇p\nabla p holds (also satisfied).

  Condition: ∇⋅V⃗=0 (incompressible) — already satisfied.  \boxed{\;\text{Condition: } \nabla\cdot\vec V=0\text{ (incompressible)} \text{ — already satisfied.}\;}

(Equivalently: the flow is irrotational and harmonic, so viscous terms vanish and NS reduces to Euler with Bernoulli.)

Step 5 — Integrate for the pressure

Integrate pxp_x in xx keeping y,zy,z fixed:

p=−2ρc2 ⁣∫x(x2+y2) dx+h(y,z)=−2ρc2 ⁣(x44+x2y22)+h(y,z)=−ρc2 ⁣(x42+x2y2)+h(y,z).p=-2\rho c^{2}\!\int x(x^{2}+y^{2})\,dx+h(y,z)=-2\rho c^{2}\!\left(\frac{x^{4}}{4}+\frac{x^{2}y^{2}}{2}\right)+h(y,z)=-\rho c^{2}\!\left(\tfrac{x^{4}}{2}+x^{2}y^{2}\right)+h(y,z).

Match pyp_y:   py=−2ρc2x2y+hy=!−2ρc2y(x2+y2)=−2ρc2x2y−2ρc2y3\;p_y=-2\rho c^{2}x^{2}y+h_y\stackrel{!}{=}-2\rho c^{2}y(x^{2}+y^{2})=-2\rho c^{2}x^{2}y-2\rho c^{2}y^{3}. So hy=−2ρc2y3  ⇒  h(y,z)=−ρc2y42+k(z)h_y=-2\rho c^{2}y^{3}\;\Rightarrow\;h(y,z)=-\tfrac{\rho c^{2}y^{4}}{2}+k(z).

Match pzp_z:   k′(z)=−ρg  ⇒  k(z)=−ρgz+const\;k'(z)=-\rho g\;\Rightarrow\;k(z)=-\rho g z+\text{const}.

Collecting:

p=−ρc2 ⁣(x42+x2y2+y42)−ρgz+C=−ρc22(x2+y2)2−ρgz+C.p=-\rho c^{2}\!\left(\tfrac{x^{4}}{2}+x^{2}y^{2}+\tfrac{y^{4}}{2}\right)-\rho g z+C=-\tfrac{\rho c^{2}}{2}(x^{2}+y^{2})^{2}-\rho g z+C.

Step 6 — Bernoulli form

The speed of the flow:

∣V⃗∣2=u2+v2=c2(x2−y2)2+4c2x2y2=c2[(x2−y2)2+4x2y2]=c2(x2+y2)2.|\vec V|^{2}=u^{2}+v^{2}=c^{2}(x^{2}-y^{2})^{2}+4c^{2}x^{2}y^{2}=c^{2}\bigl[(x^{2}-y^{2})^{2}+4x^{2}y^{2}\bigr]=c^{2}(x^{2}+y^{2})^{2}.

So the pressure can be written

Answer

  p(x,y,z)=p0−12ρ∣V⃗∣2−ρgz,  \boxed{\;p(x,y,z)=p_0-\tfrac{1}{2}\rho|\vec V|^{2}-\rho g z,\;}
We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 14 years, mapped. Get the take-away PDF free.