Simulation of Liquid-Gas-Solid Flows with the Lattice Boltzmann Method

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


Computational Fluid Dynamics with the Lattice Boltzmann Method KTH SCI, Stockholm

Software and Performance Engineering for numerical codes on GPU clusters

Lattice Boltzmann with CUDA

Free Surface Lattice-Boltzmann fluid simulations. with and without level sets.

Realistic Animation of Fluids

High Performance Simulation of Free Surface Flows Using the Lattice Boltzmann Method

simulation framework for piecewise regular grids

Free Surface Flows with Moving and Deforming Objects for LBM

Realistic Animation of Fluids

Simulation of moving Particles in 3D with the Lattice Boltzmann Method

Performance and Software-Engineering Considerations for Massively Parallel Simulations

Performance Optimization of a Massively Parallel Phase-Field Method Using the HPC Framework walberla

Technical Report TR

Performance Analysis of the Lattice Boltzmann Method on x86-64 Architectures

Introduction to the immersed boundary method

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

Performance and Accuracy of Lattice-Boltzmann Kernels on Multi- and Manycore Architectures

High Scalability of Lattice Boltzmann Simulations with Turbulence Models using Heterogeneous Clusters

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

LATTICE-BOLTZMANN AND COMPUTATIONAL FLUID DYNAMICS

Object Oriented Simulation of Multiphase Flow

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

CUDA. Fluid simulation Lattice Boltzmann Models Cellular Automata

Tutorial: Heat and Mass Transfer with the Mixture Model

Adaptive-Mesh-Refinement Hydrodynamic GPU Computation in Astrophysics

walberla: Developing a Massively Parallel HPC Framework

Numerical Algorithms on Multi-GPU Architectures

CE 530 Molecular Simulation

Numerical Simulations of Granular Materials Flow around Obstacles: The role of the interstitial gas

Two-Phase flows on massively parallel multi-gpu clusters

Introduction to the immersed boundary method

LATTICE-BOLTZMANN METHOD FOR THE SIMULATION OF LAMINAR MIXERS

Module 4: Fluid Dynamics Lecture 9: Lagrangian and Eulerian approaches; Euler's acceleration formula. Fluid Dynamics: description of fluid-motion

Massively Parallel Phase Field Simulations using HPC Framework walberla

The walberla Framework: Multi-physics Simulations on Heterogeneous Parallel Platforms

Reconstruction of Trees from Laser Scan Data and further Simulation Topics

Lattice Boltzmann Method: A New Alternative for Loss Estimation Juan C. Díaz Cruz* a, Sergio E. Rodríguez a, Sergio A. Ordóñez b, Felipe Muñoz a a

Principles and Goals

Preliminary Spray Cooling Simulations Using a Full-Cone Water Spray

Development of the Compliant Mooring Line Model for FLOW-3D

Animation of Fluids. Animating Fluid is Hard

UNDERSTANDING FROTH BEHAVIOUR WITH CFD

CFD Analysis of a Novel Hull Design for an Offshore Wind Farm Service Vessel

Phys 113 Final Project

Lattice Boltzmann Methods on the way to exascale

Overview of Traditional Surface Tracking Methods

Tutorial 17. Using the Mixture and Eulerian Multiphase Models

Simulation of liquid cube fracture with SPH

FRIEDRICH-ALEXANDER-UNIVERSITÄT ERLANGEN-NÜRNBERG. Lehrstuhl für Informatik 10 (Systemsimulation)

HIGH PERFORMANCE COMPUTATION (HPC) FOR THE

Navier-Stokes & Flow Simulation

A 3D VOF model in cylindrical coordinates

Section 20.1: Choosing a General Multiphase Model. Section 20.2: Volume of Fluid (VOF) Model. Section 20.6: Setting Up a General Multiphase Problem

This tutorial illustrates how to set up and solve a problem involving solidification. This tutorial will demonstrate how to do the following:

Directions: 1) Delete this text box 2) Insert desired picture here

2.7 Cloth Animation. Jacobs University Visualization and Computer Graphics Lab : Advanced Graphics - Chapter 2 123

International Supercomputing Conference 2009

The Lattice Boltzmann Method used for fluid flow modeling in hydraulic components

Introducing a Cache-Oblivious Blocking Approach for the Lattice Boltzmann Method

Direct Numerical Simulation of Particulate Flows on Processor Cores

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

BOUNDLESS FLUIDS USING THE LATTICE-BOLTZMANN METHOD. A Thesis. Presented to. the Faculty of California Polytechnic State University.

Peta-Scale Simulations with the HPC Software Framework walberla:

LARGE-SCALE FREE-SURFACE FLOW SIMULATION USING LATTICE BOLTZMANN METHOD ON MULTI-GPU CLUSTERS

CFD MODELING FOR PNEUMATIC CONVEYING

Discrete representations of geometric objects: Features, data structures and adequacy for dynamic simulation. Part I : Solid geometry

Real-time Thermal Flow Predictions for Data Centers

Finite Volume Discretization on Irregular Voronoi Grids

Characteristic Aspects of SPH Solutions

IMPROVED WALL BOUNDARY CONDITIONS WITH IMPLICITLY DEFINED WALLS FOR PARTICLE BASED FLUID SIMULATION

Modeling lattice structured materials with micropolar elasticity. Accuracy of the micropolar model. Marcus Yoder. CEDAR presentation Spring 2017

Solving Partial Differential Equations on Overlapping Grids

Tutorial: Modeling Liquid Reactions in CIJR Using the Eulerian PDF transport (DQMOM-IEM) Model

SPH: Why and what for?

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

Auto Injector Syringe. A Fluent Dynamic Mesh 1DOF Tutorial

Lehrstuhl für Informatik 10 (Systemsimulation)

The Lattice-Boltzmann Method for Gaseous Phenomena

CHRONO::HPC DISTRIBUTED MEMORY FLUID-SOLID INTERACTION SIMULATIONS. Felipe Gutierrez, Arman Pazouki, and Dan Negrut University of Wisconsin Madison

Domain Decomposition for Colloid Clusters. Pedro Fernando Gómez Fernández

Level set methods Formulation of Interface Propagation Boundary Value PDE Initial Value PDE Motion in an externally generated velocity field

Realistic and Controllable Fire Simulation

T6: Position-Based Simulation Methods in Computer Graphics. Jan Bender Miles Macklin Matthias Müller

PARALLEL SIMULATION OF A FLUID FLOW BY MEANS OF THE SPH METHOD: OPENMP VS. MPI COMPARISON. Pawe l Wróblewski, Krzysztof Boryczko

Sailfish: Lattice Boltzmann Fluid Simulations with GPUs and Python

A Python extension for the massively parallel framework walberla

Navier-Stokes & Flow Simulation

Using the Eulerian Multiphase Model for Granular Flow

ENERGY-224 Reservoir Simulation Project Report. Ala Alzayer

Highly efficient «on-the-fly» data processing using the open-source library CPPPO

COMPUTATIONAL METHODS FOR ENVIRONMENTAL FLUID MECHANICS

A Particle Cellular Automata Model for Fluid Simulations

Marine Hydrodynamics Solver in OpenFOAM

From Notebooks to Supercomputers: Tap the Full Potential of Your CUDA Resources with LibGeoDecomp

Navier-Stokes & Flow Simulation

Simulation of Flow Development in a Pipe

ONE DIMENSIONAL (1D) SIMULATION TOOL: GT-POWER

Using the Discrete Ordinates Radiation Model

Transcription:

Simulation of Liquid-Gas-Solid Flows with the Lattice Boltzmann Method June 21, 2011

Introduction Free Surface LBM Liquid-Gas-Solid Flows Parallel Computing Examples and More References Fig. Simulation of spherical particles dropped into liquid (http://youtu.be/bwgbqslqr-m). Free Surface Flow (i.e., immiscible fluids or liquid-gas flows, respectively) Particulate Flows (i.e. rigid bodies in the flow) Extension of existing Lattice Boltzmann approaches into a method for liquid-gas-solid flows. 2

Outline 1 Introduction Lattice Boltzmann Model 2 Free Surface LBM Free Surface Extension 3 Liquid-Gas-Solid Flows Liquid-Solid Flows with LBM Liquid-Gas-Solid Flows with LBM 4 Parallel Computing WaLBerla and MPI Scaling results 5 Examples and More Example Videos Conclusion 3

Table of Contents 1 Introduction Lattice Boltzmann Model 2 Free Surface LBM Free Surface Extension 3 Liquid-Gas-Solid Flows Liquid-Solid Flows with LBM Liquid-Gas-Solid Flows with LBM 4 Parallel Computing WaLBerla and MPI Scaling results 5 Examples and More Example Videos Conclusion 4

Lattice and discrete velocities Fig. D3Q19 model Let us assume the D3Q19 model. We have 19 particle distribution functions (PDFs), i.e., f i encodes the fraction of particles with lattice velocity v i, (i = 0,.., 18). The Stream step propagates PDFs from neighboring cells. The Collide step does a relaxation of the PDFs in a cell towards a local equilibrium. Fig. Stream step 5

Table of Contents 1 Introduction Lattice Boltzmann Model 2 Free Surface LBM Free Surface Extension 3 Liquid-Gas-Solid Flows Liquid-Solid Flows with LBM Liquid-Gas-Solid Flows with LBM 4 Parallel Computing WaLBerla and MPI Scaling results 5 Examples and More Example Videos Conclusion 6

Basic Idea - Interface Tracking The free surface extension is based on (KT04) 1 (volume of fluid - approach). Idea: Simulate only the liquid region and neglect the gas phase. Fig. Different cell types: gas, liquid, interface, and obstacle 1 Körner, Carolin ; Thies, Michael: Lattice boltzmann model for free surface flow. (2004) 7

Basic Idea - Interface Tracking The free surface extension is based on (KT04) 1 (volume of fluid - approach). Idea: Simulate only the liquid region and neglect the gas phase. Track the position of the free surface and do lattice Boltzmann inside the liquid region. Therefore different cell types are needed (see figure). Fig. Different cell types: gas, liquid, interface, and obstacle 1 Körner, Carolin ; Thies, Michael: Lattice boltzmann model for free surface flow. (2004) 7

Basic Idea - Interface Tracking Fig. Different cell types: gas, liquid, interface, and obstacle The free surface extension is based on (KT04) 1 (volume of fluid - approach). Idea: Simulate only the liquid region and neglect the gas phase. Track the position of the free surface and do lattice Boltzmann inside the liquid region. Therefore different cell types are needed (see figure). Interface Cells: Cells that have both gas and liquid in their neighborhood. 1 Körner, Carolin ; Thies, Michael: Lattice boltzmann model for free surface flow. (2004) 7

Basic Idea - Interface Tracking Fig. Different cell types: gas, liquid, interface, and obstacle The free surface extension is based on (KT04) 1 (volume of fluid - approach). Idea: Simulate only the liquid region and neglect the gas phase. Track the position of the free surface and do lattice Boltzmann inside the liquid region. Therefore different cell types are needed (see figure). Interface Cells: Cells that have both gas and liquid in their neighborhood. Form closed boundary between liquid and gas regions. 1 Körner, Carolin ; Thies, Michael: Lattice boltzmann model for free surface flow. (2004) 7

Basic Idea - Interface Tracking Fig. Different cell types: gas, liquid, interface, and obstacle The free surface extension is based on (KT04) 1 (volume of fluid - approach). Idea: Simulate only the liquid region and neglect the gas phase. Track the position of the free surface and do lattice Boltzmann inside the liquid region. Therefore different cell types are needed (see figure). Interface Cells: Cells that have both gas and liquid in their neighborhood. Form closed boundary between liquid and gas regions. A free surface boundary condition incorporates the gas pressure. 1 Körner, Carolin ; Thies, Michael: Lattice boltzmann model for free surface flow. (2004) 7

Interface Cells - Fill Levels Interface cells have a full set of PDFs. Fig. Different cell types: gas, liquid, interface, and obstacle 8

Interface Cells - Fill Levels Interface cells have a full set of PDFs. Interface cells have a fill level 0 ϕ 1, such that M = ρ ϕ. Fig. Different cell types: gas, liquid, interface, and obstacle 0, if gas at x + v i m i (x) = f ī (x + v i) f i(x), if liquid at x + v i 1 [ϕ(x) + ϕ(x + 2 vi)][fī (x + v i) f i(x)], if interface at x + v i. 8

Interface Cells - Fill Levels Interface cells have a full set of PDFs. Interface cells have a fill level 0 ϕ 1, such that M = ρ ϕ. Fig. Different cell types: gas, liquid, interface, and obstacle As a result of advection (stream step) the fill level may change (see formula below). 0, if gas at x + v i m i (x) = f ī (x + v i) f i(x), if liquid at x + v i 1 [ϕ(x) + ϕ(x + 2 vi)][fī (x + v i) f i(x)], if interface at x + v i. 8

Interface Cells - Fill Levels Interface cells have a full set of PDFs. Interface cells have a fill level 0 ϕ 1, such that M = ρ ϕ. Fig. Different cell types: gas, liquid, interface, and obstacle As a result of advection (stream step) the fill level may change (see formula below). This mass tracking technique is the first step towards a dynamical boundary. 0, if gas at x + v i m i (x) = f ī (x + v i) f i(x), if liquid at x + v i 1 [ϕ(x) + ϕ(x + 2 vi)][fī (x + v i) f i(x)], if interface at x + v i. 8

Interface Cells - Cell Conversion If ϕ 0 or ϕ 1, then the interface cell must be converted to gas or liquid, respectively. Fig. Possible state changes for the interface layer. 9

Interface Cells - Cell Conversion If ϕ 0 or ϕ 1, then the interface cell must be converted to gas or liquid, respectively. If such a cell conversion occurs, then cells in the neighborhood may have to be converted to interface cells (see figure below). Fig. Possible state changes for the interface layer. 9

Interface Cells - Cell Conversion If ϕ 0 or ϕ 1, then the interface cell must be converted to gas or liquid, respectively. If such a cell conversion occurs, then cells in the neighborhood may have to be converted to interface cells (see figure below). This assures a closed boundary layer between gas and liquid regions. Fig. Possible state changes for the interface layer. 9

Table of Contents 1 Introduction Lattice Boltzmann Model 2 Free Surface LBM Free Surface Extension 3 Liquid-Gas-Solid Flows Liquid-Solid Flows with LBM Liquid-Gas-Solid Flows with LBM 4 Parallel Computing WaLBerla and MPI Scaling results 5 Examples and More Example Videos Conclusion 10

Liquid-Solid Flows with LBM Moving boundaries induce fluid flow. For a moving no-slip wall one has (Lad) 2 f i (x, t+δ t ) = f i (x, t)+ 6 c 2 w iρ(x)v i u o 2 Ladd, A.J.C.: Numerical Simulations of Particulate Suspensions via a Discretized Boltzmann Equation Part I 11

Liquid-Solid Flows with LBM Moving boundaries induce fluid flow. For a moving no-slip wall one has (Lad) 2 f i (x, t+δ t ) = f i (x, t)+ 6 c 2 w iρ(x)v i u o Objects are discretized to the lattice by marking the according cells as obstacle Fig. Mapping of a moving obstacle into the lattice. 2 Ladd, A.J.C.: Numerical Simulations of Particulate Suspensions via a Discretized Boltzmann Equation Part I 11

Momentum Exchange Method Fluid flow leads to stresses and forces on the boundaries. 12

Momentum Exchange Method Fluid flow leads to stresses and forces on the boundaries. A rigid body dynamics engine is then used to calculate the resulting motion of the objects. 12

Liquid-Gas-Solid Flows Problem: Additional cell type that has to be handled dynamically. Fig. Mapping of a moving obstacle into the lattice. 13

Liquid-Gas-Solid Flows Problem: Additional cell type that has to be handled dynamically. The free surface algorithm relies on the assertion that there is a closed boundary around the liquid cells. Fig. Obstacle to fluid - conversions are critical. 13

Complex Cell Conversion Algorithm Cell conversions from obstacle to fluid (i.e., either liquid, interface or gas) have to conserve the closed layer of interface cells between gas and liquid (Bog09) 3. 3 Bogner, S.: Simulation of Floating Objects in Free-Surface Flow. Diplomarbeit, Jan 2009 14

Complex Cell Conversion Algorithm Cell conversions from obstacle to fluid (i.e., either liquid, interface or gas) have to conserve the closed layer of interface cells between gas and liquid (Bog09) 3. For an obstacle cell x that is going to change to a fluid state for timestep t + δ t, let N := {x + v i δ t i [1..18] and x + v i δ t is no obstacle cell} be the set of non-obstacle cells in the neighbourhood. 3 Bogner, S.: Simulation of Floating Objects in Free-Surface Flow. Diplomarbeit, Jan 2009 14

Complex Cell Conversion Algorithm (Cont.) Correct cell type is determined from local neighborhood N of the converted cell, i.e., If N contains no gas cells: conversion into liquid cell. The new liquid cell is initialized with an equilibrium set of PDFs. Therefore local density ρ(x, t + δ t ) is approximated from N and u(x, t + δ t ) = u o is asumed, where u o is the velocity of the obstacle. 15

Complex Cell Conversion Algorithm (Cont.) Correct cell type is determined from local neighborhood N of the converted cell, i.e., If N contains no gas cells: conversion into liquid cell. If N contains both gas and liquid cells: create an interface cell. PDFs are set to equilibrium as for liquid cells. In addition to the PDFs, a fill value has to be interpolated from the neighborhood N. 15

Complex Cell Conversion Algorithm (Cont.) Correct cell type is determined from local neighborhood N of the converted cell, i.e., If N contains no gas cells: conversion into liquid cell. If N contains both gas and liquid cells: create an interface cell. If N contains no liquid cells: conversion into gas cell. 15

Table of Contents 1 Introduction Lattice Boltzmann Model 2 Free Surface LBM Free Surface Extension 3 Liquid-Gas-Solid Flows Liquid-Solid Flows with LBM Liquid-Gas-Solid Flows with LBM 4 Parallel Computing WaLBerla and MPI Scaling results 5 Examples and More Example Videos Conclusion 16

WaLBerla Communication Concept WaLBerla framework: Widely applicable Lattice Boltzmann software framework from Erlangen. Fig. WaLBerla logo, see http://www10.informatik.uni-erlangen. de/research/projects/walberla/. 17

WaLBerla Communication Concept WaLBerla framework: Widely applicable Lattice Boltzmann software framework from Erlangen. Simulation domain is split into patches, which are then distributed over the number of processes. 17

WaLBerla Communication Concept WaLBerla framework: Widely applicable Lattice Boltzmann software framework from Erlangen. Simulation domain is split into patches, which are then distributed over the number of processes. Ghostlayer concept. 17

WaLBerla Communication Concept WaLBerla framework: Widely applicable Lattice Boltzmann software framework from Erlangen. Simulation domain is split into patches, which are then distributed over the number of processes. Ghostlayer concept. If neighboring patches are residing on different processes, then the patch data is communicated via MPI. 17

Ghostlayer with moving obstacles The information needed for obstacle to fluid conversions fits perfectly into the ghostlayer concept. 18

Ghostlayer with moving obstacles The information needed for obstacle to fluid conversions fits perfectly into the ghostlayer concept. No need for global communication, since only a local neighborhood needs to be considered. 18

Scaling Experiment Particles floating on a free surface (basin partially filled with liquid). 19

Scaling Experiment Particles floating on a free surface (basin partially filled with liquid). 2D - Scaling because of load balancing considerations. 19

Scaling Experiment Particles floating on a free surface (basin partially filled with liquid). 2D - Scaling because of load balancing considerations. Scaling along X - and Y - axes. 19

Scaling Experiment Particles floating on a free surface (basin partially filled with liquid). 2D - Scaling because of load balancing considerations. Scaling along X - and Y - axes. LIMA Cluster, RRZE http://www.rrze.uni-erlangen.de 19

Strong Scaling Fixed problem size: 512 512 64 cells, scaling from 16 to 256 processes. MLups: Number (M=millions) of lattice cells updated per second. 20

Weak Scaling Scaling the problem size, from 320 240 300 cells on 24 processes to: 2560 1920 300 cells on 1536 processes. Performance was 998 MLups (i.e., 86% performance compared to ideal scaling). 21

Table of Contents 1 Introduction Lattice Boltzmann Model 2 Free Surface LBM Free Surface Extension 3 Liquid-Gas-Solid Flows Liquid-Solid Flows with LBM Liquid-Gas-Solid Flows with LBM 4 Parallel Computing WaLBerla and MPI Scaling results 5 Examples and More Example Videos Conclusion 22

Buoyancy Example 23 Fig. Buoyancy due to concavity of the object (http://www10. informatik.uni-erlangen.de/gallery3/index.php/movies/3002).

Particles Example Fig. Simulation of spherical particles dropped into liquid (http://youtu.be/bwgbqslqr-m).

Rising Bubble in Particulate Flow Fig. Video of a rising bubble in a particulate flow (http://youtu.be/mtoidjcvuxu).

Conclusion Method for the simulation of liquid-gas-solid flows with Lattice Boltzmann Integration into walberla with support for high performance computers Future tasks: Improvement and validation of bubble-particle interaction. 26

Conclusion Method for the simulation of liquid-gas-solid flows with Lattice Boltzmann Integration into walberla with support for high performance computers Future tasks: Improvement and validation of bubble-particle interaction. Key application of free surface method: simulation of foaming processes. Stability of foams is influenced by the presence of particles in such a flow. Possible application: Simulation of foaming and froth flotation processes. 26

Thank you very much for listening! http://www10.informatik.uni-erlangen.de 27

References 28 [Bog09] Bogner, S.: Simulation of Floating Objects in Free-Surface Flow. Diplomarbeit, Jan 2009 [KT04] Körner, Carolin ; Thies, Michael: Lattice boltzmann model for free surface flow. (2004) [Lad] Ladd, A.J.C.: Numerical Simulations of Particulate Suspensions via a Discretized Boltzmann Equation Part I.