A Python, and super basic, version of GraSPH. Early stages of development. Only in 2D.
Package requirements:
pip install git+https://github.com/edoyango/pyGraSPH.gitNumPy version 1.25 is used here as performance improvements are introduced which
improve speed of this code by 4x. See NumPy Release Notes,
where the improvements to np.ufunc.at and np.einsum are most relevant.
Edit main.py as needed, then
mkdir output # make output directory if doesn't exist
python3 main.pyand wait awhile.
Edit plot.py as needed, then
python3 plot.py <timestep>which reads data form output/sph_*.h5 and creates sphplot.png in the current working directory