Skip to main content
Ctrl+K
lbmpy 2.1.1 documentation - Home lbmpy 2.1.1 documentation - Home

Tutorials

  • The pycodegen Tutorial
  • Legacy Tutorials and Demos
    • Overview: lbmpy
    • Tutorial 01: Running pre-defined scenarios
    • Tutorial 02: Setting up geometry and boundary conditions
    • Tutorial 03: Defining LB methods in lbmpy
    • Tutorial 04: The Cumulant Lattice Boltzmann Method in lbmpy
    • Tutorial 05: Nondimensionalization and Scaling
    • Tutorial 06: Modifying a LBM method: Smagorinsky model
    • Tutorial 07: Coupling two LBM simulations for thermal simulations
    • Demo: Thermalized (Randomized) LBM
    • Shan-Chen Two-Phase Single-Component Lattice Boltzmann
    • Shan-Chen Two-Component Lattice Boltzmann
    • The conservative Allen-Cahn model for high Reynolds number, two phase flow with large-density and viscosity constrast
    • Thermocapillary flows: 2D Planar heated channel
    • Thermocapillary flows: 2D Droplet motion
    • Casson model for simulating Non Newtonian blood flow
    • Demo: Stencils
    • Demo: Streaming Patterns
    • Demo: Create lbmpy Method from Scratch
    • Demo: Moments, Cumulants and Maxwellian Equilibrium
    • Demo: Automatic Chapman Enskog Analysis
    • Demo: Interpolation Bounce Back Boundaries
    • Demo: Lattice Boltzmann Methods for the Shallow Water Equations
    • Demo: Theoretical Background - LB Equilibrium Construction using quadratic Ansatz

Reference

  • Velocity Space Representations (lbmpy.velocityspace)
  • Lattice [Experimental]
    • lbmpy.lattice.Lattice
    • lbmpy.lattice.Collide
    • lbmpy.lattice.SetEquilibrium
    • lbmpy.lattice.ExportMacroscopics
    • lbmpy.lattice.Advance
    • lbmpy.lattice.PeriodicStream
    • lbmpy.lattice.GridAlignedHBB
  • Collision models (lbmpy.methods)
  • Boundary Conditions
  • Force models
  • API Reference
    • Scenario setup
    • Enumerations
    • Stencils
    • Creating LBM kernels and Parameter Specifications
    • Equilibrium Distributions (lbmpy.equilibrium)
    • Moment Transforms (lbmpy.moment_transforms)
    • Maxwellian Equilibrium (Legacy)
    • Continuous Distribution Measures (Moments & Cumulants)
    • Moments
    • Cumulants
    • Bibliography
  • .rst

lbmpy

Contents

  • Contents

lbmpy#

Welcome to lbmpy’s documentation.

Contents#

Tutorials

  • The pycodegen Tutorial
  • Legacy Tutorials and Demos

Reference

  • Velocity Space Representations (lbmpy.velocityspace)
  • Lattice [Experimental]
  • Collision models (lbmpy.methods)
  • Boundary Conditions
  • Force models
  • API Reference

next

Legacy Tutorials and Demos

Contents
  • Contents

By Martin Bauer, Markus Holzer, Frederik Hennig

© Copyright 2026, Martin Bauer, Markus Holzer, Frederik Hennig.