1 Introduction

In the interrogation analysis in particle image velocimetry (PIV) by means of a spatial correlation, it is generally assumed that the displacement field is uniform (Adrian 1988; Westerweel 1993, 1997; Olsen and Adrian 2001). However, PIV is applied to study the flow fields that are typically non-uniform, and therefore it has to be explained under what circumstances the displacement field can be considered to be uniform at the scale of the interrogation volume. In the preceding studies for the case of uniform displacement fields it was shown that the width of the displacement-correlation peak is proportional to the particle-image diameter d τ (Adrian 1988; Westerweel 2000b). In a simulation study it was shown that the velocity gradients can be ignored when the variation a of the local particle-image displacement is small with respect to d τ (Keane and Adrian 1992), i.e.,

$$ |a| \ll d_{\tau}\quad\hbox{with}\quad a \equiv M \Updelta{u} \Updelta t, $$
(1)

where M is the image magnification, Δt is the exposure time delay, and Δu represents the local variation of the velocity field, i.e.,

$$ |\Updelta{u}| \sim |{\partial{\user2{u}}}/{\partial{\user2{x}}}| \cdot L, $$
(2)

where L is a typical dimension of the interrogation volume, e.g., the thickness of the light sheet Δz 0 or the equivalent in-plane dimension of the interrogation region D I/M. The effect on the appearance of the correlation as a function of an increasing variation a of the displacement within the interrogation volume is shown in Fig. 1. In many practical situations the ratio d τ/D I is very small, and typically should not exceed 3–5% in order to preserve a well-defined correlation peak (Keane and Adrian 1992). This means that the local gradients have to be small in order to comply with this requirement. For increasing gradients the correlation peak amplitude decreases, while the width of the correlation peak increases in proportion to the variation of the displacement. Such a broadening of the displacement-correlation peak also occurs in micro-PIV as the result of Brownian motion of the tracer particles (Olsen and Adrian 2000a), which can be used to estimate the local temperature-dependent viscosity (Hohreiter et al. 2002).

Fig. 1
figure 1

The spatial correlation for an increasing displacement variation a, defined in Eq. (1), relative to the dimension of the interrogation domain D I and particle-image diameter d τ. The approximate peak amplitudes are 1.00, 0.86, 0.55 and 0.40. Adapted from Westerweel (2004)

For uniform displacements the correlation peak detectability is proportional to N I F I F O, where N I is the image density and F I and F O are the in-plane and out-of-plane loss-of-correlation due to in-plane and out-of-plane motion of the tracer particles (Keane and Adrian 1990). This can be generalized to: N I F I F O F Δ, where the term F Δ accounts for the loss-of-correlation due to the local variation of the displacement field (Westerweel 2004; Hain and Kähler 2007).

The reduction of the displacement-correlation peak means that the peak detectability is reduced. This implies a higher occurrence of spurious vectors in regions with strong local gradients (Keane and Adrian 1992). If the gradient only occurs in the in-plane components of the displacement, then it is possible to (partially) compensate for the effects of the gradients in the displacement by means of local image deformation (Huang et al. 1993; Tokumaru and Dimotakis 1995; Fincham and Delerce 2000; Scarano 2002). However, in most turbulent flows the small-scale turbulence is (nearly) isotropic, which means that the in-plane variation of the displacements are of the same magnitude as the out-of-plane variation of the displacements when the light-sheet thickness is of the order of the in-plane dimension of the interrogation domain; then the out-of-plane gradients cannot be compensated by planar deformation methods, which means that the local velocity gradients irreversibly deteriorate the interrogation performance. In multi-frame PIV local velocity gradients can easily dominate the peak detectability when the temporal separation of the interrogation images is increased (Hain and Kähler 2007). For micro-PIV the depth-of-correlation (Olsen and Adrian 2000b) can be of the order of the flow domain (i.e., channel depth), which means that a large range of displacements can occur in a single interrogation domain. As mentioned before, Brownian motion of the tracer particles adds to the broadening of the correlation peak.

In this paper, the mathematical support for the empirical relation in Eq. (1) is derived. First the theoretical analysis for PIV interrogation in case of a uniform displacement field is summarized (Sect. 2). Then an expression for the local displacement distribution is derived (Sect. 3). This is used to generalize the existing theory for uniform displacements to include non-uniform displacement fields (Sect. 4). The analysis follows a more rigorous approach than used by Olsen and Adrian (2001). Based on the extended description several effects are described where local gradients affect the interrogation analysis. The last section (Sect. 5) summarizes the main results.

2 Interrogation by spatial cross-correlation

The point of departure for the analysis is the original theoretical description of the interrogation analysis given by Adrian (1988), Keane and Adrian (1990), Westerweel (1993), and Olsen and Adrian (2001), which is summarized here.

Consider two image fields I 1 and I 2, which represent the two image frames recorded with a time delay Δt = t 2 − t 1 (Olsen and Adrian 2001):

$$\begin{aligned}I_1({\user2{X}}) &= W_1({\user2{X}}-{\user2{X}}_1)\int I_{01}({\user2{x}}) \tau_0({\user2{X}}-M{\user2{x}})g({\user2{x}},t_1) {\rm d}{\user2{x}}, \\ I_2({\user2{X}}) &=W_2({\user2{X}}-{\user2{X}}_2) \int I_{02}({\user2{x}}^{\prime})\tau_0({\user2{X}}-M{\user2{x}}^{\prime}) g({\user2{x}^{\prime}},t_2){\rm d}{\user2{x}}^{\prime} \end{aligned} $$
(3)

where W 1 and W 2 are the weighting functions that define the interrogation windows, I 01 and I 02 define the illumination pulses, τ0 is the particle-image intensity per unit illumination, M the image magnification, Footnote 1 X and x are the coordinates in the image domain and flow field domain, respectively, and

$$ g({\user2{x}},t) = \sum\limits_i \delta\left[{\user2{x}}-{\user2{x}}_i(t)\right]$$
(4)

describes the pattern of tracer particles at positions x i (t) at time t. It is common to split g into mean and fluctuating parts, i.e., g = 〈g〉 + g′, with 〈g〉 = C and 〈g′〉 = 0, where C is the mean number density of tracer particles (Adrian 1988).

The spatial cross-correlation R(s) for continuous image fields is defined by

$$ R({\user2{s}}) = \int{I_1}({\user2{X}}) I_2({\user2{X}}+{\user2{s}}) {\rm d}{\user2{X}}. $$
(5)

For discrete image fields, i.e., digital PIV images, the spatial correlation is also defined at discrete separations. This is given by convoluting R(s) with the self-correlation of the spatial pixel sensitivity and sampling the result at discrete separations, as described by Westerweel (1993, 1997). For sufficiently large particle images, i.e., d τ/d r ≪1 (where d r is the pixel size), R(s) closely approximates the spatial correlation for digital PIV images (Westerweel 2000a, b).

It is common to split the image fields into mean and fluctuating parts. Then R(s) can be written as (Keane and Adrian 1992)

$$ R({\user2{s}}) = R_C({\user2{s}}) + R_F({\user2{s}}) + R_D({\user2{s}}), $$
(6)

where R C is the correlation of the mean image intensities, R F the correlation of the mean image intensity of I 1 with the fluctuating part of I 2 and vice versa, Footnote 2 and R D the correlation of the fluctuating parts of I 1 and I 2. The terms R C and R F vanish when the mean image intensity is subtracted from I 1 and I 2. The remaining term R D can be split into mean and fluctuating parts, where the averaging is taken over an ensemble of tracer patterns for a given (fixed) velocity field u(X,t) (Adrian 1988; Westerweel 1993):

$$ R({\user2{s}}) = \langle{R_D({\user2{s}})|{\user2{u}}}\rangle + R_D^{\prime}({\user2{s}}) $$
(7)

where 〈R D (s)|u〉 is commonly referred to as the displacement-correlation peak and RD(s) as the random correlation term (Westerweel 2000b).

At this point it is common to make a number of general assumptions: (1) that all particle images have an identical shape and size; Footnote 3 (2) that the light sheet intensity distribution is only a function of the out-of-plane coordinate Footnote 4 (here denoted as z); (3) that the optical axis is normal to the light-sheet plane; and (4) that the two exposures of the light sheet occur in the same plane. The ensemble mean of the spatial correlation can then be written as (Adrian 1988; Westerweel 1993):

$$ \langle R_D({\user2{s}})|{\user2{u}} \rangle = \frac{1}{M^4} \int {W_1({\user2{X}}) W_2({\user2{X}}+{\user2{s}})} \iint \tau_0({\user2{X}}-{\user2{X}}^{\prime}) \tau_0({\user2{X}}+{\user2{s}}-{\user2{X}}^{\prime\prime}) \iint I_{01}(z^{\prime}) I_{02}(z^{\prime\prime}) \left \langle \left. g_1^{\prime} \left( \frac{X^{\prime}}{M},\frac{Y^{\prime}} {M}, z^{\prime} \right) g_2^{\prime}\left(\frac{X^{\prime\prime}}{M},\frac{Y^{\prime\prime}}{M}, z^{\prime\prime}\right) \right|{\user2{u}}\right\rangle {\rm d}z^{\prime}\, {\rm d}z^{\prime\prime} \,{\rm d}{\user2{X}} \,{\rm d}{\user2{X}}^{\prime}\, {\rm d}{\user2{X}}^{\prime\prime} $$
(8)

where 〈g1(x′)g2(x′′)|u〉 is the conditional two-point ensemble cross-correlation over all possible tracer pattern fluctuations for a given flow field u. For a uniform displacement this can be expressed as (Adrian 1988)

$$ \left\langle{g_1^{\prime}({\user2{x}}^{\prime}) g_2^{\prime}({\user2{x}}^{\prime\prime})|{\user2{u}}}\right\rangle = C\delta\left[{\user2{x}}^{\prime\prime}-{\user2{x}}^{\prime}- \Updelta{\user2{x}}\right] $$
(9)

with: Δx = uΔt. Under the condition that the particle-image diameter is small with respect to the typical dimension of the interrogation region (d τ ≪ D I ) and for a uniform particle-image displacement s D (=MΔx), Footnote 5 the displacement-correlation peak can be expressed as (Adrian 1988)

$$ \left\langle{R_D({\user2{s}})|{\user2{u}}}\right\rangle = I_{z1} I_{z2} N_{\rm I} F_{\rm I}({\user2{s}}) F_{\rm O}(\Updelta z) \tau_{00}^2 F_{\tau}({\user2{s}}-{\user2{s}}_D) $$
(10)

with:

$$ N_{\rm I} = C \Updelta z_0 D_{\rm I}^2 / M^2, $$
(11)
$$ F_{\rm I}({\user2{s}}) = \int W_1({\user2{X}}) W_2({\user2{X}}+{\user2{s}}) {\rm d}{\user2{X}} \Bigm/ D_{\rm I}^2, $$
(12)
$$ F_{\rm O}(\Updelta z) = \int I_{01}(z)I_{02}(z+\Updelta z) {\rm d}z \left/ \int I_{01}(z) I_{02}(z) {\rm d}z,\right. $$
(13)
$$ F_{\tau}({\user2{s}}) = \int \tau_0({\user2{X}})\tau_0({\user2{X}}+{\user2{s}})/ \tau_{00}^2 $$
(14)

with τ 200  = ∫τ0(X)2 dX and I zk  = ∫I 0k (z) dz for k = 1,2. The image density N I represents the mean number of particle images in the interrogation domain, the terms F I and F O are denoted as the in-plane and out-of-plane loss of correlation, respectively, and F τ represents the particle-image self-correlation. Under the assumptions stated above, the displacement-correlation peak is a single sharp peak located at s D . The exact position of the peak can be determined from either the peak centroid or peak maximum. For symmetric particle images and a uniform displacement the peak centroid and peak maximum are identical in the limit d τ/D I →0.

The centroid \({\varvec{\mu}}_D\) of the ensemble mean of the displacement-correlation peak is defined as (Adrian 1988; Keane and Adrian 1990)

$$ {\varvec{\mu}}_D \equiv\frac{\int {\user2{s}}\left\langle{R_D({\user2{s}})|{\user2{u}}}\right\rangle{\rm d}{\user2{s}}}{\int\left\langle{R_D({\user2{s}})|{\user2{u}}}\right\rangle{\rm d}{\user2{s}}}. $$
(15)

Substitution of Eq. (10) in Eq. (15) yields

$$ {\varvec{\mu}}_D = \frac{\int{\user2{s}} F_{\rm I}({\user2{s}}) F_{\tau}({\user2{s}}-{\user2{s}}_D) {\rm d}{\user2{s}}}{\int F_{\rm I}({\user2{s}}) F_{\tau}({\user2{s}}-{\user2{s}}_D) {\rm d}{\user2{s}}}.$$
(16)

The function F τ(s) is symmetric with its centroid located at s D . The in-plane loss-of-correlation F I(s) skews F τ(s − s D ), which leads to a bias error in the measured displacement (Keane and Adrian 1990; Westerweel 1997). The bias error is directed toward smaller displacements, which is related to the fact that particle images with larger displacements are more likely to leave the interrogation domain between the two light pulses.

In general the width of F τ(s) is much smaller than the width of F I(s), i.e., d τ ≪ D I. Hence, F I(s) can be written as a Taylor series around s D :

$$ F_{\rm I}({\user2{s}}) = F_{\rm I}({\user2{s}}_D) + ({\user2{s}}-{\user2{s}}_D) \cdot \left.\frac{\partial F_{\rm I}}{\partial{\user2{s}}}\right|_{{\user2{s}}={\user2{s}}_D} + \hbox{h.o.} $$
(17)

Substitution in Eq. (16) yields

$$ {\varvec{\mu}}_D \cong {\user2{s}}_D + \frac{1}{F_{\rm I}({\user2{s}}_D)} \cdot \left[\frac{\int s^2 F_{\tau}({\user2{s}}) {\rm d}{\user2{s}}} {\int F_{\tau}({\user2{s}}) {\rm d}{\user2{s}}} \right] \cdot \left.\frac{\partial F_{\rm I}}{\partial{\user2{s}}}\right|_{{\user2{s}}={\user2{s}}_D} $$
(18)

where the term between brackets is the second moment of F τ(s). Given that F I(s) and the second moment of F τ(s) are both positive, and that ∂F I/∂s is directed toward the origin, \({\varvec{\mu}}_D\) is usually biased toward s = 0 (Keane and Adrian 1990; Westerweel 1997).

For identical square uniform interrogation windows, the in-plane loss-of-correlation is given by Westerweel (1997):

$$ F_{\rm I}(s,t) = \left\{\begin{array}{ll}(1-|s|/D_{\rm I})(1-|t|/D_{\rm I}) &\hbox{for}\ |s|,|t| < D_{\rm I}, \\ 0 &\hbox{elsewhere}. \end{array}\right. $$
(19)

To reduce the complexity of the analysis, only one component of s is considered. The spatial derivative of F I with respect to s is then given by

$$ \left.\frac{\partial F_{\rm I}}{\partial s}\right|_{{\user2{s}}={\user2{s}}_D} = -\frac{1}{D_{\rm I}}\frac{s_D}{|s_D|}\frac{1}{1-|t_D|/D_{\rm I}} $$
(20)

with s D  = (s D ,t D ). (A similar expression can be found for the direction perpendicular to the direction of s). The second moment of F τ(s) for identical Gaussian particle images is \(\frac{1}{8} d_{\tau}^2,\) so that the expression for the expected correlation peak centroid defined in Eq. (18) becomes:

$$ \mu_D = s_D -\frac{s_D}{|s_D|}\frac{1} {1-|s_D|/D_{\rm I}}\frac{d_{\tau}^2}{8 D_{\rm I}}.$$
(21)

As the second order and higher order derivatives for F I defined in Eq. (19) in are zero, this expression is exact. Indeed, the centroid is biased toward s = 0. For uniform interrogation regions the displacement bias error is practically constant over a considerable range in s D (Westerweel 1997).

In general the bias error will be small, i.e., typically about 0.06 px for particle images with a diameter of 2 px in a 32 × 32-pixel interrogation domain (Westerweel 1997). This is small with respect to the random error (typically 0.1 pixel units) in instantaneous data, but can be significant when evaluating flow statistics, such as the mean flow velocity. The bias error can be eliminated in several ways. It is evident that the bias error vanishes when the gradient of F I is zero. For uniform interrogation windows this can be accomplished either by using two interrogation windows of different size (Keane and Adrian 1992), or by using offset interrogation regions (Westerweel et al. 1997), so that the displacement-correlation peak is located at the maximum of F I(s) (i.e., ∂F I/∂s = 0). Another approach is to divide the correlation values by F I(s) (Westerweel 1997).

3 The distribution function of a displacement field

In this section it is explained how the displacement distribution is obtained for a given displacement field over a finite measurement volume. The evaluation of the images by a spatial cross-correlation implies that 〈g1 g2|u〉 is evaluated over a finite measurement volume, i.e., δV(x′) = Δz 0 · (D I/M)2, which is depicted in Fig. 2. This volume is equivalent to the weight function W(x) defined by Olsen and Adrian (2001). Due to the spatial variations in the displacement over δV(x′), the single displacement value that is represented by the δ-function in Eq. (9) is replaced by a displacement distribution function F Δ(s), which eliminates the explicit dependence on x′ and leads to the following expression for the displacement-correlation peak:

$$\left\langle{R_D({\user2{s}})|{\user2{u}}}\right\rangle \cong I_z^2\tau_{00}^2 \cdot N_{\rm I} F_{\rm I} F_{\rm O} \cdot F_{\tau} *F_{\Updelta}({\user2{s}}) $$
(22)

where * represents a convolution integral. Hence, the displacement s D is no longer uniquely defined: it may now refer to the maximum of F Δ(s) (viz., the most probable displacement), or the first moment of the distribution (viz., the local mean displacement), or any other convenient parameter that characterizes F Δ(s).

Fig. 2
figure 2

The integration of 〈g1 g2|u〉 over a small volume δV(x′) is replaced by a displacement distribution F Δ(s). (The axes for x′ and x′′ − x′ actually represent three-dimensional spaces.) Adapted from Westerweel (1997)

The displacement distribution for a displacement field Δx(x) over a finite measurement volume δV is given by

$$ F_{\Updelta}({\user2{s}}) = \frac{1}{\delta V} \int\limits_{\delta V} \delta\left[{\user2{s}}-\Updelta{\user2{x}}({\user2{x}})\right] {\rm d}{\user2{x}}. $$
(23)

This integral can be easily evaluated in the Fourier transform domain, i.e.

$$ \begin{aligned} {{\mathcal{F}}}\left\{F_{\Updelta}({\user2{s}}) \right\} & = \int \frac{1} {\delta V} \int\limits_{\delta V} \delta\left[{\user2{s}}-\Updelta{\user2{x}}({\user2{x}}) \right] {\rm e}^{2\pi {\rm i}{\user2{k}}\cdot{\user2{s}}}\, {\rm d}{\user2{x}} {\rm d}{\user2{s}} \\ & = \frac{1}{\delta V} \int\limits_{\delta V} {\rm e}^{2\pi {\rm i}{\user2{k}}\cdot\Updelta{\user2{x}}({\user2{x}})}\, {\rm d}{\user2{x}} \end{aligned} $$
(24)

where the following identity was applied:

$$ \int \delta({\user2{x}}-{\user2{x}}_0) {\rm e}^{2\pi {\rm i}{\user2{k}}\cdot{\user2{x}}} {\rm d}{\user2{x}} = {\rm e}^{2\pi {\rm i}{\user2{k}}\cdot{\user2{x}}_0}. $$
(25)

Note that: \({{\mathcal{F}}}\left\{F_{\Updelta}({\user2{s}})\right\}\equiv 1,\) for k = 0, i.e.: \(\int F_{\Updelta}({\user2{s}}) {\rm d}{\user2{s}} \equiv 1,\) so that F Δ(s) is indeed a distribution function for arbitrary Δx(x).

To illustrate the effect of a local variation of the displacement field, two example displacement fields are considered: a simple shear and a sinusoidal displacement field. First, consider a simple shear in one direction, i.e.,

$$\Updelta{\user2{x}}({\user2{x}}) = (ay,0,0)^T $$
(26)

for −L ≤ y ≤ L, where a is a constant. Consider only the x-coordinate, which implies a reduction to a one-dimensional problem. Substitution of Eq. (26) in Eq. (24) yields

$$ \begin{aligned}{{\mathcal{F}}}\left\{F_{\Updelta}(s) \right\} &=\int\limits_{-\infty}^{\infty} \frac{1}{2L} \int\limits_{-L}^{L}\delta(s-ax) {\rm e}^{2\pi {\rm i} k s} {\rm d}x\, {\rm d}s \\ & = \frac{1}{2L}\int\limits_{-L}^{L} {\rm e}^{2\pi {\rm i} kax} {\rm d}x = \hbox{sinc}(2kaL).\end{aligned} $$
(27)

The inverse Fourier transform of a sinc-function is a rect-function

$$ \hbox{sinc}(bk)\buildrel{{{\mathcal{F}}}^{-1}}\over{\longrightarrow} \frac{1}{b}\hbox{rect}(s/b) = \left\{\begin{array}{ll} 1/b &\hbox{for}\;|s| < b/2, \\ 0 & \hbox{elsewhere},\end{array}\right. $$
(28)

so that the inverse Fourier transform of Eq. (27) yields

$$ F_{\Updelta}(s) =\frac{1}{2aL} \hbox{rect}\left(\frac{s}{2aL}\right). $$
(29)

Note that the total area of the rect-function is unity. This implies that an increase of the shear also increases the width of the distribution, but decreases the amplitude. Hence, the local variations of the displacement reduce the correlation peak amplitude and increase the width of the correlation peak, in correspondence to what occurs in Fig. 1 for increasing a. Consequently, the local variations of the displacement field also reduce the peak detectability, and enhance the displacement bias error.

Now, consider a sinusoidal displacement field, again in one direction only, i.e.,

$$\Updelta{\user2{x}}({\user2{x}}) = \left(\sin (\pi y / L),0,0\right)^T$$
(30)

over the domain − L ≤ x ≤ L. The corresponding Fourier transform of the displacement distribution is equal to a zeroth order Bessel function of the first kind, i.e.,

$$ \begin{aligned}{{\mathcal{F}}}\left\{F(s) \right\} &= \frac{1}{2L}\int\limits_{-L}^{L}\exp[2\pi{\rm i}k\sin(\pi y/L)]{\rm d}y \\ &=\frac{1}{2\pi} \int\limits_{0}^{2\pi} \exp(-2\pi{\rm i}k\sin\theta){\rm d}\theta = J_0(2\pi k). \end{aligned} $$
(31)

The corresponding inverse Fourier transform of Eq. (31) is

$$ F_{\Updelta}(s) =\frac{1/\pi}{\cos(\arcsin s)} = \frac{1/\pi} {\sqrt{1-s^2}} $$
(32)

(see also Fig. 3). In spite of the strong similarity between the Fourier transform of F Δ(s) for the sinusoidal field with that of the shear field (see Fig. 3, middle), the corresponding displacement distributions are quite different: the distribution for the sinusoidal field has two peaks. This means that the displacement-correlation peak will have two maxima (provided that the local variations of the displacement field are larger than the equivalent width of the particle images; see discussion below). This is an example of the so-called peak splitting, which occurs often in regions with very strong local fluctuations of the displacement. This means that for a finite number of particle images the interrogation analysis will only detect one of the two peaks; in this case the measured displacement can not be considered as a local mean value of the displacement field.

Fig. 3
figure 3

The displacement field (left), and the corresponding distribution Fourier transform (middle) and displacement distribution (right), for a simple shear (top row) and sinusoidal displacement field (bottom row)

4 The displacement-correlation peak for non-uniform displacements

The analysis in the preceding section did not include the effects due to the finite window size and the finite dimensions of the particle images. Our point of departure is the exact expression in Eq. (8). For ideal tracer particles the two-point correlation of the tracer-pattern fluctuations for a non-uniform displacement field is given by, cf. Eq. (9)

$$\left\langle{g_1^{\prime}({\user2{x}}^{\prime})g_2^{\prime}({\user2{x}}^{\prime\prime})|{\user2{u}}}\right\rangle= C \delta\left[{\user2{x}}^{\prime\prime}-{\user2{x}}^{\prime}-\Updelta{\user2{x}}({\user2{x}}^{\prime})\right]. $$
(33)

In the case of a uniform displacement field, 〈g1(x′)g2(x′′)|u〉 is a function of s = x′′ − x′ only, which leads to a rather simple expression that was derived in Sect. 2. However, for a non-unform displacement field Eq. (33) is a function of x′, which makes it difficult to carry out a straightforward evaluation of Eq. (8). The expression in Eq. (8) can be solved numerically, but this is a rather cumbersome procedure for a generalized analysis of spatial gradients. Instead, it is possible to reduce Eq. (8) to that of a much simpler approximate equation, by making some general assumptions. This procedure is described in this section.

4.1 Approximate expression

To simplify the expression in Eq. (8), it is assumed that the displacement field is uniform, except in the direction of the x-coordinate, i.e.,

$$\Updelta{\user2{x}}({\user2{x}}) = (\Updelta x({\user2{x}}),\Updelta y,\Updelta z)^T. $$
(34)

It is assumed that the displacement field is a function of x and y only, so that the double integral over z′ and z′′ can be replaced by

$$ \iint I_{01}(z^{\prime}) I_{02}(z^{\prime\prime}) \delta(z^{\prime\prime}-z^{\prime}-\Updelta z) {\rm d}z^{\prime}\, {\rm d}z^{\prime\prime} = I_{z1}I_{z2} \Updelta z_0 F_{\rm O}(\Updelta z) $$
(35)

In order to preserve the skewing effect of the in-plane loss-of-pairs on the displacement-correlation peak, a term containing F I (s) is split from the integrand:

$$ \int W_1({\user2{X}})W_2({\user2{X}}+{\user2{s}}) \cdots {\rm d}{\user2{X}} \Rightarrow F_I({\user2{s}})D_I^2 \int \frac{W_1({\user2{X}})W_2({\user2{X}}+{\user2{s}})} {F_I({\user2{s}})D_{\rm I}^2} \cdots {\rm d}{\user2{X}}. $$
(36)

In addition, the particle-image self-correlation is accounted for by a convolution of the integrand with F τ(s)

$$ \begin{aligned} \,&\iiint \tau_0({\user2{X}}-{\user2{X}}^{\prime}) \tau_0({\user2{X}}+{\user2{s}}-{\user2{X}}^{\prime\prime}) \cdots {\rm d}{\user2{X}}\,{\rm d}{\user2{X}}^{\prime}\,{\rm d}{\user2{X}}^{\prime\prime} \\ \,&\quad \Rightarrow \tau_{00}^2 \int F_{\tau}({\user2{s}}-{\user2{s}}^{\prime}) \left\{ \iiint \delta({\user2{X}}-{\user2{X}}^{\prime}) \delta({\user2{X}}+{\user2{s}}^{\prime}-{\user2{X}}^{\prime\prime}) \right. \cdots\\ \,&\left.\vphantom{\iiint} \cdots{\hbox{d}}{\user2{X}}\,{\rm d}{\user2{X}}^{\prime}\,{\rm d}{\user2{X}}^{\prime\prime} \right\}\,{\rm d}{\user2{s}}^{\prime}. \end{aligned} $$
(37)

The substitution of Eqs. (35)–(37) in Eq. (8) yields

$$ \begin{aligned}\langle{R_D({\user2{s}})|{\user2{u}}}\rangle &\cong I_{z1}I_{z2} \tau_{00}^2 N_{\rm I} F_{\rm O}(\Updelta z) F_{\rm I}({\user2{s}}) \int F_{\tau}({\user2{s}}-{\user2{s}}^{\prime})\\ &\quad \times \iiint \frac{W_1({\user2{X}})W_2({\user2{X}}+{\user2{s}}^{\prime})} {F_{\rm I}({\user2{s}}^{\prime})D_{\rm I}^2} \delta({\user2{X}}-{\user2{X}}^{\prime}) \delta({\user2{X}}+{\user2{s}}^{\prime}-{\user2{X}}^{\prime\prime})\\&\quad\times\delta\left[{\user2{X}}^{\prime\prime}-{\user2{X}}^{\prime}- \Updelta{\user2{X}}({\user2{X}}^{\prime}) \right] {\rm d}{\user2{X}} \,{\rm d}{\user2{X}}^{\prime}\, {\rm d}{\user2{X}}^{\prime\prime}\,{\rm d}{\user2{s}}^{\prime} \end{aligned} $$
(38)

with: ΔX = MΔx. This expression is then further reduced by the integration of the two δ-functions that replace the τ0-functions, i.e.

$$ \begin{aligned}\langle{R_D({\user2{s}})|{\user2{u}}}\rangle &= I_{z1}I_{z2}\tau_{00}^2 N_{\rm I} F_{\rm O}(\Updelta z) F_{\rm I}({\user2{s}}) \int F_{\tau}({\user2{s}}-{\user2{s}}^{\prime}) \\ &\quad\times \int\frac{W_1({\user2{X}}^{\prime})W_2({\user2{X}}^{\prime}+{\user2{s}}^{\prime})}{F_{\rm I}({\user2{s}}^{\prime})D_{\rm I}^2}\delta\left[{\user2{s}}^{\prime}-\Updelta{\user2{X}}({\user2{X}}^{\prime})\right] {\rm d}{\user2{X}}^{\prime}\, {\rm d}{\user2{s}}^{\prime}. \end{aligned}$$
(39)

Given that the variations of the displacement field are small, i.e.,

$$ {\user2{s}}^{\prime}\approx {\user2{s}}_D = \Updelta{\user2{X}}({\user2{X}}_0) $$
(40)

with |a| = Mut ≪ D I, F I(s′) is replaced by F I(s D ), so that F I(s D )D 2 I represents the normalization constant for the displacement distribution function. Hence, the approximation for Eq. (8) reads

$$ \begin{aligned}\langle{R_D({\user2{s}})|{\user2{u}}}\rangle &\cong I_{z1}I_{z2}\tau_{00}^2 N_{\rm I} F_{\rm O}(\Updelta z) F_{\rm I}({\user2{s}})\\ &\quad \times \int F_{\tau}({\user2{s}}-{\user2{s}}^{\prime})F_{\Updelta}({\user2{s}}^{\prime}) {\rm d}{\user2{s}}^{\prime},\end{aligned} $$
(41)

with

$$ \begin{aligned}F_{\Updelta}({\user2{s}}^{\prime}) &=\frac{1}{F_{\rm I}({\user2{s}}_D)D_{\rm I}^2} \int W_1({\user2{X}}^{\prime})W_2({\user2{X}}^{\prime}+{\user2{s}}^{\prime})\\&\quad \times \delta\left[{\user2{s}}^{\prime}-\Updelta{\user2{X}}({\user2{X}}^{\prime})\right]{\rm d}{\user2{X}}^{\prime}. \end{aligned} $$
(42)

Note that the integral in Eq. (41) represents a convolution of F τ(s) and F Δ(s); this justifies the expression given in Eq. (22).

Evidently, the result in Eqs. (4142) needs to be validated against the numerical solutions of the exact expression in Eq. (8). This is done in the next section.

4.2 Simple flows

In this section the effect of spatial gradients in the displacement field on the location, height and shape of the displacement-correlation peak is investigated for the case of simple, one-dimensional displacement fields, such as simple shear and uniaxial strain. To reduce the complexity of the analysis, only uniform interrogation windows are considered. Analytical expressions for the peak centroid and the peak width are found by means of the approximate expression Eq. (41) that was derived in the preceding section. These are compared against numerical solutions of the exact expression Eq. (8).

4.2.1 Simple shear

Consider a uniform displacement ΔX 0 plus a simple shear motion

$$ \Updelta X(Y) = \Updelta X_0+ \frac{a}{D_{\rm I}}\cdot(Y-Y_0). $$
(43)

The displacement field is a function of Y only, so that F Δ(s), defined in Eq. (42), is given by

$$ F_{\Updelta}(s,t) =\delta(t)\cdot\frac{1}{D_{\rm I}}\int\limits_W \delta\left[s-M\Updelta x(Y)\right]{\rm d}Y, $$
(44)

with s = (s,t)T. This integral was solved in Sect. 3 for a uniform simple shear and a uniform interrogation window. Hence, the corresponding displacement distribution F Δ(s,t) is uniform in s:

$$ F_{\Updelta}(s,t) =\delta(t)\cdot \frac{1}{|a|} \cdot \left\{\begin{array}{ll}1 &|s|\leq \frac{1}{2} |a|, \\ 0 &\hbox{elsewhere}.\end{array}\right.$$
(45)

The substitution of Eq. (45) in Eq. (41) yields the displacement-correlation peak that is shown in Fig. 4 for different values of the gradient parameter a. In the Gaussian approximation for F τ(s) and F Δ(s), the width d D of F τ *F Δ (s) is given by

$$ d_D \cong\sqrt{2d_{\tau}^2 + \frac{4}{3} (M|\Updelta u|\Updelta t)^2}. $$
(46)

Hence, the local shear motion increases the width of the displacement-correlation peak. This increases the displacement bias error of the peak centroid in comparison to the uniform displacement result Eq. (21)

$$ \frac{\mu_D-s_D}{D_{\rm I}} =-\frac{1}{F_{\rm I}(s_D)}\frac{d_{\tau}^2} {8D_{\rm I}^2} -\frac{1}{F_{\rm I}(s_D)}\frac{(M|\Updelta u|\Updelta t)^2}{12 D_{\rm I}^2}. $$
(47)

In Fig. 5 the displacement bias error is plotted as a function of the gradient parameter for different particle-image diameters. The solid lines represent Eq. (47), whereas the symbols are numerical solutions of the exact equation in Eq. (8). Note that the increase of the bias magnitude due to the shear is equal for all values of d τ. This is reflected in Fig. 6, in which the width of the displacement-correlation peak relative to its width for uniform displacements (i.e., \(\sqrt{2}d_{\tau}\)) is plotted as a function of the gradient relative to the particle-image diameter. The solid line represents Eq. (46), whereas the symbols represent numerical solutions of Eq. (8). This graph indicates that PIV images with large d τ are less sensitive to variations in the displacement than those images with small d τ. So, according to Eq. (18) the displacement bias error is determined by the width d D of the displacement-correlation peak, given by Eq. (47). This is shown in Fig. 7, in which the displacement bias error is plotted as a function of d D .

Fig. 4
figure 4

The displacement-correlation peak for the case of simple shear for different values of the gradient parameter a (=MΔuΔt) relative to the particle-image diameter d τ, with a mean displacement of ΔX 0 = 0.25D I and a particle-image diameter d τ = 0.05D I. The curve represents the displacement-correlation peak for a uniform displacement that is equal to the mean displacement of the shear motion

Fig. 5
figure 5

The displacement bias ɛ (=μ D  − s D ) relative to D I as a function of the local variation of the displacement MΔuΔt for a uniform simple shear plus a uniform translation of ΔX 0 = 0.25D I, for different values of d τ/D I

Fig. 6
figure 6

The width d D of 〈R D |u〉 relative to the particle-image diameter d τ as a function of the local variation of the displacement MΔuΔt relative to d τ

Fig. 7
figure 7

The displacement bias ɛ relative to D I as a function of the width d D of 〈R D |u〉 relative to D I. The symbols correspond to the data in Fig. 6, and the solid line represents Eq. (47)

4.2.2 Uniaxial strain

Consider the displacement field for uniaxial strain

$$ \Updelta X(X) = \Updelta X_0 + \frac{a}{D_{\rm I}} \cdot (X-X_0), $$
(48)

with \(\frac{1}{2} |a| \leq \Updelta X_0,\) so that ΔX ≥ 0 for all positions inside the interrogation window. Substitution of Eq. (48) in Eq. (42) yields

$$ F_{\Updelta}(s,t) =\delta(t)\cdot\frac{1}{F_{\rm I}(s_D,0)D_{\rm I}} \times \int W_1(X)W_2(X+s)\delta\left[s-\Updelta X(X)\right] {\rm d}X $$
(49)

(Note that W 1 and W 2 now represent one-dimensional functions.) The integrand only makes a contribution to the total integral when s = ΔX(X) on the interval where W 1(X)W 2(X + s) ≠ 0. This implies that the finite dimensions of the interrogation windows limit the range of displacements that can be measured.

As for the case of a simple shear, the displacement distribution of the tracer particles within W 1 is uniform with a mean displacement ΔX 0 and a width Mut. However, for Δx > 0 the integral in Eq. (49) is non-zero only for

$$ \Updelta X(X_{\rm I}- \frac{1}{2} D_{\rm I}) < s < \Updelta X(X_{\rm I}+\frac{1}{2} D_{\rm I}-s). $$
(50)

Substitution of Eq. (48) yields that F Δ(s) ≠ 0 for \(|s-s_{\Updelta}| < \frac{1}{2} d_{\Updelta},\) with (see also Fig. 8)

$$ d_{\Updelta} = \frac{|a|/D_{\rm I}}{1+a/D_{\rm I}}\left[1-\frac{\Updelta X_0} {D_{\rm I}}+ \frac{1}{2}\frac{a}{D_{\rm I}}\right] D_{\rm I} $$
(51)

and:

$$ s_{\Updelta} = \Updelta X_0 - \frac{1}{2}\frac{a} {D_{\rm I}}\left[1-\frac{d_{\Updelta}}{|a|}\right] D_{\rm I}.$$
(52)

Hence, for the case of a positive uniaxial strain (a = MΔu Δt > 0), i.e., a spatially accelerating fluid, Eq. (49) implies that the local displacement-distribution is truncated at the side of the largest displacements. Consequently, the mean of the observed local displacement-distribution is then biased toward a smaller displacement in comparison with the actual mean of the local displacement distribution. On the other hand, for a negative uniaxial strain (a = MΔu Δt < 0), i.e., a spatially decelerating fluid, the distribution is truncated at the side of smallest displacements, so that the mean measured displacement is larger than the local mean displacement. This bias adds to the displacement bias error that is the result of the skew of the displacement-correlation peak due to F I (Fig. 9).

Fig. 8
figure 8

The displacement distribution for uniaxial strain. For positive strain (a) the distribution is truncated at the largest displacements, whereas for negative strain (b) the distribution is truncated at the smallest displacements

Fig. 9
figure 9

The first moment of the displacement distribution for a uniaxial strain as a function of the local mean displacement ΔX 0, for different values of the gradient parameter a = MΔuΔt

So, for an accelerating fluid (a > 0) the measured displacement is smaller than the true local mean displacement, whereas for a decelerating fluid (a < 0) the measured displacement is larger. It is as if the tracer particles have some inertia, even if the tracer particles themselves are ideal.

The effect of the uniaxial strain on the centroid of the displacement-correlation peak is found by the substitution of F Δ(s) in Eq. (22). In Fig. 10 are shown the displacement-correlation peaks for uniaxial strain with different values of a. Note that the displacement-correlation peak for uniaxial strain has a larger bias than for simple shear (for the same value of a), which is the result of the truncation of the displacement distribution for large displacements.

Fig. 10
figure 10

As Fig. 4, but now for uniaxial strain, i.e., spatially accelerating (a > 0) or decelerating (a < 0) fluid. The dashed curves correspond to the displacement-correlation peaks for a simple shear in Fig. 4

To estimate the displacement bias error, it is assumed that the width d D of the displacement-correlation peak for a uniaxial normal stress is given by (Gaussian approximation):

$$ d_D \cong \sqrt{2d_{\tau}^2 + \frac{1}{12} \left[\frac{a/D_{\rm I}} {1+a/D_{\rm I}} \left(1-\frac{\Updelta X_0}{D_{\rm I}}+ \frac{1}{2}\frac{a}{D_{\rm I}} \right)\right]^2}. $$
(53)

In Fig. 12 the approximate result in Eq. (53) is compared against the numerical solutions of the equation in Eq. (22).

The total displacement bias error is now given by the displacement bias error for the truncated displacement distribution plus the bias error due to the increase of the width of the displacement-correlation peak, i.e.:

$$ \frac{s_D-\Updelta X_0}{D_{\rm I}} = -\frac{1}{F_I(s_D)}\frac{d_D^2}{16 D_I^2} - \frac{1}{2} \frac{a/D_{\rm I}}{1+a/D_{\rm I}} \left[\frac{\Updelta X_0} {D_{\rm I}} + \frac{1}{2} \frac{a}{D_{\rm I}} \right]. $$
(54)

The total displacement bias error for uniaxial strain is plotted in Fig. 11. It is noted that the use of offset interrogation windows, which implies ΔX 0 = 0, only compensates for part of the bias and increase in peak width (Fig. 12).

Fig. 11
figure 11

The displacement bias error for uniaxial strain as a function of the correlation peak width d D , for different values of M Δu Δt. The mean displacement ΔX 0 is 0.25D I. The solid lines correspond to Eq. (54); the symbols are obtained from numerical solutions of Eq. (8)

Fig. 12
figure 12

As Fig. 6, but now for a uniaxial strain (with ΔX 0 = 0.25D I). The solid curve represents Eq. (54); the dashed curve corresponds to the solid curve in Fig. 6

5 Discussion and conclusion

The previous sections describe the effect of local gradients at the scale of the interrogation domain on the shape of the displacement-correlation peak. This is a generalization of the existing theoretical expression for the displacement-correlation peak. An approximate expression is derived, which accurately predicts the bias error and peak width for simple flows. It is confirmed that the broadening and splitting of the displacement-correlation peak due to local variations of the displacement does not occur as long as the variation a of the displacements over the interrogation volume does not exceed the particle image diameter d τ, as stated in Eq. (1).

The procedure to determine the displacement-correlation peak for non-uniform displacement fields would be as follows:

  1. 1.

    determine the local distribution function F Δ(s) of the displacement field;

  2. 2.

    convolve F Δ(s) with the particle-image self-correlation F τ(s);

  3. 3.

    multiply the result with the in-plane loss-of-pairs F I(s) and out-of-plane loss-of-pairs F Oz).

In most situations with small values of a the local displacement field is well approximated by a uniform displacement plus a shear and/or uniaxial strain. Specific results for these fluid motions are obtained in Sects. 4.2.1 and 4.2.2.

The principal effect of sub-interrogation gradients is a reduction of the peak amplitude, a bias error in the estimated displacement, and a proportional broadening of the correlation peak, where the total volume of the correlation peak is conserved. The analysis predicts the bias error and correlation peak width, which can be related to peak detectability (peak height) and random error (peak width). For a simple shear the width d D of the correlation peak is given by Eq. (46). The conservation of total volume then implies that the correlation peak amplitude is given by

$$ R_D({\user2{s}}_D) \sim N_{\rm I} F_{\rm I} F_{\rm O} F_{\Updelta} \quad\hbox{with},\quad F_{\Updelta} \cong \exp\left(-\frac{2}{3} a^2 / d_{\tau}^2\right). $$
(55)

This expression predicts mean peak amplitudes of: 1.00, 0.85, 0.51 and 0.22, for: a/d τ = 0.0, 0.5, 1.0 and 1.5, respectively; these values correspond well with the (instantaneous) peak amplitudes shown in Fig. 1 (see also Hain and Kähler 2007). The one-quarter rules for the in-plane and out-of-plane displacement imply a maximum loss-of-correlation that reduces the correlation peak height to 75% of the maximum amplitude. A similar drop in amplitude corresponds to |a|/ d τ < 0.66, i.e., a two-third rule for the displacement variation.

The random error σΔX is proportional to the width d D of the displacement-correlation peak, and for a simple shear it is approximately given by Footnote 6

$$ \sigma_{\Updelta X} \cong c\ d_D / \sqrt{2} \cong c\ d_{\tau} \sqrt{1 + \frac{2}{3} a^2 / d_{\tau}^2}, $$
(56)

with c = 0.05-7 (Westerweel 2000b).

In the case of a uniaxial strain, i.e., a spatially accelerating or decelerating fluid, the centroid of the displacement-correlation peak yields an additional bias that can be interpreted as an artificial ‘inertia’ of the particles. This even occurs when the particles can be considered as ideal tracers, and is the result of the finite dimensions of the interrogation domain.

Also, the analysis shows that a simple sinusoidal fluid motion with a wavelength equal or less than the dimension of the interrogation domain leads to the appearance of two correlation peaks (see Fig. 3) when the displacement amplitude becomes larger than d τ. This is an example of the so-called peak splitting. In a practical situation, i.e., with a finite number of particle images, it is likely that the interrogation analysis just finds only one of the two peaks (ignoring the other peak as a possible random-correlation peak). Then the measured displacement would correspond to the local minimum or maximum displacement. Footnote 7 This means that the measured displacement for the case of a sinusoidal displacement field is not proportional to the locally averaged displacement; this invalidates the commonly accepted assumption that the measured displacement is equal to the locally averaged displacement (Willert and Gharib 1991; Olsen and Adrian 2001; Hart 2000; Nogueira et al. 1999).

An application where the local gradients can become dominant is micro-PIV, in particular for measurements where the interrogation domain extends over a substantial part along the observation direction. For pressure-driven Stokes flow in a channel geometry the velocity profile along the optical axis has a parabolic shape. This shape is approximated by the sinusoidal distribution in Fig. 3 for: 0 ≤ x ≤ 1; hence, F Δ(s) is approximately given by Eq. (32) for s ≥ 0. This particular shape of the displacement-correlation peak is reported by Wereley and Whitacre (2006). In this particular situation the PIV measurement yields the maximum velocity in the measurement domain, rather than the mean displacement.

In order to absorb larger local variations of the displacement, one could increase the particle-image diameter d τ. In the case of diffraction-limited particle images, d τd s , with d s  = 2.44(M + 1)f #λ, where f # is the aperture number of the lens and λ the light wavelength. So, d τ can be increased by increasing f #, i.e., by reducing the lens aperture. Unfortunately, this also reduces the collected amount of light scattered by the tracer particles, and—in the case of micro-PIV—implies an unfavorable increase of the correlation depth (Olsen and Adrian 2000b). An increase of d τ also implies a proportional increase of the random error, given in Eq. (56), and a general deterioration of the overall performance of the PIV system (Adrian 1997). One could possibly determine an optimum between increasing d τ to improve peak detectability, while accepting a (small) increase in the random error. The expressions given in this paper can be used as a guideline.