step-examples/12-8-mixed/M118.stp
Sources
- deduced from AP209 §6 mesh-conformity invariants
Sender
deduced — multi-mesher pipeline that didn't insert MPC tying at the tet-hex interface
Description
A linear tet (3 nodes per face) and a linear hex (4 nodes per face) share the same geometric face. The tet face has 3 nodes; the hex face has 4 nodes. There is no `MULTI_POINT_CONSTRAINT` tying the fourth-node displacement to the tet's three nodes. The interface is geometrically continuous but kinematically free; the solver computes separation across the face. Bug-reporter language: "AP209 non-conforming mesh", "FEM tet-hex interface ungated", "mesh leaks at element boundary".
Reproducer recipe
A `VOLUME_3D_ELEMENT_DESCRIPTOR` for a tet sharing one face geometrically with another `VOLUME_3D_ELEMENT_DESCRIPTOR` hex; no MPCs tying the extra hex node.
Expected kernel behavior
detect non-conforming interfaces; warn, generate the necessary MPCs, or reject.
Notes
Synonyms: "AP209 hanging node", "non-conforming interface", "mesh discontinuity".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
contains(b'STRUCTURAL_ANALYSIS_DESIGN')count_entity_def(b'VOLUME_3D_ELEMENT_DESCRIPTOR') >= 2
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/* M118: AP209 non-conforming mesh â tet-hex face with mismatched node counts */ 3/* DEFECT: tet face (3 nodes) and hex face (4 nodes) share geometry; no MPC tying */ 4/* Interface is kinematically free; solver computes separation across the face */ 5/* Per AP209 §6 mesh conformity invariants, MPC is mandatory at mixed interfaces */ 6/* Byte assertion: contains(b'STRUCTURAL_ANALYSIS_DESIGN') */ 7/* Byte assertion: count_entity_def(b'VOLUME_3D_ELEMENT_DESCRIPTOR') >= 2 */ 8HEADER; 9FILE_DESCRIPTION(('M118: AP209 non-conforming tet-hex mesh interface without MPC'),'2;1'); 10FILE_NAME('M118.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 (mm) */ 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/* Tet nodes: n1(0,0,0) n2(10,0,0) n3(5,10,0) n4(5,5,10) */ 29/* Shared face between tet and hex: nodes n1, n2, n3 (3-node tet face) */ 30/* Hex has a 4th node n5=(5,-5,0) on its corresponding face â no MPC for n5 */ 31#100=CARTESIAN_POINT('n1',(0.0,0.0,0.0)); 32#101=CARTESIAN_POINT('n2',(10.0,0.0,0.0)); 33#102=CARTESIAN_POINT('n3',(5.0,10.0,0.0)); 34#103=CARTESIAN_POINT('n4',(5.0,5.0,10.0)); 35#104=CARTESIAN_POINT('n5',(5.0,-5.0,0.0)); 36#105=CARTESIAN_POINT('n6',(0.0,-10.0,0.0)); 37#106=CARTESIAN_POINT('n7',(10.0,-10.0,0.0)); 38#107=CARTESIAN_POINT('n8',(5.0,-5.0,-10.0)); 39#110=NODE('tet_n1',(#100),$); 40#111=NODE('tet_n2',(#101),$); 41#112=NODE('tet_n3',(#102),$); 42#113=NODE('tet_n4',(#103),$); 43#114=NODE('hex_n5',(#104),$); 44#115=NODE('hex_n6',(#105),$); 45#116=NODE('hex_n7',(#106),$); 46#117=NODE('hex_n8',(#107),$); 47/* Byte assertion: count_entity_def(b'VOLUME_3D_ELEMENT_DESCRIPTOR') >= 2 */ 48/* DEFECT partner 1: linear tet â shared face is (n1,n2,n3), 3 nodes */ 49#200=VOLUME_3D_ELEMENT_DESCRIPTOR('tet_elem','linear_tetrahedron', 50 (#110,#111,#112,#113)); 51/* DEFECT partner 2: linear hex â corresponding face is (n1,n2,n3,n5), 4 nodes */ 52/* n5 (#114) is the extra 4th hex-face node with NO MPC tying to tet */ 53#201=VOLUME_3D_ELEMENT_DESCRIPTOR('hex_elem','linear_hexahedron', 54 (#110,#111,#114,#112,#113,#115,#116,#117)); 55/* NO MULTI_POINT_CONSTRAINT entity tying hex node n5 to tet nodes n1,n2,n3 */ 56/* This is the defect: the interface is kinematically free (non-conforming) */ 57#300=NODE_GROUP('all_nodes', 58 (#110,#111,#112,#113,#114,#115,#116,#117),$); 59#310=FEA_MODEL('nonconforming_mesh',$,'',(#300),(),()); 60/* GEOMETRIC_CURVE_SET IS the model entity â OCC yields empty */ 61#500=GEOMETRIC_CURVE_SET('ap209-nonconforming-tet-hex-interface-no-mpc', 62 (#110,#111,#112,#113,#114,#115,#116,#117,#200,#201,#310)); 63/* Product chain */ 64#600=APPLICATION_CONTEXT('mechanical design'); 65#601=PRODUCT_CONTEXT('',#600,'mechanical'); 66#602=PRODUCT('M118','M118','M118',(#601)); 67#603=PRODUCT_DEFINITION_FORMATION('','',#602); 68#604=PRODUCT_DEFINITION_CONTEXT(#600,'design'); 69#605=PRODUCT_DEFINITION('','',#603,#604); 70#606=PRODUCT_DEFINITION_SHAPE('','',#605); 71#607=SHAPE_REPRESENTATION('',(#500),#14); 72#608=SHAPE_DEFINITION_REPRESENTATION(#606,#607); 73ENDSEC; 74END-ISO-10303-21;