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]

x.__init__(…) initializes x; see help(type(x)) for signature

__module__ = 'PyFoam.Basics.BlockMeshComponents'
__repr__() <==> repr(x)[source]
__str__() <==> str(x)[source]
class PyFoam.Basics.BlockMeshComponents.BlockMeshComponent(dimension)[source]

Bases: object

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

x.__init__(…) initializes x; see help(type(x)) for 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]

x.__init__(…) initializes x; see help(type(x)) for signature

__module__ = 'PyFoam.Basics.BlockMeshComponents'
__repr__() <==> repr(x)[source]
__str__() <==> str(x)[source]
class PyFoam.Basics.BlockMeshComponents.BlockMeshVertex(origin, coordinates)[source]

Bases: PyFoam.Basics.BlockMeshComponents.BlockMeshComponent

__init__(origin, coordinates)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

__module__ = 'PyFoam.Basics.BlockMeshComponents'
__str__() <==> str(x)[source]
extend(extensionType, value)[source]