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]¶ Bases:
object
Reads Information about the mesh on demand
-
__dict__
= mappingproxy({'__weakref__': <attribute '__weakref__' of 'MeshInformation' objects>, '__dict__': <attribute '__dict__' of 'MeshInformation' objects>, '__init__': <function MeshInformation.__init__>, '__doc__': 'Reads Information about the mesh on demand', 'nrOfCells': <function MeshInformation.nrOfCells>, 'nrOfFaces': <function MeshInformation.nrOfFaces>, '__module__': 'PyFoam.RunDictionary.MeshInformation', 'nrOfPoints': <function MeshInformation.nrOfPoints>})¶
-
__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'¶
-
__weakref__
¶ list of weak references to the object (if defined)
-