step-examples/12-8-mixed/M111.stp
Sources
- deduced from AP209 §7 fea_model node-set membership
- companion to M083 (load attachment)
Sender
deduced — FEA exporter retaining stale BC after mesh refinement
Description
A `SINGLE_POINT_CONSTRAINT` references a `NODE` by id, but that node is not in any `FEA_MODEL_3D`'s node set. The constraint applies to no degree of freedom and the corresponding row/column never enters the stiffness matrix; the model is effectively unconstrained at that fictitious point. Bug-reporter language: "AP209 BC applied to nothing", "FEM constraint on missing node", "SPC dangling reference".
Reproducer recipe
A `NODE` `#999` not in any model's `its_node_set`, referenced by `SINGLE_POINT_CONSTRAINT(#999, ..)`.
Expected kernel behavior
detect orphan-node constraints; warn and skip, or reject.
Notes
Synonyms: "AP209 SPC orphan node", "boundary condition on missing node", "FEM constraint references node not in mesh", "single_point_constraint targets unknown node". **See also**: M083 (load analog), M079 (empty-group analog).
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
contains(b'STRUCTURAL_ANALYSIS_DESIGN')contains(b'SINGLE_POINT_CONSTRAINT')
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/* M111: AP209 SINGLE_POINT_CONSTRAINT applied to node not in mesh */ 3/* DEFECT: SINGLE_POINT_CONSTRAINT references #999 which is NOT in FEA_MODEL node set */ 4/* Constraint applies to no DOF â stiffness matrix row/col never assembled */ 5/* Model is effectively unconstrained â rigid-body mode exists */ 6/* Byte assertion: contains(b'STRUCTURAL_ANALYSIS_DESIGN') */ 7/* Byte assertion: contains(b'SINGLE_POINT_CONSTRAINT') */ 8HEADER; 9FILE_DESCRIPTION(('M111: AP209 SPC on orphan node outside FEA model node set'),'2;1'); 10FILE_NAME('M111.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/* Model nodes: two nodes that ARE in the FEA model node set */ 29#100=CARTESIAN_POINT('n1',(0.0,0.0,0.0)); 30#101=CARTESIAN_POINT('n2',(100.0,0.0,0.0)); 31#110=NODE('n1',(#100),$); 32#111=NODE('n2',(#101),$); 33/* Orphan node: declared in file but excluded from model node group */ 34#200=CARTESIAN_POINT('orphan',(50.0,0.0,50.0)); 35/* Byte assertion: contains(b'SINGLE_POINT_CONSTRAINT') indirectly â node #999 */ 36/* NODE #999 matches the id used in the catalog reproducer recipe */ 37#999=NODE('orphan_bc_node',(#200),$); 38/* NODE_GROUP: model contains only #110 and #111 â NOT #999 */ 39/* Byte assertion: contains(b'SINGLE_POINT_CONSTRAINT') */ 40#300=NODE_GROUP('model_nodes',(#110,#111),$); 41#310=FEA_MODEL('beam_model',$,'',(#300),(),()); 42/* Byte assertion: contains(b'SINGLE_POINT_CONSTRAINT') */ 43/* DEFECT: SPC applied to #999 â orphan node outside the model node set *) */ 44/* Fixed-displacement BC: all 3 translations set to 0.0 (fixed wall) */ 45/* The corresponding stiffness matrix row/column is never assembled *) */ 46/* Model has a free rigid-body mode at the supposed support point *) */ 47#400=SINGLE_POINT_CONSTRAINT('spc_fixed',#999,(.TRUE.,.TRUE.,.TRUE.),$,$); 48/* GEOMETRIC_CURVE_SET IS the model entity â OCC yields empty */ 49#500=GEOMETRIC_CURVE_SET('ap209-spc-on-orphan-node-not-in-mesh', 50 (#110,#111,#999,#310,#400)); 51/* Product chain */ 52#600=APPLICATION_CONTEXT('mechanical design'); 53#601=PRODUCT_CONTEXT('',#600,'mechanical'); 54#602=PRODUCT('M111','M111','M111',(#601)); 55#603=PRODUCT_DEFINITION_FORMATION('','',#602); 56#604=PRODUCT_DEFINITION_CONTEXT(#600,'design'); 57#605=PRODUCT_DEFINITION('','',#603,#604); 58#606=PRODUCT_DEFINITION_SHAPE('','',#605); 59#607=SHAPE_REPRESENTATION('',(#500),#14); 60#608=SHAPE_DEFINITION_REPRESENTATION(#606,#607); 61ENDSEC; 62END-ISO-10303-21;