PyFoam.RunDictionary.ParsedBlockMeshDict module

A parsed blockMeshDict

class PyFoam.RunDictionary.ParsedBlockMeshDict.ParsedBlockMeshDict(name, backup=False, debug=False, doMacroExpansion=False)[source]

Bases: PyFoam.RunDictionary.ParsedParameterFile.ParsedParameterFile

A parsed version of a blockMeshDict-file. Adds some convenience-methods to access parts of the file

arcs()[source]
blocks()[source]

Returns a list with the 8 vertices that define each block

convertToMeters()[source]
getBounds()[source]
patches()[source]

Returns a dictionary with lists of 4-tuples that define each patch

typicalLength()[source]
vertices()[source]