Abstract
This article presents an overview of visual analysis techniques specifically developed for high-resolution direct numerical multiphase simulations in the droplet dynamic context. Visual analysis of such data covers a large range of tasks, starting from observing physical phenomena such as energy transport or collisions for single droplets to the analysis of large-scale simulations such as sprays and jets. With an increasing number of features, coalescence and breakup events might happen, which need to be visually presented in an interactive explorable way to gain a deeper insight into physics. But also the task of finding relevant structures, features of interest, or a general dataset overview becomes non-trivial. We present an overview of new approaches developed in our SFB-TRR 75 project A1 covering work from the last decade to the current work-in-progress. They are the basis for relevant contributions to visualization research as well as useful tools for close collaborations within the SFB.
You have full access to this open access chapter, Download chapter PDF
Similar content being viewed by others
1 Introduction
Understanding droplets and droplet dynamic processes is very important in many areas of nature and technical systems. Modern research expands knowledge utilizing high-resolution computer simulations and experimental measurements producing a very large amount of data. However, these data need to be analysed and visualized to allow gaining insights. Also in the context of droplets, flow visualization is the adequate approach to do so. Traditionally, flow visualization focused on single-phase flow, but of course, observing droplets involves at least two phases, adding additional complexity to the analysis and visualization task.
In this work, we mainly analyse datasets resulting from simulations carried out with the Free Surface 3D (FS3D) [2] software. FS3D is a Computational Fluid Dynamics (CFD) solver, which employs the Volume of Fluid (VOF) method [9]. The resulting data are defined on a grid, where each cell stores the volume fraction of each phase in addition to a velocity vector. The VOF method does not inherently track an interface between phases but reconstructs it in each time step based on the VOF-field using piecewise linear interface calculation (PLIC). For interpretability, PLIC is incorporated in the visualization for surface representation [13].
2 Surface Reconstruction from Multiphase Volume of Fluid Simulations
The interface between different phases is probably one of the most interesting and mostly considered quantities when analysing the result of multiphase fluid simulations. Unfortunately, the VOF method does not track an interface and therefore it needs to be reconstructed. This is not only required during the simulation but also for the visualization. The reconstruction of an interface from a VOF-field can be interpreted as an isosurface extraction problem. However, traditional isosurface extraction introduces a reconstruction error. This can especially be seen by observing cells that are defined as interface cells according to the VOF method, but for which the isosurface lies completely outside of these cells. Therefore, fluid engineers should prefer to view the surface reconstructed with the PLIC method, as this is the standard method used within the simulation code, even if this reconstruction has the drawback of not being continuous. An example of a PLIC surface is shown in Fig. 1.
The work of Karch et al. [13] presented a visualization approach as well as a generalization of the PLIC method as a higher-order approximation of the interface. While this still maintains the piecewise characteristic, the surface becomes much smoother as can be seen in Fig. 1 (right).
A more recent challenge are simulations including three instead of just two phases or species. In such simulations, a second volume fraction field is required. Unfortunately, this makes it much harder to calculate a gradient in these fields. The gradient is required for the PLIC algorithm. According to this algorithm a PLIC patch within a cell is placed by using the negative gradient as patch normal. Further these patches are then placed iteratively to find a position such that the cell volume below the interface matches exactly the volume fraction of the cell. By using two VOF-fields, we now have the problem when looking up neighbouring cells for the calculation of partial derivatives for the gradient, these cells might be occupied with the second field and therefore no values would be available. To handle such cases, classification of the species within a \(3 \times 3 \times 3\) stencil around each cell is required to apply special calculations depending on the setup. These special cases are already handled within FS3D [15], see also Potyka et al. in this volume during simulation and the normals for the PLIC surface in these cells are stored as additional resulting data. For the visualization part, we implemented respective cell classification and take these additional normals into account. Further, the handling of three species requires an extension to the classic PLIC surface placement algorithm to work on tetrahedral cells instead of just cuboid cells, because in cells with all three phases some space is already occupied by the third species. An example of such a result is shown in Fig. 2.
3 Analysis of Breakup and Coalescence
Multiphase flow analysis and visualization often focus on the phase interface surface. However, in several applications droplet breakup and coalescence events occur which are very interesting because of the underlying physics. Karch et al. [11] introduce a space-time graph representation that allows exploring such events in a structured way. An example is shown in Fig. 3. There, a 3D spatial view (Fig. 3a) and a 2D parametric view (Fig. 3b) are combined. The 3D spatial view provides context to the position and surface shape of a feature. Next to this, the 2D parametric view shows the graph structure providing connectivity information of feature instances between time steps. For this work, initially, the different features need to be tracked. This includes spatial and temporal tracking. Spatial connectivity is obtained by finding face-connected cells with a volume fraction \(f>0\). Temporal tracking is achieved by tracking particles seeded within each cell of a feature to the next time step and match the resulting positions to spatial features within this time step. To provide additional context in the visualization, the space-time graph is rendered as a Sankey diagram, where the volume of a droplet determines the width of the graph edges (Fig. 3b). Further, these edges can be extended to map additional quantities of single droplets, for example, angular momentum, to colour (Fig. 4).
4 Visual Analysis of Droplet Dynamics in Large-Scale Multiphase Spray Simulations
Large jet simulations generate terabytes of data containing thousands of droplets and ligaments resulting from atomization processes. This makes it a laborious task to find interesting behaviour of single outlier droplets as well as finding general behaviour patterns in the overall droplet set. These difficulties not only cover the interactive analysis task itself from a user perspective but also the fact that processing such large amounts of data is not easy when targeting a highly interactive system. We try to overcome these problems by introducing a new visual analysis system utilizing modern machine learning and clustering techniques [8].
Our method uses multiple preprocessing steps to calculate useful physical quantities and other indicator values assisting the user in the following analysis process. Starting from the raw simulation output, the first step is to extract droplets from the VOF-field. This is achieved by using face-connected component labelling on grid cells that contain the fluid phase. In the next step, for each droplet instance, a vector of physical quantities is calculated as a reduced abstract description of this droplet instance. The quantities are volume, surface area, surface area to volume ratio, angular momentum, velocity, momentum, angular velocity, total energy, kinetic energy, rotational energy, and residual energy. In addition, we store a geometric surface representation, which later will be used for rendering.
To observe single droplets over time, we need to track the individual droplet instances between the time steps of the simulation. This is done by tracing virtual particles using the velocity field, according to the method introduced by Karch et al. [11]. The result is a graph containing temporal dependencies between all droplet instances in all time steps of the simulation. From this, we can easily detect and exclude all split and merge events in order to focus on the actual behaviour of single droplets.
We utilize hierarchical clustering according to Ward’s method [10] on the droplets within the abstract physical quantity space as a method to detect general behaviour patterns. Hierarchical clustering has shown the best results in practice, compared to density-based clustering algorithms such as DBSCAN [6]. The underlying problem is, that the distances between data points vary depending on the type of cluster and DBSCAN will only detect a single large cluster with very similar droplets. All other droplets will be single outliers and no further clustering structure can be found among them. Unfortunately, hierarchical clustering has worse algorithmic scaling performance and limits the number of data points to be clustered at a time. Therefore, we applied the clustering to time-averaged droplet quantities instead of using each individual droplet instance.
As a complementary method to focus on individual anomalous droplets, we utilize neural network-based machine learning based on previous work by Tkachev et al. [16]. We define a measure of anomaly in how likely the temporal behaviour of a droplet is predictable with a relatively small neural network. Therefore, we use the separation and collision-free time series of individual droplets. This time series is cut into overlapping fixed-size windows of size k, where we feed the quantity vector of \(k-1\) first subsequent time steps into a neural network, to predict the k-st time step. The norm of the difference between the predicted and actual values are used as the anomaly measurement value. One special aspect of our method is, that we train a separate neural network for each quantity because the quantities seem to vary in how likely they are predictable. This avoids that a less likely predictable quantity influences another one.
Finally, we include all our precomputed values into an interactive system, as depicted in Fig. 5. The system consists of three different views, each supporting a different task. The 3D surface view provides a spatial context to the droplets and shows their surface. Many filtering options allow for selecting quantity value ranges of interest for aggregating data. Each quantity can be mapped to the droplet surface by colour. In addition, the temporal development of selected droplets is shown next to similar time series. The quantity relation view uses information visualization techniques such as parallel coordinates and scatterplot matrices to present a large number of droplets within the abstract quantity space. This allows searching for general patterns and behaviour types between these quantities. Highly interactive framerates are achieved by using the MegaMol framework [7] as the technical basis for this view. The flow view is a fully integrated ParaView [1] instance, which is used to support a deep analysis of a single selected droplet using the original simulation output.
The system is used to analyse a jet dataset [4, 5] with the help of different tools. First, we can take a look at the quantity relation view to find high-level relations between the quantities. An example of the radius to velocity relation is shown in Fig. 6. Here, the two main clusters within the scatterplot result from a two nozzle setup within the simulation, where the outer velocity is higher than the inner velocity. The linkage between the different tools of the systems allows to easily view selected droplets from the scatterplot within the 3D surface view for spatial and geometric context.
Automated clustering can pre-filter the droplets into groups of similar quantities and droplet behaviour. The quantity relation view allows to interpret the different clusters and inspect their value ranges (Fig. 7), even if there is no direct physical interpretation. Within the 3D surface view, we can observe a similar size and droplet shape for all droplets of the same cluster (Fig. 8).
The prediction anomaly value is especially useful for highlighting interesting droplets and for hypothesis forming and validation during analysis. We found different droplet internal flow structures for different patterns of anomaly along with the time series of droplets. For example, droplets with a constantly high anomaly value or slowly decreasing value seem to exhibit saddle-type flow patterns. In contrast, low anomaly droplets tend to show a shear flow pattern. We found only one droplet with increasing anomaly (Fig. 9). This is the only droplet we could find where its internal flow exhibits a vortex.
5 Geometric Approaches to the Analysis of Jets
Spray simulations result often in complex surface structures. Many droplets and ligaments are rugged and interwoven, making visual analysis hard, especially due to the occlusion. Therefore, existing analysis approaches are based on calculating statics and other quantities such as mass or velocity distributions or by just visualizing subsets of the data by slicing and clipping. All these methods are based on reducing the observed data, which has the drawback of either losing details (as by global statistics) or context (as by slicing or clipping). In this work, we aim to overcome these problems by using geometric transformations to reduce occlusion, while trying to keep relevant structures and minimize distortion effects.
The most simple, straightforward approach is to transform the surface representation from cylindrical coordinates to Cartesian coordinates. This allows to view a jet from all sides at the same time, but of course, introduces distortion. Figure 10 shows selected time steps from an animation of this transformation. Nevertheless, in cases where the relative position of structures is more of interest than the actual shape of the objects this method can still be effective to some degree.
With a second method, we try to keep the shape of single droplets persistent. Therefore, we extract droplets and calculate the PLIC surface representation within the original simulation domain in the same way as in Sect. 4. Then, we transform the centre of mass and the orientation of a droplet from cylindrical to Cartesian coordinates. This retains the shape of individual droplets, while only the distance between them is distorted.
We implemented a dedicated tool that allows us to dynamically change the transformation method at interactive speeds during rendering. Figures 11 and 12 show the data undergoing the straightforward coordinate transformation. While some distortion may affect the droplets, this view is especially useful to observe the base of the jet. All sides can be observed at the same time and surface structures and waves can easily be compared, even if they may be located on the opposite side of the jet within the original spatial domain. To focus on the droplets themselves, the droplet-based transformation as shown in Fig. 13 might be more useful. We can see the undistorted droplets next to each other providing spatial context. The disadvantage of this is, of course, that the distances between droplets are distorted.
These methods are still work-in-progress and will be extended in various ways. First, we will investigate a combination of transformations, where the inner droplets are transformed as in Fig. 12, while the outer droplets are only moved as in Fig. 13. The challenge will be to find a smooth transition area, to prevent a prominent visual edge and avoid potentially possible droplet collisions. Next, we will introduce non-linear transformations to find a compromise between fluid and non-fluid phase distortion.
6 Multi-Component Visualization
Karch et al. [12] presented a method for analysing feature separation in advected scalar fields by calculating separation surfaces. The method is based on the idea to track the movement of small fluid portions by representing them as virtual particles which are tracked along the velocity field. In more detail, the method will place virtual particles at a user-defined starting time step within the fluid phase. Then, the particles are advected with the velocity field to a selected end time step. As the particles are used to represent a fluid portion around them, it is now possible to label each particle with the name of the feature in which it is located within the end time step. Now within the starting time step, the labels can be used to extract continuous regions of particles with the same label. The borders between these regions show, where the fluid will separate at a later time step and can be visualized as separation surfaces.
Unfortunately, during direct multiphase simulations often only every nth time step is saved to disk. Due to this relatively coarse temporal resolution, the advected particles will diverge from the actual VOF-field. Therefore, Karch et al. [12] suggested several corrector methods to keep the virtual particles within the VOF-phase.
Figure 14 shows the temporal development of the separation surfaces within a binary droplet collision. Figure 15 provides a detailed clip of the separation surfaces within the starting time step.
Currently, this approach is extended to support multiphase simulations with more than two phases or species. For this work, we are using a dataset of Potyka and Schulte [15] simulating a crossing separation (see also Potyka et al. in this volume). This is a head-on collision of a 50% water and 50% glycerol droplet with a silicon oil M5 droplet. The relative collision velocity is 3.17 ms\(^{-1}\) and the radius of both droplets is around 200 \(\upmu \)m. The dataset is shown in Fig. 16. The basic principle of our method works the same as for two phases, but the labelling must now handle multiple phases together and also the correctors need to be adopted. Figure 17 shows very early results using this method on the dataset. As the corrector methods are not fully adopted to three species, we can see that some particles are advected wrongly (marked red in Fig. 17). We expect to significantly reduce the number of such wrongly advected particles once the implementation of these correctors is finished.
7 Two-Phase Flow Visualization on High-Resolution Displays
The surface of jets or similar two-phase simulations is very often highly complex with many detailed small scale structures. The limited size of standard workstation screens forces the users to choose between having an overview or zooming into a smaller region of interest for details. A powerwall [14] as a large-scale high-resolution display has the potential to overcome this limitation. Users can see the full geometric expansion of a dataset and small scale structures at the same time and they can freely move in front of the powerwall to observe the details, while the global context remains. Further, the powerwall can be used by multiple users at the same time, allowing for interactive collaboration.
Using a powerwall for flow visualizations brings various technical difficulties compared to a desktop workstation. The powerwall installed at the Visualization Research Center of the University of Stuttgart is driven by ten 4K projectors and the images need to be rendered in a distributed cluster. Therefore, standard visualization software, cannot simply be used without further adjustments. We have chosen to build on the Unreal Engine [3], as it already supports distributed rendering. This includes synchronising settings and parameters across the render cluster and support for splitting a camera into multiple local tiles, which can later seamlessly be shown as a single image. While the Unreal Engine has the advantage of providing features for utilizing the powerwall and great rendering results, we still need to integrate our multiphase datasets. Both, for performance reasons and simplicity we have decided to externally pre-compute a geometric surface representation of the multiphase simulations using PLIC. This representation is stored in glTF format and can be imported as an asset into the Unreal Engine. Figure 18 shows an example, where two users collaborate and interactively analyse a jet simulation dataset.
With this development, we have demonstrated that with some technical effort the potential of the powerwall can be utilized for multiphase flow visualization. The Unreal Engine is a good technical foundation to set up the cluster environment and to render high-quality images, however, common visualization tools such as filtering, clipping and the handling of additional data values per droplet are not yet supported by the engine and must be implemented. We now aim at evaluating the analysis process and compare it to standard flow visualization techniques on desktop screens. In order to benefit from collaboration, the interaction concept would need to be extended to multiple users such that more than one person is able to control the view.
8 Conclusions
Even after a decade of research and development, interactive visualization of multiphase flow remains a challenging problem. While also single-phase flow visualization techniques continue to make progress, not all of these advances can be easily transferred to multiphase flow. As modelling and simulation of droplet phenomena have evolved over the years within the SFB-TRR 75, so have the requirements for visual analysis. Datasets have grown in size and complexity and many research questions cannot be answered by standard postprocessing tools. In this paper, we have reported on several new visualization techniques resulting from research in the project A01. Most of them are published together with our collaboration partners, others are still work-in-progress. The contributions cover a large span of topics ranging from phase interface visualization, topology representation of breakup and coalescence as well as tracking of separation surfaces, occlusion reduction within complex structures such as jets, assisted analysis and hypothesis forming tools to reveal relevant structures in large datasets, to visualization on high-resolution powerwalls. Concerning the visual analysis of simulations of more than two phases, only first steps have been taken and many options for future research became visible. Machine learning techniques were introduced as a means for identifying droplets with interesting features and we expect more such approaches to be helpful for comparative visualization and exploration of simulation ensembles.
References
Ayachit U (2015) The ParaView guide: a parallel visualization application. Kitware, Inc
Eisenschmidt K, Ertl M, Gomaa H, Kieffer-Roth C, Meister C, Rauschenberger P, Reitzle M, Schlottke K, Weigand B (2016) Direct numerical simulations for multiphase flows: an overview of the multiphase code FS3D. Appl Math Comput 272:508–517. https://doi.org/10.1016/j.amc.2015.05.095
Epic Games: Unreal engine (2021). https://www.unrealengine.com
Ertl M (2019) Direct numerical investigations of non-newtonian drop oscillations and jet breakup. PhD thesis, University of Stuttgart. https://doi.org/10.18419/opus-10764
Ertl M, Weigand B (2017) Analysis methods for direct numerical simulations of primary breakup of shear-thinning liquid jets. Atomiz Sprays 27(4):303–317. https://doi.org/10.1615/AtomizSpr.2017017448
Ester M, Kriegel HP, Sander J, Xu X (1996) A density-based algorithm for discovering clusters in large spatial databases with noise. In: Proceedings of the second international conference on knowledge discovery and data mining, KDD’96. AAAI Press, Portland, Oregon, pp 226–231
Gralka P, Becher M, Braun M, Frieß F, Müller C, Rau T, Schatz K, Schulz C, Krone M, Reina G, Ertl T (2019) MegaMol - a comprehensive prototyping framework for visualizations. Eur Phys J Spec Top 227(14):1817–1829. https://doi.org/10.1140/epjst/e2019-800167-5
Heinemann M, Frey S, Tkachev G, Straub A, Sadlo F, Ertl T (2021) Visual analysis of droplet dynamics in large-scale multiphase spray simulations. J Vis 24(5):943–961. https://doi.org/10.1007/s12650-021-00750-6
Hirt CW, Nichols BD (1981) Volume of fluid (VOF) method for the dynamics of free boundaries. J Comput Phys 39(1):201–225. https://doi.org/10.1016/0021-9991(81)90145-5
Johnson SC (1967) Hierarchical clustering schemes. Psychometrika 32(3):241–254. https://doi.org/10.1007/BF02289588
Karch GK, Beck F, Ertl M, Meister C, Schulte K, Weigand B, Ertl T, Sadlo F (2018) Visual analysis of inclusion dynamics in two-phase flow. IEEE Trans Visual Comput Graph 24(5):1841–1855. https://doi.org/10.1109/TVCG.2017.2692781
Karch GK, Sadlo F, Boblest S, Ertl M, Weigand B, Gaither K, Ertl T (2017) Visualization of feature separation in advected scalar fields. https://arxiv.org/abs/1705.05138
Karch GK Sadlo, F, Meister C, Rauschenberger P, Eisenschmidt K, Weigand B, Ertl T (2013) Visualization of piecewise linear interface calculation. In: 2013 IEEE pacific visualization symposium (PacificVis), pp 121–128. https://doi.org/10.1109/PacificVis.2013.6596136
Müller C, Reina G, Ertl T (2013) The VVand: a two-tier system design for high-resolution stereo rendering. In: CHI POWERWALL 2013 workshop
Potyka J, Schulte K (2021) New approaches for the interface reconstruction and surface force computation for volume of fluid simulations of droplet interaction of immiscible liquids. https://arxiv.org/abs/2104.11108
Tkachev G, Frey S, Ertl T (2019) Local prediction models for spatiotemporal volume visualization. IEEE Trans Vis Comput Graph 1. https://doi.org/10.1109/TVCG.2019.2961893
Acknowledgements
We kindly acknowledge the financial support by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) - Project SFB-TRR 75, project number 84292822.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made.
The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.
Copyright information
© 2022 The Author(s)
About this chapter
Cite this chapter
Heinemann, M., Sadlo, F., Ertl, T. (2022). Interactive Visualization of Droplet Dynamic Processes. In: Schulte, K., Tropea, C., Weigand, B. (eds) Droplet Dynamics Under Extreme Ambient Conditions. Fluid Mechanics and Its Applications, vol 124. Springer, Cham. https://doi.org/10.1007/978-3-031-09008-0_2
Download citation
DOI: https://doi.org/10.1007/978-3-031-09008-0_2
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-09007-3
Online ISBN: 978-3-031-09008-0
eBook Packages: EngineeringEngineering (R0)