The initial data generation in numerical simulations is an important issue for numerical methods. In particular in Smoothed Particle Hydrodynamic (SPH), acceptance-rejection method is one of the most frequently used for generating the position of the nodes. In this work we present the transformation law of probabilities as an alternative method for density profiles distributed spherically. As a physical application we generate a distribution of data for a density profile in steady-state accretion around a Schwarzschild black hole showing the convergence of the method.

This content is only available via PDF.
You do not currently have access to this content.