step-examples/12-8-mixed/M125.stp
Sources
- deduced from AP209 §7 node_group set-semantics
Sender
deduced — FEA preprocessor concatenating two overlapping selections without dedup
Description
A `NODE_GROUP` contains the same `NODE` reference twice (e.g. `(#100, #101, #100)`). Constraints / loads applied to the group act twice on the duplicated node; the load is doubled or the BC is over- constrained. Bug-reporter language: "AP209 node group has duplicate", "FEM load applied 2x to one node", "node-group set semantics violated".
Reproducer recipe
`NODE_GROUP('fixed', (#100, #101, #100), $)`.
Expected kernel behavior
deduplicate silently and warn; or reject.
Notes
Synonyms: "AP209 duplicate node in group", "node-set with repeats", "node group lists same id twice", "duplicate NODE in NODE_GROUP". Synonyms: "AP209 duplicate node in group", "node-set with repeats".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
contains(b'STRUCTURAL_ANALYSIS_DESIGN')contains(b'NODE_GROUP')
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/* M125: AP209 node_group declares the same node id twice */ 3/* DEFECT: NODE_GROUP member list = (#110, #111, #110) â node #110 appears twice */ 4/* Per AP209 §7 node_group uses set semantics; duplicates violate the invariant */ 5/* Load/BC applied to group acts twice on #110: load doubled or BC over-constrained */ 6/* Byte assertion: contains(b'STRUCTURAL_ANALYSIS_DESIGN') */ 7/* Byte assertion: contains(b'NODE_GROUP') */ 8HEADER; 9FILE_DESCRIPTION(('M125: AP209 NODE_GROUP with duplicate node reference'),'2;1'); 10FILE_NAME('M125.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/* Two distinct node positions */ 29#100=CARTESIAN_POINT('n1',(0.0,0.0,0.0)); 30#101=CARTESIAN_POINT('n2',(10.0,0.0,0.0)); 31#110=NODE('fixed_n1',(#100),$); 32#111=NODE('fixed_n2',(#101),$); 33/* AXIS2_PLACEMENT_3D for the constraint orientation */ 34#120=DIRECTION('z_dir',(0.0,0.0,1.0)); 35#121=AXIS2_PLACEMENT_3D('bc_frame',#100,#120,$); 36#200=SINGLE_POINT_CONSTRAINT('fixed_bc','fixed', 37 #110,#121,(1,2,3),(0.0,0.0,0.0,$,$,$)); 38/* Byte assertion: contains(b'NODE_GROUP') */ 39/* DEFECT: member list is (#110, #111, #110) â #110 listed at positions 1 and 3 */ 40/* A valid set-semantics group would be (#110, #111) with each node unique */ 41#300=NODE_GROUP('fixed',(#110,#111,#110),$); 42#310=FEA_MODEL('duplicate_node_group_model',$,'',(#300),(),()); 43/* GEOMETRIC_CURVE_SET IS the model entity â OCC yields empty */ 44#500=GEOMETRIC_CURVE_SET('ap209-node-group-duplicate-node-reference', 45 (#110,#111,#200,#300,#310)); 46/* Product chain */ 47#600=APPLICATION_CONTEXT('mechanical design'); 48#601=PRODUCT_CONTEXT('',#600,'mechanical'); 49#602=PRODUCT('M125','M125','M125',(#601)); 50#603=PRODUCT_DEFINITION_FORMATION('','',#602); 51#604=PRODUCT_DEFINITION_CONTEXT(#600,'design'); 52#605=PRODUCT_DEFINITION('','',#603,#604); 53#606=PRODUCT_DEFINITION_SHAPE('','',#605); 54#607=SHAPE_REPRESENTATION('',(#500),#14); 55#608=SHAPE_DEFINITION_REPRESENTATION(#606,#607); 56ENDSEC; 57END-ISO-10303-21;