M079 — AP209 boundary condition with no nodes attached

§12.8 mixed (sub-class: AP209 boundary conditions)

spec-violation

Sources

Sender

deduced — FEA exporter dropping node-set definitions

Description

A `SINGLE_POINT_CONSTRAINT` is declared with a freedoms list and a non-zero `b` value, but the `NODE_GROUP` it points at is empty (or the constrained_node attribute is unresolved). The constraint applies to no degrees of freedom. Bug-reporter language: "AP209 boundary condition has no geometry", "FEM constraint applied to nothing", "SPC node group empty".

Reproducer recipe

`NODE_GROUP('fixed_nodes', (), $)` (empty) referenced by `SINGLE_POINT_CONSTRAINT(..)`.

Expected kernel behavior

detect unattached constraints; warn and skip, or reject as malformed; never silently apply to all nodes.

Notes

Synonyms: "AP209 boundary condition has no nodes", "FEM constraint applies to nothing", "empty NODE_GROUP on constraint", "BC node-set unresolved", "AP209 boundary condition empty". **See also**: M037, M038. **OCC behavior**: silently consumes the AP209 file as a B-rep producer (FEM constraints are ignored entirely on the read path) without surfacing that the empty-node-group constraint was abandoned; kernel mishandling; the catalog above forbids silent application.

Expected validation

occt=empty/empty gmsh=empty ifc=schema_n/a

Byte assertions

Tier-3 assertions

Cross-references

M037, M038

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* M079: AP209 boundary condition with no nodes attached */
3/* DEFECT: NODE_GROUP('fixed_nodes', (), $) is empty — constraint applies to nothing */
4/* SINGLE_POINT_CONSTRAINT references empty node group */
5/* Byte assertion: contains(b'SINGLE_POINT_CONSTRAINT') */
6/* Byte assertion: contains(b'NODE_GROUP') */
7HEADER;
8FILE_DESCRIPTION(('M079: AP209 boundary condition with no nodes attached'),'2;1');
9FILE_NAME('M079.stp','2026-06-21T00:00:00',(''),(''),'cad-research-suite','','');
10FILE_SCHEMA(('STRUCTURAL_ANALYSIS_DESIGN { 1 0 10303 209 1 0 0 }'));
11ENDSEC;
12DATA;
13#1=APPLICATION_CONTEXT('structural_analysis_design');
14#2=APPLICATION_PROTOCOL_DEFINITION('international standard',
15  'structural_analysis_design',2001,#1);
16/* Standard unit context */
17#10=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
18#11=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
19#12=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
20#13=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(0.001),#10,
21  'distance_accuracy_value','maximum model space distance between geometric entities');
22#14=(GEOMETRIC_REPRESENTATION_CONTEXT(3)
23  GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#13))
24  GLOBAL_UNIT_ASSIGNED_CONTEXT((#10,#11,#12))
25  REPRESENTATION_CONTEXT('fea','3D'));
26/* A valid node — declared but not included in the (empty) node group */
27#100=CARTESIAN_POINT('n1',(0.0,0.0,0.0));
28#110=NODE('n1',(#100),$);
29/* Constraint freedoms: X, Y, Z */
30#120=FREEDOMS_LIST((.X.,.Y.,.Z.));
31#130=FREEDOM_AND_COEFFICIENT(#120,1.0);
32/* Byte assertion: contains(b'NODE_GROUP') */
33/* DEFECT: NODE_GROUP with empty node list — constraint has nowhere to apply */
34#140=NODE_GROUP('fixed_nodes',(),$);
35/* Byte assertion: contains(b'SINGLE_POINT_CONSTRAINT') */
36/* SINGLE_POINT_CONSTRAINT referencing the empty node group */
37/* b=0.0 (prescribed value); effectively applies to zero nodes */
38#200=SINGLE_POINT_CONSTRAINT($,#130,0.0,#140);
39/* GEOMETRIC_CURVE_SET IS the model entity — OCC yields empty */
40#300=GEOMETRIC_CURVE_SET('ap209-boundary-condition-empty-node-group',
41  (#110,#130,#140,#200));
42/* Product chain */
43#400=APPLICATION_CONTEXT('mechanical design');
44#401=PRODUCT_CONTEXT('',#400,'mechanical');
45#402=PRODUCT('M079','M079','M079',(#401));
46#403=PRODUCT_DEFINITION_FORMATION('','',#402);
47#404=PRODUCT_DEFINITION_CONTEXT(#400,'design');
48#405=PRODUCT_DEFINITION('','',#403,#404);
49#406=PRODUCT_DEFINITION_SHAPE('','',#405);
50#407=SHAPE_REPRESENTATION('',(#300),#14);
51#408=SHAPE_DEFINITION_REPRESENTATION(#406,#407);
52ENDSEC;
53END-ISO-10303-21;