|
DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
|
Element traits for 8-node trilinear hexahedron (Hex8) More...
#include <Hex8.hpp>
Static Public Member Functions | |
| static constexpr ElemType | GetFaceType (t_index) |
| Get the element type of a face. | |
Static Public Attributes | |
| static constexpr ElemType | elemType = Hex8 |
| static constexpr int | dim = 3 |
| static constexpr int | order = 1 |
| static constexpr int | numVertices = 8 |
| static constexpr int | numNodes = 8 |
| static constexpr int | numFaces = 6 |
| static constexpr ParamSpace | paramSpace = HexSpace |
| static constexpr t_real | paramSpaceVol = 8.0 |
| static constexpr std::array< t_real, 3 *8 > | standardCoords |
| Standard coordinates of nodes in parametric space. | |
| static constexpr std::array< std::array< t_index, 10 >, 6 > | faceNodes |
| Node indices for each face (bilinear quad) | |
| static constexpr ElemType | elevatedType = Hex27 |
| Element type after order elevation (O1 -> O2) Hex8 elevates to Hex27 (27-node triquadratic hex) | |
| static constexpr int | numElevNodes = 19 |
| Number of additional nodes created during elevation. | |
| static constexpr std::array< tElevSpan, 19 > | elevSpans |
| Elevation spans define new node connections. | |
| static constexpr std::array< ElemType, 19 > | elevNodeSpanTypes |
| Element type of each elevation span. | |
| static constexpr int | vtkCellType = 12 |
| VTK cell type identifier (12 = VTK_HEXAHEDRON) | |
| static constexpr std::array< int, 8 > | vtkNodeOrder = {0, 1, 2, 3, 4, 5, 6, 7} |
| VTK node ordering map. | |
Element traits for 8-node trilinear hexahedron (Hex8)
Hex8 is the simplest 3D hexahedral element, commonly used for:
Geometry:
Faces:
|
inlinestaticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Elevation spans define new node connections.
Elevation creates 19 new nodes: Spans 0-11: edge midpoints (12 edges) Spans 12-17: face centers (6 faces) Span 18: body center (all 8 vertices)
|
staticconstexpr |
Node indices for each face (bilinear quad)
Face 0: bottom face (z=-1, nodes 0-3-2-1) - note reversed for outward normal Face 1: back face (y=-1, nodes 0-1-5-4) Face 2: right face (x=+1, nodes 1-2-6-5) Face 3: front face (y=+1, nodes 2-3-7-6) Face 4: left face (x=-1, nodes 3-0-4-7) Face 5: top face (z=+1, nodes 4-5-6-7)
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Standard coordinates of nodes in parametric space.
Reference cube [-1,1]^3 with nodes at corners. Standard ordering: bottom face (z=-1) counter-clockwise, then top face (z=+1) counter-clockwise.
Node 0-3: bottom face (z = -1) Node 4-7: top face (z = +1)
|
staticconstexpr |
|
staticconstexpr |