Boundary Conditions
This section lists all the boundary conditions available in PyLaBolt, and how to set them in simulations.
Fluid boundary conditions
This section covers the boundary conditions that can applied to fluid flow simulations.
bounceBack- Implements no-slip boundary conditions at walls via the halfway bounce-back method.entitytype should be set towallin order to compute forces and torque acting on the boundary.fixedU- Provides a Dirichlet boundary condition for velocity via the halfway bounce-back method. When specified, a fixed velocity is assigned at the concerned boundary.entitytypewallallows computation of forces and torque on the boundary, whereas, for inlet or outlet type of boundaries, where force and torque computation isn’t required, theentitytype can be set topatch.fixedPressure- Provides a Dirichlet boundary condition for pressure via the halfway bounce-back method. For inlet or outlet, setentitytype topatch. Thevaluekeyword takes afloatvalue for pressure. For single phase fluid flow, the pressure can be found from density as \(p = \rho c_s^2\), where \(c_s\) is the speed of sound in lattice units. For more information refer here.Zero gradient boundary condition
Periodic boundary condition - The Lattice Boltzmann Method