This repository has been archived by the owner on May 15, 2024. It is now read-only.
generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpostprocessing_results.tex
2416 lines (1985 loc) · 101 KB
/
postprocessing_results.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
% SPDX-FileCopyrightText: 2023 SAP SE
%
% SPDX-License-Identifier: Apache-2.0
%
% This file is part of FEDEM - https://openfedem.org
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% FEDEM User Guide.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Chapter{Postprocessing Results}{postprocessing-results}
This chapter introduces the options for postprocessing the results calculated by
the various Fedem solvers.
You will learn how to set up graphs, curves and animations.
Sections in this chapter address the following topics:
\begin{itemize}
\item
\protect\hyperlink{postprocessing-environment}
{Postprocessing environment}
\item
\protect\hyperlink{graphs}
{Graphs}
\item
\protect\hyperlink{beam-diagrams}
{Beam diagrams}
\item
\protect\hyperlink{graph-groups}
{Graph groups}
\item
\protect\hyperlink{animations}
{Animations}
\item
\protect\hyperlink{viewing-animations}
{Viewing animations}
\end{itemize}
\clearpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Section{Postprocessing environment}{postprocessing-environment}
In Fedem, postprocessing means evaluating the data collected from the mechanism
analysis (see \refChapter{mechanism-analysis}{Mechanism Analysis}).
The options for postprocessing are graphing and animating.
You can perform these tasks using the {\sl Results} list of the Model Manager
panel and the commands available in the \textbf{Result} menu.
Results are displayed in the Workspace area.
\medskip\noindent
\begin{minipage}{0.64\textwidth}
\raggedright
\subsubsection{Manager Results list}
The {\sl Results} list of the Model Manager panel (shown at right)
displays the list of user-defined result views in the model.
In addition to the commands available in the
\protect\hyperlink{result-menu}{\sl Result menu} (see below), many shortcut
commands can be used to manage results in the {\sl Results} list.
The shortcut menu, which is accessed by right-clicking in the Model Manager
panel, displays commands relevant for the selected object only.
\vskip\baselineskip
Each curve object in the Model Manager {\sl Result} list has an icon next to
the curve name, representing its legend. The curve color and symbol can be
changed in the {\sl Appearance} tab (see \refSection{appearance}{Appearance}).
\end{minipage}%
\hfill\begin{minipage}{0.28\textwidth}
\includegraphics[width=\textwidth]{Figures/7-RightClickMenuInResultsList}
\end{minipage}
\medskip\noindent
\begin{minipage}{0.5\textwidth}
\raggedright
\SubSubSection{Result menu}{result-menu}
The \textbf{Result} menu (shown at right) contains commands for creating
result views, and managing the result files in your model.
Use of these commands is explained in the following sections.
\subsubsection{Workspace area}
The Workspace area is used to display the graphs and animations you create.
\end{minipage}%
\hfill\begin{minipage}{0.47\textwidth}
\includegraphics[width=\textwidth]{Figures/7-ResultMenu}
\end{minipage}
\begin{itemize}
\item
Graphs can be displayed in individual windows that are labeled with the
user-specified description of the graph; these windows are called {\sl Graph}
views. To specify a description and display a {\sl Graph} view, see
\refSection{graph-properties}{Graph properties} and
\refSection{showing-a-graph}{Showing a graph}.
\item
Animations can be displayed in the {\sl Modeler} view (one at a time).
To display an animation, see
\refSubSection{loading-animations}{Loading animations}{managing-animations}.
\end{itemize}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Section{Graphs}{graphs}
To track the progress of any variable during the simulation, you can create
two-dimensional graphs of the values. Each graph can contain several curves,
enabling comparison of the simulation variables.
\begin{center}
\includegraphics[width=0.9\textwidth]{Figures/Graph-view}
\end{center}
You can customize your graphs with titles, axis and data labels, and legends
(as shown below).
Graphs can be set up before or after performing the dynamics simulation.
If you create a graph before performing the simulation, you can observe
the values during the simulation, as they are constantly updated
(see \refSection{interaction-during-processing}{Interaction during processing}).
Otherwise, you can view the entire set of graphed values after the simulation
is completed.
Graphs plotting values vs. time will have a time indicator bar present when
a time history animation is loaded. This bar will show the current animation
time in the graph. This makes it easy to see the correlation between the motion
and the graphed values.
In addition to graphs plotting the evolution of result quantities during the
simulation, another type of graphs exists which plots the variation of a result
quantity along a beam structure at a certain time. These types of graphs
are described in \refSection{beam-diagrams}{Beam diagrams}.
\SubSection{Creating graphs and curves}{creating-graphs-and-curves}
You can create as many graphs as you like, either before or after doing the
dynamics simulation. It is recommended that you provide descriptive names for
your graphs, as the description is used in the Model Manager {\sl Results}
list to distinguish between graphs. The description is also used as the title
of the {\sl Graph} view when the graph is displayed in the Workspace area.
To specify a description, see \refSection{graph-properties}{Graph properties}.
Once you have created a graph, you will need to create curves (plotted data)
for the graph and specify descriptions and properties for the curves.
There are two ways to create these items, either by using the \textbf{New Graph}
and \textbf{New Curve} commands, or by dragging result variables from the RDB
selector dialog box into the {\sl Result} list of the Model Manager panel,
as described below.
\SubSubSection{Graph}{graph}
\IconTextFirst{createGraph}{
To create a graph, select \textbf{New Graph} from the \textbf{Result} menu,
or right-click in the Model Manager {\sl Results} list and select
\textbf{New Graph}. An object titled ``New Graph'' is listed in
the {\sl Results} list of the Model Manager panel.}
\subsubsection{Curves}
To create a curve, complete the following steps:
\vskip9mm
\IconText{createCurve}{\vspace*{-8mm}
\begin{enumerate}
\item
In the Model Manager {\sl Results} list,
select the graph to which you want to add the curve.
\item
Select \textbf{New Curve} on the {\sl Result} menu,
or right-click the graph in the Model Manager {\sl Results} list and
select \textbf{New Curve} there.
\item
Alternatively: Right-click an empty spot in the {\sl Results} list of
the Model Manager panel, and select \textbf{New Curve}.
This will create a new graph with a single curve.
\end{enumerate}}
An object named ``New Curve'' is then listed under the current graph in the
{\sl Results} list of the Model Manager panel.
\SubSubSection{Creating curves and graphs by drag and drop}
{creating-curves-and-graphs-by-drag-and-drop}
\noindent
\begin{minipage}{0.58\textwidth}
\raggedright
When you need to create several curves and graphs containing results from the
results database, or want to inspect several result values without the need to
create persisting graphs for all of them, it is convenient to use the drag and
drop method to create and sort curves and graphs.
\vskip\baselineskip
To create curves or graphs by drag and drop, right-click in the {\sl Result}
list of the Model Manager panel and select \textbf{Result selector...}
The RDB selector dialog box then pops up (shown to the right).
\vskip\baselineskip
Select the result you want to plot, and drag it from the RDB selector dialog
box and onto the {\sl Result} list of the Model Manager panel. If you drop it
on an existing graph, it will be created as a curve in that graph, otherwise
a new graph will be created with the selected results as a new curve.
\vskip\baselineskip
If the graph receiving the new curve is visible,
the new data is automatically loaded and displayed.
\vskip\baselineskip
For more detailed information about the RDB selector dialog box, see
\refSubSection{selecting-rdb-results}{Selecting RDB results}
{curve-properties}.
\end{minipage}
\hfill\begin{minipage}{0.4\textwidth}
\includegraphics[width=\textwidth]{Figures/Dialogs/7-RDB-Selector-DragAndDrop}
\end{minipage}
\subsubsection{Repeat a curve definition for all objects}
In some cases it is useful to look at some particular result from all objects
of a certain type in the model. E.g., to find the triad with the highest forces
in the model, or to look at the acceleration levels all over the model.
\IconText{repeatCurve}{
This can be achieved in a convenient way using the command labeled
\textbf{Repeat curve for all objects}. This command is available in the
right-click menu of the {\sl Result} list of the Model Manager panel,
when right-clicking a curve. This command repeats the curve definition
of the curve selected, and uses it on all the objects of the same type
in the model. It also automatically assigns a color to the curves
depending on the ID number of the object. The colors assigned will be
black-blue-cyan, where low ID numbers makes the curve get a black-ish color,
while higher numbers will turn the curve blue or cyan.}
Normally, it is only the object used for the $Y$-axis value in the curve
definition that is cycled, but if the curve being repeated uses the same object
both for the $X$-, and $Y$-axis they are cycled together.
\begin{wrapfigure}[9]{r}{0.3\textwidth}
\vspace{-5mm}
\center\includegraphics[width=0.3\textwidth]{Figures/Dialogs/7-RepeatCurveForRange}
\end{wrapfigure}
It is also possible to repeat a curve definition for not every object of the
same type in the model, but only a subset of the similar objects. This is done
by using the command labeled \textbf{Repeat curve for object range...}
in the right-click menu of the {\sl Results} list of the Model Manager panel.
This opens a dialog box (shown to the right) where you can enter the user ID
range of the objects for which you want the curve definition to be repeated.
\Note{Since the user ID numbers are unique only within each sub-assembly
(see \refSection{sub-assemblies}{Sub-assemblies}),
the \textbf{Repeat curve for object range...} command applies only to the
objects within the same sub-assembly as the object that is plotted by the
selected curve. On the other hand, the \textbf{Repeat curve for all objects}
command always applies to all objects in all sub-assemblies (if any)
of the model.}
\subsubsection{Moving curves to a new graph}
To move curves from one graph to another, simply select the curves and
drag them to the new graph. This is done by pressing and holding the
left mouse button while the mouse cursor is above the curves to move,
then move the mouse to the target graph and release the mouse button.
\SubSection{Showing a graph}{showing-a-graph}
\IconTextFirst{showGraph}{
To display graphs, select one or more graphs or curves in the Model Manager
{\sl Results} list, right-click and select \textbf{Show Graph} on the shortcut
menu (or select \textbf{Show Graph} on the \textbf{Result} menu). The selected
{\sl Graph} views opens in the Workspace area displaying the graphs.}
\SubSection{Graph properties}{graph-properties}
Now that you can create a graph and its curves, you need to specify properties
for the graph. To display the properties in the Property Editor panel,
select the graph in the Model Manager {\sl Results} list.
The properties for the graph are displayed in the Property Editor panel
as shown below.
\noindent
\begin{picture}(343,100)
\put(0,0){\includegraphics[width=\textwidth]{Figures/7-GraphProperty}}
\put(75,86){\Bullet{1}}
\put(80,73){\Bullet{2}}
\put(80,48){\Bullet{3}}
\put(80,35){\Bullet{4}}
\put(315,72){\Bullet{5}}
\put(325,60){\Bullet{6}}
\put(305,47){\Bullet{7}}
\put(310,36){\Bullet{8}}
\put(325,22){\Bullet{9}}
\end{picture}
\begin{bulletlist}
\item{\sl Description} --
An optional user-specified description that is displayed as both the graph
name in the {\sl Results} list, and the title of the associated {\sl Graph}
view in the Workspace area. It is recommended that you use a descriptive name
or phrase to distinguish between similar graphs.
This name is not included in the {\sl Graph} view itself.
\item{\sl Title} --
You can specify a title for the graph
that is displayed in the {\sl Graph} view.
\item{X-Axis Label} --
You can provide a label for the abscissa
that is displayed in the {\sl Graph} view.
\item{Y-Axis Label} --
You can provide a label for the ordinate
that is displayed in the {\sl Graph} view.
\item{Font size:} --
You can specify the font size to be used on the legends and
the axes tics marks in the {\sl Graph} view.
\item{\sl Grid} --
You can specify the type of grid (coarse, fine, or no grid)
for the {\sl Graph} view by selecting from this pull-down menu.
\item{\sl Legend} --
You can add a legend to the graph by enabling the {\sl Legend} option.
The legend names you specify for each curve are used in the legend
(see \refSection{curve-properties}{Curve properties} below).
\item{\sl Autoscale} --
Enabling this option automatically scales the $X$- and $Y$-axes to accommodate
new curves as they are added to the graph (or when opening the {\sl Graph}
view). Disabling {\sl Autoscale} allows you to fully control the $X$- and
$Y$-axis range.
\item{\sl Start time}, {\sl Stop time}, {\sl Use time interval} --
You can enable the {\sl Use time interval} option to specify a time interval
for loading the graph. Only the RDB data that fall within the specified time
interval are loaded when the graph is opened or exported.
This only affects curves that are plotting simulation results.
Imported curves, or curves plotting an internal function are not affected by
these settings.
\end{bulletlist}
\Note{When you make changes to graphs or curves in the Property Editor panel,
the changes are updated dynamically in the graph view.}
\SubSection{Curve properties}{curve-properties}
Having completed the specification of a graph, you want to set the properties of
its associated curves. To display the curve properties in the Property Editor
panel, select the curve in the Model Manager {\sl Results} list.
The curve information is organized under six tabs, as shown below:
{\sl Data}, {\sl Appearance}, {\sl Curve Statistics}, {\sl Scale and Shift},
{\sl Fourier Analysis and Differentiation}, and {\sl Rainflow and Fatigue}.
The {\sl Data} tab is used to specify the data to be plotted and is described
below. The other five tabs are discussed in the subsequent sections.
\noindent
\begin{picture}(343,115)
\put(0,0){\includegraphics[width=\textwidth]{Figures/7-CurveProperty}}
\put(150,100){\Bullet{1}}
\put(142, 87){\Bullet{2}}
\put( 35, 61){\Bullet{3}}
\put(105, 61){\Bullet{4}}
\put(230, 61){\Bullet{4}}
\put(165, 22){\Bullet{5}}
\put(295, 22){\Bullet{5}}
\put(235, 4){\Bullet{6}}
\put(260, 80){\Bullet{7}}
\put(160, 80){\Bullet{8}}
\put( 60, 80){\Bullet{9}}
\put(110, 80){\BBullet{10}}
\put(330, 80){\BBullet{11}}
\end{picture}
\begin{bulletlist}
\item{\sl Description} --
This is the name of the curve in the Model Manager {\sl Results} list.
The description is updated automatically when changing the $X$- or $Y$-axis
definitions, unless it has been edited manually in the mean time.
This name is not used in the {\sl Graph} view.
\EnumTip{If you have manually edited the description field of a curve,
you can at any time return to the auto-generated description by
deleting it completely.}
\item{\sl Legend} --
If you choose not to supply a name for the curve, you can enable
{\sl Auto legend} to use a combination of the $X$- and $Y$-axis labels for the
legend. When {\sl Auto legend} is used, the legend will always be equal to the
auto-generated description of the curve.
\EnumNote{The {\rm Legend} option must be enabled in the Graph Property Editor
panel to display the legend in the {\rm Graph} view
(see \refSection{graph-properties}{Graph properties}).}
\item{\sl Source} --
The data plotted in a curve originate either from the results database
({\sl From RDB}), from an external file ({\sl From file}),
or from a Fedem function ({\sl Internal function}).
In addition, the data can be defined via a mathematical expression
with some of the other curves as variables ({\sl Combined curve}).
The Property Editor panel shown above is that of a {\sl From RDB} curve.
The panels of the other curve types are discussed below (see
\protect\hyperlink{creating-curves-from-file}
{\sl"Creating curves from file"},
\protect\hyperlink{creating-curves-from-a-function}
{\sl"Creating curves from a function"}, and
\protect\hyperlink{creating-combined-curves}
{\sl"Creating combined curves"} below).
\item{\sl X Axis}, {\sl Y Axis} --
To define the values used for the $X$- and $Y$-axes in a {\sl From RDB} curve,
click the \textbf{Edit...} button. The RDB selector dialog box is then opened
allowing you to pick the wanted results (see
\protect\hyperlink{selecting-rdb-results}{\sl"Selecting RDB results"}
below for details). Alternatively, one may also right-click a curve in the
Model Manager {\sl Results} list and then select \textbf{Edit X Axis...}
or \textbf{Edit Y Axis...}
\EnumTip{While editing the $x$-axis, you can click \textbf{Apply} in the RDB
selector dialog box, then click the \textbf{Edit...} button for the $y$-axis
and start selecting result quantitiy for that axis.}
\item{\sl Result Operation} --
The pull-down menus next to the \textbf{Edit...} buttons list mathematical
operations (such as extracting the $X$-component or computing the length of a
vector) related to the result quantities selected for the $X$- and $Y$-axis.
If the result quantity selected in Step 4 above is a {\sl Position matrix}
(of either a Triad or Part), the menu will also contain several angular
quantities which can be derived from the position matrix. See
\protect\hyperlink{derived-angular-quantities-from-position-matrices}
{\sl"Derived angular quantities from position matrices"}
below for further details on these items.
\EnumNote{If you make a change to the {\rm Result Operation} choice,
the curve changes dynamically in the graph view.}
\item{\sl Export curve automatically} --
Toggles whether the dynamics solver shall export this curve automatically,
to the file specified in the Dynamics Solver Setup dialog box.
See \refSubSection{output-tab}{Output tab}{dynamics-solver-advanced-mode}.
\item{\sl Fourier Analysis and Differentiation} -- This tab
allows you to perform a Fast Fourier Transformation of the curve data. See
\refSection{fourier-analysis-differentiation-and-integration}
{Fourier analysis, differentiation and integration}. You may
also plot the derivative or the integral of the curve data via this tab.
\clearpage
\item{\sl Scale and Shift} --
This tab allows you to apply scaling and shift to the curve data.
See \refSection{scale-and-shift}{Scale and Shift}.
\item{Appearance} --
This tab allows you to change appearance of individual curves.
See \refSection{appearance}{Appearance}.
\item{\sl Curve Statistics} --
This tab allows you to extract statistical properties for individual curves.
See \refSection{curve-statistics}{Curve Statistics}.
\item{\sl Rainflow and Fatigue} --
This tab allows you to perform a Rainflow calculation and to assess fatigue
results based on the curve data. See
\refSection{fatigue-calculation}{Fatigue calculation from standard S-N curves}.
\end{bulletlist}
\Note{The curve is not displayed in the graph view until you have fully defined
the curve variables (indicated by the word {\rm"Complete"} appearing at the
bottom of the Property Editor panel).
The word {\textcolor{red}\rm"Incomplete"} appears at the same location
until the curve is properly defined.}
\Tip{Once you have created and fully defined curves, you can select them
directly in the {\rm Graph} view, or clicking a curve in the {\rm Results}
list of the Model Manager panel.
When selected, curves are highlighted in red.}
\Tip{You can drag a curve object from one graph object and drop into another
in the Model Manager {\rm Results} list.}
\clearpage
\SubSubSection{Selecting RDB results}{selecting-rdb-results}
\begin{minipage}{0.64\textwidth}
\raggedright
To select the results to plot as $x$- and $y$-axis values for a curve,
complete the following steps:
\medskip
\begin{enumerate}
\setlength\itemsep{1mm}
\item
In the Model Manager {\sl Results} list, select the curve you want to edit.
Its properties are displayed in the Property Editor panel.
\item
In the Property Editor panel, click the \textbf{Edit...} button for the
{\sl X-Axis}, or right-click on a curve in the Model Manager {\sl Results}
list and select \textbf{Edit X Axis...} or \textbf{Edit Y Axis...}.
The RDB selector dialog box (shown at right) is then opened.
\item
Select a mechanism element from the {\sl Existing Results} list or in the
{\sl Modeler} view.
\vskip1mm
\MiniGenericNote{note}{NOTE}{-30mm}{1.72}{0.17}{0.5}{
If the mechanism analysis have been performed, variables for the
selected element are listed in the {\rm Existing Results} list.
If you have not yet performed an analysis, variables are listed in the
{\rm Possible Results} list.}
\end{enumerate}
\end{minipage}%
\hfill\begin{minipage}{0.35\textwidth}
\includegraphics[width=\textwidth]{Figures/Dialogs/7-RDB-Selector}
\end{minipage}
\begin{enumerate}
\item[4.]
Select a variable to be used as the $x$-axis quantity from either the
{\sl Existing Results} or {\sl Possible Results} lists, and click \textbf{OK}
to close the panel or \textbf{Apply} to continue variable selection.
\EnumCaution{Some of the variables listed in the {\rm Possible Results}
list may not be present in the results database.
For example, a joint may or may not have a spring or damper attached at
each DOF, but in the {\rm Possible Results} list all possible springs
and dampers are listed -- one for each joint DOF.
If such a nonexistent variable is selected, the associated curve does not
appear in the graph view.}
\EnumNote{Variables such as {\small\rm Physical Time} and
{\small\rm Time Step Number} are not associated with a mechanism element,
and are therefore listed independently in both lists.}
\EnumNote{Items such as {\small\rm Revolute Joints} or
{\small\rm Z-Rotation Joint Variables} cannot be selected as variables; only
those items in the expanded lists (such as {\small\rm Angular Deflection})
can be selected for use as variables.}
\item[5.]
Repeat steps 2 through 4 to select the {\sl Y-Axis} variable.
\end{enumerate}
\Tip{To easily find out what result quantities, if any, that already have been
plotted for a given mechanism object, just select the object and inspect the
Topology view (see \refSection{id-and-topology-panel}{ID and Topology panel}).
The curves plotting quantities in the selected object are then listed under
the {\rm Plotted by:} heading.}
\SubSubSection{Derived angular quantities from position matrices}
{derived-angular-quantities-from-position-matrices}
\begin{wrapfigure}[10]{r}{0.3\textwidth}
\vspace{-5mm}
\includegraphics[width=0.25\textwidth]{Figures/7-PositionmatrixOperations}
\end{wrapfigure}
Totally 10 derived quantities may be plotted for a {\sl Position matrix} result
item (as shown to the right). The {\sl Euler Angle} quantities (top three) are
the indicated angles computed from an imagined incremental rotation from the
global coordinate system axes to the orientation represented by the position
matrix. The bottom three items are similar quantities computed from a
Rodriguez parameterization of the incremental rotation.
See the \FedemTGuide{Section 2.3, "Finite Rotation"}
for the definition of these angular quantities.
\subsubsection{Plotting internal control variables}
When you plot internal control variables, you will probably discover that some
of the control lines don't have any results. The reason for this is that more
than one control line share the same control variable, and the results appear
on only one of these (usually the one with the lowest ID).
This situation will occur when one element's output is used as input to more
than one other element.
\Tip{Have the {\rm Control Editor} view open during curve result selection.
If you select a control line in the RDB selector dialog box, that line will
also be highlighted in the {\rm Control Editor} view. Vice versa, if you
select a control line in the {\rm Control Editor} view, that control line
will be selected in the RDB selector dialog box. That way you can easily see
which control line you will have to plot to get the variable you want.}
\SubSubSection{Creating curves from file}{creating-curves-from-file}
A curve can be created from an external file by selecting the {\sl From file}
option on the Property Editor panel's {\sl Data} tab. The panel used to define
such a curve is shown below.
\clearpage\noindent
\begin{picture}(343,90)
\put(0,5){\includegraphics[width=\textwidth]{\ReferenceImg/prp/curve-3}}
\put(100,55){\Bullet{1}}
\put(280,55){\Bullet{2}}
\put(330,55){\Bullet{3}}
\put(170,40){\Bullet{4}}
\put(330,40){\Bullet{5}}
\end{picture}
\begin{bulletlist}
\item{\sl File} --
The selected curve data file will be shown here.
\item\textbf{Browse...} button --
Opens a dialog box for selection of curve data file.
The supported file formats are ASCII, nCode DAC and MTS RPC III.
\item\textbf{Reload} button --
If your data file has changed, you can click this button to reload the curve
into the viewer.
\item{\sl Column/channel} --
The name of the selected channel will appear here.
(Only applicable for multi-column ASCII and MTS RPC III files.)
\item\textbf{Select...} button --
If you imported a multi-column ASCII file, or a MTS RPC III file,
you have to select which column or channel to extract data from.
A dialog box for doing so will appear when clicking this button.
\end{bulletlist}
\vskip\parskip
ASCII curve data files may consist of two or more columns of data.
The columns can be separated by either white-space (one or more tab- or
space-characters) or the comma-character ({\tt,}). The first column is taken
as the $X$-axis values. If more than two columns are present in the file,
the actual column to use for the $Y$-axis values is selected from the
dialog box appearing when clicking the \textbf{Select...} button.
The columns are here identified by numbers (1 up to number of columns minus 1,
the first column of the file is not listed). However, it is also possible to
include user-defined descriptions of the columns.
This is done by inserting as the first line of the file, the string
{\tt\#DESCRIPTION} followed by a tab-separated list of headings for each
column (not for the first column).
\Caution{It is not possible to use comma ({\tt,}) as decimal point in ASCII
curve data files in Fedem, as this character is interpreted as a column
separator. Only ({\tt.}) is valid. Therefore, if you have data files exported
from, e.g., a Norwegian version of Microsoft Office Excel, make sure that the
decimal point is correct before importing the file into Fedem.}
The nCode DAC and MTS RPC III formats are proprietary binary formats.
DAC support single-columns files only whereas RPC supports multiple columns
(or channels). Please refer to documentation from nCode and MTS for further
details on these formats.
An alternative way of creating curves from file,
is to import multiple curves into an existing or a new graph,
see \refSection{importing-curves-and-graphs}{Importing Curves and Graphs}.
\SubSubSection{Creating curves from a function}{creating-curves-from-a-function}
A curve can be created from one of the functions defined in your model by
selecting the \textbf{Internal function} option on the Property Editor panel's
{\sl Data} tab. The panel used to define such a curve is shown below.
\noindent
\begin{picture}(343,90)
\put(0,0){\includegraphics[width=\textwidth]{\ReferenceImg/prp/curve-4}}
\put(150,60){\Bullet{1}}
\put(180,35){\Bullet{2}}
\put(265,55){\Bullet{3}}
\end{picture}
\begin{bulletlist}
\item{\sl Start x}, {\sl Stop x}, {\sl Increment} --
Sets the end points for the domain to plot,
and the rate at which the function is sampled.
\item{\sl Function} --
The function to be plotted is chosen from this pull-down menu.
The menu lists all functions currently in your Fedem model.
\item{\sl Auto Increment} --
Most functions have the option to have the resolution set automatically.
If used, Fedem will determine which points are sufficient to describe the
function and plot those. In that case the specified increment is not used.
\end{bulletlist}
\Note{If plotting a Poly-line function with {\rm Auto Increment} set, the
{\rm Start x} and {\rm Stop x} field values are not used either. In this case,
the $X$-axis domain is automatically adjusted to fit the curve point data.}
\SubSubSection{Creating combined curves}{creating-combined-curves}
A curve can be created as a combination of any of the (up to 10) other curves
currently defined in your model by selecting the {\sl Combined curve}
option on the Property Editor panel's {\sl Data} tab.
The panel used to define such a curve is shown below.
\clearpage\noindent
\begin{picture}(343,95)
\put(0,5){\includegraphics[width=\textwidth]{\ReferenceImg/prp/curve-2}}
\put(240,60){\Bullet{1}}
\put(329,35){\Bullet{2}}
\end{picture}
\begin{bulletlist}
\item{\sl Function of A, B, C, ...} --
In this field you may type in a mathematical expression using the upper case
letters in range [{\sl A}, {\sl J}] as variables representing other curves in
the model. Up to 10 other curves may be used in combined curve definition.
The syntax of the mathematical expression follows that of the Math expression
function types,
see \refSubSection{math-expression}{Math Expression}{function-types}.
\item Depending on how many of the variables {\sl A}...{\sl J} you have
specified in the expression field, a number of pull-down menus labeled
{\sl A:}, {\sl B:}, etc., are provided here, in which you can assign a curve
to each variable. Curves of any type may be selected here, also other
{\sl Combined curves,} except for this curve itself or other combined curves
referring to this curve either directly or via other combined curves.
\end{bulletlist}
The {\sl Combined curve} feature is an efficient way of plotting result
quantities that are not stored directly in the results database.
For instance, if you want to plot the stress at a certain point in the beam
element you know that this is just a linear combination of the two bending
moments and the axial force at that point along the beam. You can then
set up this linear combination as an expression where the coefficients involved
depends on the cross section geometry, and using the variables {\sl A}, {\sl B}
and {\sl C} to represent the sectional forces involved.
Then you define three other curves plotting these quantities and select select
them in the corresponding pull-down menu in the {\sl Combine curve} properties.
\clearpage
\SubSection{Fourier analysis, differentiation and integration}
{fourier-analysis-differentiation-and-integration}
Options for performing a Fast Fourier Transform (FFT) of the curve data are
found on the {\sl Fourier Analysis and Differentiation} tab of the Property
Editor panel. The {\sl Fourier Analysis} properties are shown below.
\noindent
\begin{picture}(343,87)
\put(0,2){\includegraphics[trim=0 0 0 19,clip,width=\textwidth]{\ReferenceImg/prp/prp-curve-5}}
\put( 35,50){\Bullet{1}}
\put( 47,40){\Bullet{2}}
\put( 15, 4){\Bullet{3}}
\put(150,13){\Bullet{4}}
\put(280,49){\Bullet{5}}
\put(280,28){\Bullet{6}}
\end{picture}
\begin{bulletlist}
\item{\sl Fourier transform, On/Off} --
When toggled {\sl On} the plotted curve is replaced by its discrete
Fourier transform (the Fourier transform is a representation of the curve
in the frequency domain). The value plotted is the magnitude of the transform.
\EnumNote{The scale and shift parameters specified for the curve
(see \refSection{scale-and-shift}{Scale and Shift}) are applied to
the curve data \underline{before} the transform is computed.
You may \underline{not} scale or shift the transformed curve.}
\item{\sl Time Domain} --
What part of the curve to transform is specified using these options.
If {\sl Entire} is toggled {\sl On}, then data for the curve's entire domain
is used. If {\sl Entire} is toggled {\sl Off}, then a start and stop time
may be set in the fields labeled {\sl Start} and {\sl Stop}, repsectively.
\item{\sl No 0 Hz component} --
The arithmetic mean of the original curve data is reflected in the transform's
value at 0 Hz (the transform's first point). To facilitate transform analysis
you might want to cancel out the 0 Hz component by using this option.
\item{\sl Use sample rate} --
The sample rate used in the transform is by default equal to that of the curve
data. However, if the curve has a non-constant sample rate the transform will
fail. In such cases the wanted sample rate may be input using this field.
\item{\sl Differentiate} --
When this toggle is enabled, the plotted curve is replaced by its derivative,
which is computed from the curve point values $f_i=f(x_i)$ through the formula
$$
f'(x_i) = \frac{1}{2}\left( \frac{f_{i+1}-f_{i}}{x_{i+1}-x_{i}} +
\frac{f_{i}-f_{i-1}}{x_{i}-x_{i-1}} \right)
$$
\item{\sl Integrate} --
When this toggle is enabled, the plotted curve is replaced by the integral of
the curve data, which is computed from the curve point values through the
recursive formula
$$
\int\limits_{x_0}^{x_i}f(x)dx =
\int\limits_{x_0}^{x_{i-1}}f(x)dx + \frac{1}{2}(f_i+f_{i-1})(x_i-x_{i-1})
$$
\end{bulletlist}
\Caution{The Fourier transform needs to be recalculated
each time points are added to the curve.
Consequently, if curves are plotted while the Dynamics solver is run,
then transforming these curves will increase the CPU load during solving.}
\Tip{A good reference on the theory of Fourier transforms is:
W. Rudin, "Real and Complex analysis", McGraw-Hill, 1974.}
\SubSection{Scale and Shift}{scale-and-shift}
Options to scale and shift the curve data are found on the {\sl Scale and Shift}
tab of the Property Editor panel. You may apply scaling and a shift on the curve
data independently in the $X$- and $Y$-directions.
The {\sl Scale and Shift} properties are shown below.
\noindent
\begin{picture}(343,85)
\put(0,0){\includegraphics[trim=0 0 0 19,clip,width=\textwidth]{\ReferenceImg/prp/prp-curve-4}}
\put(-11,50){\Bullet{1}}
\put(160,50){\Bullet{1}}
\put(-10,32){\Bullet{2}}
\put(162,32){\Bullet{2}}
\put(-10,21){\Bullet{3}}
\put(162,21){\Bullet{3}}
\end{picture}
\begin{bulletlist}
\item{\sl Scale} --
Scale factor applied to the $X$- or $Y$-axis values.
\item{\sl Shift values to zero out first value} --
For the $X$-axis; shift the curve horizontally such that its first $X$-value
becomes zero.
For the $Y$-axis; shift the curve vertically such that its first $Y$-value
becomes zero.
\item{\sl Additional shift} --
Additional horizontal/vertical shift (i.e., in addition to the zero-out
operation, if applied) in the curve's $X$/$Y$-values.
\end{bulletlist}
\Note{Scaling the $Y$-axis of a curve will affect the results of fatigue
and damage calculations (see \refSection{fatigue-calculation}
{Fatigue calculation from standard S-N curves}).}
\SubSection{Appearance}{appearance}
The Curve appearance can be altered by selecting the {\sl Appearance} tab
in the Property Editor panel. The associated properties are shown below.
\noindent
\begin{picture}(344,80)
\put(0,0){\includegraphics[trim=0 0 0 27,clip,width=\textwidth]{\ReferenceImg/prp/prp-curve-2}}
\put( 75,41){\Bullet{1}}
\put( 75,28){\Bullet{2}}
\put( 75,16){\Bullet{3}}
\put(240,41){\Bullet{4}}
\put(240,28){\Bullet{5}}
\end{picture}
\begin{bulletlist}
\item{\sl Curve Type} --
You can select {\sl Lines}, {\sl Dots}, or {\sl Invisible} from the
{\sl Curve Type} pull-down menu.
\item{\sl Curve thickness} --
You can adjust the curve thickness with 5 different levels,
from 0 (thinnest) to 4 (thickest).
\item{\sl Curve Color} --
Use the drop-down menu to select a different curve color.
You may either select one of the pre-defined colors, or create a new by
selecting {\sl More...} at the bottom of the drop-down menu.
\item{\sl Symbol type} --
You can select a symbol (cross, circle, triangle, etc.) to display on the
curve. A symbol will be shown on all points of the curve,
so use this with care if it consists of a huge number of points.
\item{\sl Symbol Size} --
Use the spin box to control the size of the symbols.
\end{bulletlist}
\SubSection{Curve Statistics}{curve-statistics}
On the {\sl Curve Statistics} tab you can display different statistical
properties of a curve. The associated properties are shown below.
\noindent
\begin{picture}(343,85)
\put(0,0){\includegraphics[trim=0 0 0 19,clip,width=\textwidth]{\ReferenceImg/prp/prp-curve-3}}
\put(56,54){\Bullet{1}}
\put(56,41){\Bullet{2}}
\put(150,54){\Bullet{3}}
\put(150,41){\Bullet{4}}
\put(230,54){\Bullet{5}}
\put(230,41){\Bullet{6}}
\put(323,55){\Bullet{7}}
\put(286,32){\Bullet{8}}
\put(50,22){\Bullet{9}}
\end{picture}
\begin{bulletlist}
\item{\sl RMS} --
The Root Mean Square value, found from
$$
y_{rms} = \sqrt{\frac{1}{n}\sum_{i=1}^n y_i^2}
$$
\item{\sl Mean} --
The Mean value, $\bar{y}=\frac{1}{n}\sum_{i=1}^n y_i$.
\item{\sl Std.dev.} --
The Standard Deviation (biased), found from:
$$
\sigma = \sqrt{\frac{1}{n}\sum_{i=1}^n ({y_i}-{\bar{y}})^2}
$$
\item{\sl Integral} --
By the Trapezoid rule.
\item{\sl Max} --
The overall maximum of the $y$-values in the curve data set.
\item{\sl Min} --
The overall minimum of the $y$-values in the curve data set.
\item\textbf{Calculate...} --
Press this button to retrieve the statistical values.
\item\textbf{Use scaled/shifted} --
Toggling on this button will make the calculation take into account any scale
and shift values defined in the {\sl Scale and Shift} tab
(see \refSection{scale-and-shift}{Scale and Shift}), and in effect
do the calculations on the curve as it is shown in the graph view.
If the button is toggled off, the unprocessed data will be used.
\item{\sl X Axis Domain} --
Toggle the \textbf{Entire} button on to use all the data points on the curve,
or specify a start and a stop value. If you specify an interval,
two vertical lines at the start and stop values, will appear in the graph view
when you click the \textbf{Calculate...} button.
\end{bulletlist}
\SubSection{Fatigue calculation from standard S-N curves}{fatigue-calculation}
Options to assess fatigue results based on plotted stress histories are found
in the {\sl Rainflow and Fatigue} tab of the Property Editor panel.
The associated properties are shown below. Here, you may select different
standard S-N curves to base the damage calculation on, specify a time interval
for the damage calculation, and evaluate the equivalent life in days, hours or
repeats. For details on how the damage is calculated from a given time history
response, see the \FedemVer~Theory Guide.
\noindent
\begin{picture}(130,85)
\put(0,0){\includegraphics[trim=0 0 0 18,clip,width=\textwidth]{\ReferenceImg/prp/prp-curve-6}}
\put( 80,59){\Bullet{1}}
\put(170,59){\Bullet{2}}
\put(310,59){\Bullet{3}}
\put( -3,39){\Bullet{4}}
\put( -3,10){\Bullet{5}}
\put(295,20){\Bullet{6}}
\end{picture}
\begin{bulletlist}
\item{\sl Standard} --
Select the fatigue standard to use in the calculation.
\item{\sl S-N curve} --
Select an S-N curve from the selected standard.
\EnumTip{The S-N curve standards listed in the Fatigue tab are defined in the
file \File{sn\_curves.fsn} located in the installation directory of Fedem.
The syntax of the S-N curve definitions is description in the header of this
file, and it is possible to add your own S-N curve definitions to it also.}
\item{\sl Stress range threshold} --
Stress ranges with magnitude below this threshold are ignored in the stress
cycle counting (rainflow analysis).
\item{\sl Damage}, {\sl Life}, {\sl Life unit} --
The {\sl Fatigeu Results} frame displays the damage results for the plotted
stress history. The life is displayed in days, hours or repeats,
depending what you select from the {\sl Life unit} drop-down.
\item{\sl Start}, {\sl Stop}, {\sl Entire} --
You can specify what part of the curve to use for fatigue calculations by
setting the {\sl Time Interval} options. If {\sl Entire} is toggled {\sl On},
data for the entire domain of the curve is used. If it is toggled {\sl Off},
the time interval is specified by the {\sl Start} and {\sl Stop} fields.
\item{\sl Show rainflow} --
When this toggle is enabled, the plotted curve is replaced by the results of
the Rainflow calculation, i.e., it shows the magnitudes of the stress ranges