Reference frame optimization is a generic framework to calculate a spatially varying observer field that views an unsteady fluid flow in a reference frame that is as-steady-as-possible. In this paper, we show that the optimized vector field is objective, i.e., it is independent of the initial Euclidean transformation of the observer. To check objectivity, the optimized velocity vectors and the coordinates in which they are defined must both be connected by an Euclidean transformation. In this paper, we show that a recent publication applied this definition incorrectly, falsely concluding that reference frame optimizations are not objective. Furthermore, we prove the objectivity of the variational formulation of the reference frame optimization that was recently proposed and discuss how the variational formulation relates to recent local and global optimization approaches to unsteadiness minimization.
I. INTRODUCTION
In fluid mechanics, an important property of vortex detectors is whether their corresponding vortex criteria are objective, i.e., indifferent to the reference frame in which they are computed. This has been recognized, for example, in the seminal work by Haller1 and in a large body of subsequent work. Non-objectivity implies that different observers, undergoing time-dependent relative rigid motion, might obtain different results for the same conceptual criteria. For example, vortex core lines might be detected at different spatial locations or not be detected at all. This is a major drawback of nonobjective methods that often corresponds to the fact that the detected features lack a clear physical meaning or cannot occur physically at all, as pointed out by many authors, from the early work of Haller1 until a recent analysis.2 With this motivation in mind, a variety of vortex criteria have been specifically designed to be objective by definition, i.e., the associated method can directly be proven to be indifferent to the motion of the input reference frame, and all observers agree on the result of the evaluated criteria. Usually, these combine (1) new proposed criteria and (2) a direct proof, specific to these criteria, that the proposed method is in fact objective.
One might ask the question whether it is possible to come up with a generic way of “objectivizing” existing, by themselves nonobjective, vortex criteria. If such an approach was successful, it would automatically convert criteria that were not defined in a way that makes them objective by definition, into somehow equivalent but objective criteria. In the literature, three different approaches can be found which aim to objectivize existing vortex criteria: (1) replace the vorticity tensor by the relative spin tensor, (2) replace the vorticity tensor by the spin-deviation tensor, and (3) observation in a reference frame that is as-steady-as-possible. Approaches of categories (1) and (2) are based on the observation that the vorticity tensor is not objective, which is, however, frequently used in many vortex definitions,3,4 cf. Günther and Theisel5 for a recent review. Thus, Drouot and Lucius6 and Astarita7 utilized that the strain-rate tensor is objective by observing the vorticity tensor in the eigenvector basis of the strain-rate tensor, leading to the relative spin tensor, which can be used as a replacement for the vorticity tensor in all existing vortex criteria. More recently, Liu et al.8 utilized that the vorticity can be made objective by subtracting the average vorticity from a local neighborhood, cf. Haller,9 leading to a relative spin tensor, which can be used as a building block in existing vortex criteria. Haller2 pointed out that the replacement of by the relative spin tensor invalidates the arguments used in the derivation of existing vortex criteria, unless a corresponding frame change is performed. The first approach of category (3) was proposed by Günther et al.,10 who presented a generic approach by searching for spatially varying reference frames in which the flow appears as-steady-as-possible. This was motivated by the fact that for steady velocity fields vortices are easier to define. The need for spatially varying reference frames was pointed out by Lugt11 and Perry and Chong,12 who observed that features moving at different speeds need differently moving reference frames to make them steady. This idea has created an amount of follow-up research: Günther and Theisel13 consider locally affine frame changes, and Baeza Rojo and Günther14 incorporate general non-rigid frame changes described by a local Taylor expansion. Günther and Theisel15 extended the approach to inertial flows. Hadwiger et al.16 described frame changes by formulating their derivatives as approximate Killing vector fields. Rautek et al.17 extended this to flows on general two-manifolds.
In a recent paper, Haller2 formulates a variational problem similar to the ones solved by Günther et al.,10 Hadwiger et al.,16 Baeza Rojo and Günther,14 Günther and Theisel,13 Günther and Theisel,15 and Rautek et al.17 Then, Haller2 attempts to prove that the solution of this variational problem is not objective. From this, Haller2 concludes that the approaches of Günther et al.,10 Hadwiger et al.,16 Baeza Rojo and Günther,14 and Günther and Theisel13 are not objective either, which is contrary to what is claimed and proven in the respective papers. In addition, Haller2 claims “physical and mathematical inconsistencies” in Günther et al.,10 Hadwiger et al.,16 Baeza Rojo and Günther,14 and Günther and Theisel.13
The recent paper by Haller2 has great importance to research in fluid dynamics and visualization. If the statements by Haller2 were correct, a significant amount of recent research would be wrong, including Günther et al.,10 Hadwiger et al.,16 Baeza Rojo and Günther,14 Günther and Theisel,13 Günther and Theisel,15 and Rautek et al.17 Because of this, a careful analysis of the statements by Haller2 is necessary.
In this paper, we make the following contributions:
We show that the proof of the nonobjectiveness of the variational problem by Haller2 is not correct because Haller2 applies the definition of objectivity in an incorrect way. In particular, we show that Haller2 attempts to check objectivity of vector fields in wrong reference frames.
We show that the variational problem in Haller2 gives objective solutions if it is considered in the correct frame, i.e., the optimized velocity field is observed in frames consistent with the motion of the coordinates. The correct objectivized velocity field has the closed form Eq. (30).
We show that existing objectivization approaches by Günther et al.10 and Hadwiger et al.16 incorporate the transformation to this correct frame and are therefore objective.
We show that the claimed mathematical inconsistencies are suitable and necessary boundary conditions to solve the minimization problem.
We emphasize that the standard definition of objectivity used in continuum mechanics and visualization, as given by Truesdell and Noll,18 is purely mathematical in nature. Its immediate physical meaning is only that if a method is objective, different physical observers come to the same conclusions, for example regarding the location of a vortex. This is true for all generic “objectivization” approaches by Günther et al.,10 Hadwiger et al.,16 Baeza Rojo and Günther,14 Günther and Theisel,13 Günther and Theisel,15 and Rautek et al.17 In contrast to this, however, the argumentation of Haller2 goes partially beyond objectivity and in part argues against objectivization of vortex criteria with additional physical considerations. These considerations, however, do not invalidate the objectivity of generic objectivization approaches, and, most importantly, they go beyond the standard definition of objectivity. In this paper, we therefore focus purely on objectivization with the standard meaning of objectivity and show that the corresponding mathematical proof given by Haller2 is incorrect and that such an objectivization is indeed possible.
II. THE VARIATIONAL PROBLEM BY HALLER2
We set out to show that a reference frame optimization toward an as-steady-as-possible vector field is objective. For this, we demonstrate that the result of the reference frame optimization for the same vector field observed in two different frames is connected through the objectivity condition if observed in the appropriate coordinates.
A. Definition of objectivity
We begin with recapitulating the common definition of objectivity, in particular for vector fields. Let be a vector field observed in a frame (coordinate system) . Furthermore, let be the observation of under the Euclidean frame change
where is a time-dependent rotation tensor and a time-dependent translation vector. Then, is objective if, cf. Truesdell and Noll,18
B. Reference frame optimization
A reference frame optimization as in Günther et al.,10 Baeza Rojo and Günther,14 Hadwiger et al.,16 and Rautek et al.,17 aims to view a given vector field in a new reference frame in which the flow becomes as-steady-as-possible, as explained in the following. To setup the notation, we are given a velocity field that is observed in the reference frame . Further, we assume that is given in the domain (U, T), with U being a simply connected spatial domain and being a time interval. Observing in a new reference frame given by
results in the observed velocity field
Here, is a diffeomorphism describing a generalized frame change. Note that is defined in the domain , i.e., .
Haller2 describes a variational problem, which measures the unsteadiness for the transformed flow. This is calculated by integrating the transformed time partial derivatives of
which serves as the objective for the optimal frame change resulting in the minimizer
C. Proof of non-objectivity by Haller2
Haller2 claims that the resulting optimal velocity field
from the solution of the variational problem (5) and (6) can never be objective. The setup for the proof of non-objectivity in Haller2 is illustrated in Fig. 1 and starts with an arbitrary steady vector field observed in a reference frame , and a diffeomorphism , which describes a frame change. From this, a time-dependent velocity field in the reference frame is obtained by observing under the inverse frame change
This means that we construct an unsteady vector field for which the reference frame transformation with (our ground truth) takes us back to the steady flow . For , we search the optimal frame change minimizing (6). Applying to results in the optimal observed velocity field in the frame by
To test the objectivity of the reference frame optimization, we need to observe the unsteady velocity field (observed in ) in an arbitrary reference frame relative to it and apply the reference frame optimization there, too. Applying a frame change according to Eq. (1) gives the new coordinates with
Thus, observing the field in a moving Euclidean frame as given by in Eq. (10) results in the field
Also for , we search the optimal frame change minimizing (6). Applying to results in the optimal observed velocity field in the frame by
From the particular construction of by (8), both and have closed-form solutions,
which means that they both reach the ground truth steady vector field,
Using the rotation from Eq. (10), which connects and , in an attempt to test the objectivity condition in Eq. (2) therefore gives an inequality,
because and are steady and is truly time-dependent. From Eq. (17), Haller2 concluded non-objectivity because condition (2) of the objectivity condition is not fulfilled.
This conclusion, however, is not correct, because the prerequisite (1) for checking the objectivity condition (2) is not fulfilled in the first place, i.e., and are not connected by the rotation via Eq. (10), i.e.,
Keep in mind that the common objectivity definition has the form “if (1) then (2).” To check for objectivity (2), we must compare vector fields in frames with a relative motion (1) to each other. This, however, is not the case for the reference frames in which and are observed. In fact, the relation of and is
i.e., and are identical. Since in this setting (1) does not apply, we cannot make any conclusions about objectivity or non-objectivity.
D. Proof of objectivity
To correctly check for objectivity, we have to transform from to , resulting in , and we have to transform from to , resulting in . This way, both vector fields are in coordinates and , respectively, which are indeed connected by in Eq. (10).
For these transformations and , several options are possible and require a discussion. In order to support Haller's2 general statement (“solution of Eqs. (5) and (6) can never be objective”), it is necessary to show that all transformations and lead to nonobjective vector fields and . Furthermore, to show that an existing frame optimization approach is nonobjective, one has to identify which transformations and are used, and for them, non-objectivity has to be shown.
In principle, there are three ways how such transformations and could be conceived, which are illustrated in Fig. 2 for the line integral convolution (LIC) slice shown in Fig. 1:
Simply translate coordinates, giving and , which does not account for rotations of the observer. This is neither physically meaningful nor objective.
Apply an inverse reference frame transformation according to Eq. (4) using the inverse of and , respectively (reverse of solid arrows in Fig. 1). This simply results in the original unsteady flows and . The resulting flow is physically observable, but the approach is not objective.
Use an inverse domain deformation only (dashed arrows in Fig. 1). This is objective and results in a derived vector field that unveils flow features of the original time-dependent flow. This transformation is later introduced in Eqs. (24) and (25).
In the following, we formally introduce the transformation in way 3. Then we prove that this transformation gives objective vector fields and . We also show that existing local reference frame optimizations by Günther et al.10 Günther and Theisel13 and Baeza Rojo and Günther14 are equivalent to way 3. To explain this further, we first formally introduce the inverse transformations,
with and , i.e.,
Computing the spatial gradients in Eq. (22) gives
Note that for transforming and , we spatially deform the vector field to the appropriate coordinates rather than applying a reference frame transformation, which would result in the original unsteady flows. Deforming the optimized vector field places the flow structures that are observed in the optimal frame at their locations in the original frame, revealing for example vortex cores as critical points or lines with swirling motion around them. The deformation of the optimal flows is
Inserting the transformations from the given unsteady flows to the optimal flows, i.e.,
into Eqs. (24) and (25), while using Eq. (23) gives the deformed flows and in terms of the original unsteady flows and ,
Since now and are in the frames fulfilling (1), we can check for objectivity using Eq. (2). We formulate
Theorem 1. Given is a velocity field . If the variational problem Eqs. (5) and (6) has a unique minimizer (up to a steady Euclidean frame change), then the field
inEq.(28)is objective.
This theorem is the main theoretical result of this paper. For proving this, we start with
Lemma 1. Given is a vector field and its observation under the Euclidean frame change (10). Further, let be the observation of under the frame change (3), i.e., is given by Eq. (4). Finally, we define the observation frame,
Then the observationofunder the observation frame (31) fulfills
Proof. Both and are obtained by observing in the moving reference frames , respectively. is given in Eq. (3). Equations (10) and (31) give for ,
This and Eq. (3) give which proves Eq. (32). Note that Eq. (32) holds for a general vector field and is not limited to fields constructed from steady vector fields via reference frame transformation, as done with Eq. (8).
From Lemma 1, it follows for and , connected via Eq. (31), that
where is given in Eq. (5) and
From this follows:
Lemma 2. If Eq. (5) has the unique minimizer , i.e., Eq. (6) holds, then is the unique mimimizer of Eq. (36), i.e.,
Finally, from this, Eq. (32), and
follows:
which proves Theorem 1.
Remark. It is important to note that the optimal vector field in Eq. (30) is objective but not observable from in the sense that there is a general frame change such that is the observation of under . Because of this, care has to be taken which vortex extractors are applied to . While local measures (such as the Q criterion) applied to generally give good results (as done, e.g., in Günther et al.10) Lagrangian approaches (based on an integration of ) are not advisable since a trajectory in does not have a physical meaning.
Remark. If is objective, then its gradient tensor is objective as well. This allows directly considering objective versions of well-established (nonobjective) vortex measures that are based on the velocity gradient, such as vorticity, the λ2, or the Q criterion. Figure 3 illustrates the application of the objective version of the λ2 criterion to a rotating mixer data set.
E. Uniqueness considerations
In the following, we show that a solution of Eqs. (5) and (6) can be unique only up to a steady (time-independent) Euclidean frame change. Let be a steady Euclidean frame change, i.e., is a rotation matrix and is a translation vector. We define the frame change
where takes us from to and takes us from to . Then, we get the partial derivatives
Thus, a reference frame transformation with Eq. (44) transforms to
where the step from Eqs. (46)–(47) to Eq. (48) applies the inverse transformation of Eq. (44) to the coordinates, Eqs. (48) and (49) applies Eq. (45), and Eqs. (49) and (50) transforms the velocity field to coordinates , resulting in the factored out matrix . This gives , resulting in
This has the following meaning: if is a minimizer of Eqs. (5) and (6), then is a minimizer as well. Because of this, a proper boundary condition has to “pick” a particular to ensure a unique solution of the variational problem. Fortunately, this picking does not influence the final objective velocity field in the frame ,
III. RELATION TO EXISTING APPROACHES
In order to come up with practical solutions for the variational problem Eqs. (5) and (6), several further design decisions are necessary:
Choice of the domain: Since it is not generally possible to find a “perfect” frame change for an arbitrary unsteady vector field (i.e., a frame where becomes perfectly steady) for the whole domain (U, T), certain subsets of (U, T) may be considered instead.
Limitations to subclasses of : The space of all considered frame changes can be limited, e.g., to the space of all Euclidean frame changes.
Boundary conditions: depending on the settings above, proper boundary conditions are necessary to ensure a unique solution of Eq. (5) and (6). In particular, the uniqueness problem Eq. (51) needs to be addressed by the boundary conditions.
Non-linearity: the problem Eqs. (5) and (6) is a non-linear partial differential equation (PDE), making a numerical solution challenging. Existing approaches10,16 manage to transform it to a linear PDE before solving it.
A. The approach by Günther et al.10
Günther et al.10 consider only Euclidean frame changes . Furthermore, the approach in Ref. 10 does not directly solve Eqs. (5) and (6). In particular, it does not solve Eqs. (5) and (6) under the additional condition,
as claimed by Haller.2 Instead, Günther et al.10 solve a similar problem to Eqs. (5) and (6) for each point individually by assuming an individual neighborhood for each point. Let be small constants, let be the spatial ε-neighborhood around , and let be the time-neighborhood around τ. Furthermore, we assume small enough to fulfill . Then, Günther et al.10 solved an individual variational problem for each space-time location by
This means that is the optimal frame change when considering only the neighborhood around . From this, Günther et al.10 considered the parameter-dependent vector field
from which the final objective vector field
is derived. To compute , we need to compute for every . For this, certain boundary conditions for the uniqueness problem (51) are necessary. Günther et al.10 used the conditions
which sets conditions only in a single time slice, namely at the observation time , i.e., the reference frame is free to deform locally in the space-time neighborhood. This particular choice of the boundary conditions has the advantage that for each
i.e., it is sufficient to compute without the final transformation (24) from to . [Note that Eq. (61) directly follows from Eqs. (24) and (60).] Finally Günther et al.10 solved the problem for , making it possible to completely represent by a Taylor approximation. With this, the solution of Eqs. (56) and (57) turns out to be a quadratic problem for each with the t-derivatives of as unknowns. In follow-up work, the frame change received further degrees of freedom.13,14
B. The approach by Hadwiger et al.16
Hadwiger et al.16 take another approach to solve Eqs. (5) and (6). Instead of searching for optimal frame changes , they directly solve for the vector fields
The right-hand side of Eq. (62) appears (negated) in the right-hand side of Eq. (30), i.e., we can write
Directly solving for a vector field has the advantage that the uniqueness problem (51) does not have to be addressed because of Eq. (52). In particular, Hadwiger et al.16 search for vector fields that are approximate Killing vector fields, which is justified by the following
Lemma 3. If is a Euclidean frame change, then the vector field is a Killing vector field, i.e., an infinitesimal isometry.
where denotes the time-dependent Lie derivative with respect to the flow of the vector field . To obtain the objective vector field in the frame , Hadwiger et al.16 solve the following variational problem, directly in the frame :
If the search space is restricted to perfect Euclidean frame changes (corresponding to exact Killing fields ), Eqs. (66)–(68) are—due to Eqs. (62)–(65)—identical to Eqs. (5) and (6) but have a number of practical advantages: Eqs. (66)–(68) is linear in the unknown , and the uniqueness problem (51) does not have to be addressed. We note that recently it has also been shown by Zhang et al.19 that valid and physically realizable Euclidean frame changes can be extracted from the field in an objective manner, even for the case when the frame change originally computed by solving the variational problem given in Eqs. (66)–(68) is not a Euclidean frame change.
Haller2 further claims the problems “not accounting for the -dependence of the initial conditions of the flow of their proposed observer vector field,” and “frame-change formulas for rotating observers that do not account for the rotation of the observer” in Hadwiger et al.16 We disagree: Both the -dependence and the rotation are naturally encoded in the vector field , including the corresponding frame change formulas, integrating , given in Sec. 6.3 of Hadwiger et al.16
IV. CONCLUSIONS
Nowadays, it is generally agreed upon that vortex criteria should be independent of the chosen reference frame, in particular invariant to Euclidean transformations, which is referred to as objectivity. Many of the commonly used vortex definitions, such as the λ2- and Q-criterion, do not enjoy this mathematical property. To this date, three generic approaches have been proposed to alter these definitions into an objective counterpart, including the replacement of the vorticity tensor with the relative-spin or spin-deviation tensors, or by finding spatially varying reference frames in which the flow becomes as-steady-as-possible. The latter not only enables the analysis of unsteady flow by means of techniques developed for steady flows, it also makes every existing vortex measure objective. In his recent paper, Haller2 systematically analyzed these approaches, formulated the reference frame optimization as variational problem, and incorrectly concluded that the optimization is not objective. In this paper, we showed that Haller2 applied the objectivity definition incorrectly by comparing optimized vector fields in the wrong coordinates. In fact, both the velocity vectors of the fields and the coordinates in which they are defined must obey the Euclidean transformation. Hence, we demonstrate that the objectivization via reference frame optimization is in fact objective, and we discuss how the variational problem relates to the local optimization approaches of Günther et al.10 and Baeza Rojo and Günther,14 and the global optimization of Hadwiger et al.,16 which also applies analogously to the recent approach by Rautek et al.17 We believe that reference frame optimization is a promising device for unsteady vector field analysis, including not only vortices but also other flow features as well as topological elements.
As a final example, we compute an objective version of the λ2 criterion following Günther et al.10 to a rotating mixer flow. This is a numerically simulated flow with a bulk rotation that is stirred by three rotating paddles in a cylindrical container. While the left-hand side shows the standard λ2 criterion, the objective version on the right-hand side better reveals weaker vortex structures that are located closer to the rotation center. The work was supported by Grant No. DFG TH 692/18-1 and ETH Research Grant ETH-07 18-1. It was also supported by King Abdullah University of Science and Technology (KAUST). This research used resources of the Core Labs of King Abdullah University of Science and Technology.
DATA AVAILABILITY
The data that support the findings of this study are available from the corresponding author upon reasonable request.