The concept of a stream function is predominantly used in fluid dynamics for analyzing flow patterns in two-dimensional flows. This function is particularly valuable for visualizing and solving problems involving incompressible flows, where the velocity field can be derived from the stream function. For a two-dimensional incompressible flow in the (x, y) plane, the stream function, ψ, is defined such that:
These relationships ensure that the continuity equation for incompressible flow is automatically satisfied, as the divergence of the velocity field is zero. Therefore, the correct context for the stream function is 2-D flows.