step-examples/12-8-mixed/M109.stp
Sources
- deduced from AP209 §6 fea topology rules
- companion to M037, M078
Sender
deduced — FEA exporter with element-conversion bug truncating node list
Description
A `VOLUME_3D_ELEMENT_DESCRIPTOR` declares `linear_hexahedron` topology — which mandates 8 corner nodes — but lists only 4 nodes in its node-reference list. The descriptor cannot be evaluated as a hex; consumers may treat as a degenerate tet, drop the element silently, or reject the file. Bug-reporter language: "AP209 hex element has 4 nodes", "linear hex with too few nodes", "FEM element reduces to tet".
Reproducer recipe
`VOLUME_3D_ELEMENT_DESCRIPTOR('lin_hex', 'linear_hexahedron', (n1,n2,n3,n4))` — 4 nodes for a topology requiring 8.
Expected kernel behavior
validate node-count against declared topology; drop the element with a warning, or reject.
Notes
Synonyms: "AP209 hex with 4 nodes", "linear_hexahedron node count too low", "FEA element node count wrong for hex8", "hex element missing 4 corner nodes", "hex degenerated to tet shape". **See also**: M037, M078.
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
contains(b'STRUCTURAL_ANALYSIS_DESIGN')contains(b'linear_hexahedron')contains(b'VOLUME_3D_ELEMENT_DESCRIPTOR')
Tier-3 assertions
shape_null == True
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* M109: AP209 linear_hexahedron with only 4 nodes (should be 8) */ 3/* DEFECT: linear hex (C3D8) requires 8 corner nodes; only 4 provided */ 4/* Element degenerates â consumers must drop or reject */ 5/* Byte assertion: contains(b'STRUCTURAL_ANALYSIS_DESIGN') */ 6/* Byte assertion: contains(b'linear_hexahedron') */ 7/* Byte assertion: contains(b'VOLUME_3D_ELEMENT_DESCRIPTOR') */ 8HEADER; 9FILE_DESCRIPTION(('M109: AP209 linear_hexahedron with 4 nodes not 8'),'2;1'); 10FILE_NAME('M109.stp','2026-06-21T00:00:00',(''),(''),'cad-research-suite','',''); 11/* Byte assertion: contains(b'STRUCTURAL_ANALYSIS_DESIGN') */ 12FILE_SCHEMA(('STRUCTURAL_ANALYSIS_DESIGN { 1 0 10303 209 1 0 0 }')); 13ENDSEC; 14DATA; 15#1=APPLICATION_CONTEXT('structural_analysis_design'); 16#2=APPLICATION_PROTOCOL_DEFINITION('international standard', 17 'structural_analysis_design',2001,#1); 18/* Standard unit context */ 19#10=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 20#11=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 21#12=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 22#13=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(0.001),#10, 23 'distance_accuracy_value','maximum model space distance between geometric entities'); 24#14=(GEOMETRIC_REPRESENTATION_CONTEXT(3) 25 GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#13)) 26 GLOBAL_UNIT_ASSIGNED_CONTEXT((#10,#11,#12)) 27 REPRESENTATION_CONTEXT('fea','3D')); 28/* 4 corner nodes provided â only the bottom face of a unit cube *) */ 29/* A complete linear hex needs 8 corners: 4 bottom + 4 top */ 30#100=CARTESIAN_POINT('n1',(0.0,0.0,0.0)); 31#101=CARTESIAN_POINT('n2',(1.0,0.0,0.0)); 32#102=CARTESIAN_POINT('n3',(1.0,1.0,0.0)); 33#103=CARTESIAN_POINT('n4',(0.0,1.0,0.0)); 34/* NODE entities â only 4 of the required 8 for a C3D8 hex */ 35#110=NODE('n1',(#100),$); 36#111=NODE('n2',(#101),$); 37#112=NODE('n3',(#102),$); 38#113=NODE('n4',(#103),$); 39/* Byte assertion: contains(b'VOLUME_3D_ELEMENT_DESCRIPTOR') */ 40/* Byte assertion: contains(b'linear_hexahedron') */ 41/* DEFECT: linear_hexahedron requires 8 nodes; only 4 provided */ 42/* Cannot evaluate element as C3D8 trilinear brick with 4 nodes *) */ 43#200=VOLUME_3D_ELEMENT_DESCRIPTOR('lin_hex','linear_hexahedron', 44 (#110,#111,#112,#113)); 45/* GEOMETRIC_CURVE_SET IS the model entity â OCC yields empty */ 46#300=GEOMETRIC_CURVE_SET('ap209-linear-hexahedron-4-nodes-not-8', 47 (#110,#111,#112,#113,#200)); 48/* Product chain */ 49#400=APPLICATION_CONTEXT('mechanical design'); 50#401=PRODUCT_CONTEXT('',#400,'mechanical'); 51#402=PRODUCT('M109','M109','M109',(#401)); 52#403=PRODUCT_DEFINITION_FORMATION('','',#402); 53#404=PRODUCT_DEFINITION_CONTEXT(#400,'design'); 54#405=PRODUCT_DEFINITION('','',#403,#404); 55#406=PRODUCT_DEFINITION_SHAPE('','',#405); 56#407=SHAPE_REPRESENTATION('',(#300),#14); 57#408=SHAPE_DEFINITION_REPRESENTATION(#406,#407); 58ENDSEC; 59END-ISO-10303-21;