# IV. Potential Flow Basics

## Potential Flow Basics

Potential flows are those flow situations were the flow is taken to be irrotational, such that the vorticity is zero throughout the flow field (except at possible singularity points). This allows the use of a scalar function, [latex]{\phi}[/latex], to describe the flow field through the definition:

[latex]\frac{\partial \phi }{\partial x_i}=u_i\tag{4.1}[/latex]

This equation defines each component of the velocity in terms of the local spatial partial derivative in the direction of the velocity component. As stated in chapter 2 this definition when inserted for velocity in the definition of the vorticity results in the identity that the vorticity is zero, hence irrotational flow.

### Continuity Equation

Before we get into describing flows with the velocity potential we introduce the continuity equation. This equation comes from conservation of mass as applied to a continuum of fluid that may be in motion. The basic derivation of the continuity equation is shown in Fig. (4.1). Imagine a three dimensional volume in space that for convenience is shaped as a cube. Each face can have mass flow across this geometric element. We are interesting in finding the constraints on the flow field that satisfies conservation of mass for flow in/out of this volume. The basic physics of the relationship that we start from is that no mass can be created or destroyed (thus is conserved) over time. So the net flow in minus the net flow out must be equal to the net change in mass within the volume.

Putting this idea in equation form where the mass flow rate across any specified area for a continuum is the density times the velocity normal to the area times the area. We apply this to the faces of the cube:

Net flow in [latex]{x{}_{1}}[/latex] (outflow minus inflow):

[latex]{\dot{m}}_{out,x_1}-{\dot{m}}_{in,x_1}=\left[\rho u_1dx_2dx_3+\left(\frac{\partial }{\partial x_1}\left(\rho u_1\right)dx_1\right)dx_2dx_3\right]-\left[\rho u_1dx_2dx_3\right]=\left(\frac{\partial }{\partial x_1}\left(\rho u_1\right)dx_1\right)dx_2dx_3\tag{4.2}[/latex]

This is repeated for the [latex]{x{}_{2}}[/latex] and [latex]{x{}_{3}}[/latex] direction where changes of density times velocity are with respect to [latex]\partial x_2 \mathrm{and}\ \partial x_3[/latex] respectively, and [latex]{u{}_{2}}[/latex] and [latex]{u{}_{3}}[/latex] are used for the velocity, respectively, while using the area [latex]{dx{}_{1}x{}_{3}}[/latex] and [latex]{d{}_{1}xdx{}_{2}}[/latex], respectively. Summing all three of these net flow rates results in a scalar representation of the difference between the outflow and inflow where all possible flow paths in and out are included. Reversing the sign (to make it inflow minus outflow) this must equal to the change of mass within the volume element, [latex]{dx{}_{1}dx{}_{2}dx{}_{3}}[/latex].

This is expressed as:

[latex]\frac{\partial (\rho )}{\partial t}dx_1dx_2dx_3=-\frac{\partial }{\partial x_1}\left(\rho u_1\right)dx_1dx_2dx_3-\frac{\partial }{\partial x_2}\left(\rho u_2\right)dx_1dx_2dx_3-\frac{\partial }{\partial x_3}\left(\rho u_3\right)dx_1dx_2dx_3[/latex]

or rearranging and dividing each term by [latex]dx_1dx_2dx_3[/latex]:

[latex]\frac{\partial (\rho )}{\partial t}+\frac{\partial }{\partial x_1}\left(\rho u_1\right)+\frac{\partial }{\partial x_2}\left(\rho u_2\right)+\frac{\partial }{\partial x_3}\left(\rho u_3\right)=0\tag{4.3}[/latex]

This is the continuity equation that must be satisfied to conserve mass. Notice that if the flow is steady the first term is zero. Also if the density is constant (incompressible) then the first term, or the partial derivative with respect to time, is zero, and density can be factored from each of the other terms and divided out of the equation. The result is:

[latex]\frac{\partial u_1}{\partial x_1}+\frac{\partial u_2}{\partial x_2}+\frac{\partial u_3}{\partial x_3}=0=\frac{\partial u_i}{\partial x_i}\tag{4.4}[/latex]

where in the last term there is summation by tensor notation. This is the reduced form of continuity for incompressible flow. Notice that this form does not require the flow be steady (even though the unsteady derivative of density is no longer included). The velocity may in fact vary with time.

If we now insert the definition of the velocity potential from Eqn. (4.1) for each of the velocity components in Eqn. (4.4) we end up with the following equation for [latex]{\phi}[/latex] for incompressible flow:

[latex]\frac{{\partial }^2\phi }{\partial {x_1}^2}+\frac{{\partial }^2\phi }{\partial {x_2}^2}+\frac{{\partial }^2\phi }{\partial {x_3}^2}=0\tag{4.5}[/latex]

This equation is the Laplace operation on the scalar velocity potential, [latex]{\phi}[/latex], and represents continuity (or conservation of mass) for an incompressible flow.

Before moving on we write the continuity equation using the Material Derivative from chapter 2. We combine the time derivative of density with the other three terms but notice that there is a difference in the three spatial derivative terms from those found in the Material Derivative, the velocity is included in the derivative in continuity. So if each of these terms is expanded,

[latex]\frac{\partial \left({\rho u}_i\right)}{\partial x_i}=\rho \frac{\partial \left(u_i\right)}{\partial x_i}+u_i\frac{\partial \left(\rho \right)}{\partial x_i}[/latex]

The we see that:

[latex]\frac{D\rho }{Dt}+\rho \frac{\partial \left(u_i\right)}{\partial x_i}=0[/latex]

And if the density is [latex]y[/latex] constant we obtain Eqn. (4.4) as expected.

## Streamfunction

We now introduce the streamfunction, [latex]{\psi}[/latex]. This is a scalar quantity as is the velocity potential. For simplicity we will do this in two dimensions, but it is valid in three dimensions as well. Recall we defined a streamline coordinate system ([latex]{s,n}[/latex]) where s is aligned with the velocity vector. In general, for a time dependent flow the streamlines will be continually changing instant by instant. Within a coordinate system (say Cartesian or cylindrical or spherical) the streamline has an equation that can be written out in the selected coordinate system. The equation of this line can be represented by a streamfunction value. This is done as follows.

Consider a line that represents the instantaneous streamline within a flow. In Cartesian coordinates we can write the following for this line where we assume that there is some constant value [latex]\psi[/latex] associated with the equation for the line:

[latex]\psi =f(x_1,x_2)=\mathrm{constant}[/latex]

For [latex]\psi[/latex] being a constant small changes along a streamline we can write:

[latex]d\ \psi =0=\frac{\partial \psi }{\partial x_1}dx_1+\frac{\partial \psi }{\partial x_2}dx_2[/latex]

[latex]\frac{dx_2}{dx_1}=-\frac{\frac{\partial \psi }{\partial x_1}}{\frac{\partial \psi }{\partial x_2}}[/latex]

Since [latex]\frac{dx_2}{dx_1}[/latex] is the slope of the line representing the streamline and since the velocity vector is tangent to the streamline, and the slope of the velocity vector is the ratio of the [latex]{x{}_{2}}[/latex] to [latex]{x{}_{1}}[/latex] velocity components we write:

[latex]\frac{u_2}{u_1}=-\frac{\frac{\partial \psi }{\partial x_1}}{\frac{\partial \psi }{\partial x_2}}[/latex]

or we can write:

[latex]u_1=\frac{\partial \psi }{\partial x_2}\ \mathrm{and}\ u_2=-\frac{\partial \psi }{\partial x_1}\tag{4.6}[/latex]

Eqn. (4.6) represents the definition of the scalar [latex]\psi (x_1,x_2)[/latex] associated with each streamline. If we know expressions for the velocity components as a function of position then we can integrate Eqn. (4.6) to find the value of the streamfunction, [latex]\psi[/latex]. Similarly if we know the equation for the streamfunction then we can calculate the values of each velocity component through partial differentiation using Eqn. (4.6).

Let’s assume an incompressible flow so that the flow field follows the continuity equation given by Eqn. (4.4). Now insert for the derivatives of the velocities in terms of the derivatives of the streamfunction. The results is:

[latex]\frac{{\partial }^2\psi }{\partial x_1\partial x_2}-\frac{{\partial }^2\psi }{\partial x_1\partial x_2}=0[/latex]

This is an identity, in other words it is automatically true, so the existence of the streamfunction, by the given definition, automatically solves the continuity equation. Said another way, if the streamfunction exists by its definition of Eqn. (4.6) then the flow satisfies continuity for incompressible conditions.

It is possible to take a given velocity field and construct a number of streamlines. At any given point there is a velocity vector and therefor a streamline that passes through it. The only time there can be two or more streamlines passing through a given point (intersecting at some random angle) is if the magnitude of the velocity is zero. Then both partial derivatives of Eqn. (4.6) are zero and the slope is not defined. A stagnation point is such an intersection of streamlines, as shown in Fig. (4.2) for flow over a cylinder. The streamfunction can be continuous up to the stagnation point and beyond, say following the cylinder surface, but it divides at the stagnation point one branch going up and another going down. Stagnation points don’t have to be on surfaces they can be distributed within the flow field.

Streamfunctions are valuable in that they can provide information on local flow rate conditions within a flow field. In general the flow rate (mass or volume) is determined by the velocity vector and an area through which the flow occurs. That is to say, the velocity vector only provides flow rate through an area if there is velocity vector component normal to the area. For a given area we define an outward normal unit vector, [latex]\hat{n}[/latex] as shown in Fig. (4.3). The mass flow rate through the area “A” with this outward normal is given as:

[latex]\dot{m}=\rho \boldsymbol{V}\bullet \hat{n}A\tag{4.7}[/latex]

The reader should check the units for this equation. Notice that [latex]\boldsymbol{V}\cdot \hat{n}[/latex] is the dot product between the velocity and outward normal that results in a scalar whose value represents the projection of the velocity vector in the [latex]\hat{n}[/latex] direction. To obtain the volume flow rate, [latex]\dot{Q}[/latex] this expression is divided by mass per volume, or the density:

[latex]\dot{Q}=\boldsymbol{V}\bullet \hat{n}A\tag{4.8}[/latex]

[latex]\dot{m}=\rho\left(\boldsymbol {\overline{V}}\bullet \hat{n}\right)A[/latex]

Now consider a two dimensional steady flow with a streamline distribution as shown in Fig. (4.4). Since the velocity vector is tangent to each streamline there can be no flow across a streamline. Consequently, the flow that occurs between two streamlines must remain between those two streamlines along the flow direction. In other words, the flow rate between two streamlines remains constant. The value of the flow rate can be interpreted in terms of the change in the streamfunction value between the two streamlines. This is shown as follows.

Consider the two streamfunctions in Fig. (4.4), such that the difference is [latex]\Delta \psi ={\psi }_2-{\psi }_1[/latex]. Next draw, a control volume as shown in the figure, where flow can enter through two areas, [latex]{dx{}_{1}}[/latex] and [latex]{dx{}_{2}}[/latex] (this is two dimensional representation so there is a unit distance into the page). The volumetric flow rate per unit depth into the control volume must balance the volumetric flow rate per unit depth out of the control volume, [latex]\dot{Q}{'}[/latex].

[latex]\dot{Q}{'}= \int_{B}^{C}u_2 dx_1 + \int_{C}^{A}u_1 dx_2=-u_2\bigtriangleup x_1 + u_1\bigtriangleup x_2[/latex]

[latex]\dot{Q}{'}= \bigtriangleup\psi_{C-B}+\bigtriangleup\psi_{A-C}=\bigtriangleup\psi_{A-B}=\psi_2-\psi_1\tag{4.9}[/latex]

The reason there is a negative sign for [latex]u_2\Delta x_1[/latex]is that in determining the flow rate between points B and C we integrate along negative [latex]\Delta x_1[/latex] direction (or the change in [latex]\Delta x_1[/latex] is negative). Also we have used the definition of the streamfuction, Eqn. (4.7) to evaluate finite changes, on [latex]u_1=\bigtriangleup\psi/\bigtriangleup{x_2}[/latex] and [latex]u_2=-\bigtriangleup\psi/\bigtriangleup{x_1}[/latex]. The interpretation then is that the flow rate [latex]\dot{Q}{'}[/latex] is equivalent to the change in streamfunction value between two points within the flow.

Interestingly, one can use streamline maps to qualitatively and quantitatively evaluate the velocity field. Imagine a wind tunnel test in a two dimensional flow over, say, a wing, as in Fig. (4.5). Smoke dye is injected at discrete points upstream separated by some vertical distance between each streamline. The lines of smoke travel downstream and over the wing. As the flow goes over the wing some of the streamlines diverge and some converge (the distance of separation between streamlines changes). Since we have shown that there is constant flow rate between streamlines when the distance between streamlines gets smaller the area of the flow decreases, so the velocity must increase. As streamlines diverge the velocity must decrease. The relationship between cross sectional area and velocity is linear as shown in Eqn. (4.8). Measuring the change of distance between adjacent streamlines provides a measure of the amount of increase or decrease of velocity.

We now have a physical as well as mathematical interpretation for the streamfunction. Remember that this is a scalar field function representative of the local velocity. If we use the definition of streamfunction, Eqn. (4.7) and insert this into the definition of vorticity for a two dimensional flow in the [latex]x_1-x_2[/latex] plane we obtain the following:

[latex]{\omega }_3=\left(\frac{\partial u_2}{\partial x_1}-\frac{\partial u_1}{\partial x_2}\right)=\left(-\frac{\partial^2 \psi }{\partial {x_1}^2}-\frac{\partial^2 \psi }{\partial {x_2}^2}\right)=-\left(\frac{\partial^2 \psi }{\partial {x_1}^2}+\frac{\partial^2 \psi }{\partial {x_2}^2}\right)\tag{4.10}[/latex]

We see that the vorticity is equal to the negative of the Laplace of the streamfunction (Shown here in two dimensional flow, but is also the case in three dimensional flow). For [latex]{irrotational flow}[/latex] the vorticity is identically zero so:

[latex]\left(\frac{\partial^2 \psi}{\partial {x_1}^2}+\frac{\partial^2 \psi }{\partial {x_2}^2}\right)=0[/latex]

This shows that the Laplace of the streamfunction is zero for irrotational flow and follows the same results for the velocity potential for incompressible flow. So for irrotational, incompressible (ideal) flow the Laplace of both the velocity potential and streamfunction are equal to zero. This points to the ability to solve the Laplace equation for either of these quantities and from this solution determine the velocity field from the definitions of [latex]\psi[/latex] and [latex]\phi[/latex] in teams of the velocity. This will be the approach we take in the next chapter.

Since both [latex]\phi \mathrm{\ and}\ \psi[/latex] have the same functional form one might think that they are related to each other. We see this in comparing Eqns. (4.1) and (4.7), both are related to velocity derivatives. Notice that:

[latex]u_1=\frac{\partial \phi }{\partial x_1}=\frac{\partial \psi }{\partial x_2}\mathrm{\ and}\ u_2=\frac{\partial \phi }{\partial x_2}=-\frac{\partial \psi }{\partial x_1}[/latex]

The velocity is tangent to the constant streamfunction value, but the velocity is normal to the constant velocity potential value. Consequently lines of constant [latex]\phi[/latex] are normal to lines of constant [latex]\psi[/latex]. It is straight-forward to show that the slope of constant potential lines is [latex]-\frac{u_1}{u_2}[/latex] while the slope of constant streamfunction lines is [latex]\frac{u_2}{u_1}[/latex]. We will generate plots for specific flows in the next chapter to illustrate this, but shown in Fig. 4.6 is an illustration of the orthogonality of the velocity potential lines relative to the streamfunction lines. Velocity is always along the streamfunction line and normal to the potential lines.

In the table below, there are two dimensional expressions in cylindrical coordinates for the various mathematical representations presented here. Note that [latex]{v{}_{r}}[/latex] is the radial velocity component and [latex]{v{}_\theta}[/latex] is the circumferential velocity component. The vorticity only has a z component, as shown, all others are identically zero for a two dimensional flow in [latex]{{r},\Theta}[/latex].

### Cylindrical Coordinate Representation for Incompressible Flow

Continuity: [latex]\frac{\partial \left(rv_r\right)}{r\partial r}+\frac{\partial v_{\theta }}{r\partial \theta }=0[/latex]

Streamfunction: [latex]v_r=\frac{\partial \psi }{r\partial \theta }\ \ \ \ \ \ \ \ v_{\theta }=-\frac{\partial \psi }{\partial r}[/latex]

Vorticity: [latex]{\omega }_z=\left(\frac{\partial \left(rv_{\theta }\right)}{r\partial r}-\frac{\partial v_r}{r\partial \theta }\right)[/latex]

Velocity Potential: [latex]v_r=\frac{\partial \phi }{\partial r} v_{\theta }=\frac{\partial \phi }{r\partial \theta }[/latex]