Parallelization study of a VOF/Navier-Stokes model for 3D unstructured staggered meshes

Similar documents
A 3D VOF model in cylindrical coordinates

Phase-field simulation of two-phase micro-flows in a Hele-Shaw cell

A higher-order finite volume method with collocated grid arrangement for incompressible flows

SIMULATION OF INTERFACIAL FLOWS USING FRONT TRACKING APPROACH

Flow and Heat Transfer in a Mixing Elbow

Least Square Curvature Calculation Method for VOF Schemes


Investigating The Stability of The Balance-force Continuum Surface Force Model of Surface Tension In Interfacial Flow

Drop Impact Simulation with a Velocity-Dependent Contact Angle

Realistic Animation of Fluids

Free Surface Flow Simulations

CFD design tool for industrial applications

Optimization of under-relaxation factors. and Courant numbers for the simulation of. sloshing in the oil pan of an automobile

2D numerical simulation of ocean waves

Simulation of Offshore Wave Impacts with a Volume of Fluid Method. Tim Bunnik Tim Bunnik MARIN

Bubble Dynamics using Free Surfaces in a VOF framework

A TSTT integrated FronTier code and its applications in computational fluid physics

ALE Seamless Immersed Boundary Method with Overset Grid System for Multiple Moving Objects

(LSS Erlangen, Simon Bogner, Ulrich Rüde, Thomas Pohl, Nils Thürey in collaboration with many more

Coastal impact of a tsunami Review of numerical models

NUMERICAL MODELING STUDY FOR FLOW PATTERN CHANGES INDUCED BY SINGLE GROYNE

CFD in COMSOL Multiphysics

TPLS 3.0 and Its Use of PETSc

Tutorial: Hydrodynamics of Bubble Column Reactors

Computational Fluid Dynamics using OpenCL a Practical Introduction

Application of coupled solver technology to CFD modeling of multiphase flows with CFX

Driven Cavity Example

OpenFOAM in Wave and Offshore CFD

Volume Tracking on Adaptively Refined Grids with Curvature Based Refinement

Aurélien Thinat Stéphane Cordier 1, François Cany

Solving Partial Differential Equations on Overlapping Grids

Investigation of cross flow over a circular cylinder at low Re using the Immersed Boundary Method (IBM)

Navier-Stokes & Flow Simulation

Multiphase flow metrology in oil and gas production: Case study of multiphase flow in horizontal tube

Tutorial 17. Using the Mixture and Eulerian Multiphase Models

Navier-Stokes & Flow Simulation

QUASI-3D SOLVER OF MEANDERING RIVER FLOWS BY CIP-SOROBAN SCHEME IN CYLINDRICAL COORDINATES WITH SUPPORT OF BOUNDARY FITTED COORDINATE METHOD

Literature Report. Daniël Pols. 23 May 2018

Chapter 2 Water and Bubbles

1.2 Numerical Solutions of Flow Problems

A COUPLED FINITE VOLUME SOLVER FOR THE SOLUTION OF LAMINAR TURBULENT INCOMPRESSIBLE AND COMPRESSIBLE FLOWS

ANSYS AIM Tutorial Turbulent Flow Over a Backward Facing Step

Three Dimensional Numerical Simulation of Turbulent Flow Over Spillways

Experimental Validation of the Computation Method for Strongly Nonlinear Wave-Body Interactions

Preliminary Spray Cooling Simulations Using a Full-Cone Water Spray

The Development of a Volume-of-Fluid Interface Tracking Method for Modeling Problems in Mantle Convection

Navier-Stokes & Flow Simulation

Introduction to C omputational F luid Dynamics. D. Murrin

The gas-kinetic methods have become popular for the simulation of compressible fluid flows in the last

Realistic Animation of Fluids

Parametric Study of Sloshing Effects in the Primary System of an Isolated LFR Marti Jeltsov, Walter Villanueva, Pavel Kudinov

NUMERICAL DIFFUSION AND DISSIPATION IN HYDROSTATIC MODELS OF INTERNAL WAVES

Numerical Study of Turbulent Flow over Backward-Facing Step with Different Turbulence Models

Nonlinear Potential Flow Solver Development in OpenFOAM

Adarsh Krishnamurthy (cs184-bb) Bela Stepanova (cs184-bs)

A Survey of Interface Tracking Methods in Multi-phase Fluid Visualization

Modeling and simulation the incompressible flow through pipelines 3D solution for the Navier-Stokes equations

Acknowledgements. Prof. Dan Negrut Prof. Darryl Thelen Prof. Michael Zinn. SBEL Colleagues: Hammad Mazar, Toby Heyn, Manoj Kumar

Simulation of Sloshing Dynamics in a Tank by an Improved Volume-of-Fluid Method

Faculty of Mechanical and Manufacturing Engineering, University Tun Hussein Onn Malaysia (UTHM), Parit Raja, Batu Pahat, Johor, Malaysia

CFD Simulation for Stratified Oil-Water Two-Phase Flow in a Horizontal Pipe

Verification and Validation in CFD and Heat Transfer: ANSYS Practice and the New ASME Standard

Strömningslära Fluid Dynamics. Computer laboratories using COMSOL v4.4

CFD SIMULATION OF FLOW OVER CONTRACTED COMPOUND ARCHED RECTANGULAR SHARP CRESTED WEIRS

Overview of Traditional Surface Tracking Methods

Available online at ScienceDirect. Procedia Engineering 136 (2016 ) Dynamic analysis of fuel tank

A MULTIPHASE CFD METHOD FOR PREDICTION OF FLOODWATER DYNAMICS

Challenges and recent progress in developing numerical methods for multi-material ALE Hydrocodes

Animation of Bubbles in Liquid

LS-DYNA 980 : Recent Developments, Application Areas and Validation Process of the Incompressible fluid solver (ICFD) in LS-DYNA.

Contents Contents Contents... 1 Abstract... 3 Nomenclature... 4 Index of Figures... 6 Index of Tables... 8 Introduction... 9 Theory...

An Overview of Computational Fluid Dynamics

A FULLY COUPLED FINITE VOLUME SOLVER FOR THE SOLUTION OF INCOMPRESSIBLE FLOWS ON LOCALLY REFINED NON-MATCHING BLOCK-STRUCTURED GRIDS

Numerical Modeling Study for Fish Screen at River Intake Channel ; PH (505) ; FAX (505) ;

Introduction to Computational Fluid Dynamics Mech 122 D. Fabris, K. Lynch, D. Rich

Figure 2: Water Into Kerosene, Volume Fraction (Left) And Total Density Of Mixture (Right)

The Development of a Navier-Stokes Flow Solver with Preconditioning Method on Unstructured Grids

NUMERICAL INVESTIGATION OF THE FLOW BEHAVIOR INTO THE INLET GUIDE VANE SYSTEM (IGV)

Implementing third order compressible flow solver for hexahedral meshes in OpenFoam

Effect of Internal Grids Structure on the Numerical Prediction of the Free Surface Flow around Wigley Hull Form

Simulation of Droplet Impingement on a Solid Surface by the Level Set Method

The use of gas-kinetic schemes for the simulation of compressible flows become widespread in the two last

Example 13 - Shock Tube

Turbulent Premixed Combustion with Flamelet Generated Manifolds in COMSOL Multiphysics

CFD modelling of thickened tailings Final project report

Numerical and experimental investigations into liquid sloshing in a rectangular tank

Animation of Fluids. Animating Fluid is Hard

KEY STAR TECHNOLOGIES: DISPERSED MULTIPHASE FLOW AND LIQUID FILM MODELLING DAVID GOSMAN EXEC VP TECHNOLOGY, CD-adapco

Lagrangian methods and Smoothed Particle Hydrodynamics (SPH) Computation in Astrophysics Seminar (Spring 2006) L. J. Dursi

Multigrid Solvers in CFD. David Emerson. Scientific Computing Department STFC Daresbury Laboratory Daresbury, Warrington, WA4 4AD, UK

A Particle Cellular Automata Model for Fluid Simulations

CGT 581 G Fluids. Overview. Some terms. Some terms

FEMLAB Exercise 1 for ChE366

Effect of initial turbulence intensity and velocity profile on liquid jets for IFE beamline protection

Study on the Numerical Accuracy for the CFD

Streamlining Aircraft Icing Simulations. D. Snyder, M. Elmore

Gradient Free Design of Microfluidic Structures on a GPU Cluster

EVALUATE SHOCK CAPTURING CAPABILITY WITH THE NUMERICAL METHODS IN OpenFOAM

NIA CFD Seminar, October 4, 2011 Hyperbolic Seminar, NASA Langley, October 17, 2011

Robust Simulation of Sparsely Sampled Thin Features in SPH-Based Free Surface Flows

Transcription:

Parallelization study of a VOF/Navier-Stokes model for 3D unstructured staggered meshes L. Jofre, O. Lehmkuhl, R. Borrell, J. Castro and A. Oliva Corresponding author: cttc@cttc.upc.edu Centre Tecnològic de Transferència de Calor, Universitat Politècnica de Catalunya ETSEIAT, Colom 11, 08222 Terrassa (Barcelona), Spain e-mail: cttc@cttc.upc.edu Termo Fluids, S.L. Av. Jaquard, 97 1-E, 08222 Terrassa (Barcelona), Spain e-mail: termofluids@termofluids.com Abstract: The numerical simulation of interfacial and free surface flows is a vast and interesting topic in the areas of engineering and fundamental physics, such as the study of liquid-gas interfaces, formation of droplets, bubbles and sprays, combustion problems with liquid and gas reagents, study of wave motion and others. One of the most powerful and robust methods for interface tracking on fixed grids is the Volume-of-Fluid (VOF). This method tracks the interface between different fluids by evolving the volume fraction scalar field, ratio of fluid to total volume, in time. First, the interface geometry is reconstructed from local volume fraction data. Then, the interface reconstruction and the solution of the Navier-Stokes equations are used to compute the volume fraction advection equation. The objective of this work is to implement a fast, accurate and efficiently parallelizated VOF/Navier-Stokes model well suited to 3D unstructured staggered meshes. The interface will be reconstructed by a PLIC method and the advection step will be computed by the means of an unsplit-advection volume tracking algorithm. On the other hand, the Navier-Stokes equations will be solved using an unstructured staggered formulation. The parallelization of the VOF/Navier-Stokes model will be studied by solving the Richtmyer-Meshkov instability (RMI). The Richtmyer-Meshkov instability occurs at a nearly planar interface separating two fluids that are impulsively accelerated in the direction normal to the interface. This impulsive acceleration can be the result of an impulsive body force or a passing shock wave. Keywords: Multiphase flow, Volume-of-Fluid method, Unstructured Staggered Mesh, Parallelization. 1

1 Introduction The contact of immiscible fluids or phases in motion, produces a thin region that separates them called interface. This kind of flows are called free surface or interfacial flows and are found in fields as varied as engineering, fundamental physics, geophysics and others. Typical examples of this phenomena are bubbles, drops, sprays, jets, waves, clouds, etc. There are different methods for interface tracking, developed over the decades for specific problems, but the Volume-of-Fluid (VOF) [1] is one of the most widely used and successful in computational fluid dynamics for the simulation of interfacial and free surface flows. The VOF method mantains a sharp interface, preserves mass in a natural way and presents no problem for reconnection or breakup of the interface. This work, uses the VOF method presented by Jofre et al. [2]. When modelling multiphase systems, large discontinuities in the body force field typically appear at the interface. If the VOF method and a collocated mesh scheme [3] are used, such strongly variable body forces can produce unphysical spikes in the velocity field due to a checkerboard pressure field, then, a staggered mesh scheme [4] must be used. In this work, an unstructured staggered mesh scheme is developed from the formulation of Perot [5] and implemented on an accurate and parallelizable algorithm for 3D unstructured meshes. 2 Governing equations In the VOF method, if the flow is assumed to be incompressible, the volume fraction C k is evolved by the advection equation C k + (C k u) = 0 (1) t and mass and momentum conservation are defined as u = 0, (2) (ρu) + (ρuu) = p + (µ( u + T u)) + F, t (3) where u is the velocity field, p the pressure, F any body force, ρ and µ are the fluid density and viscosity, respectively, evaluated as ρ = ρ k C k and µ = µ k C k (4) k k and subscript k refers to fluid k. The solution of the momentum equation, Eq. (3), provides the velocity field used in the volume fraction advection equation, Eq. (1), to calculate the new volume fraction scalar field. Then, the new volume fraction field is introduced in the momentum equation to obtain the new velocity field. 3 Paralellization tests: Richtmyer-Meshkov instability The Richtmyer-Meshkov instability (RMI) [6, 7] occurs at a nearly planar interface separating two fluids that are impulsively accelerated in the direction normal to the interface, regardless of whether the acceleration is directed from the heavy fluid to the light fluid, or vice versa. This impulsive acceleration can be the result of an impulsive body force or a passing shock wave. A three-dimensional RMI is simulated in an effort to reproduce the flow features reported by Chapman and Jacobs [8]. The dimensions of the square tank are 72.6 mm x 72.6 mm in width and 250 mm in height. The lighter upper fluid and the heavier bottom fluid have an Atwood number equal to 0.15, the

wavelength λ is 48.4 mm, the initial amplitude is calculated as a 0 = 0.38/k and the initial disturbance is approximated by η = a 0 [sin(kx) + sin(ky)]. The evolution of the interface separating the two fluids of the RMI simulation, calculated by the numerical model implemented in this work on a 250000 cell mesh, is shown in Fig. 1. Figure 1: A sequence of images showing the evolution of the interface separating the two fluids of the RMI simulation. In order to test the parallelization performance, two different partition configurations are chosen (see Fig. 2): - Giving the same weight to all the cells, then, the partition algorithm partitionates the mesh creating cubes. In this way, the partitions are not adapted to the interface. - Setting different weights to the cells to adapt the partition to the interface. With this strategy, partitions perpendicular to the interface are generated.

Figure 2: Sketches of the not adapted (left) and adapted (center) mesh partition configurations and the position of the interface related to the partitions (right). The VOF phase time and the overall time (VOF + Navier-Stokes) per time step for the different partition configurations are plotted in Fig. 3. Figure 3: VOF and overall time for CPU over simulation time. The results show that the partition adapted to the interface performs better in the VOF phase, but if we also take into account the Navier-Stokes calculation the total time is higher. This is because, the new partitions produce subdomains with larger boundaries. Thus, more information must be exchanged between processors on the Navier-Stokes calculations. These results suggest the need to work with different parallelization strategies for each of the parts of the algorithm: while we use a domain decomposition based strategy for the Navier-Stokes phase, we may use a mesh-partition independent strategy to solve the VOF phase. We are working in this new approach and it will be presented in the conference and final paper.

4 Conclusion and future lines Traditional CFD parallelizations do not work well for VOF/Navier-Stokes models as it has been shown by solving the Richtmyer-Meshkov instability. The Navier-Stokes algorithm loads the CPUs in a balanced manner, but the VOF method loads the CPUs in a clearly desbalanced configuration (depends on where the interface is located). Therefore, the objective of this work is to develop and implement a new parallelization methodology for the VOF phase. This new method will balance the VOF load by distributing the work of the interface cells through all the CPUs independently of the mesh partition. References [1] C. W. Hirt and B. D. Nichols. Volume of fluid (VOF) Method for the Dynamics of Free Boundaries. Journal of Computational Physics, 39(5):201 225, 1981. [2] L. Jofre, O. Lehmkuhl, J. Castro, and A. Oliva. A PLIC-VOF Implementation on Parallel 3D Unstructured Meshes. In Proceedings of the Fifth European Conference on Computational Fluid Dynamics ECCOMAS CFD 2010, 2010. [3] C. M. Rhie and W. L. Chow. Numerical Study of th Turbulent Flow Past an Airfol with Trailing Edge Separation. AIAA Journal, 21:1525 1532, 1983. [4] S. V. Patankar. Numerical Heat Transfer and Fluid Flow. Hemisphere Publishing Corporation, 1980. [5] B. Perot. Conservation Properties of Unstructured Staggered Mesh Schemes. Journal of Computational Physics, 159:58 89, 1999. [6] R. D. Richtmyer. Taylor Instability in Shock Acceleration of Compressible Fluids. Communications on Pure and Applied Mathematics, 13(2):297 319, 1960. [7] E. E. Meshkov. Instability of the Interface of Two Gases Accelerated by a Shock Wave. Izv. Ross. Akad. Nauk, Mekh. Zhidk. Gaza, 4(5):101 104, 1969. [8] P. R. Chapman and J. W. Jacobs. Experiments on the Three-Dimensional Incompressible Richtmyer- Meshkov Instability. Physics of Fluids, 18(7), 2006.