step-examples/12-8-mixed/M113.stp
Sources
- deduced from AP209 §6 element shape-function jacobian positivity
Sender
deduced — meshing pipeline failing to clean up coincident-node hex degeneracies
Description
A linear hex's eight corner nodes include two that are geometrically coincident (e.g. n7 == n8). The element collapses to a prism-shaped degenerate; jacobian determinant is zero at the collapsed corner. Solver either skips the element or returns NaN stresses. Bug-reporter language: "AP209 collapsed hex element", "FEM jacobian zero", "degenerate hex".
Reproducer recipe
A `VOLUME_3D_ELEMENT_DESCRIPTOR` whose 7th and 8th node references point to the same `NODE` (or two `NODE`s with identical coordinates).
Expected kernel behavior
detect collapsed corner; reject or auto-collapse to a wedge / prism element with diagnostic.
Notes
Synonyms: "degenerate jacobian", "AP209 zero-volume element", "FEM hex with coincident nodes".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
contains(b'STRUCTURAL_ANALYSIS_DESIGN')contains(b'VOLUME_3D_ELEMENT_DESCRIPTOR')
Tier-3 assertions
shape_null == True
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* M113: AP209 hex element with degenerate jacobian (collapsed corner) */ 3/* DEFECT: nodes n7 and n8 are coincident â hex collapses to prism */ 4/* Jacobian determinant is zero at collapsed corner â NaN stresses */ 5/* Byte assertion: contains(b'STRUCTURAL_ANALYSIS_DESIGN') */ 6/* Byte assertion: contains(b'VOLUME_3D_ELEMENT_DESCRIPTOR') */ 7HEADER; 8FILE_DESCRIPTION(('M113: AP209 degenerate hex â coincident nodes n7 n8'),'2;1'); 9FILE_NAME('M113.stp','2026-06-21T00:00:00',(''),(''),'cad-research-suite','',''); 10/* Byte assertion: contains(b'STRUCTURAL_ANALYSIS_DESIGN') */ 11FILE_SCHEMA(('STRUCTURAL_ANALYSIS_DESIGN { 1 0 10303 209 1 0 0 }')); 12ENDSEC; 13DATA; 14#1=APPLICATION_CONTEXT('structural_analysis_design'); 15#2=APPLICATION_PROTOCOL_DEFINITION('international standard', 16 'structural_analysis_design',2001,#1); 17/* Standard unit context */ 18#10=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 19#11=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 20#12=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 21#13=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(0.001),#10, 22 'distance_accuracy_value','maximum model space distance between geometric entities'); 23#14=(GEOMETRIC_REPRESENTATION_CONTEXT(3) 24 GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#13)) 25 GLOBAL_UNIT_ASSIGNED_CONTEXT((#10,#11,#12)) 26 REPRESENTATION_CONTEXT('fea','3D')); 27/* Hex corner nodes: n1-n6 normal, n7 and n8 COINCIDENT â the defect */ 28#100=CARTESIAN_POINT('n1',(0.0,0.0,0.0)); 29#101=CARTESIAN_POINT('n2',(100.0,0.0,0.0)); 30#102=CARTESIAN_POINT('n3',(100.0,100.0,0.0)); 31#103=CARTESIAN_POINT('n4',(0.0,100.0,0.0)); 32#104=CARTESIAN_POINT('n5',(0.0,0.0,100.0)); 33#105=CARTESIAN_POINT('n6',(100.0,0.0,100.0)); 34/* DEFECT: n7 and n8 share identical coordinates â jacobian det = 0 at this corner */ 35#106=CARTESIAN_POINT('n7',(100.0,100.0,0.0)); 36#107=CARTESIAN_POINT('n8',(100.0,100.0,0.0)); 37#110=NODE('n1',(#100),$); 38#111=NODE('n2',(#101),$); 39#112=NODE('n3',(#102),$); 40#113=NODE('n4',(#103),$); 41#114=NODE('n5',(#104),$); 42#115=NODE('n6',(#105),$); 43#116=NODE('n7',(#106),$); 44#117=NODE('n8',(#107),$); 45/* NODE_GROUP containing all eight corner nodes */ 46#300=NODE_GROUP('hex_nodes',(#110,#111,#112,#113,#114,#115,#116,#117),$); 47#310=FEA_MODEL('hex_model',$,'',(#300),(),()); 48/* Byte assertion: contains(b'VOLUME_3D_ELEMENT_DESCRIPTOR') */ 49/* DEFECT: hex8 element â n7 (#116) and n8 (#117) are coincident */ 50/* Isoparametric jacobian is singular at collapsed corner */ 51#400=VOLUME_3D_ELEMENT_DESCRIPTOR('hex8_degenerate',.HEX., 52 (#110,#111,#112,#113,#114,#115,#116,#117)); 53/* GEOMETRIC_CURVE_SET IS the model entity â OCC yields empty */ 54#500=GEOMETRIC_CURVE_SET('ap209-hex-element-degenerate-jacobian-collapsed-corner', 55 (#110,#111,#112,#113,#114,#115,#116,#117,#310,#400)); 56/* Product chain */ 57#600=APPLICATION_CONTEXT('mechanical design'); 58#601=PRODUCT_CONTEXT('',#600,'mechanical'); 59#602=PRODUCT('M113','M113','M113',(#601)); 60#603=PRODUCT_DEFINITION_FORMATION('','',#602); 61#604=PRODUCT_DEFINITION_CONTEXT(#600,'design'); 62#605=PRODUCT_DEFINITION('','',#603,#604); 63#606=PRODUCT_DEFINITION_SHAPE('','',#605); 64#607=SHAPE_REPRESENTATION('',(#500),#14); 65#608=SHAPE_DEFINITION_REPRESENTATION(#606,#607); 66ENDSEC; 67END-ISO-10303-21;