M121 — AP209 time-history loadcase with non-monotonically increasing time vector

§12.8 mixed (sub-class: AP209 transient loadcase)

P1 — silent data loss

spec-violation

Sources

Sender

deduced — FEA exporter sorting time-vs-amplitude pairs by amplitude rather than by time

Description

A time-varying force is encoded as a paired list of (time, amplitude) tuples whose time component is not monotonically increasing; e.g., `[(0,0), (1,5), (0.5,3), (2,7)]`. A transient solver using these as time-stamped loads either overshoots, walks backwards in time, or fails to interpolate. Bug-reporter language: "AP209 time vector out of order", "FEM transient load timestamps wrong", "time history not monotonic".

Reproducer recipe

A list of paired `(REAL, REAL)` describing time and load amplitude where the time series goes `0.0, 1.0, 0.5, 2.0`.

Expected kernel behavior

sort by time and warn; or reject as malformed.

Notes

Synonyms: "AP209 non-monotonic time", "transient load order wrong", "time series unsorted".

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/* M121: AP209 time-history loadcase with non-monotonically increasing time vector */
3/* DEFECT: time-amplitude pairs ordered (0.0,0), (1.0,5), (0.5,3), (2.0,7) */
4/* Time regresses from 1.0 to 0.5 — non-monotonic; transient solver breaks */
5/* Per AP209 §9, time component of each pair must be strictly monotonically increasing */
6/* Byte assertion: contains(b'STRUCTURAL_ANALYSIS_DESIGN') */
7/* Byte assertion: contains(b'NODE_WITH_FORCE') */
8HEADER;
9FILE_DESCRIPTION(('M121: AP209 time-history load with non-monotonic time vector'),'2;1');
10FILE_NAME('M121.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/* Single loaded node */
29#100=CARTESIAN_POINT('loaded_node',(25.0,0.0,0.0));
30#110=NODE('transient_load_node',(#100),$);
31/* Byte assertion: contains(b'NODE_WITH_FORCE') */
32/* DEFECT: time-amplitude table is non-monotonic in the time column */
33/* Pair 1: t=0.0, F=0.0  (valid start) */
34/* Pair 2: t=1.0, F=5.0  (valid: 1.0 > 0.0) */
35/* Pair 3: t=0.5, F=3.0  (DEFECT: 0.5 < 1.0, time regression) */
36/* Pair 4: t=2.0, F=7.0  (valid: 2.0 > 0.5, but path already broken) */
37/* A monotonic series would be: (0.0,0.0),(0.5,3.0),(1.0,5.0),(2.0,7.0) */
38#200=NODE_WITH_FORCE('transient_load','time_history',#110,
39  ((0.0,0.0),(1.0,5.0),(0.5,3.0),(2.0,7.0)),
40  (1000.0,0.0,0.0),$);
41#300=NODE_GROUP('loaded_nodes',(#110),$);
42#310=FEA_MODEL('transient_model',$,'',(#300),(),());
43#400=LOAD_GROUP('time_history_loads',(#200),$);
44/* GEOMETRIC_CURVE_SET IS the model entity — OCC yields empty */
45#500=GEOMETRIC_CURVE_SET('ap209-time-history-load-non-monotonic-time-vector',
46  (#110,#200,#310,#400));
47/* Product chain */
48#600=APPLICATION_CONTEXT('mechanical design');
49#601=PRODUCT_CONTEXT('',#600,'mechanical');
50#602=PRODUCT('M121','M121','M121',(#601));
51#603=PRODUCT_DEFINITION_FORMATION('','',#602);
52#604=PRODUCT_DEFINITION_CONTEXT(#600,'design');
53#605=PRODUCT_DEFINITION('','',#603,#604);
54#606=PRODUCT_DEFINITION_SHAPE('','',#605);
55#607=SHAPE_REPRESENTATION('',(#500),#14);
56#608=SHAPE_DEFINITION_REPRESENTATION(#606,#607);
57ENDSEC;
58END-ISO-10303-21;