ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

StarSmasher: Smoothed Particle Hydrodynamics code for smashing stars and planets

Discussion topics for individual codes
Ada Coda
ASCL Robot
Posts: 1154
Joined: Thu May 08, 2014 5:37 am

StarSmasher: Smoothed Particle Hydrodynamics code for smashing stars and planets

Postby Ada Coda » Wed May 09, 2018 5:50 pm

StarSmasher: Smoothed Particle Hydrodynamics code for smashing stars and planets

Abstract: Smoothed Particle Hydrodynamics (SPH) is a Lagrangian particle method that approximates a continuous fluid as discrete nodes, each carrying various parameters such as mass, position, velocity, pressure, and temperature. In an SPH simulation the resolution scales with the particle density; StarSmasher is able to handle both equal-mass and equal number-density particle models. StarSmasher solves for hydro forces by calculating the pressure for each particle as a function of the particle's properties - density, internal energy, and internal properties (e.g. temperature and mean molecular weight). The code implements variational equations of motion and libraries to calculate the gravitational forces between particles using direct summation on NVIDIA graphics cards. Using a direct summation instead of a tree-based algorithm for gravity increases the accuracy of the gravity calculations at the cost of speed. The code uses a cubic spline for the smoothing kernel and an artificial viscosity prescription coupled with a Balsara Switch to prevent unphysical interparticle penetration. The code also implements an artificial relaxation force to the equations of motion to add a drag term to the calculated accelerations during relaxation integrations. Initially called StarCrash, StarSmasher was developed originally by Rasio.

Credit: Gaburov, Evghenii; Lombardi, James C., Jr.; Portegies Zwart, Simon; Rasio, F. A.

Site: https://jalombar.github.io/starsmasher/
http://adsabs.harvard.edu/abs/2010MNRAS.402..105G

Bibcode: 2018ascl.soft05010G

ID: ascl:1805.010

Return to “Astrophysics Source Code Library”

Who is online

Users browsing this forum: No registered users and 2 guests

cron