Element local coordinates and numbering.
This modules allows for a consistent local numbering scheme throughout pyFormex. When interfacing with other programs, one should be aware that conversions may be necessary. Conversions to/from external programs should be done by the interface modules.
Element base class: an empty element.
All derived classes should have a capitalized name: starting with an uppercase character and further only lower case and digits.
Each element is defined by the following attributes:
The vertices of the elements are defined in a unit space [0,1] in each axis direction.
The elements guarantee a fixed local numbering scheme of the vertices. One should however not rely on a specific numbering scheme of edges, faces or elements. For solid elements, it is guaranteed that the vertices of all faces are numbered in a consecutive order spinning positively around the outward normal on the face.
Methods
Element objects have the following methods:
A single node element
Methods
Point objects have the following methods:
A 2-node line segment
Methods
Line2 objects have the following methods:
A 3-node triangle
Methods
Tri3 objects have the following methods:
A 6-node triangle
Methods
Tri6 objects have the following methods:
A 4-node quadrilateral
Methods
Quad4 objects have the following methods:
A 8-node quadrilateral
Methods
Quad8 objects have the following methods:
A 9-node quadrilateral
Methods
Quad9 objects have the following methods:
A 4-node tetrahedron
Methods
Tet4 objects have the following methods:
A 6-node wedge element
Methods
Wedge6 objects have the following methods:
An 8-node hexahedron
Methods
Hex8 objects have the following methods:
An icosahedron: a regular polyhedron with 20 triangular surfaces.
nfaces = 20, nedges = 30, nvertices = 12
Methods
Icosa objects have the following methods: