pyLBM.
Geometry
(dico)¶Create a geometry that defines the fluid part and the solid part.
Parameters: | dico : a dictionary that contains the following key:value
|
---|
Notes
Examples
see demo/examples/geometry/
Attributes
dim | (int) number of spatial dimensions (1, 2, or 3) |
bounds | (numpy array) the bounds of the box in each spatial direction |
box_label | (list of integers) a list of the four labels for the left, right, bottom, top, front, and back edges |
list_elem | (list of elements) a list that contains each element added or deleted in the box |
Methods
add_elem : | function that adds an element in the box |
visualize : | function to visualize the box |
list_of_labels : | return a list of all the unique labels of the geometry |