PyFoam.RunDictionary.MeshInformation module

Gets information about the mesh of a case. Makes no attempt to manipulate the mesh, because this is better left to the OpenFOAM-utilities

class PyFoam.RunDictionary.MeshInformation.MeshInformation(case, time='constant', processor=None, region=None)[source]

Reads Information about the mesh on demand

__init__(case, time='constant', processor=None, region=None)[source]
Parameters:
  • case – Path to the case-directory
  • time – Time for which the mesh should be looked at
  • processor – Name of the processor directory for decomposed cases
__module__ = 'PyFoam.RunDictionary.MeshInformation'
nrOfCells()[source]
nrOfFaces()[source]
nrOfPoints()[source]