{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/sphm-a-matlab-package-for-smoothed-particle","title":"SPHM: a MATLAB package for Smoothed Particle Hydrodynamics simulations","arxiv_id":"2209.05189","date":"2022-09-12","proceeding":null,"authors":["Marco Sutti"],"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. 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.","url_abs":"https://arxiv.org/abs/2209.05189v1","url_pdf":"https://arxiv.org/pdf/2209.05189v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"sphm-a-matlab-package-for-smoothed-particle","repo_url":"https://github.com/MarcoSutti/SPHM","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}