Question:

A velocity field in Cartesian coordinate system is expressed as
\[ \mathbf{v} = x\,\hat{i} + y\,\hat{j} + p(z)\,\hat{k}, \quad \text{where } p(0)=0. \] If div $\mathbf{v} = 0$, $p(z)$ is

Show Hint

For divergence-free flows, the sum of the partial derivatives of the velocity components must be zero.
Updated On: Dec 17, 2025
  • 0
  • $-2z$
  • 2
  • $2z$
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

The divergence of the velocity field is:
\[ \nabla \cdot \mathbf{v} = \frac{\partial x}{\partial x} + \frac{\partial y}{\partial y} + \frac{d p(z)}{d z} = 1 + 1 + p'(z) \] Given $\nabla \cdot \mathbf{v} = 0$:
\[ 1 + 1 + p'(z) = 0 \] \[ p'(z) = -2 \] Integrating:
\[ p(z) = -2z + C \] Given $p(0) = 0$:
\[ C = 0 \] So,
\[ p(z) = -2z. \] Final Answer: $p(z) = -2z$
Was this answer helpful?
0
0

Questions Asked in GATE MN exam

View More Questions