step-examples/12-8-mixed/M124.stp
Sources
- deduced from AP209 §6 fea_model.its_node_set / its_element_set consistency
Sender
deduced — FEA exporter writing element-set and node-set from separate sources without intersection check
Description
A `FEA_MODEL_3D` declares a `NODE_GROUP` of nodes `(n1, n2, n3)` as `its_node_set` and a `VOLUME_3D_ELEMENT_DESCRIPTOR` referencing nodes `(n1, n2, n3, n4)` in `its_element_set`. Node `n4` is outside the model's declared node set. The element implicitly extends the model with `n4` (silently expanding the active node set), or solver assembly fails. Bug-reporter language: "AP209 element refers to outside node", "FEM model node-set inconsistent", "element outside model".
Reproducer recipe
`FEA_MODEL_3D` with a 3-node `its_node_set` and a 4-node tet element in `its_element_set`.
Expected kernel behavior
validate that all element nodes lie within the model node-set; reject or auto-expand with diagnostic.
Notes
Synonyms: "AP209 model node-set leak", "element outside FEA model", "fea_model node-set inconsistent", "element references node not in node_set", "FEM element extends model implicitly". Synonyms: "AP209 model node-set leak", "element outside FEA model".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
contains(b'STRUCTURAL_ANALYSIS_DESIGN')contains(b'FEA_MODEL_3D')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/* M124: AP209 fea_model includes element referencing a node outside its node-set */ 3/* DEFECT: FEA_MODEL_3D its_node_set = (n1,n2,n3); element references n4 which is outside */ 4/* Node n4 exists in the file but is NOT a member of the model's NODE_GROUP */ 5/* Per AP209 §6 all element nodes must be members of fea_model.its_node_set */ 6/* Byte assertion: contains(b'STRUCTURAL_ANALYSIS_DESIGN') */ 7/* Byte assertion: contains(b'FEA_MODEL_3D') */ 8/* Byte assertion: contains(b'VOLUME_3D_ELEMENT_DESCRIPTOR') */ 9HEADER; 10FILE_DESCRIPTION(('M124: AP209 FEA_MODEL_3D element references node outside node-set'),'2;1'); 11FILE_NAME('M124.stp','2026-06-21T00:00:00',(''),(''),'cad-research-suite','',''); 12/* Byte assertion: contains(b'STRUCTURAL_ANALYSIS_DESIGN') */ 13FILE_SCHEMA(('STRUCTURAL_ANALYSIS_DESIGN { 1 0 10303 209 1 0 0 }')); 14ENDSEC; 15DATA; 16#1=APPLICATION_CONTEXT('structural_analysis_design'); 17#2=APPLICATION_PROTOCOL_DEFINITION('international standard', 18 'structural_analysis_design',2001,#1); 19/* Standard unit context (mm) */ 20#10=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 21#11=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 22#12=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 23#13=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(0.001),#10, 24 'distance_accuracy_value','maximum model space distance between geometric entities'); 25#14=(GEOMETRIC_REPRESENTATION_CONTEXT(3) 26 GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#13)) 27 GLOBAL_UNIT_ASSIGNED_CONTEXT((#10,#11,#12)) 28 REPRESENTATION_CONTEXT('fea','3D')); 29/* Three nodes in the declared node-set */ 30#100=CARTESIAN_POINT('n1',(0.0,0.0,0.0)); 31#101=CARTESIAN_POINT('n2',(10.0,0.0,0.0)); 32#102=CARTESIAN_POINT('n3',(5.0,10.0,0.0)); 33/* n4 is OUTSIDE the node-set â its CARTESIAN_POINT and NODE exist but are excluded */ 34#103=CARTESIAN_POINT('n4',(5.0,5.0,10.0)); 35#110=NODE('tet_n1',(#100),$); 36#111=NODE('tet_n2',(#101),$); 37#112=NODE('tet_n3',(#102),$); 38/* #113 = n4: present in file but NOT in NODE_GROUP #300 â the node-set leak */ 39#113=NODE('tet_n4_outside',(#103),$); 40/* Byte assertion: contains(b'VOLUME_3D_ELEMENT_DESCRIPTOR') */ 41/* DEFECT: element references #113 (n4) which is outside the model node-set #300 */ 42/* A valid element would only reference nodes that are members of its_node_set */ 43#200=VOLUME_3D_ELEMENT_DESCRIPTOR('leak_tet','linear_tetrahedron', 44 (#110,#111,#112,#113)); 45/* NODE_GROUP: only the 3 declared nodes; n4 (#113) is intentionally omitted */ 46#300=NODE_GROUP('declared_nodes',(#110,#111,#112),$); 47/* Byte assertion: contains(b'FEA_MODEL_3D') */ 48/* DEFECT: its_element_set contains #200 whose 4th node (#113) is outside its_node_set #300 */ 49#310=FEA_MODEL_3D('node_set_leak_model',$,'',(#300),(#200),()); 50/* GEOMETRIC_CURVE_SET IS the model entity â OCC yields empty */ 51#500=GEOMETRIC_CURVE_SET('ap209-fea-model-element-outside-node-set', 52 (#110,#111,#112,#113,#200,#310)); 53/* Product chain */ 54#600=APPLICATION_CONTEXT('mechanical design'); 55#601=PRODUCT_CONTEXT('',#600,'mechanical'); 56#602=PRODUCT('M124','M124','M124',(#601)); 57#603=PRODUCT_DEFINITION_FORMATION('','',#602); 58#604=PRODUCT_DEFINITION_CONTEXT(#600,'design'); 59#605=PRODUCT_DEFINITION('','',#603,#604); 60#606=PRODUCT_DEFINITION_SHAPE('','',#605); 61#607=SHAPE_REPRESENTATION('',(#500),#14); 62#608=SHAPE_DEFINITION_REPRESENTATION(#606,#607); 63ENDSEC; 64END-ISO-10303-21;