Shared-Memory Parallelization for Two-Way Coupled Euler–Lagrange Modeling of Cavitating Bubbly Flows

2015 ◽  
Vol 137 (12) ◽  
Author(s):  
Jingsen Ma ◽  
Chao-Tsung Hsiao ◽  
Georges L. Chahine

Cavitating and bubbly flows are encountered in many engineering problems involving propellers, pumps, valves, ultrasonic biomedical applications, etc. In this contribution, an openmp parallelized Euler–Lagrange model of two-phase flow problems and cavitation is presented. The two-phase medium is treated as a continuum and solved on an Eulerian grid, while the discrete bubbles are tracked in a Lagrangian fashion with their dynamics computed. The intimate coupling between the two description levels is realized through the local void fraction, which is computed from the instantaneous bubble volumes and locations, and provides the continuum properties. Since, in practice, any such flows will involve large numbers of bubbles, schemes for significant speedup are needed to reduce computation times. We present here a shared-memory parallelization scheme combining domain decomposition for the continuum domain and number decomposition for the bubbles; both selected to realize maximum speedup and good load balance. The Eulerian computational domain is subdivided based on geometry into several subdomains, while for the Lagrangian computations, the bubbles are subdivided based on their indices into several subsets. The number of fluid subdomains and bubble subsets matches with the number of central processing unit (CPU) cores available in a shared-memory system. Computation of the continuum solution and the bubble dynamics proceeds sequentially. During each computation time step, all selected openmp threads are first used to evolve the fluid solution, with each handling one subdomain. Upon completion, the openmp threads selected for the Lagrangian solution are then used to execute the bubble computations. All data exchanges are executed through the shared memory. Extra steps are taken to localize the memory access pattern to minimize nonlocal data fetch latency, since severe performance penalty may occur on a nonuniform memory architecture (NUMA) multiprocessing system where thread access to nonlocal memory is much slower than to local memory. This parallelization scheme is illustrated on a typical nonuniform bubbly flow problem, cloud bubble dynamics near a rigid wall driven by an imposed pressure function (Ma et al., 2013, “Euler–Lagrange Simulations of Bubble Cloud Dynamics Near a Wall,” International Mechanical Engineering Congress and Exposition, San Diego, CA, Nov. 15–21, Paper No. IMECE2013-65191 and Ma et al., 2015, “Euler–Lagrange Simulations of Bubble Cloud Dynamics Near a Wall,” ASME J. Fluids Eng., 137(4), p. 041301).

Author(s):  
Jingsen Ma ◽  
Chao-Tsung Hsiao ◽  
Georges L. Chahine

Cavitating bubbly flows are encountered in many engineering problems involving propellers, pumps, valves, ultrasonic biomedical applications, … etc. In this contribution an OpenMP parallelized Euler-Lagrange model of two-phase flow problems and cavitation is presented. The two-phase medium is treated as a continuum and solved on an Eulerian grid, while the discrete bubbles are tracked in a Lagrangian fashion with their dynamics computed. The intimate coupling between the two description levels is realized through the local void fraction, which is computed from the instantaneous bubble volumes and locations, and provides the continuum properties. Since, in practice, any such flows will involve large numbers of bubbles, schemes for significant speedup are needed to reduce computation times. We present here a shared-memory parallelization scheme combining domain decomposition for the continuum domain and number decomposition for the bubbles; both selected to realize maximum speed up and good load balance. The Eulerian computational domain is subdivided based on geometry into several subdomains, while for the Lagrangian computations, the bubbles are subdivided based on their indices into several subsets. The number of fluid subdomains and bubble subsets are matched with the number of CPU cores available in a share-memory system. Computation of the continuum solution and the bubble dynamics proceeds sequentially. During each computation time step, all selected OpenMP threads are first used to evolve the fluid solution, with each handling one subdomain. Upon completion, the OpenMP threads selected for the Lagrangian solution are then used to execute the bubble computations. All data exchanges are executed through the shared memory. Extra steps are taken to localize the memory access pattern to minimize non-local data fetch latency, since severe performance penalty may occur on a Non-Uniform Memory Architecture multiprocessing system where thread access to non-local memory is much slower than to local memory. This parallelization scheme is illustrated on a typical non-uniform bubbly flow problem, cloud bubble dynamics near a rigid wall driven by an imposed pressure function.


Fluids ◽  
2021 ◽  
Vol 6 (6) ◽  
pp. 215
Author(s):  
Paul McGinn ◽  
Daniel Pearce ◽  
Yannis Hardalupas ◽  
Alex Taylor ◽  
Konstantina Vogiatzaki

This paper provides new physical insight into the coupling between flow dynamics and cavitation bubble cloud behaviour at conditions relevant to both cavitation inception and the more complex phenomenon of flow “choking” using a multiphase compressible framework. Understanding the cavitation bubble cloud process and the parameters that determine its break-off frequency is important for control of phenomena such as structure vibration and erosion. Initially, the role of the pressure waves in the flow development is investigated. We highlight the differences between “physical” and “artificial” numerical waves by comparing cases with different boundary and differencing schemes. We analyse in detail the prediction of the coupling of flow and cavitation dynamics in a micro-channel 20 m high containing Diesel at pressure differences 7 MPa and 8.5 MPa, corresponding to cavitation inception and "choking" conditions respectively. The results have a very good agreement with experimental data and demonstrate that pressure wave dynamics, rather than the “re-entrant jet dynamics” suggested by previous studies, determine the characteristics of the bubble cloud dynamics under “choking” conditions.


Author(s):  
Arvind Jayaprakash ◽  
Sowmitra Singh ◽  
Georges Chahine

The dynamics of a primary relatively large bubble in a water mixture including very fine bubbles is investigated experimentally and the results are provided to several parallel on-going analytical and numerical approaches. The main/primary bubble is produced by an underwater spark discharge from two concentric electrodes placed in the bubbly medium, which is generated using electrolysis. A grid of thin perpendicular wires is used to generate bubble distributions of varying intensities. The size of the main bubble is controlled by the discharge voltage, the capacitors size, and the pressure imposed in the container. The size and concentration of the fine bubbles can be controlled by the electrolysis voltage, the length, diameter, and type of the wires, and also by the pressure imposed in the container. This enables parametric study of the factors controlling the dynamics of the primary bubble and development of relationships between the bubble characteristic quantities such as maximum bubble radius and bubble period and the characteristics of the surrounding two-phase medium: micro bubble sizes and void fraction. The dynamics of the main bubble and the mixture is observed using high speed video photography. The void fraction/density of the bubbly mixture in the fluid domain is measured as a function of time and space using image analysis of the high speed movies. The interaction between the primary bubble and the bubbly medium is analyzed using both field pressure measurements and high-speed videography. Parameters such as the primary bubble energy and the bubble mixture density (void fraction) are varied, and their effects studied. The experimental data is then compared to simple compressible equations employed for spherical bubbles including a modified Gilmore Equation. Suggestions for improvement of the modeling are then presented.


2017 ◽  
Vol 14 (06) ◽  
pp. 1750063 ◽  
Author(s):  
A. M. Hegab ◽  
S. A. Gutub ◽  
A. Balabel

This paper presents the development of an accurate and robust numerical modeling of instability of an interface separating two-phase system, such as liquid–gas and/or solid–gas systems. The instability of the interface can be refereed to the buoyancy and capillary effects in liquid–gas system. The governing unsteady Navier–Stokes along with the stress balance and kinematic conditions at the interface are solved separately in each fluid using the finite-volume approach for the liquid–gas system and the Hamilton–Jacobi equation for the solid–gas phase. The developed numerical model represents the surface and the body forces as boundary value conditions on the interface. The adapted approaches enable accurate modeling of fluid flows driven by either body or surface forces. The moving interface is tracked and captured using the level set function that initially defined for both fluids in the computational domain. To asses the developed numerical model and its versatility, a selection of different unsteady test cases including oscillation of a capillary wave, sloshing in a rectangular tank, the broken-dam problem involving different density fluids, simulation of air/water flow, and finally the moving interface between the solid and gas phases of solid rocket propellant combustion were examined. The latter case model allowed for the complete coupling between the gas-phase physics, the condensed-phase physics, and the unsteady nonuniform regression of either liquid or the propellant solid surfaces. The propagation of the unsteady nonplanar regression surface is described, using the Essentially-Non-Oscillatory (ENO) scheme with the aid of the level set strategy. The computational results demonstrate a remarkable capability of the developed numerical model to predict the dynamical characteristics of the liquid–gas and solid–gas flows, which is of great importance in many civilian and military industrial and engineering applications.


Author(s):  
Shanti Bhushan ◽  
Pablo Carrica ◽  
Jianming Yang ◽  
Frederick Stern

Scalability studies and computations using the largest grids to date for free-surface flows are performed using message-passing interface (MPI)-based CFDShip-Iowa toolbox curvilinear (V4) and Cartesian (V6) grid solvers on Navy high-performance computing systems. Both solvers show good strong scalability up to 2048 processors, with V6 showing somewhat better performance than V4. V6 also outperforms V4 in terms of the memory requirements and central processing unit (CPU) time per time-step per grid point. The explicit solvers show better scalability than the implicit solvers, but the latter allows larger time-step sizes, resulting in a lower total CPU time. The multi-grid HYPRE solver shows better scalability than the portable, extensible toolkit for scientific computation solver. The main scalability bottleneck is identified to be the pressure Poisson solver. The memory bandwidth test suggests that further scalability improvements could be obtained by using hybrid MPI/open multi-processing (OpenMP) parallelization. V4-detached eddy simulation (DES) on a 300 M grid for the surface combatant model DTMB 5415 in the straight-ahead condition provides a plausible description of the vortical structures and mean flow patterns observed in the experiments. However, the vortex strengths are over predicted and the turbulence is not resolved. V4-DESs on up to 250 M grids for DTMB 5415 at 20° static drift angle significantly improve the forces and moment predictions compared to the coarse grid unsteady Reynolds averaged Navier–Stokes, due to the improved resolved turbulence predictions. The simulations provide detailed resolution of the free-surface and breaking pattern and vortical and turbulent structures, which will guide planned experiments. V6 simulations on up to 276 M grids for DTMB 5415 in the straight-ahead condition predict diffused vortical structures due to poor wall-layer predictions. This could be due to the limitations of the wall-function implementation for the immersed boundary method.


2018 ◽  
Vol 10 (5) ◽  
pp. 19
Author(s):  
Ferdusee Akter ◽  
Md. Bhuyan ◽  
Ujjwal Deb

Two phase flows in pipelines are very common in industries for the oil transportations. The aim of our work is to observe the effect of oil volume fraction in the oil in water two phase flows. The study has been accomplished using a computational model which is based on a Finite Element Method (FEM) named Galerkin approximation. The velocity profiles and volume fractions are performed by numerical simulations and we have considered the COMSOL Multiphysics Software version 4.2a for our simulation. The computational domain is 8m in length and 0.05m in radius. The results show that the velocity of the mixture decreases as the oil volume fraction increases. It should be noted that if we gradually increase the volume fractions of oil, the fluid velocity also changes and the saturated level of the volume fraction is 22.3%.


Author(s):  
Franz Pichler ◽  
Gundolf Haase

A finite element code is developed in which all of the computationally expensive steps are performed on a graphics processing unit via the THRUST and the PARALUTION libraries. The code focuses on the simulation of transient problems where the repeated computations per time-step create the computational cost. It is used to solve partial and ordinary differential equations as they arise in thermal-runaway simulations of automotive batteries. The speed-up obtained by utilizing the graphics processing unit for every critical step is compared against the single core and the multi-threading solutions which are also supported by the chosen libraries. This way a high total speed-up on the graphics processing unit is achieved without the need for programming a single classical Compute Unified Device Architecture kernel.


Author(s):  
Ken Uchida ◽  
Seijiro Suzuki

This paper presents a numerical and qualitative study on the expected hydrodynamic load-reducing effect of bubbly media near a volumetrically oscillating bubble. In this study, the bubble or bubble cloud is assumed to be spherically symmetric, and its motion is analyzed as a one-dimensional compressible two-phase flow in the radial direction in spherical coordinates. We adopted the CCUP (CIP-Combined Unified Procedure) method, which is a unified analysis method for both compressible and incompressible fluids proposed by Yabe et al. (1991) in order to treat interaction among gas, liquid, and two-phase media, and to avoid large numerical dissipation at density discontinuities. To verify the analysis program we developed, we analyzed free oscillations of a bubble with a unity void fraction and of a bubble cloud with an initial void fraction of 0.5, and found that the natural frequency from numerical results are well reproduced with an error of 0.9% for the bubble and 5% for the bubble cloud as compared to those obtained on a theoretical basis. Using this method, we analyzed the free oscillation of a bubble cloud in which a bubble with a unity void fraction is covered by a bubbly media layer with an initial void fraction of 0.5. Numerical results show that the amplitude of pressure oscillation inside the bubble is about halved, and that a higher mode of oscillation appears when a bubbly media layer covers the bubble. The measured results from a blowdown test we previously reported also shows a similar higher mode of oscillation. The amplitude of pressure oscillation in the water region was apparently reduced when a thick bubbly media layer covers the bubble. Thus, if the bubbly media is ejected from sparger holes prior to the ejection of a high-pressure bubble, the bubbly media might reduce the hydrodynamic load induced in a water pool made by volumetric oscillation of the bubble.


2017 ◽  
Vol 139 (8) ◽  
Author(s):  
Sadia Siddiqa ◽  
Naheed Begum ◽  
M. A. Hossain ◽  
Rama Subba Reddy Gorla

This article is concerned with the class of solutions of gas boundary layer containing uniform, spherical solid particles over the surface of rotating axisymmetric round-nosed body. By using the method of transformed coordinates, the boundary layer equations for two-phase flow are mapped into a regular and stationary computational domain and then solved numerically by using implicit finite difference method. In this study, a rotating hemisphere is used as a particular example to elucidate the heat transfer mechanism near the surface of round-nosed bodies. We will investigate whether the presence of dust particles in carrier fluid disturbs the flow characteristics associated with rotating hemisphere or not. A comprehensive parametric analysis is presented to show the influence of the particle loading, the buoyancy ratio parameter, and the surface of rotating hemisphere on the numerical findings. In the absence of dust particles, the results are graphically compared with existing data in the open literature, and an excellent agreement has been found. It is noted that the concentration of dust particles’ parameter, Dρ, strongly influences the heat transport rate near the leading edge.


Sign in / Sign up

Export Citation Format

Share Document