The University of Sheffield
Department of Computer Science

Matthew Leach Undergraduate Dissertation 2014/15

Bleeding Simulation using Smoothed Particle Hydrodynamics

Supervised by S.Maddock

Abstract

Real time bleeding simulations are important in today's entertainment and medical industries. Bleeding effects are often seen in games, while in the medical industry, surgery simulations making use of bleeding simulation are becoming more and more popular. This project presents a simulation of bleeding from the skin's surface using the smoothed particle hydrodynamics (SPH) approach and evaluates its practicality for use in real time applications. The project, at its core, uses SPH to approximate the Navier-Stokes equations to simulate liquid motion. The model is implemented using OpenCL and is capable of simulating bleeding effects ranging from realistic wounds to blood in zero gravity and hyper realistic effects for games or films. Capable of supporting tens of thousands of particles and interaction with arbitrary geometry, the model is an advancement on previous work which did not support as many particles, or provided a less accurate model. It is concluded that SPH is suitable for simulating bleeding for low numbers of particles in real time, and higher numbers for non real time applications.