Christopher McCabe, Derek Causon and Clive Mingham Centre for Mathematical Modelling & Flow Analysis Manchester Metropolitan University MANCHESTER M1 5GD.

Slides:



Advertisements
Similar presentations
Time averages and ensemble averages
Advertisements

Instructor Notes Lecture discusses parallel implementation of a simple embarrassingly parallel nbody algorithm We aim to provide some correspondence between.
Simulation of Fluids using the Navier-Stokes Equations Kartik Ramakrishnan.
IIAA GPMAD A beam dynamics code using Graphics Processing Units GPMAD (GPU Processed Methodical Accelerator Design) utilises Graphics Processing Units.
Numerical Simulation of Wave-Seawall Interaction Clive Mingham, Derek Causon, David Ingram and Stephen Richardson Centre for Mathematical Modelling and.
Fast Circuit Simulation on Graphics Processing Units Kanupriya Gulati † John F. Croix ‡ Sunil P. Khatri † Rahm Shastry ‡ † Texas A&M University, College.
Simulation of High-Intensity Roman Samulyak, Tongfei Guo
Acceleration of the Smith– Waterman algorithm using single and multiple graphics processors Author : Ali Khajeh-Saeed, Stephen Poole, J. Blair Perot. Publisher:
Acoustic Modeling of Reverberation using Smoothed Particle Hydrodynamics Thomas Wolfe.
Particle-based fluid simulation for interactive applications
L13: Review for Midterm. Administrative Project proposals due Friday at 5PM (hard deadline) No makeup class Friday! March 23, Guest Lecture Austin Robison,
DCABES 2009 China University Of Geosciences 1 The Parallel Models of Coronal Polarization Brightness Calculation Jiang Wenqian.
Accurate Numerical Treatment of the Source Terms in the Non-linear Shallow Water Equations J.G. Zhou, C.G. Mingham, D.M. Causon and D.M. Ingram Centre.
September 19, 2011 Simulation of High Power Mercury Jet Targets using Smoothed Particle Hydrodynamics Roman Samulyak, Tongfei Guo AMS Department, Stony.
Module on Computational Astrophysics Jim Stone Department of Astrophysical Sciences 125 Peyton Hall : ph :
Modeling Fluid Phenomena -Vinay Bondhugula (25 th & 27 th April 2006)
Fluid Surface Rendering in CUDA Andrei Monteiro Marcelo Gattass Assignment 4 June 2010.
A TWO-FLUID NUMERICAL MODEL OF THE LIMPET OWC CG Mingham, L Qian, DM Causon and DM Ingram Centre for Mathematical Modelling and Flow Analysis Manchester.
Blood effects for Flinders Sinus Surgery Simulator
Accelerating SQL Database Operations on a GPU with CUDA Peter Bakkum & Kevin Skadron The University of Virginia GPGPU-3 Presentation March 14, 2010.
Slug flow and fluid-structure interaction in industrial pipe systems
An approach for solving the Helmholtz Equation on heterogeneous platforms An approach for solving the Helmholtz Equation on heterogeneous platforms G.
2012/06/22 Contents  GPU (Graphic Processing Unit)  CUDA Programming  Target: Clustering with Kmeans  How to use.
CuMAPz: A Tool to Analyze Memory Access Patterns in CUDA
Accelerating Knowledge-based Energy Evaluation in Protein Structure Modeling with Graphics Processing Units 1 A. Yaseen, Yaohang Li, “Accelerating Knowledge-based.
GPU Fluid Simulation Neil Osborne School of Computer and Information Science, ECU Supervisors: Adrian Boeing Philip Hingston.
Computer-Aided Design and Manufacturing Laboratory: 3D Minkowski sum computation Sara McMains UC Berkeley.
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.
GPU Programming with CUDA – Optimisation Mike Griffiths
Diane Marinkas CDA 6938 April 30, Outline Motivation Algorithm CPU Implementation GPU Implementation Performance Lessons Learned Future Work.
HPCLatAm 2013 HPCLatAm 2013 Permutation Index and GPU to Solve efficiently Many Queries AUTORES  Mariela Lopresti  Natalia Miranda  Fabiana Piccoli.
Modelling Tsunami Waves using Smoothed Particle Hydrodynamics (SPH) R.A. DALRYMPLE and B.D. ROGERS Department of Civil Engineering, Johns Hopkins University.
GPU-Accelerated Surface Denoising and Morphing with LBM Scheme Ye Zhao Kent State University, Ohio.
Tracking with CACTuS on Jetson Running a Bayesian multi object tracker on a low power, embedded system School of Information Technology & Mathematical.
Material budget, energy losses and multiple scattering.
GPU Architecture and Programming
Software for the Games Industry 9 November 2004 Fluid Gaming: Particle Methods for Fluid Mechanics and Visualisation Graham Wynn James Gray Richard West.
Dense Image Over-segmentation on a GPU Alex Rodionov 4/24/2009.
Geometry Group Summer 08 Series Toon Lenaerts, Bart Adams, and Philip Dutre Presented by Michael Su May
Experiences Accelerating MATLAB Systems Biology Applications Heart Wall Tracking Lukasz Szafaryn, Kevin Skadron University of Virginia.
1996 Eurographics Workshop Mathieu Desbrun, Marie-Paule Gascuel
Simulating complex surface flow by Smoothed Particle Hydrodynamics & Moving Particle Semi-implicit methods Benlong Wang Kai Gong Hua Liu
Introduction: Lattice Boltzmann Method for Non-fluid Applications Ye Zhao.
QCAdesigner – CUDA HPPS project
By Dirk Hekhuis Advisors Dr. Greg Wolffe Dr. Christian Trefftz.
1)Leverage raw computational power of GPU  Magnitude performance gains possible.
by Arjun Radhakrishnan supervised by Prof. Michael Inggs
Matthew Zhu. At each time step calculate each particle’s acceleration and use Verlet numerical integration to update its position, velocity, and grid.
An Efficient CUDA Implementation of the Tree-Based Barnes Hut n-body Algorithm By Martin Burtscher and Keshav Pingali Jason Wengert.
ACCELERATING QUERY-BY-HUMMING ON GPU Pascal Ferraro, Pierre Hanna, Laurent Imbert, Thomas Izard ISMIR 2009 Presenter: Chung-Che Wang (Focus on the performance.
Smoothed Particle Hydrodynamics Matthew Zhu CSCI 5551 — Fall 2015.
Geant4 on GPU prototype Nicholas Henderson (Stanford Univ. / ICME)
Chapter 3. Force, Mass, and Acceleration Newton’s first law of motion states that the motion of an object changes only if an unbalanced force acts on.
1 ITCS 4/5010 CUDA Programming, UNC-Charlotte, B. Wilkinson, Jan 28, 2013 Branching.ppt Control Flow These notes will introduce scheduling control-flow.
S. Pardi Frascati, 2012 March GPGPU Evaluation – First experiences in Napoli Silvio Pardi.
A Massively Parallel Incompressible Smoothed Particle Hydrodynamics Simulator for Oilfield Applications Paul Dickenson 1,2, William N Dawes 1 1 CFD Laboratory,
GPU Acceleration of Particle-In-Cell Methods B. M. Cowan, J. R. Cary, S. W. Sides Tech-X Corporation.
A novel approach to visualizing dark matter simulations
Smoothed Particle Hydrodynamics For Deformable Vessel Dynamics Progress Report Van Jones 2008/01/30.
Fluid Animation CSE 3541 By: Matt Boggus.
International Institute of Information Technology, Hyderabad
I. E. Venetis1, N. Nikoloutsakos1, E. Gallopoulos1, John Ekaterinaris2
A TWO-FLUID NUMERICAL MODEL OF THE LIMPET OWC
Guido Ala, Elisa Francomano, Antonino Spagnuolo
MASS CUDA Performance Analysis and Improvement
Optimizing stencil code for FPGA
Graphics Processing Unit
6- General Purpose GPU Programming
Force Directed Placement: GPU Implementation
Presentation transcript:

Christopher McCabe, Derek Causon and Clive Mingham Centre for Mathematical Modelling & Flow Analysis Manchester Metropolitan University MANCHESTER M1 5GD United Kingdom 1

Smoothed Particle Hydrodynamics Highly parallel algorithm Tracks particle movement rather than calculates physical properties at fixed points in space Ideal for modelling of free surface flows  Wave interactions with floating structures  Environmental scenarios  Dambreaks  Flooding and coastal inundation 2

Problem Specification and Particle Configuration 2D Dambreak of 8m x 8m body of water (64 x 64) real particles, with 1024 virtual particles to describe the fixed solid boundaries. Obstacle in path of dam break flow. Algorithm based on “Simulating Free Surface Flows with SPH” by J J Monaghan, Journal of Computational Physics 110, (1994) 3

Particle Approximation Particles approximated by a kernel function W ij which is normalized over its support domain offers compact support is symmetric (even function) is non-negative has smoothing length h such that Kernel used was the Gaussian 4

Governing Equations 5 Momentum Equation Viscositywhere Energy equation Continuity Equation

Boundary Conditions To model a fixed solid boundary we use virtual particles that have the physical properties of water but exert a repulsive force on any real particle approaching the boundary. A Lennard-Jones repulsive force F on a real particle from a boundary particle a distance r apart is given by A velocity correction prevents penetration of the boundary by any real particle, given by for, whereand 6

Tait Equation of State 7, where, Each real particle given an initial hydrostatic pressure according to = 7

Algorithm Implementation on GPU Hardware used was one Tesla C870 multiprocessor with the NVIDIA CUDA SDK and nvcc compiler Algorithm uses the very fast shared memory on the C870 to process particle interactions Algorithm is based on N-body simulation (Chapter 31 GPU Gems 3) but with an improvement to record particle interactions to reduce the computation per time step All reads from and writes to global memory are coalesced 8

Performance SystemExecution time (seconds) for 250 time steps 1 x C x Intel Pentium IV 3GHz No code was optimized in favour of the other. 2.All codes written in C and all perform the same functions. 3.The code executed on the C870 used its architecture only without any ‘tricks of the trade’ (loop unrolling etc.). 4.The code executed on the two Pentium IVs was compiled and executed within MS Visual Studio 2005.

Simulation: time step = 0 10

Simulation : time step =

Simulation : time step =

Conclusions The Nvidia C870 accelerated the code execution by a significant factor. The algorithm is based on a mathematical formulation. Results are very realistic. 13

Future Work Implement more accurate and faster SPH algorithms Consider larger and different benchmark problems Use multiple GPUs 14