- Source: HPP model
The Hardy–Pomeau–Pazzis (HPP) model is a fundamental lattice gas automaton for the simulation of gases and liquids. It was a precursor to the lattice Boltzmann methods. From lattice gas automata, it is possible to derive the macroscopic Navier-Stokes equations. Interest in lattice gas automaton methods levelled off in the early 1990s, due to rising interest in the lattice Boltzmann methods.
It was first introduced in papers published in 1973 and 1976 by Jean Hardy, Yves Pomeau and Olivier de Pazzis, whose initials give the model its name. The model can be used as a simple model for both the movement of gases and fluid.
Model
In this model, the lattice takes the form of a two-dimensional square grid, with particles capable of moving to any of the four adjacent grid points which share a common edge, and particles cannot move diagonally. This means each grid point can only have one of sixteen possible interactions.
Particles exist only on the grid points, never on the edges or surface of the lattice.
Each particle has an associated direction (from one grid point to another immediately adjacent grid point).
Each lattice grid cell can only contain a maximum of one particle for each direction, i.e., contain a total of between zero and four particles.
The following rules also govern the model:
A single particle moves in a fixed direction until it experiences a collision.
Two particles experiencing a head-on collision are deflected perpendicularly.
Two particles experience a collision which isn't head-on simply pass through each other and continue in the same direction.
Optionally, when a particles collides with the edges of a lattice it can rebound.
The HPP models follows a two-stage update process.
= Collision step
=In this step, the above rules 2., 3., and 4. are checked and applied if any collisions have occurred. This results in head-on collision particles changing direction, pass-through collisions continuing unchanged, or non-colliding particles simple remaining the same.
= Transport step
=The second step consists of each particle moving one lattice step in the direction they are currently travelling, which could have been changed by the above Collision Step.
Formal definition
The model operates on an infinite two-dimensional square lattice, where four unit vectors are associated with the following numbers:
1
↦
(
1
0
)
,
2
↦
(
0
1
)
,
3
↦
(
−
1
0
)
,
4
↦
(
0
−
1
)
{\displaystyle 1\mapsto \left({\begin{array}{c}1\\0\end{array}}\right),2\mapsto \left({\begin{array}{c}0\\1\end{array}}\right),3\mapsto \left({\begin{array}{c}-1\\0\end{array}}\right),4\mapsto \left({\begin{array}{c}0\\-1\end{array}}\right)}
.
Let
X
{\displaystyle X}
be an allowed configuration. The function
σ
X
{\displaystyle \sigma _{X}}
checks for the existence of a particle with a certain velocity, while
σ
¯
X
{\displaystyle {\bar {\sigma }}_{X}}
does the opposite:
σ
X
(
p
,
q
,
i
)
=
{
1
if the site
(
p
,
q
)
is occupied by a particle of
X
of velocity
i
,
0
otherwise.
{\displaystyle \sigma _{X}(p,q,i)={\begin{cases}1{\text{ if the site }}(p,q){\text{ is occupied by a particle of }}X{\text{ of velocity }}i,\\0{\text{ otherwise.}}\end{cases}}}
σ
¯
X
(
p
,
q
,
i
)
=
1
−
σ
X
(
p
,
q
,
i
)
{\displaystyle {\bar {\sigma }}_{X}(p,q,i)=1-\sigma _{X}(p,q,i)}
The successor
T
(
X
)
{\displaystyle T(X)}
of the configuration
X
{\displaystyle X}
can be calculated using the formulas form the original paper:
σ
T
(
X
)
(
p
,
q
,
1
)
=
σ
X
(
p
−
1
,
q
,
1
)
−
Ψ
X
(
p
,
q
)
σ
T
(
X
)
(
p
,
q
,
2
)
=
σ
X
(
p
,
q
−
1
,
2
)
+
Ψ
X
(
p
,
q
)
σ
T
(
X
)
(
p
,
q
,
3
)
=
σ
X
(
p
+
1
,
q
,
3
)
−
Ψ
X
(
p
,
q
)
σ
T
(
X
)
(
p
,
q
,
4
)
=
σ
X
(
p
,
q
+
1
,
4
)
+
Ψ
X
(
p
,
q
)
{\displaystyle {\begin{array}{lcl}\sigma _{T(X)}(p,q,1)&=&\sigma _{X}(p-1,q,1)-\Psi _{X}(p,q)\\\sigma _{T(X)}(p,q,2)&=&\sigma _{X}(p,q-1,2)+\Psi _{X}(p,q)\\\sigma _{T(X)}(p,q,3)&=&\sigma _{X}(p+1,q,3)-\Psi _{X}(p,q)\\\sigma _{T(X)}(p,q,4)&=&\sigma _{X}(p,q+1,4)+\Psi _{X}(p,q)\end{array}}}
Ψ
X
(
p
,
q
)
=
ψ
X
1
(
p
,
q
)
−
ψ
X
2
(
p
,
q
)
ψ
X
1
(
p
,
q
)
=
σ
X
(
p
−
1
,
q
,
1
)
σ
X
(
p
+
1
,
q
,
3
)
σ
¯
X
(
p
,
q
−
1
,
2
)
σ
¯
X
(
p
,
q
+
1
,
4
)
ψ
X
2
(
p
,
q
)
=
σ
¯
X
(
p
−
1
,
q
,
1
)
σ
¯
X
(
p
+
1
,
q
,
3
)
σ
X
(
p
,
q
−
1
,
2
)
σ
X
(
p
,
q
+
1
,
4
)
{\displaystyle {\begin{array}{lcl}\Psi _{X}(p,q)&=&\psi _{X}^{1}(p,q)-\psi _{X}^{2}(p,q)\\\psi _{X}^{1}(p,q)&=&\sigma _{X}(p-1,q,1)\sigma _{X}(p+1,q,3){\bar {\sigma }}_{X}(p,q-1,2){\bar {\sigma }}_{X}(p,q+1,4)\\\psi _{X}^{2}(p,q)&=&{\bar {\sigma }}_{X}(p-1,q,1){\bar {\sigma }}_{X}(p+1,q,3)\sigma _{X}(p,q-1,2)\sigma _{X}(p,q+1,4)\end{array}}}
Shortcomings
The model is badly flawed, as momentum is always conserved in both the horizontal and vertical lanes. No energy is ever removed from the model, either by collisions or movement, so it will continue indefinitely.
The HPP model lacked rotational invariance, which made the model highly anisotropic. This means for example, that the vortices produced by the HPP model are square-shaped.
Notes
References
Sauro Succi (2001). The Lattice Boltzmann Equation, for fluid dynamics and beyond. Oxford Science Publications. ISBN 0-19-850398-9. (Chapter 2 on Lattice gas Cellular Automata)
Neil Gershenfeld (1998). The Nature of Mathematical Modeling. Cambridge University Press. ISBN 978-0521570954.
Kata Kunci Pencarian:
- Ikatan kovalen
- Dopamin
- Buruh
- Noskapin
- C++
- Wolfram
- Wolfram(IV) iodida
- Wolfram(III) iodida
- Wolfram karbida
- Wolfram(IV) klorida
- HPP model
- Lattice gas automaton
- HPP
- HPP+
- Uriel Frisch
- Yves Pomeau
- Reversible cellular automaton
- Block cellular automaton
- Timeline of computational physics
- Multi-state modeling of biomolecules