.. _sphx_glr_api_gallery_fluids_lattice_boltzmann: Lattice Boltzmann ----------------- A kinetic route to the Navier-Stokes equations. Instead of discretizing the equations of fluid motion, the D2Q9 lattice Boltzmann method moves populations of fictitious particles along nine lattice directions and relaxes them toward a local equilibrium. The viscosity is set entirely by the relaxation time, :math:`\nu = c_s^2(\tau - 1/2)`. Here it reproduces Poiseuille's parabola and sheds a vortex street behind a cylinder. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /api/gallery/fluids/lattice_boltzmann/images/thumb/sphx_glr_plot_lattice_boltzmann_bgk_thumb.png :alt: :doc:`/api/gallery/fluids/lattice_boltzmann/plot_lattice_boltzmann_bgk` .. raw:: html
The lattice Boltzmann method: Navier-Stokes from colliding populations
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /api/gallery/fluids/lattice_boltzmann/plot_lattice_boltzmann_bgk