pylbm.boundary.Boundary

class pylbm.boundary.Boundary(domain, dico)

Construct the boundary problem by defining the list of indices on the border and the methods used on each label.

Parameters
  • domain (Domain class) –

  • dico (a dictionary that describes the boundaries) –

    • key is a label

    • value are again a dictionnary with
      • ”method” key that gives the boundary method class used (Bounce_back, Anti_bounce_back, …)

      • ”value_bc” key that gives the value on the boundary

bv

for each label key, a list of spatial indices and distance define for each velocity the points on the domain that are on the boundary.

Type

dictionnary

methods

list of boundary methods used in the LBM scheme The list contains Boundary_method instance.

Type

list

__init__(domain, dico)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(domain, dico)

Initialize self.