PyFoam.RunDictionary.BoundaryDict module

Works with a polyMesh/boundary-File

class PyFoam.RunDictionary.BoundaryDict.BoundaryDict(case, backup=False, treatBinaryAsASCII=False, region=None, processor=None, time=None)[source]

Bases: PyFoam.RunDictionary.ParsedParameterFile.ParsedBoundaryDict

Handles data in a boundary-File

__getitem__(key)[source]
__init__(case, backup=False, treatBinaryAsASCII=False, region=None, processor=None, time=None)[source]
Parameters

case – Path to the case-directory

__iter__()[source]
__module__ = 'PyFoam.RunDictionary.BoundaryDict'
__setitem__(key, value)[source]
patches(patchType=None)[source]

Returns a list with the names of the patches :param patchType: If specified only patches of the specific type are returned