The equations of motion of particles in expanding
coordinates, which are used in our PM code, were presented by Kates
et al.(1991). Different numerical effects (including resolution) were
discussed in Klypin et al.(1996). We use comoving
coordinates ofr particles
x = x (t) , which are related to
proper coordinates by
r = a(t)x , where
a(t) = (1 + z)- 1 is
the expansion parameter. Instead of using peculiar velocity
v pec = a
x we write the equations for particle momenta
p :
This choice of ``velocity''
simplifies the equations of motion by removing a few terms with
/a . It
is also convenient to change the time variable from time t to the
expansion parameter a . The equations governing the motion of particles
are:
|
| (2) |
|
| (3) |
|
| (4) |
where
=
(z = 0) ,
, and
are the density of the matter, effective
density of the curvature, and the cosmological constant in units of the
critical density at z = 0 . The curvature contribution is positive for
negative curvature.
Dimensionless variables (shown with tildas below) are defined by introducing the length of a cell of the grid x0 and by measuring the time in units of 1/H0 :
|
| (7) |
Equations (2-5) can be rewritten in terms of dimensionless variables:
|
| (8) |
|
| (9) |
F(a) -1/2 .
| (10) |
Equations (8 - 9) are solved numerically by the PM code.
If L is the length of the computational box at z = 0 ,
Ngrid is the
number of grid cells in one direction, and Nrow is the number
of particles in one direction, which contribute a fraction
of
the critical density, then the transformations from dimensionless variables
given by the code to dimensional variables are given by
x = x0
| (11) |
|
vpec = (x0H0) | (12) |
Mass = Nparticles 3 = 1.32 3
| (13) |