next up previous
Next: Appendix Up: 8. Hydrodynamics Previous: 8.3.2 The Lattice Boltzmann


8.4 Direct Simulation Monte Carlo / Bird method

Originally developed for dilute gas flow in engineering and in space science [BIRD 94], [NANBU 83].
Recent extensions for dense gases: [ALEXANDER 95]

Basic idea of the DSMC method for a dilute gas of hard spheres:
  1. - Divide the sample into cells of volume $V_{c}$, each with $N_{c} \approx 20-40$ particles with given positions and velocities.
    - The side length of the cells should be smaller than but of the order of the mean free path.
    - Boundary conditions appropriate to the problem are defined, usually specular (reflecting wall) and/or periodic boundaries.
    - A time step $\Delta t$ smaller than the typical intercollision time is assumed.
  2. Translate all particles according to $\mbox{$\bf r$}_{i} \rightarrow \mbox{$\bf r$}_{i}+\mbox{$\bf v$}_{i}\, \Delta t$, applying the given boundary conditions.
  3. Within each cell, draw $M_{c}$ pairs of particles $(i,j)$ that are candidates for a collision:
    1. Let the probability of a pair $(i,j)$ to collide depend only on their relative speed $v_{ij} \equiv \left\vert \mbox{$\bf v$}_{j}-\mbox{$\bf v$}_{i}\right\vert$ and not to their positions. The argument for this is that all particles in one cell are within free path range of each other. The probability for the pair $(i,j)$ to collide is thus simply proportional to the relative speed: $p_{c}(i,j) \propto v_{ij}$.
      Recalling the rejection method of Section [*] we draw pairs $(i,j)$ in accordance with this probability density: assuming the maximum of $v_{ij}$ for all pairs in the cell to be known, draw a random number $\xi$ from a uniform distribution in $[0,1]$ and compare it to $v_{ij}/v_{max}$.
      Calculating $v_{max}$ would amount to the expensive scanning of all pairs of particles in the cell. Therefore, use an estimated value of $v_{max}'$. If that value is larger than the actual $v_{max}$, the density $p_{ij}$ is still sampled correctly but with a slightly lower efficiency.
    2. The total number of collision pairs to be sampled in a cell during one time step is determined as follows. For a gas of hard spheres with diameter $d$ the average number of pair collisions within the cell is
      \begin{displaymath}
M_{c} \equiv Z \, V_{c} \, \Delta t =
\frac{\rho^{2} \pi d^{2} \langle v_{rel}\rangle}{2} \, V_{c} \, \Delta t
\end{displaymath} (8.89)

      where $Z$ is the kinetic collision rate per unit volume, $\rho = N_{c}/V_{c}$ is the number density, and $\langle v_{rel}\rangle$ is the average relative speed. In order to have $M_{c}$ trial pairs survive the rejection procedure of step 3a we have to sample
      \begin{displaymath}
M_{trial} \equiv M_{c}\, \frac{v_{max}'}{\langle v_{rel}\rangle}=
\frac{\rho^{2} \pi d^{2} v_{max} '}{2} \, V_{c} \, \Delta t
\end{displaymath} (8.90)

      collisions.
  4. Now perform the collision for the pair $(i,j)$. Since the post-collision velocities are determined by the impact parameter which is unknown, they must be sampled in a physically consistent way. In the hard sphere case this is most easily done by assuming an isotropic distribution of the relative velocity $\mbox{$\bf v$}_{ij}$ after the collision. Since the relative speed $\left\vert \mbox{$\bf v$}_{ij}\right\vert$ remains unchanged, the problem is reduced to sampling a uniformly distributed unit vector. Marsaglia's recipe may be used for this (see Figure 3.0.2).
  5. Return to step 2.
Literature: [GARCIA 99,BIRD 94]; [GARCIA 97]. Search the web for the current developments.
next up previous
Next: Appendix Up: 8. Hydrodynamics Previous: 8.3.2 The Lattice Boltzmann
Franz J. Vesely Oct 2005
See also:
"Computational Physics - An Introduction," Kluwer-Plenum 2001