18.1 Introduction
18.2 In-Situ Data Compression and Indexing
18.2.1 Early In-Situ Data Preparation
18.2.2 Grid Compression and Index Generation
fastpfor
[19] and the general purpose lossless compressor zstd
1 are used.18.2.3 In-Situ Compression Performance
Non-temporal Compression Performance
Temporal Compression Performance
18.2.4 Summary
18.3 Query-Driven Visualization of Melt Flow
18.3.1 Querying of Regions in the Flow Field
18.3.2 Implementation of Query Mechanism
lqaTable
Source
algorithm performs the so-called Count Query, the lqaIndex
Source
performs the so-called Index Query and lqaGrid
Source
the so-called Grid Query. The LITE-QA query algorithms act as data producer. Instead of loading complete uncompressed data sets from files, they use the data index for localization and decompression of only those parts of the simulation grid that are required for the visualization. The queries are typically executed in a hierarchical order, as shown in Fig. 18.9: lqaTable
Source
determines the value distribution of one index variable, e.g. M, and returns a histogram as a vtkTable
.lqaIndex
Source
evaluates one or more range conditions on index variables, e.g. \(a\le M\le b\), and returns the grid cell indices I matching the range conditions as a vtkPolyData
point cloud.lqaGrid
Source
evaluates the range condition according to lqaIndex
Source
and, additionally, decompresses the simulation data at the respective grid cells to return the flow field u, v, w as a vtkImageData
.18.3.3 Query-Driven Local Visualization
lqaIndex
Source
and lqaGrid
Source
algorithms are used as a data producer for the visualization pipeline. The range condition for the queries is formulated based on the data distribution of the index variables u, M, Q as explained in Sect. 18.3.1, which are obtained using a preceding count query using lqaTable
Source
as shown in Fig. 18.9. The locations obtained from the index using the range conditions on index variables u, M, Q usually form clusters, which correspond to local phenomena, e.g. backflow, fast preferential flow and vortex-like or swirled flow.18.3.4 Export of Visualization Scenes
ExportScene()
and SaveData()
function from the ParaView Python module respectively. For web export, ParaView generates a stand-alone HTML version of the scene, which uses WebGL for rendering. For VR, the scene is exported to files and imported into a distributed rendering system based on OpenSceneGraph.
Iterative Generation of Visualizations
UpdatePipeline(time)
and SaveScreenshot()
function from the ParaView Python module in order to generate frames for an animation at the identified location in a temporal context. Figure 18.12 shows the temporal evolution of the flow of liquid aluminum for the three regions, which are identified in time step 80 using range conditions on the index variables u, M, Q, i.e. a large backflow vortex, fast preferential flow paths and vortex-like or swirled flow.
18.3.5 Summary
18.4 Virtual Prototyping Study
18.4.1 Overview of Investigated Filter Structures
A
) modification of strut shape:-
\(f_a\)—elliptical elongation and flattening of the strut cross section with respect to the bulk flow direction controlled by a strut aspect ratio a,
-
\(f_{ab}\)—drop-like strut cross section controlled by a strut aspect ratios a for the upper and b for the lower half of the strut cross section shape, and
-
\(f_{ba}\)—reversed drop-like strut cross section shape.
B
) insertion of flow-guiding features:-
\(f_w\)—closing of a total amount of w randomly chosen pore windows,
-
\(f_\alpha \)—insertion of finger-like struts on the downstream surface, downward-pointing, inclined by angle \(\alpha \) with respect to the bulk flow direction, and
-
\(f_\beta \)—insertion of finger-like struts on the upstream surface, upward-pointing, inclined by angle \(\beta \).
C
) varying pore size and strut shape within a filter:-
\(f_c\)—continuous thickening of struts from top to bottom, and
-
\(f_q\)—systematic arrangements of a total amount of q size-varying pores.
Modifications of Strut Shape and Insertion of Flow-Guiding Features
A
) and (fB
) are designed by modification of the strut shape and pore geometry of a reference structure \(f_1^\varepsilon \) with 216 pores. Reference structures are generated for porosities \(\varepsilon =70,80,90\)% which exhibit equal-sized pores with circular strut cross section shape, i.e. \(f_1^\varepsilon \) corresponds to \(f_a\) with aspect ratio \(a=1\) and porosity \(\varepsilon \).A
) and (fB
) are generated for porosities \(\varepsilon =70,80,90\)%.
Modifications with Varying Pore Size and Strut Shape
C
) vary pore size and, resp., strut shape along the filter depth. In group \(f_c\), the strut width increases from top to bottom while in group \(f_q\), the pore size is systematically varied in different layouts (see Fig. 18.14). Filters \(f_c\) are generated with the filter skeleton of the reference structure \(f_1^\varepsilon \). Filters \(f_q\) are generated with three new filter skeletons arranging size-varying pores: C
), a variation of the porosity is induced in different spatial regions of the filter domain. For \(f_c\) (ix–xi) and \(f_q\) (ix) and (x), the porosity decreases along the filter depth in a uniform way according to the increase of strut thickness or the decrease of the pore size. In contrast, for \(f_q\) (xi) with \(q=320\) pores, where large pores alternate with clusters of smaller pores, locally increased and decreased porosity is induced on a raster of \(4\times 4\times 4\) spatial regions in an interlaced manner.
18.4.2 Generation of Simulation Data Sets
A
) and (fB
) are generated with 4 parameterizations and for porosities \(\varepsilon =70,80,90\)% each, yielding 72 concrete filter designs. In group (fC
), filters \(f_q\) are generated with 3 parameterizations and porosities \(\varepsilon =70,80,90\)% to yield 9 concrete filter designs, while filters \(f_c\) are generated with 3 parameterizations and fixed porosity \(\varepsilon =85\)% for 3 filter designs.Modification | Parameterization | ||||
---|---|---|---|---|---|
(f A ) Strut shape | (i) | (ii) | (iii) | (iv) | |
– Elliptical struts | \(f_a\) | \(a=\) 0.5 | 1 | 2 | 4 |
– Drop-like struts | \(f_{ab}\) | \(a=\) 1 \(b=\) 0.25 | 1 0.5 | 2 0.25 | 2 0.5 |
– Drop-like reversed | \(f_{ba}\) | \(a=\) 1 \(b=\) 0.25 | 1 0.5 | 2 0.25 | 2 0.5 |
(f B ) Flow-guiding features | (v) | (vi) | (vii) | (viii) | |
– Closed windows | \(f_w\) | \(w=\) 50 | 100 | 150 | 200 |
– Finger-like downwards | \(f_\alpha \) | \(\alpha =\) \(15^{\circ }\) | \(25^{\circ }\) | \(35^{\circ }\) | \(45^{\circ }\) |
– Finger-like upwards | \(f_\beta \) | \(\beta =\) \(135^{\circ }\) | \(145^{\circ }\) | \(155^{\circ }\) | \(165^{\circ }\) |
(f C ) Varying geometry | (ix) | (x) | (xi) | ||
– Size-varying pores | \(f_q\) | \(q=\) 200 | 265 | 320 | |
– Shape-varying struts | \(f_c\) | \(c=\) 0.5 | 1 | 2 |
Surface Area of Simulated Filters
A
), (fB
) and (fC
) is shown in Fig. 18.15. The filters \(f_a\), \(f_{ab}\), \(f_{ba}\), \(f_\alpha \), \(f_\beta \), \(f_w\), \(f_c\) and \(f_q\) are generated with parameterizations (i–xi) according to Table 18.1. As can be seen, all modifications lead to an increase of the surface area, except \(f_q\) (ix), which has a lower surface area than the corresponding reference structure \(f_1^\varepsilon \) with the same porosity. Filters with drop-like strut shape \(f_{ab}\) and \(f_{ba}\) in parameterizations (i) and (ii), and filters with finger-like struts \(f_\alpha \) and \(f_\beta \) exhibit the largest increase. Among filters with porosity \(\varepsilon =90\)%, filters with closed windows \(f_w\) (viii) have the largest surface. Although the filter \(f_q\) (xi) has the largest cumulative strut length, its surface area is smaller as compared to \(f_\alpha \) and \(f_\beta \).
Modeling the Fluid Flow
Dimensionless number | Value | Definition |
---|---|---|
Reynolds number | \(1.85\times 10^{1}\) | \(Re={\rho u d_\textrm{s} }/\mu \) |
Forchheimer number | \(1.07\times 10^{0}\) | \(Fo={\rho u_\textrm{D} k_1}/(\mu k_2)\) |
Interception number | \(3.15\times 10^{-2}\) | \(d_\textrm{P}^*=d_\textrm{P}/d_\textrm{s}\) |
Stokes number | \(1.69\times 10^{-3}\) | \(St={\rho _\textrm{P} d_\textrm{P}^2 u}/(18 \mu d_\textrm{s})\) |
Gravitational number | \(4.80\times 10^{-2}\) | \(N_\textrm{G}={\left( \rho _\textrm{P}-\rho \right) d_\textrm{P}^2 g}/{18 \mu u}\) |
Application of LITE-QA In-Situ Data Preparation
18.4.3 Query-Driven Statistical Analyses of Melt Flow
Effect of Filter Design on Flow Characteristics
18.4.4 Query-Driven Comparative Visualization of Melt Flow
A
), (fB
) and (fC
) with modified strut shape, inserted flow-guiding features and varying pore geometries are generated. The locations for decompression and visualization are obtained from index queries, which are used to identify specific regions in the flow using range conditions, and from the filter skeleton directly, e.g. the geometric center of a strut or a pore. The visualizations are generated by rendering streamlines and iso-contour surfaces using the ParaView visualization pipeline described in Sect. 18.3.3.Flow Regions in Computer-Generated Filters and CFF Sample
Deformation of Vortex-Like Flow Region
Flow Around Struts with Modified Shape
Flow Through Pores with Flow-Guiding Features
Flow Through Size-Varying Pores
18.4.5 Evaluation of Filtration Performance
Effect of Filter Design on Filtration Process
-
filters with flat elliptical struts \(f_a\) \((a>1)\) outperform filters with vertically elongated struts \(f_a\) \((a<1)\)
-
filters with drop-like struts \(f_{ab}\) outperform filters with reversed drop-like struts \(f_{ba}\)
-
filters with upward-pointing finger-like struts \(f_\beta \) outperform filters with downward-pointing finger-like struts \(f_\alpha \).
Selection of Top-Performing Filters
Ranked Modification | Filter | \(\varepsilon {}^{[\%]}\) | \(p'{}^{[\textrm{Pa}\cdot \textrm{s}^{-1}]}\) | \(\lambda {}^{[\textrm{m}{}^{-1}]}\) |
---|---|---|---|---|
1. Shape-varying, thickening struts | \(f_c\) (x)\({}^{c=1}\) | 85 | 304.2 | 4.00 |
2. Size-varying pores, alternating | \(f_q\) (xi)\({}^{q=320}\) | 80 | 289.0 | 3.78 |
3. Finger-like struts upwards | \(f_\beta \) (v)\({}^{\beta =135^\circ }\) | 80 | 303.2 | 3.66 |
4. Flattened strut cross section | \(f_a\) (iv)\({}^{a=4}\) | 90 | 198.1 | 3.62 |
5. Drop-like strut cross section | \(f_{ab}\) (iv)\({}^{a=2}_{b=0.5}\) | 80 | 237.9 | 3.33 |
6. Randomly closed windows | \(f_w\) (vi)\({}^{w=100}\) | 80 | 298.1 | 3.24 |
Reference structure | \(f_1^\varepsilon \) | 80 | 249.6 | 3.10 |