Feature Based Visualisation
Feature Based Visualisation
Flow Visualization:
Methods and Applications
1 Introduction
The ongoing strive for improved efficiency, performance, and safety is at the core
of technical flow design. Typical examples of such flows can be found at all scales,
ranging from the gas-burning chamber in household heating appliances that depends
on an optimal mixture of oxygen and gas, to high-performance aircraft design. In
the recent past, computers have become powerful enough to be truly instrumental in
this field, primarily through the widespread use of Computational Fluid Dynamics
(CFD). This methodology offers new means to rapidly simulate and evaluate new
designs. Moreover, it allows for unprecedented insight into complex fluid dynamics
phenomena observed in practical experiments by generating very high resolution
data sets that accurately reproduce the entirety of the flow. This evolution em-
phasizes the need for analysis tools that are both effective and efficient. Scientific
Visualization has become essential in this context.
The dedicated research effort is called Flow Visualization. Its major task is
to provide tools that allow the user to visually explore and assess the properties of
the ever-increasing amount of numerical information that results from CFD compu-
tations. One classical approach is to focus the visualization on features of interest
that engineers and fluid dynamicists consider essential for both scientific and indus-
trial applications. Prominent examples are vortices, shock waves, and separation
or attachment lines. The corresponding visualization techniques are very useful in
practice because they yield a simplified representation of involved flow phenomena
made of patterns that directly match the intuition of the observer. Their limitation,
however, follows from the loose notion of feature that, in most cases, is essentially
application specific. In general, different methods rely on different (if not
contranictory) definitions of the same feature and therefore yield heterogeneous
results. Vortices constitute a typical illustration of that problem: many definitions
have been proposed over the years but none of them is able to properly
characterize vortices in all types of flows [8]. Following a different approach
topology-based methods ex- tract global flow structures defined with respect to the
limit sets of streamlines. The corresponding techniques are built upon the rigorous
mathematical formalism of the qualitative theory of dynamical systems, which
guarantees objective results. Unfor- tunately, the connection between topological
structures and the practical properties of the flow is sometimes unclear and the
resulting pictures tend to lack the intuitive appeal of feature-based
representations.
The objective of the paper is two-fold. First, it provides an introduction to
state-of-the-art feature and topology-based flow visualization methods. Beyond the
techniques traditionally used in practice it describes recent contributions made by
the authors, following an approach aimed at combining the strengths of both topo-
logical and feature-based techniques to yield more effective visualizations. Second,
it demonstrates the use of these algorithms for practical applications. In particu-
lar it discusses their ability to meet the needs raised by the analysis of large-scale
multi-field CFD data sets.
The contents of this paper are organized as follows. Our description starts with on
overview of feature-based flow visualization techniques in section 2. We focus our
presentation on the feature types that are most prominent in practice. Topology-
based methods are introduced in section 3. Basic notions are defined along with
algorithms relevant for visualization purposes. After these initial considerations
we adopt a more practical viewpoint and consider successively two different visu-
alization applications. One concerns vortex breakdown analysis, as discussed in
section 4. The other is dedicated to flow analysis and optimization in engine com-
ponents, section 5.
2 Feature-based Visualization
The goal of feature-based visualization methods is to generate images that restrict
the depiction of complex flow data to a limited set of points, lines, and volumes
representing features of particular interest for the considered application. This
yields fairly abstract pictures that convey significant flow properties in a concise
and compact form. The most prominent examples of features in CFD applications
include vortices, separation and attachment lines, shock waves and recirculation
zones.
The loose, empiric nature of the definition of those feature explains the vari-
ety of algorithms available to locate, identify, and visualize them and requires the
user to determine experimentally which method is best suited for the needs of his
particular application. Further restrictions on the type of method can be imposed
by the size or the structure of the data.
and separation and attachment lines on the other hand. This choice is motivated
by the major practical significance in practice as explained below and illustrated
in sections 4 and 5. For a more general introduction to the topic of feature-based
visualization, refer to [11].
2.1 Vortices
The extraction of vortical structures has been a major topic in visualization for quite
some time. Although a vortex is most intuitively conceived as the superposition of
a flow along an axis and a flow around this axis, there is no satisfying and objective
definition that exists for this flow pattern. As a result, vortex extraction methods
are essentially characterized by the type of vortex criteria they are built on. This
is either a region-based criterion (identifying regions of vortical flow behavior) or
a line-type description (focusing on the vortical axis or vortex core line). Region
definitions include high vorticity, helicity, low pressure. Most often used in engi-
neering is the λ2 definition by Jeong and Hussain [5]. The physical meaning behind
this method is a similarity measure of the local flow structure to that induced by a
pressure valley line. The major limitation of λ2, however, lies in its incapacity to
isolate individual structures.
Among the line-type definitions, the approach of Sujudi and Haimes [14] is
most widely used. The idea here is to perform on a cell-wise basis the pattern
matching of a rotation motion on the vector field and to extract locally sections
of the rotation axis that can be patched together to approximate the vortex core
line. Because of the linear nature of the sought pattern, the method has issues with
vortex core lines that are strongly curved. Roth and Peikert proposed a higher-
order scheme that can extract curved core lines reliably [12]. They also showed
in a subsequent paper that this and other similar methods can be formulated in a
unified framework involving their parallel operator
convergence which are visible in the shear stress vector field. The corresponding
three-dimensional flow pattern is characterized by the presence of a stream surface
starting or ending along the feature line that, on the other hand, swirls around a
nearby located vortex. As a matter of fact, flow separation and vortex genesis are
two closely related phenomena.
Following the original idea of Sujudi and Haimes for vortex core lines, Ken-
wright et al. proposed a simple and fast method for the extraction of separation and
attachment lines [7]. Their basic observation is that these feature lines are present
in two linear patterns, namely saddle points and nodes (see section 3), where they
are aligned with an eigenvector of the Jacobian. The original method works on a
cell-wise basis and extract these pattern within each triangle. Hence it results in dis-
connected line segments, caused to the discontinuity of the Jacobian. Yet, applying
the parallel operator leads to the reformulation of the features in terms of lines of
zero curvature and yields connected lines. However this definition is quite restric-
tive because it assumes that separation resp. attachment lines always have zero
curvature. Moreover, since it requires derivative computation it is very sensitive to
noise. Consequently strong pre-smoothing of the data is often necessary which in
turn can deform and shift the features. Another approach was proposed earlier by
Okada and Kao [9] who extend the classical Line Integral Convolution (LIC) algo-
rithm [1] by color coding the flow direction so as to highlight the fast changes in
flow direction that occur as streamlines approach separation resp. attachment lines.
The weakness of this approach lies in the heavy computation associated with LIC
on one hand, and in the fact that the geometry of the feature lines is not extracted.
Instead, the method computes a density function that indicates the proximity /
likelihood of these feature lines.
Using a different approach, Tricoche et al. recently proposed a scheme [19]
designed to overcome the restrictions imposed by the purely local analysis used in
the algorithms mentioned previously. Their method can be decomposed in three
stages. The first one applies a local criterion to estimate the likelihood of each grid
vertex to lie close to a separation resp. attachment line. In essence, this stage is
comparable to the method of Okada and Kao [9]. However the density computed
here is not directly visualized but serves as input for the next step of the algorithm.
Moreover the local criterion used can be chosen arbitrarily by the user. In particular,
the pattern matching idea underlying Kenwright’s method *7+ can be reformulated to
yield a distance value. The second step leverages these local estimates to monitor
the global convergence of streamlines toward separation resp. attachment lines.
This step is justified by the asymptotic streamline convergence that takes place
along separation and attachment lines in the shear stress vector field. Observe that
streamline integration is global in nature, which makes the method both more robust
and more flexible than Kenwright’s approach. Practically, the ridge and valley lines
of the density function computed previously are extracted. The resulting skeleton
is then used to restrict the candidate seed points for streamline integration to a
set of isolated lines that are discretized at a predefined resolution. Streamline
convergence is measured on a cell-wise basis by incrementing a local counter every
time a streamline crosses a cell. The final step consists in extracting the ridge and
valley lines of this convergence map. This yields an approximation of the
locationdd
of separation and attachment lines, the accuracy of which is determined by the grid
resolution. The actual geometry is eventually provided by streamline integration.
An overview of these successive steps is shown in Fig. 3.
3 Topology-based Visualization
Vector field topology is a powerful approach for the visualization of planar flows.
Topology-based methods leverage basic results of the qualitative theory of dynami-
cal systems to generate effective depictions characterized by a high level of abstrac-
tion and an accurate segmentation of the domain in regions where the flow exhibit
a uniform behavior. Formally, this classification is defined with respect to the limit
sets of the streamlines. Additionally, parametric topology and the notion of bifur-
cation can be used to extend this technique to time-dependent flows and account
for the structural transformations that their topology undergoes over time.
Unfortunately, the application of this methodology to three-dimensional prob-
lems has not so far demonstrated the same usefulness in visualization applications.
One explanation is the intricacy of the resulting pictures: the topology of volume
flows involve stream surfaces that are plagued by self-occlusion and visual clutter.
Another problem concerns the lack of intuitive connection between topological struc-
tures and major features of interest in fluid dynamics problems, as described in the
previous section. Neither vortices nor separation lines are, in general, topological
in nature. Thus topology-based methods fail to extract them properly.
In the following we provide a short introduction to essential notions of planar
and three-dimensional vector field topology. Our presentation is driven by the needs
of visualization algorithms discussed in the next section. For a more complete survey
of existing methods in topology-based flow visualization, we refer the reader to [13].
Limit Sets
The critical points of a steady vector field are the locations where the field magni-
tude vanishes. Because of the uniqueness of the solution of a dynamical system with
respect to its initial conditions, critical points are the only locations where stream-
lines can meet asymptotically. In the non-degenerate, linear case, the nature of a
critical point is determined by the eigenvalues of the Jacobian matrix. The different
types are illustrated in Fig. 4 and Fig. 5 for the planar and three-dimensional case,
respectively. In both cases, the eigenvalues are shown along with the associated
configuration. When all the eigenvalues have positive (resp. negative) real parts,
the critical point is a source (resp. sink). If both positive and negative real parts
are present, the critical point exhibits both source and sink behavior and is called
a saddle point.
Cycles are closed streamlines that correspond to periodic solutions of the
dynamical system. The non-degenerate case corresponds to cycles that act as sink
or sources with respect to the surrounding streamlines.
Separatrices
The limit sets present in a vector field induce a segmentation of the domain into
regions where all streamlines share the same limit sets for forward and backward
integration. The boundaries between such regions are called separatrices.
Specifically, in the planar case two major types of separatrices exist: cycles and
streamlines that attach to a saddle point along its eigenvectors. Refer to Figure 4.
As in the planar setting, separatrices of the three-dimensional topology are either
periodic manifolds or they start at saddle points along their eigenvectors. However
these separatrices are either 1D (streamlines) or 2D (stream surfaces). The latter
are spanned by both eigenvectors associated with the eigenvalues whose real parts
have same sign. Again, refer to Fig. 5.
Figure 10. Vortices as extracted by the vortex surface technique. False posi-
tives (indicated by arrows) are reliably discarded. The closeup (right image) shows clean
separation between the three vortices that form the vortex system. Note the strongly elliptic
shape of the tertiary vortex (red).
Automatic vortex core line extraction can help to some extent. Figure 10 (left)
shows the results of an application of the Sujudi-Haimes algorithm (dark lines).
The results are of mixed quality in that they include the vortex systems as well as
some false positives. Using stream surfaces and the vortex surface technique detailed
above, it is possible to discard the false positives, extract smooth vortex core lines
(magenta lines) and obtain good vortex regions for each of the three vortices (red,
green and blue surfaces). The right image shows a closeup. The separation between
the individual vortices is excellent, and the elliptic shape of the tertiary vortex is
extracted well.
To further understand the relation between the different vortices in each sys-
Figure 11. Application of cutting-plane topology to a delta wing simulation.
Left: Plane travels along the wing symmetry axis, revealing the primary vortices and ex-
tracting their core lines as spiral-type critical point paths. Middle: Plane travels along the
primary vortex core line. The full vortex system is visible. Right: A single slice (from the
middle image) allows a detailed observation of the structural interaction between different
vortices (marked by green arrows) and the corresponding separation and attachment (see
also Fig. 12) on the wing surface (blue and red arrows).
tem, we have applied cutting-plane topology. The resulting structures are shown
in Figure 11. The left image gives an overview of the structures that are revealed
when the cutting plane travels along the symmetry axis of the wing. Although it is
not orthogonal to the vortical structures, a good overall picture of the flow situation
results. The primary vortex cores can be identified as the paths of critical points
as the plane travels. The middle and right images show a closeup of the vortex
system structure. More detail is extracted as the plane travels orthogonal to the
primary vortex core. The interaction of the different vortices can be inferred from
the topology. Effectively, the visualization of the vortex system is here reduced
to two-dimensions, where it is much easier to comprehend. The separation in the
wing shear flow appears as a natural part of the vortex system (individual vortices
indicated by green arrows) and is extracted as the paths of saddle critical points
close to the wing surface (red arrow in the right image). This primary separation
is essentially the boundary of the influence regions of the primary and secondary
vortices.
The separation and attachment structures can also be extracted directly, al-
though with some difficulty. Figure 12 (left) shows results obtained using the ap-
proach described in Section 2. The primary separation is clearly visible. Together
with the topological visualizations presented before, a complete picture of the com-
plex vortex dynamics above the delta wing can be obtained and compared to a
theoretical model (cf. [2]). Although it is not of direct use in the analysis of vortex
breakdown, it is of great value with respect to a validation of simulation results. In
the next section, we focus on a direct visualization of the breakdown structure.
Figure 13. A stream surface illustrating the flow structure of the breakdown
bubble in the delta wing dataset. While the opaque rendering (left) fails to provide insight,
application of a clipping plane (middle) or transparent rendering (right) details the internal
flow structure, essentially consisting of an asymmetric recirculation zone rotating around
the original vortex core line.
perception issues. Stream surfaces can deliver better images here by providing a
surface primitive that helps in understanding the three-dimensional structure of the
flow. Fig. 13 provides an example. While the stream surface completely wraps the
breakdown bubble, inner structure is easily revealed by applying a clipping plane.
The observed motion is of a recirculation-type, overlaid by a simultaneous rotation
around the original vortex axis.
To better identify the recirculation zone, cutting-plane topology is an ideal
tool as it allows to discard the superposed rotation. In this case, the cutting-
plane rotates on the vortex axis. The recirculation can easily be identified by a
closed, strongly curved vortex core (cf. Fig. 4.3) that appears as a spiral-type
critical point path in the cutting-plane topology. It is interesting to note that
these recirculation vortices are very hard to extract using conventional schemes
due to their strongly curved nature. The right image shows three recirculation
zones, hinting at several occurrences of vortex breakdown of the primary vor-
tex. While the cutting-plane topology is immensely useful in the analysis of the
breakdown bubble flow structure, it cannot provide an understanding of the dy-
Figure 14. Application of cutting-plane topology to vortex breakdown analysis.
Visualization of topology is enhanced by volume-rendered isosurfaces of velocity magnitude.
Left: Right-side breakdown bubble. Structure is revealed through cutting-plane topology
(plane revolving on vortex axis). The recirculation core is extracted as a spiral-type path
(yellow). Right: Left-side staggered breakdown. Although a breakdown bubble is not dis-
cernible, several recirculation zones are extracted (yellow), hinting at multiple breakdown
bubbles.
namic of the flow in this case since it is essentially limited to a single time slice.
Topological methods can still be useful
860 in this context. It has been known that
the occurrence of a breakdown bubble
is accompanied by stagnation points in
780
the flow, i.e. critical points of the flow
vector field, that lie on the vortex axis
and essentially “delimit” the bubble.
timestep
700
Diesel Engine
This simulation is the result of a the simulation of steady charge flow in a
diesel engine, based on a stationary geometry, resulting in a simple and stable
flow. The main axis of motion is aligned with the cylinder axis and is constant
in time. The spatial resolution of the single time step is high with a total of
776,000 unstructured cells on an adaptive resolution grid.
Gas Engine
This dataset results from an unsteady simulation of the charge phase of a gas
engine. As the piston moves down, the cylinder volume increases by an order
of magnitude and the fuel-air mixture entering the cylinder is drawn into a
gradually developing tumble pattern. The overall motion is highly transient
and unstable. Both spatial and temporal resolution are relatively low, with
the data given on 32 time steps and the grid consisting of roughly 61,000
unstructured elements at the maximum crank angle.
For both datasets, the simulation results are given in the form of a vector field
defined in the interior of the respective cylinder geometries. As is quite common
in CFD simulations, the flow is required to vanish on the domain boundary (the so-
called no-slip boundary condition) in order to correctly model fluid-boundary
friction. Nevertheless, values on the boundary of the domain are easily inferred by
e.g. extrapolation of volume values next to the boundary. We remark that in classi-
cal automotive engineering analysis, visualization is rarely performed for volume or
boundary data but instead on two-dimensional slices. The main visualization goal
in these cases is is the extraction and visual analysis of the swirl- and tumble-motion
patterns.
Figure 17. Application of cutting-plane topology and boundary topology
to the gas engine dataset. Left: Cutting-plane topology provides a good overview
of the overall motion pattern. Spiral-critical point paths (green) indicate rotation
centers. Middle: In combination with boundary topology, interactions of boundary
and volume flows are visible. Spiral critical points occur on the boundary where
vortices intersect it. Right: Rotational centers enable an enhanced interpretation of
conventional particle visualizations. Particles are color coded according to velocity
magnitude. It is visible how the rotation centers capture particles in small-scale
rotations.
than expected, and the design must be improved. Here, the axis for the cutting-
plane approach is quite naturally parallel to the desired tumble axis, discarding
patterns of motion that are not considered important for this application.
For the diesel engine (where a swirl-type pattern is desired), topological meth-
ods can provide results of similar quality, especially in combination with other tech-
niques. Since the topological visualizations are mostly sparse in the sense that they
provide a concise line-type depiction of the flow structure, it makes sense to combine
them with feature extraction techniques that create a dense visualization (such as
the λ2-criterion) or other visualization techniques. Figure 5 gives several examples
of hybrid visualizations of this type. The combination of boundary and volume
visualizations gives a good understanding of the general nature of the flow. Again,
we find that the overall swirl pattern is a combination of several smaller vortices.
There is only one large but weak vortex extending all the way to the bottom of the
engine cylinder. The achieved pattern is therefor suboptimal.
For both the gas and diesel engines, the presented visualizations can be con-
structed without user assistance. This guarantees that visualizations are compara-
ble between different simulation datasets of the same type, an important property
when using visualization as a design analysis tool