itasca.element.cfd

Functions and classes for working with Itasca cfd elements.

Functions

itasca.element.cfd.age() float.

Get the fluid coupling time.

itasca.element.cfd.count() int.

Get the number of CFD elements.

itasca.element.cfd.face_count() int.

Get the number of faces per CFD element.

itasca.element.cfd.find(id: int) CFD element object.

Get the CFD element object with the given ID number.

itasca.element.cfd.inbox(lower_bound: vec, upper_bound: vec, intersect=True) Tuple of CFD element objects.

Get a tuple of CFD elements with extents intersecting a box. The extent is the axis-aligned bounding box of the CFD element. The if the optional keyword argument intersect is False then only CFD elements with positions falling in the box are returned.

itasca.element.cfd.list() CFD element iterator object.

Get a CFD element iterator object.

itasca.element.cfd.maxid() int.

Get the maximum CFD element ID.

itasca.element.cfd.near(point: vec, radius=0.0) CFD element object.

Find the closest CFD element to a point. If the optional keyword argument radius is non-zero, only search within this radius.

itasca.element.cfd.node_count() int.

Get the number of nodes per CFD element.

Classes