M120 — AP209 symmetry plane not perpendicular to a coordinate axis

§12.8 mixed (sub-class: AP209 symmetry boundary condition)

P1 — silent data loss

spec-violation

Sources

Sender

deduced — FEA preprocessor permitting arbitrary symmetry plane orientations without rotating the constraint frame

Description

A symmetry boundary condition restricts displacement perpendicular to a plane and rotation about its in-plane axes. Most solvers assume the plane is perpendicular to one of the X/Y/Z axes (so the constraint reduces to "U_x = 0, R_y = R_z = 0", etc.). A user-defined symmetry plane with normal `(0.5, 0.5, 0.707)` is non-axis-aligned; if the preprocessor encodes the constraint as "U_x = 0" without rotating to the plane frame, the actual physics is wrong. Bug-reporter language: "AP209 symmetry plane not aligned", "FEM symmetry BC at angle", "skew symmetry applied as axis-aligned".

Reproducer recipe

A `SINGLE_POINT_CONSTRAINT` interpreted as symmetry with a normal direction `(0.5, 0.5, 0.707)`, paired with a constraint pattern restricting only `U_x` (X-DOF), without rotating the constraint basis to the symmetry frame.

Expected kernel behavior

reject if the symmetry plane normal is non-axis-aligned; or transform the constraint into the plane frame.

Notes

Synonyms: "AP209 skew symmetry", "non-axis symmetry plane", "symmetry plane not aligned with coordinate axis", "FEM symmetry boundary off-axis", "symmetry constraint can't reduce to scalar BCs".

Expected validation

occt=shape(1)/shape(1) gmsh=shape(1) 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/* M120: AP209 symmetry plane not perpendicular to a coordinate axis */
3/* DEFECT: SINGLE_POINT_CONSTRAINT symmetry-plane normal = (0.5,0.5,0.707) */
4/* Constraint restricts only U_x=0 without rotating to the symmetry frame */
5/* Skew normal means no coordinate plane corresponds to the symmetry surface */
6/* Per AP209 §7, non-axis-aligned symmetry requires frame transformation */
7/* Byte assertion: contains(b'STRUCTURAL_ANALYSIS_DESIGN') */
8/* Byte assertion: contains(b'SINGLE_POINT_CONSTRAINT') */
9/* Byte assertion: contains(b'(0.5,0.5,0.707)') */
10HEADER;
11FILE_DESCRIPTION(('M120: AP209 symmetry plane not perpendicular to coordinate axis'),'2;1');
12FILE_NAME('M120.stp','2026-06-21T00:00:00',(''),(''),'cad-research-suite','','');
13/* Byte assertion: contains(b'STRUCTURAL_ANALYSIS_DESIGN') */
14FILE_SCHEMA(('STRUCTURAL_ANALYSIS_DESIGN { 1 0 10303 209 1 0 0 }'));
15ENDSEC;
16DATA;
17#1=APPLICATION_CONTEXT('structural_analysis_design');
18#2=APPLICATION_PROTOCOL_DEFINITION('international standard',
19  'structural_analysis_design',2001,#1);
20/* Standard unit context (mm) */
21#10=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
22#11=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
23#12=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
24#13=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(0.001),#10,
25  'distance_accuracy_value','maximum model space distance between geometric entities');
26#14=(GEOMETRIC_REPRESENTATION_CONTEXT(3)
27  GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#13))
28  GLOBAL_UNIT_ASSIGNED_CONTEXT((#10,#11,#12))
29  REPRESENTATION_CONTEXT('fea','3D'));
30/* Node on the symmetry plane */
31#100=CARTESIAN_POINT('sym_node',(5.0,5.0,7.07));
32/* Byte assertion: contains(b'(0.5,0.5,0.707)') */
33/* DEFECT: symmetry-plane normal is (0.5,0.5,0.707) — non-axis-aligned */
34/* A valid axis-aligned normal would be e.g. (1.0,0.0,0.0) for YZ plane */
35#101=DIRECTION('skew_sym_normal',(0.5,0.5,0.707));
36#102=AXIS2_PLACEMENT_3D('skew_sym_plane',#100,#101,$);
37#110=NODE('sym_boundary_node',(#100),$);
38/* Byte assertion: contains(b'SINGLE_POINT_CONSTRAINT') */
39/* DEFECT: constraint applied as U_x=0 using axis-aligned convention */
40/* For a skew normal (0.5,0.5,0.707) the correct constraint requires frame rotation */
41/* Encoding only DOF_1 (U_x=0.0) is incorrect — missing U_y and U_z contributions */
42#200=SINGLE_POINT_CONSTRAINT('skew_symmetry_bc','symmetry',
43  #110,#102,(1),(0.0,$,$,$,$,$));
44#300=NODE_GROUP('sym_nodes',(#110),$);
45#310=FEA_MODEL('skew_symmetry_model',$,'',(#300),(),());
46/* GEOMETRIC_CURVE_SET IS the model entity — OCC yields empty */
47#500=GEOMETRIC_CURVE_SET('ap209-symmetry-plane-not-perpendicular-to-axis',
48  (#100,#101,#102,#110,#200,#310));
49/* Product chain */
50#600=APPLICATION_CONTEXT('mechanical design');
51#601=PRODUCT_CONTEXT('',#600,'mechanical');
52#602=PRODUCT('M120','M120','M120',(#601));
53#603=PRODUCT_DEFINITION_FORMATION('','',#602);
54#604=PRODUCT_DEFINITION_CONTEXT(#600,'design');
55#605=PRODUCT_DEFINITION('','',#603,#604);
56#606=PRODUCT_DEFINITION_SHAPE('','',#605);
57#607=SHAPE_REPRESENTATION('',(#500),#14);
58#608=SHAPE_DEFINITION_REPRESENTATION(#606,#607);
59ENDSEC;
60END-ISO-10303-21;