Streamlines, pathlines, streaklines and the stream function
Streamlines, pathlines, streaklines and timelines in steady and unsteady flow, and the 2-D stream function with velocities, flow rate between streamlines and a worked unsteady example where all three lines differ.
Drafted with Aria, reviewed by the AiCanCode.org team. Spotted an error? Use Give Feedback at the bottom of the page.
Why it matters
Smoke in a wind tunnel, dye in a water channel and oil streaks on a wing all show flow lines, but which lines they show depends on how they were produced. Knowing whether you are looking at streamlines, pathlines or streaklines prevents misreading unsteady flows such as vortex shedding. The stream function turns a two-dimensional incompressible flow into a single scalar from which velocities, streamline shapes and volume flow rates follow directly, and it is the basis of potential-flow aerodynamics.
Key ideas
Streamline. A curve that is everywhere tangent to the instantaneous velocity vector. It is a snapshot at one instant. Consequences: there is no flow across a streamline, two streamlines cannot cross (except at stagnation points where V = 0), and a solid wall is itself a streamline. A bundle of streamlines forms a stream tube, which behaves like a pipe with no flow through its walls.
Pathline. The actual trajectory traced by one fluid particle over time (Lagrangian). Found by integrating dr/dt = V(r, t) from the particle's starting point.
Streakline. The locus, at a given instant, of all particles that have passed through one fixed point earlier. Continuous injection of smoke or dye from a nozzle produces a streakline.
Timeline. A line of particles marked at the same instant (e.g. a row of hydrogen bubbles) and then watched as it deforms; it shows velocity profiles.
Steady versus unsteady. In steady flow the velocity field does not change, so a particle keeps moving along the same streamline, and streamlines, pathlines and streaklines through a point all coincide. In unsteady flow they are generally different, which is why smoke pictures of an unsteady wake must be interpreted with care.
Stream function ψ. For two-dimensional incompressible flow, continuity ∂u/∂x + ∂v/∂y = 0 is satisfied identically if u = ∂ψ/∂y and v = −∂ψ/∂x. Properties:
- ψ is constant along a streamline, so lines of constant ψ are the streamlines.
- The volume flow rate per unit depth between two streamlines equals the difference of their ψ values.
- Any differentiable ψ gives an incompressible flow; it need not be irrotational. If the flow is also irrotational, ψ satisfies Laplace's equation ∇²ψ = 0.
- For compressible steady 2-D flow a density-weighted stream function is used instead (ρu = ρ₀∂ψ/∂y, ρv = −ρ₀∂ψ/∂x).
The sign convention matters: with u = ∂ψ/∂y and v = −∂ψ/∂x, ψ increases to the left when you look downstream. Some books use the opposite sign; be consistent with the given definition.
Formulas
dx/u = dy/v = dz/w
- Streamline equation at a fixed instant t (u, v, w in m/s).
dx/dt = u(x,y,z,t), dy/dt = v(x,y,z,t), dz/dt = w(x,y,z,t)
- Pathline equations, integrated from the particle's initial position.
u = ∂ψ/∂y, v = −∂ψ/∂x
- ψ: stream function (m²/s); 2-D incompressible flow in Cartesian coordinates.
u_r = (1/r)·∂ψ/∂θ, u_θ = −∂ψ/∂r
- Polar form (r in m, θ in rad).
q = ψ₂ − ψ₁
- q: volume flow rate per unit depth between the two streamlines (m²/s, i.e. m³/s per metre of depth).
∇²ψ = ∂²ψ/∂x² + ∂²ψ/∂y² = −ω_z
- ω_z: vorticity (s⁻¹). ∇²ψ = 0 only for irrotational flow.
Uniform flow: ψ = U·y = U·r·sinθ.
Worked examples
Example 1 (standard): velocities and flow rate from ψ. Given: ψ = 3xy (m²/s, x and y in m). Find the velocity at (2, 3) and the flow rate between the streamlines through (1, 1) and (2, 3).
u = ∂ψ/∂y= 3x = 6 m/s at (2, 3).v = −∂ψ/∂x= −3y = −9 m/s at (2, 3).- Speed = √(6² + 9²) = 10.8 m/s.
- ψ at (1, 1) = 3; ψ at (2, 3) = 18.
q = ψ₂ − ψ₁= 18 − 3 = 15 m²/s. Answer: V = 6i − 9j m/s; q = 15 m³/s per metre depth. Streamlines are the hyperbolas xy = constant (flow into a corner).
Example 2 (GATE level): three different lines in unsteady flow. Given: u = 1 m/s, v = t m/s (uniform in space, changing with time). Find, through the origin, the streamline at t = 2 s, the pathline of the particle at the origin at t = 0, and the streakline at t = 2 s.
- Streamline at t = 2 s:
dy/dx = v/u= 2, so y = 2x (a straight line). - Pathline: dx/dt = 1 gives x = t; dy/dt = t gives y = t²/2. Eliminating t: y = x²/2 (a parabola).
- Streakline: a particle released from the origin at time τ is at x = 2 − τ, y = (2² − τ²)/2 at t = 2. Put s = 2 − τ (so x = s): y = (4 − (2 − s)²)/2 = 2s − s²/2. So y = 2x − x²/2 for 0 ≤ x ≤ 2. All three differ, as expected in unsteady flow. Check at x = 1: streamline y = 2, pathline y = 0.5, streakline y = 1.5.
Example 3: streamline shape. For u = x, v = −y: dx/x = dy/(−y) gives ln x = −ln y + C, so xy = C, the same corner flow as Example 1.
Common mistakes
- Saying streamlines, pathlines and streaklines are always the same. That is true only in steady flow.
- Sign errors in v = −∂ψ/∂x; dropping the minus sign reverses the flow direction in y.
- Using the stream function for 3-D or compressible flow without modification.
- Assuming every stream function describes irrotational flow. Check ∇²ψ = 0 first.
- Forgetting that ψ₂ − ψ₁ is a flow rate per unit depth, not a velocity.
- Using u = ∂ψ/∂x by mistake (that is the velocity potential relation, u = ∂φ/∂x).
For GATE AE
Expect: given ψ, find u, v or the speed at a point; check whether a ψ satisfies continuity or irrotationality; find the flow rate between two streamlines; derive a streamline equation from a velocity field; and conceptual questions on when streamlines, pathlines and streaklines coincide. Practise partial derivatives with the sign convention and the polar form for flows around cylinders.
Quick check
- ψ = 5xy². What is u at (3, 1)?
- What is the flow rate per unit depth between ψ = 2 m²/s and ψ = 7 m²/s?
- In steady flow, do pathlines and streaklines coincide?
- Can two streamlines cross at a point where the velocity is non-zero?
Answers: 1. u = ∂ψ/∂y = 10xy = 30 m/s 2. 5 m²/s 3. Yes 4. No
Interview questions
All Fluid Mechanics interview questionsTry answering each one aloud before you open it.
1.What is a streamline in fluid mechanics?Concept
A streamline is a line that is tangent to the velocity vector of the flow at every point. It represents the path that a fluid element will follow in a steady flow. In a streamline, the fluid velocity is always tangent to the line, meaning there is no flow across a streamline.
2.Explain the difference between streamlines, pathlines, and streaklines.Concept
Streamlines are lines that are tangent to the velocity vector of the flow at every point at a given instant. Pathlines are the actual paths followed by individual fluid particles over time. Streaklines are lines that represent the locus of particles that have passed sequentially through a particular point in the flow. In steady flow, all three are identical, but they differ in unsteady flow.
3.What is the stream function, and how is it used in fluid mechanics?Concept
The stream function is a scalar function used to describe two-dimensional, incompressible flow. It is defined such that its partial derivatives give the velocity components of the flow. The stream function is useful because it automatically satisfies the continuity equation for incompressible flow, simplifying the analysis of fluid motion.
4.Why are streamlines important in the analysis of fluid flow?Application
Streamlines are important because they help visualize the flow pattern and understand the behavior of the fluid. They indicate the direction of the fluid velocity at every point and help identify regions of high and low velocity. Streamlines also help in analyzing the forces acting on bodies immersed in the flow and in designing efficient fluid systems.
5.What happens to streamlines when a fluid flows around an obstacle?Application
When a fluid flows around an obstacle, the streamlines are deflected around the object. The streamlines converge in regions of high velocity and diverge in regions of low velocity. This deflection creates a pressure difference around the obstacle, which can lead to lift and drag forces acting on the object.
6.How can the stream function be used to determine the velocity field in a flow?Application
In a two-dimensional incompressible flow, the velocity components can be determined from the stream function ψ. The velocity component u in the x-direction is given by the partial derivative of ψ with respect to y, and the velocity component v in the y-direction is given by the negative partial derivative of ψ with respect to x. This allows for the determination of the velocity field from the stream function.
7.If the stream function ψ = 3x² - 2y², find the velocity components u and v.Numerical
To find the velocity components, use the relations: u = ∂ψ/∂y and v = -∂ψ/∂x. For ψ = 3x² - 2y², ∂ψ/∂y = -4y, so u = -4y. ∂ψ/∂x = 6x, so v = -6x. Therefore, the velocity components are u = -4y and v = -6x.
8.Describe a scenario where pathlines and streaklines would differ significantly.Application
Pathlines and streaklines differ significantly in unsteady flow conditions. For example, in a flow where the velocity changes with time, such as in a pulsating flow, the path followed by individual particles (pathlines) will differ from the line formed by particles passing through a fixed point (streaklines). This is because the velocity changes affect the trajectory of individual particles differently over time.
9.How does the concept of streamlines help in the design of aerodynamic shapes?Application
Streamlines help in designing aerodynamic shapes by indicating how the fluid will flow around the object. By analyzing streamline patterns, engineers can design shapes that minimize drag and maximize lift. Streamlines help identify areas of flow separation and turbulence, allowing for modifications to improve performance and efficiency.
10.Given a velocity field where u = 2y and v = -2x, determine if the flow is irrotational.Numerical
A flow is irrotational if the curl of the velocity field is zero. The curl in two dimensions is given by ∂v/∂x - ∂u/∂y. For u = 2y and v = -2x, ∂v/∂x = -2 and ∂u/∂y = 2. Therefore, the curl is -2 - 2 = -4, which is not zero. Hence, the flow is not irrotational.
Finished this topic? Mark it so your progress, study plan and readiness keep up.
Stuck on something here?