FemMesh2Mesh Namespace Reference

Functions

def femmesh_2_mesh (myFemMesh, myResults=None)
 

Variables

dictionary face_dicts
 
dictionary hexaFaces
 
dictionary pentaFaces
 
dictionary pyraFaces
 
dictionary tetFaces
 

Function Documentation

def FemMesh2Mesh.femmesh_2_mesh (   myFemMesh,
  myResults = None 
)

Variable Documentation

dictionary FemMesh2Mesh.face_dicts
Initial value:
1 = {
2  4: tetFaces,
3  5: pyraFaces,
4  6: pentaFaces,
5  8: hexaFaces,
6  10: tetFaces,
7  13: pyraFaces,
8  15: pentaFaces,
9  20: hexaFaces}
dictionary FemMesh2Mesh.hexaFaces
Initial value:
1 = { # hexa8 or hexa20 (ignoring mid-nodes)
2  1: [0, 1, 2, 3],
3  2: [4, 7, 6, 5],
4  3: [0, 4, 5, 1],
5  4: [1, 5, 6, 2],
6  5: [2, 6, 7, 3],
7  6: [3, 7, 4, 0]}
dictionary FemMesh2Mesh.pentaFaces
Initial value:
1 = {
2  1: [0, 1, 2],
3  2: [3, 5, 4],
4  3: [0, 3, 4, 1],
5  4: [1, 4, 5, 2],
6  5: [0, 2, 5, 3]}
dictionary FemMesh2Mesh.pyraFaces
Initial value:
1 = { # pyra5 or pyra13 (ignoring mid-nodes)
2  1: [0, 1, 2, 3],
3  2: [0, 4, 1],
4  3: [1, 4, 2],
5  4: [2, 4, 3],
6  5: [3, 4, 0]}
dictionary FemMesh2Mesh.tetFaces
Initial value:
1 = {
2  1: [0, 1, 2],
3  2: [0, 3, 1],
4  3: [1, 3, 2],
5  4: [2, 3, 0]}