PyFoam.Basics.BlockMeshComponents module

Building blocks for a blockMeshDict

class PyFoam.Basics.BlockMeshComponents.BlockMeshBoundary(name, boundaryType, faces)[source]

Bases: PyFoam.Basics.BlockMeshComponents.BlockMeshComponent

__init__(name, boundaryType, faces)[source]

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

__module__ = 'PyFoam.Basics.BlockMeshComponents'
__repr__()[source]

Return repr(self).

__str__()[source]

Return str(self).

class PyFoam.Basics.BlockMeshComponents.BlockMeshComponent(dimension)[source]

Bases: object

__dict__ = mappingproxy({'__module__': 'PyFoam.Basics.BlockMeshComponents', '__init__': <function BlockMeshComponent.__init__>, '__dict__': <attribute '__dict__' of 'BlockMeshComponent' objects>, '__weakref__': <attribute '__weakref__' of 'BlockMeshComponent' objects>, '__doc__': None})
__init__(dimension)[source]

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

__module__ = 'PyFoam.Basics.BlockMeshComponents'
__weakref__

list of weak references to the object (if defined)

class PyFoam.Basics.BlockMeshComponents.BlockMeshEdge(start, end, center, points)[source]

Bases: PyFoam.Basics.BlockMeshComponents.BlockMeshComponent

__init__(start, end, center, points)[source]

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

__module__ = 'PyFoam.Basics.BlockMeshComponents'
__repr__()[source]

Return repr(self).

__str__()[source]

Return str(self).

class PyFoam.Basics.BlockMeshComponents.BlockMeshVertex(origin, coordinates)[source]

Bases: PyFoam.Basics.BlockMeshComponents.BlockMeshComponent

__init__(origin, coordinates)[source]

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

__module__ = 'PyFoam.Basics.BlockMeshComponents'
__str__()[source]

Return str(self).

extend(extensionType, value)[source]