M116 — AP209 modal extraction count exceeds DOF rank

§12.8 mixed (sub-class: AP209 modal analysis)

P1 — silent data loss

spec-violation

Sources

Sender

deduced — FEA template requesting fixed mode count regardless of model size

Description

A modal-analysis card requests extraction of 50 modes from a model with only 18 active DOFs. The eigensolver either returns 18 real modes plus 32 NaN/garbage entries, or fails outright. Bug-reporter language: "AP209 too many modes requested", "FEM eigensolver returns NaN modes", "mode count exceeds DOF".

Reproducer recipe

A `FEA_MODEL_3D` with three free nodes (9 DOFs) but a modal extraction parameter requesting 50 modes.

Expected kernel behavior

Heal and accept: coerce the requested mode count to the system rank and warn loudly.

Notes

Synonyms: "AP209 mode count too high", "eigensolver over-request", "modal extraction count exceeds DOF rank", "more modes than DOFs", "AP209 NaN modes returned".

Expected validation

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

Byte assertions

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* M116: AP209 modal extraction count exceeds DOF rank */
3/* DEFECT: 50 modes requested from a model with only 9 active DOFs */
4/* Eigensolver returns NaN/garbage for 41 modes beyond system rank */
5/* Per AP209 §9, requested mode count must not exceed DOF rank */
6/* Byte assertion: contains(b'STRUCTURAL_ANALYSIS_DESIGN') */
7/* Byte assertion: contains(b'FEA_MODEL') */
8HEADER;
9FILE_DESCRIPTION(('M116: AP209 modal extraction requests 50 modes from 9-DOF model'),'2;1');
10FILE_NAME('M116.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/* Three free nodes: total 9 translational DOFs (3 nodes × 3 DOF each) */
29#100=CARTESIAN_POINT('n1',(0.0,0.0,0.0));
30#101=CARTESIAN_POINT('n2',(50.0,0.0,0.0));
31#102=CARTESIAN_POINT('n3',(100.0,0.0,0.0));
32#110=NODE('free_node_1',(#100),$);
33#111=NODE('free_node_2',(#101),$);
34#112=NODE('free_node_3',(#102),$);
35/* Byte assertion: contains(b'FEA_MODEL') */
36/* NODE_GROUP: all three free nodes — 9 translational DOFs total */
37#300=NODE_GROUP('free_nodes',(#110,#111,#112),$);
38#310=FEA_MODEL('modal_model',$,'',(#300),(),());
39/* DEFECT: modal analysis requests 50 modes from a 9-DOF system *)  */
40/* Eigensolver can return at most 9 real modes; modes 10-50 are NaN/garbage *)  */
41/* REQUESTED_NUMBER_OF_MODES = 50 >> system DOF rank = 9 *)  */
42#400=EIGENVALUE_EXTRACTION_PARAMETER('modal_50','LANCZOS',50,0.0,$,#310);
43/* GEOMETRIC_CURVE_SET IS the model entity — OCC yields empty */
44#500=GEOMETRIC_CURVE_SET('ap209-modal-extraction-count-exceeds-dof-rank',
45  (#110,#111,#112,#310,#400));
46/* Product chain */
47#600=APPLICATION_CONTEXT('mechanical design');
48#601=PRODUCT_CONTEXT('',#600,'mechanical');
49#602=PRODUCT('M116','M116','M116',(#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;