pyLBM.boundary.Boundary_method

class pyLBM.boundary.Boundary_method(istore, ilabel, distance, stencil, value_bc, nspace, backend)

Set boundary method.

Parameters:None

Attributes

feq (NumPy array) the equilibrium values of the distribution function on the border
rhs (NumPy array) the additional terms to fix the boundary values
distance (NumPy array) distance to the border (needed for Bouzidi type conditions)
istore (NumPy array)
ilabel (NumPy array)
iload (list)
value_bc (dictionnary) the prescribed values on the border

Methods

prepare_rhs : compute the distribution function at the equilibrium with the value on the border