SPHM: a MATLAB package for Smoothed Particle Hydrodynamics simulations

Marco Sutti
9/12/2022
physics.flu-dyn

Official code: MarcoSutti/SPHM (15 stars, MATLAB, GPL-3.0, last commit 2026-09-12).

Abstract

We present a MATLAB code that implements the Smoothed Particle Hydrodynamics (SPH) method. The paper reviews the continuous Navier-Stokes equations as well as their SPH approximation, adopting a coherent notation that allows to make easy reference to the code.

Show full abstract

The MATLAB implementation was heavily inspired by the earlier FORTRAN code of G. R. Liu and M. B. Liu, 2003. The code can be used for simple computational fluid dynamics simulations. Two classical benchmark problems are used to validate the algorithm: a one-dimensional shock tube and a two-dimensional shear cavity problem.

View on arXivView PDF

Code Implementations(1)

MarcoSutti/SPHMOfficial100%
GPL-3.0

SPHM: A MATLAB code for SPH simulations

154MATLABJul 11, 20212 months agoGPL-3.0

Similar Papers

Cite this paper

@article{sutti2022sphm,
  title  = {SPHM: a MATLAB package for Smoothed Particle Hydrodynamics simulations},
  author = {Marco Sutti},
  year   = {2022},
  eprint = {2209.05189},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.05189}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.05189.svg)](https://codeofpaper.com/paper/2209.05189)

Discussion