The Tet4 element is the simplest tetrahedral element: 4 nodes, one at each
vertex of the reference tetrahedron, with linear shape functions. The reference
domain is the right tetrahedron T^ with vertices
In the library, it is implemented in elements/tet4.py
by the class Tet4.
Just as the Tri3 element uses barycentric
coordinates on the triangle, the Tet4 element uses their three-dimensional
analogue. The four barycentric coordinates on T^ are
L0=1−x^−y^−z^,L1=x^,L2=y^,L3=z^,
and they satisfy L0+L1+L2+L3=1 everywhere on T^.
Each Li equals one at vertex i and zero at the other three, so the Tet4
shape functions are simply
N0=1−x^−y^−z^,N1=x^,N2=y^,N3=z^.
Since all four functions are linear their reference-domain gradients are
constant:
Any linear function f on T^ is recovered exactly as f=∑i=03f(x^i)Ni. When the physical element has vertices
x0,x1,x2,x3∈R3, the isoparametric mapping
Fe(x^)=∑i=03xiNi is an affine map from T^ to
the physical tetrahedron, and the Jacobian J=∂Fe/∂x^ is constant within each element — a useful property it shares with
Tri3 and Line2. The face element is Tri3, since
each of the four triangular faces carries three nodes that form a linear
triangular element.