#sph #physics #moving-mesh

app sph2mm

Add an AMR background to an existing SPH initial conditions file

4 releases (2 breaking)

new 0.3.0 Feb 19, 2025
0.2.0 Feb 18, 2025
0.1.1 Feb 17, 2025
0.1.0 Feb 17, 2025

#62 in Simulation

Download history 102/week @ 2025-02-12

102 downloads per month

LGPL-3.0+

25KB
532 lines

sph2mm

Add an AMR background to an existing SPH initial conditions file

Usage: sph2mm [OPTIONS] <SPH> <MODIFIED>

Arguments:
  <SPH>       Name of ICs file with sph ICs
  <MODIFIED>  Name to store the modified ICs

Options:
  -r, --resolution <RESOLUTION>            Resolution of background grid [default: 32]
  -d, --density <DENSITY>                  Density of background particles [default: 1]
  -i, --internal-energy <INTERNAL_ENERGY>  Internal energy of background particles [default: 1]
  -c, --center <CENTER> <CENTER> <CENTER>  Center of the box
  -R, --relax <RELAX>                      Perform <N> interations of mesh relaxation [default: 0]
  -h, --help                               Print help
  -V, --version                            Print version

Dependencies

~15–23MB
~388K SLoC