ISPH is a cross-platform computational fluid dynamics (CFD) library for mesh-free particle based simulation and visualization of incompressible flows using Smoothed Particle Hydrodynamics (SPH) methods. The library is open source and cross-platform, written in pure C++ and the new standard for parallel programming of modern processors - OpenCL. The library will make full use of GPUs, CPUs and other OpenCL enabled devices in running system to accelerate the computing to the maximum.

Note: This is a temporary website that contains basic information about the project. Complete website is under preparation along with the first public milestone release.

Features / Roadmap

  cross-platform library, tested on Windows and Linux
  parallel computation on CPUs, GPUs, etc.
  distributed computation on multiple systems
  highly optimized, clean and Doxygen-documented source code
  GPL version 3.0 license

State Of The Art SPH
  truly incompressible flow with different kinds of pressure solvers
  different kinds of SPH smoothing kernels
  anti-clumping and smooth particle movement
  different kinds of time stepping and projection methods
  CFL conditions for max allowed variable time-step
  kernel gradient correction
  multi-phase fluids

  wall boundaries
  periodic boundary conditions
  inflow and outflow boundary conditions

  multiple objects interacting with fluid
  floating objects
  collection of 2D and 3D primitives
  import arbitrary 3D polygonal models
  controllable motions of objects (with analytic expressions or data-set of velocity and/or positions in time)

Setup & Export
  load and setup whole simulation through XML with easy syntax
  export simulated data with constant time step and/or at specified simulation time
  different kinds of export formats: VTK, comma separated, probes

  GUI for visual simulation setup pre-processing
  interactive rendering of simulated data on the fly

Verification / Gallery



There are currently no available releases for download. The project is in pre-alpha stage at the moment; you're welcome to download code from our subversion server. In order to access the repository, you must have a Subversion client installed. You can access the repository with the following URL through your Subversion client:

This project's Subversion repository can also be checked out through SVN with the following instruction set:

svn co isph

You can directly access subversion repository online through your web browser with the following link:

Get in Touch

Please feel free to contact us, we’d love to hear from you! You can send e-mail to: (at)


Swegle J. W., Hicks D. L., Attaway S. W. (1995): Smoothed Particle Hydrodynamics stability analysis, J. Comp. Phys. 116, 123-134
Xu Rui (2009): An Improved Incompressible Smoothed Particle Hydrodynamics Method and Its Application in Free-Surface Simulations, Ph.D., University of Manchester
Colagrossi A. (2003): A Meshless Lagrangian Method for Free–Surface and Interface Flows with Fragmentation, University of Rome, La Sapienza
Colicchio G. (2004): Violent disturbance and fragmentation of free surfaces, Ph.D., School of civil engineering and the environment, University of Southampton
J. J. Monaghan (2000): SPH without a tensile instability, J. Comput. Phys. 159, 290–311
Cummins S. J., Rudman M. (1999): An SPH projection method, J. Comput. Phys. 152, 584–607
Feng J. J., Hosseini S. M. (2011): Pressure boundary conditions for computing incompressible flows with SPH, J. Comput. Phys. 230, 7473–7487
Shao S., Lo E. (2003): Incompressible SPH method for simulating Newtonian and non-Newtonian flows with free surface, Advances in Water Resources 26, 787-800