Introduction: Lattice Boltzmann Method for Non-fluid Applications Ye Zhao.

Slides:



Advertisements
Similar presentations
Stable Fluids A paper by Jos Stam.
Advertisements

Time averages and ensemble averages
Christopher McCabe, Derek Causon and Clive Mingham Centre for Mathematical Modelling & Flow Analysis Manchester Metropolitan University MANCHESTER M1 5GD.
Simulation of Fluids using the Navier-Stokes Equations Kartik Ramakrishnan.
Level set based Image Segmentation Hang Xiao Jan12, 2013.
Active Contours, Level Sets, and Image Segmentation
Formulation of an algorithm to implement Lowe-Andersen thermostat in parallel molecular simulation package, LAMMPS Prathyusha K. R. and P. B. Sunil Kumar.
Dynamic model of a drop shot from an inkjet printer.
Navier-Stokes.
Matthias Müller, Barbara Solenthaler, Richard Keiser, Markus Gross Eurographics/ACM SIGGRAPH Symposium on Computer Animation (2005),
The Lattice-Boltzmann Method for Gaseous Phenomena Paper by Xiaoming Wei, Wei Li, Klaus Mueller and Arie Kaufman Implementation by Davey Krill, March 2006,
3D S IMULATION OF PARTICLE MOTION IN LID - DRIVEN CAVITY FLOW BY MRT LBM A RMAN S AFDARI.
Session: Computational Wave Propagation: Basic Theory Igel H., Fichtner A., Käser M., Virieux J., Seriani G., Capdeville Y., Moczo P.  The finite-difference.
GPU Workshop: July, 2010 Scott Briggs PhD Candidate Civil/Env. Engineering Contaminant Hydrogeology Supervisors: B. E. Sleep and B. W. Karney.
William Moss Advanced Image Synthesis, Fall 2008.
Total Recall Math, Part 2 Ordinary diff. equations First order ODE, one boundary/initial condition: Second order ODE.
Particle-based fluid simulation for interactive applications
Karin Erbertseder Ferienakademie 2007
Modeling Fluid Phenomena -Vinay Bondhugula (25 th & 27 th April 2006)
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Introduction to Modeling Fluid Dynamics 1.
Fluid Simulation using CUDA Thomas Wambold CS680: GPU Program Optimization August 31, 2011.
Modeling, Simulating and Rendering Fluids Thanks to Ron Fediw et al, Jos Stam, Henrik Jensen, Ryan.
Fluid Simulation for Computer Animation Greg Turk College of Computing and GVU Center Georgia Institute of Technology.
Simulation and Animation
CSE 690 General-Purpose Computation on Graphics Hardware (GPGPU) Courtesy David Luebke, University of Virginia.
Lattice Boltzmann Equation Method in Electrohydrodynamic Problems
Finite Differences Finite Difference Approximations  Simple geophysical partial differential equations  Finite differences - definitions  Finite-difference.
Thermoacoustics in random fibrous materials Seminar Carl Jensen Tuesday, March
GPU Cluster for Scientific Computing Zhe Fan, Feng Qiu, Arie Kaufman, Suzanne Yoakum-Stover Center for Visual Computing and Department of Computer Science,
A Hybrid Particle-Mesh Method for Viscous, Incompressible, Multiphase Flows Jie LIU, Seiichi KOSHIZUKA Yoshiaki OKA The University of Tokyo,
Animation of Fluids.
A Fast Simulation Method Using Overlapping Grids for Interactions between Smoke and Rigid Objects Yoshinori Dobashi (Hokkaido University) Tsuyoshi Yamamoto.
Smoothed Particle Hydrodynamics (SPH) Fluid dynamics The fluid is represented by a particle system Some particle properties are determined by taking an.
Feng Qiu, Ye Zhao, Zhe Fan, Xiaomin Wei, Haik Lorenz, Jianning Wang, Suzanne Yoakum-Stover, Arie Kaufman, Klaus Mueller Center for Visual Computing and.
Approaching the Challenge of Grid- Enabling Applications Kieran Nolan May 15 th, 2008.
A conservative FE-discretisation of the Navier-Stokes equation JASS 2005, St. Petersburg Thomas Satzger.
Energy momentum tensor of macroscopic bodies Section 35.
A particle-gridless hybrid methods for incompressible flows
LBM: Approximate Invariant Manifolds and Stability Alexander Gorban (Leicester) Tuesday 07 September 2010, 16:50-17:30 Seminar Room 1, Newton Institute.
GPU-Accelerated Surface Denoising and Morphing with LBM Scheme Ye Zhao Kent State University, Ohio.
Mathematical Equations of CFD
Simulation of Micro Flows by Taylor Series Expansion- and Least Square-based Lattice Boltzmann Method   C. Shu, X. D. Niu, Y. T. Chew and Y. Peng.
R EAL TIME SIMULATION OF A TORNADO Shiguang Liu, Zhangye Wang, Zheng Gong, Lei Huang, and Qunsheng Peng.
Detail-Preserving Fluid Control N. Th ű rey R. Keiser M. Pauly U. R ű de SCA 2006.
Parallelization of 2D Lid-Driven Cavity Flow
Introduction to Level Set Methods: Part II
LATTICE BOLTZMANN SIMULATIONS OF COMPLEX FLUIDS Julia Yeomans Rudolph Peierls Centre for Theoretical Physics University of Oxford.
FPGA Based Smoke Simulator Jonathan Chang Yun Fei Tianming Miao Guanduo Li.
By Dirk Hekhuis Advisors Dr. Greg Wolffe Dr. Christian Trefftz.
FlowFixer: Using BFECC for Fluid Simulation ByungMoon Kim Yingjie Liu Ignacio Llamas Jarek Rossignac Georgia Institute of Technology.
Governing Equations Conservation of Mass Conservation of Momentum Velocity Stress tensor Force Pressure Surface normal Computation Flowsheet Grid values.
Havok FX Physics on NVIDIA GPUs. Copyright © NVIDIA Corporation 2004 What is Effects Physics? Physics-based effects on a massive scale 10,000s of objects.
Discretization for PDEs Chunfang Chen,Danny Thorne Adam Zornes, Deng Li CS 521 Feb., 9,2006.
© Fox, Pritchard, & McDonald Introduction to Fluid Mechanics Chapter 5 Introduction to Differential Analysis of Fluid Motion.
1 MULTIPHYSICS December 2009 Lille, FRANCE.
CSE 690: GPGPU Lecture 8: Image Processing PDE Solvers Klaus Mueller Computer Science, Stony Brook University.
From Turing Machine to Global Illumination Chun-Fa Chang National Taiwan Normal University.
Smoothed Particle Hydrodynamics Matthew Zhu CSCI 5551 — Fall 2015.
Scientific Computing Goals Past progress Future. Goals Numerical algorithms & computational strategies Solve specific set of problems associated with.
SIGGRAPH 2005 신 승 호 신 승 호. Water Drops on Surfaces Huamin Wang Peter J. Mucha Greg Turk Georgia Institute of Technology.
Animating smoke with dynamic balance Jin-Kyung Hong Chang-Hun Kim 발표 윤종철.
General Physics 1 Hongqun Zhang The Department of Physics, Beijing Normal University June 2005.
Modelling immiscible displacement in porous rocks with LBM models
Incomplete without class notes
Parallel Plasma Equilibrium Reconstruction Using GPU
International Institute of Information Technology, Hyderabad
Lattice Boltzmann Simulation of Water Transport in Gas Diffusion Layers of PEMFCs with Different Inlet Conditions Seung Hun Lee1, Jin Hyun Nam2,*, Hyung.
Introduction to Fluid Mechanics
Paper Review Zhiqiang 9/21/12
Anthony D. Fick & Dr. Ali Borhan Governing Equations
Presentation transcript:

Introduction: Lattice Boltzmann Method for Non-fluid Applications Ye Zhao

Lattice Boltzmann Method Microscopic numerical solver initially desinged for fluid dynamics Microscopic numerical solver initially desinged for fluid dynamics Simple, explicit and parallel scheme Simple, explicit and parallel scheme Parallel scheme for hardware acceleration Parallel scheme for hardware acceleration Graphics hardware: GPU, GPU cluster Graphics hardware: GPU, GPU cluster

LBM in Computer Graphics Natural phenomena with fluids Natural phenomena with fluids Fluid Flows Fluid Flows Smoke and fire Smoke and fire Ink dispersion Ink dispersion Snowing Snowing Liquid mixture (Wang et al. 2006) Liquid mixture (Wang et al. 2006) More … More … Non-fluids Non-fluids Lighting (Geist et al. 2004) Lighting (Geist et al. 2004) Image Processing Image Processing

Navier-Stokes Equation Model the macroscopic behavior of fluid Model the macroscopic behavior of fluid

Microscopic Dynamics Microscopic particles inside fluids Fictitious particles moving along lattice links

Lattice Boltzmann Equation f : probability distribution function of particle populations on each link f : probability distribution function of particle populations on each link Recover the Navier-Stokes equation Recover the Navier-Stokes equation At the limit of low Mach number fluids At the limit of low Mach number fluids Discretize Boltzmann equation on discrete moving directions i (1988) Discretize Boltzmann equation on discrete moving directions i (1988)

Lattice Structure

Single-relaxation-time LBM Collision Collision BGK model (1954) for equilibrium BGK model (1954) for equilibrium Streaming along a link to a neighbor Streaming along a link to a neighbor

Macroscopic Properties Density, velocity and viscosity Density, velocity and viscosity

Body Forces

Graphics Hardware Graphics processing units (GPU) Graphics processing units (GPU) Low price Low price Inherently parallel Inherently parallel Programmable Programmable Booming growth rate on speed Booming growth rate on speed 3.0 GHz dual-core Pentium4: 24.6 GFLOPs 3.0 GHz dual-core Pentium4: 24.6 GFLOPs NVIDIA GeForce FX 7800: 165 GFLOPs NVIDIA GeForce FX 7800: 165 GFLOPs Ideal general-purpose applications Ideal general-purpose applications Large data sets Large data sets High parallelism High parallelism Minimal dependencies between data elements Minimal dependencies between data elements

Computation on GPU Texture Images Fragment Processing Fragments Fragment w/ Colors Graphics: Data Numerical Calculation Fragments Results Computation:

LBM Acceleration on GPU Simple addition, subtraction and multiplication Simple addition, subtraction and multiplication Computation on cluster Computation on cluster Large-scale simulation Large-scale simulation Domain decomposition Domain decomposition

LBM for Non-fluids Applications Actually LBM is a special numerical solver for partial differential equations (PDE) Actually LBM is a special numerical solver for partial differential equations (PDE) PDEs are widely used in graphics and visualization applications PDEs are widely used in graphics and visualization applications Image processing Image processing Surface processing Surface processing Volume graphics and visualization Volume graphics and visualization Computer vision … Computer vision …

Use LBM in these fields? Pros: Pros: LBM is simple to implement LBM is simple to implement both CPU and GPU both CPU and GPU Flexible and easy to modify its scheme Flexible and easy to modify its scheme Computational speed very fast with hardware acceleration Computational speed very fast with hardware acceleration Cons: Cons: Difficult understanding at the beginning Difficult understanding at the beginning Memory usage Memory usage Worth a try! Worth a try!

Research Topics How to modify LBM scheme in order to theoretically recover the preferred PDEs How to modify LBM scheme in order to theoretically recover the preferred PDEs How to improve hardware acceleration performance How to improve hardware acceleration performance New-generation GPU architecture New-generation GPU architecture Memory use optimization Memory use optimization How to incorporate with particular applications How to incorporate with particular applications

Modify LBM Equilibrium Equation for Diffusion For fluid dynamics For fluid dynamics BGK model (1954) for equilibrium BGK model (1954) for equilibrium For diffusion only For diffusion only

Recover Diffusion Equation Chapman-Enskog expansion, ε represents a small expansion parameter (Knudsen number) Chapman-Enskog expansion, ε represents a small expansion parameter (Knudsen number) Use this and Taylor expansion on LBM equation Use this and Taylor expansion on LBM equation

Recover Diffusion Equation (Continue) We get expanded equation : We get expanded equation : Constraints Constraints Summation on expanded equation over i Summation on expanded equation over i

Recover Diffusion Equation (Continue) Diffusion tensor defined by lattice structure Diffusion tensor defined by lattice structure For a particular lattice structure we obtain For a particular lattice structure we obtain For D3Q19 For D3Q19

Applications Volume Smoothing Volume Smoothing

Volume Smoothing

Surface Smoothing

Image De-noising

Poisson Image Editing Poisson Equation with Dirichlet boundary Poisson Equation with Dirichlet boundary is a computed guidance field computed from origin image is a computed guidance field computed from origin image

Performance GPU NVidia 8800GTX with 768MB memory GPU NVidia 8800GTX with 768MB memory

More Applications Apply to others beyond diffusion Apply to others beyond diffusion Use level set equation as a pivot example Use level set equation as a pivot example It has many application fields It has many application fields Combine several different types of PDEs Combine several different types of PDEs

Propagation interface as zero level set Propagation interface as zero level set d is distance to interface d is distance to interface Surface motion Surface motion F = Signed speed in direction of normal Level Set

F Speed Function Curvature flow  diffusion on distance field Curvature flow  diffusion on distance field Advected propagation by a external field Advected propagation by a external field Constant speed expansion Constant speed expansion

LBM for Level Set Use distance field as the computational primitive in LBM Use distance field as the computational primitive in LBM Play the role as density in fluids Play the role as density in fluids Design appropriate equlibrium function for PDEs Design appropriate equlibrium function for PDEs

Thanks