PyFoam.RunDictionary.BlockMesh2D module

Manipulate a 2 Dimensional C{blockMeshDict}

class PyFoam.RunDictionary.BlockMesh2D.BlockMesh2D(name, extensionType, frontbacktype, frontvalue=0, backvalue=0, ncells=1, backup=False)[source]

Bases: PyFoam.RunDictionary.FileBasis.FileBasisBackup

_BlockMesh2D__endProcess(newMesh, getContent=True)
_BlockMesh2D__startProcess()
__init__(name, extensionType, frontbacktype, frontvalue=0, backvalue=0, ncells=1, backup=False)[source]
Parameters:
  • name – The name of the parameter file
  • backup – create a backup-copy of the file
__module__ = 'PyFoam.RunDictionary.BlockMesh2D'
_get2DBlocks()[source]
_get2DBoundaries()[source]
_get2DEdges()[source]
_get2DMesh()[source]
_get2DVertexes()[source]
_get3DBoundaries()[source]
_get3DEdges()[source]
_get3DVertexes()[source]
_getFrontAndBackBoundaries()[source]
_getVertexes()[source]
convert2DBlockMesh()[source]
convertBlocks(mesh)[source]
convertBoundaries(mesh)[source]
convertEdges(mesh)[source]
convertVertices(mesh)[source]
getBounds()[source]