Scaling relations between numerical simulations and physical systems they represent
The dynamical equations describing the evolution of a physical system generally have a freedom in the choice of units, where different choices correspond to different physical systems that are described by the same equations. Since there are three basic physical units, of mass, length and time, there are up to three free parameters in such a rescaling of the units, Nf= 3. In Newtonian hydrodynamics, for example, there are indeed usually three free parameters, Nf= 3. If, however, the dynamical equations contain a universal dimensional constant, such as the speed of light in vacuum c or the gravitational constant G, then the requirement that its value remains the same imposes a constraint on the rescaling, which reduces its number of free parameters by one, to Nf= 2. This is the case, for example, in magnetohydrodynamics or special relativistic hydrodynamics, where c appears in the dynamical equations and forces the length and time units to scale by the same factor, or in Newtonian gravity where the gravitational constant G appears in the equations. More generally, when there are Nudc independent (in terms of their units) universal dimensional constants, then the number of free parameters is Nf= max (0, 3 -Nudc). When both gravity and relativity are included, there is only one free parameter (Nf= 1, as both G and c appear in the equations so that Nudc= 2), and the units of mass, length and time must all scale by the same factor. The explicit rescalings for different types of systems are discussed and summarized here. Such rescalings of the units also hold for discrete particles, e.g. in N-body or particle-in-cell simulations. They are very useful when numerically investigating a large parameter space or when attempting to fit particular experimental results, by significantly reducing the required number of simulations.