In fluid dynamics, two types of stream function (or streamfunction) are defined:
The properties of stream functions make them useful for analyzing and graphically illustrating flows.
The remainder of this article describes the two-dimensional stream function.