Cellular Automata Simulation 207
FIGURE 7.16: Simulation examples of r ain drops using the LGA method.
(2) Non-physical elements may app e ar.
(3) Dynamic parameters such as temperature are difficult to handle.
The lattice Boltzmann method incor porating probabilistic generation r ules
has recently been used in simulations of physical systems to overcome these
drawbacks. Figure 7.16 is an example of simulation using the L GA method.
Numerous videos of LGA simulations are also available online (see [30], for
example).
7.6.1 LGA simulation with Swarm
LGA simulation by Swarm is shown in Fig. 7.17. Here, gas particles col-
lision by the HPP model is implemented. The particles flow into the hollow
(cavity) part from the horizontal and vertical directions, and their diffusion
can be observed. As mentioned earlier, note that, since the collisions in the
diagonal direction in a square lattice (grid) are not taken into account, there
is a deviation in the reaction. Due to this limitation, false physical quantities
and anisotropy of the stress tensor are c aused.
Next, we show an example of simulation of fluid according to the lattice
Boltzman law, created in Swarm. The lattice B oltzman law is an extension of
the LGA law and has also been used extensively in fluid analysis. The LGA
law describes by 0, 1 (integer number) the presence or a bsence of particles
moving in some direction. However, in the la ttice Boltzman law, the particle
is represented by the local mean distribution function (real number ), and
deals with an equation of motion fo r the distribution function. In the lattice
Boltzman law, by adjusting the coefficients of the distribution function, it
can be implemented to eliminate non-physical elements. Therefore, a square
lattice can als o be used. Figure 7.18 is an example of the simulation. The gray
color part represents a slab. For flow velocity, 0 is black, and becomes bigger