Next: Single Stars
Up: Numerical Methods
Previous: The FFTW
  Contents
Relaxation
A common problem with SPH codes is the fact that the initial
configuration of particles you lay down will be to some extent out of
equilibrium. In some case, the resulting oscillations of the matter
can lead to spurious results. As a result, we recommend that whenever
it is possible, you use our routines to relax a material
configuration before computing a dynamical run. We currently have two
such routines, for both single-stars and corotating binaries. We
discuss each in turn, but the idea behind each is essentially the
same. For equilibrium situations where the matter is fixed in a given
reference frame, you calculate forces by the standard techniques, but
add a drag term to the accelerations, such that
 |
(12) |
The relaxation time,
is input to the code as a parameter
TRELAX, and should correspond roughly with the dynamical
timescale of the system, given by
, in order to ensure nearly
critical damping.
In all cases, we turn off the dissipative effects of both artificial
viscosity (Sec. 3.5) and radiation reaction (Sec. 3.6)
during relaxation.
Subsections
Next: Single Stars
Up: Numerical Methods
Previous: The FFTW
  Contents
Joshua Faber
2003-06-28