Smoothed Particle Hydrodynamics(SPH)(中文文档)

November 29, 2023 · View on GitHub

fpm msys2-fpm

A community-driven open source smoothed particle hydrodynamics (SPH) code, the starting code version is derived from the textbook "Smooth Particle hydrodynamics - A Meshfree Particle Method".

ItemInfo
Version0.0.2
LicenseBSD 3-Clause
CopyrightCopyright (c) 2021 SPH Contributors

Get Started

Get the Code

git clone https://github.com/zoziha/SPH.git
cd SPH

Build with fortran-lang/fpm

FPM is a community-driven Fortran language package manager and code build system, suitable for c/c++/fortran code construction. You can build the code with the provided fpm.toml:

cd data && mkdir all && mkdir paraview
fpm build
# SPH main program
fpm run sph --profile release
# SPH post-processing program for ParaView
fpm run vtk