This repository was archived by the owner on May 15, 2024. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathlearning_basics.tex
More file actions
2253 lines (1804 loc) · 95.2 KB
/
Copy pathlearning_basics.tex
File metadata and controls
2253 lines (1804 loc) · 95.2 KB
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.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\Variable#1{\textless#1\textgreater}
\def\Untitled{\File{untitled\_\Variable{\#}.fmm}}
\Chapter{Learning the Basics}{learning-the-basics}
This chapter outlines some system requirements,
explains how and where models and their results are saved,
and introduces the Fedem GUI with some basic commands.
Sections in this chapter address the following topics:
\begin{itemize}
\item
\protect\hyperlink{system-requirements}
{System requirements}
\item
\protect\hyperlink{storing-models-and-results}
{Storing models and results}
\item
\protect\hyperlink{starting-fedem}
{Starting Fedem}
\item
\protect\hyperlink{touring-the-interface}
{Touring the interface}
\item
\protect\hyperlink{executing-commands}
{Executing commands}
\item
\protect\hyperlink{visualizing-the-model}
{Visualizing the model}
\item
\protect\hyperlink{opening-and-saving-model-files}
{Opening and saving model files}
\item
\protect\hyperlink{loading-and-unloading-fe-data}
{Loading and unloading FE-Data}
\item
\protect\hyperlink{exporting-objects}
{Exporting objects}
\item
\protect\hyperlink{customizing-fedem-using-plug-ins}
{Customizing Fedem using plug-ins}
\item
\protect\hyperlink{customizing-fedem-using-addons}
{Customizing Fedem using Addons}
\end{itemize}
\clearpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Section{System requirements}{system-requirements}
The following are minimum system/hardware requirements and recommended
settings for optimal Fedem performance.
\Note{Use of resolution settings other than those recommended below may
require you to move or resize windows and dialog boxes to fit your screen.}
\begin{center}
\begin{threeparttable}[b]
\begin{tabular}{ | m{3.5cm} | m{6.5cm} | }
\hline
\textbf{Processor} & Recommended: Pentium 4 @ 2 GHz. \newline
Minimum: Pentium III @ 850 MHz. \\ \hline
\textbf{RAM} & Recommended: 2 GB. Minimum: 256 MB. \\ \hline
\textbf{Free disk space} & Dependent upon the size and complexity of mechanism models.\tnote{1} \\ \hline
\textbf{Graphics card} & Recommended: high end graphics card. \newline
Required: OpenGL\Registered API support. \\ \hline
\textbf{Pointing device} & Three-button mouse with wheel. \\ \hline
\textbf{Resolution setting} & 1,280 x 1,024 pixels or higher. \\ \hline
\end{tabular}
\begin{tablenotes}
\item[1]{Larger models may require several GBs.}
\end{tablenotes}
\end{threeparttable}
\end{center}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Section{Storing models and results}{storing-models-and-results}
Fedem uses the following files and directories to store the contents of a model:
\begin{itemize}
\item The mechanism assembly description and all simulation parameters
are saved in the Fedem Mechanism Model (\File{.fmm}) format.
This file is called the model file and contains the complete description
of your model except for the FE data files and the simulation results.
\item FE data files and all simulation results are saved in a directory named
\File{\Variable{modelfilename}\_RDB} (the model name specified by the user
is substituted for \File{\Variable{modelfilename}}).
Fedem creates this directory in the same location as your model file.
Within this directory, the FE data files are stored in a directory named
\File{link\_DB}, unless a FE model repository is used
(see \refSection{using-fe-model-repositories}{Using FE model repositories}).
\end{itemize}
\refAppendix{file-types-and-usage}{File Types and Usage} contains more
information about Fedem file types, whereas the directory structure is shown in
\refSection{rdb-directory-structure}{RDB directory structure}.
\SubSection{FTL format}{ftl-format}
The Fedem Technology Link (\File{.ftl}) format is used to store
FE models as sets of data in text format
(see \refSection{fedem-technology-link-format}{Fedem Technology Link format}
for more information about the \File{.ftl} file format).
\SubSection{FTC format}{ftc-format}
The Fedem Technology Cad (\File{.ftc}) format may be used to store CAD
geometry in text format.
\SubSection{Other supported formats}{other-supported-formats}
Fedem can import FE models
(see \refSection{creating-parts-by-file-import}{Creating parts by file import})
in the MSC.Nastran Bulk Data File (\File{.bdf} or \File{.nas}) format
(see \refSection{nastran-bulk-data-file-format}{Nastran Bulk Data File format})
and the SESAM input interface file (\File{.FEM}) format.
Earlier versions used the Fedem Link Model (\File{.flm}) format.
This file format is still supported for backward compatibility.
Fedem can also import CAD geometry from VRML files (\File{.wrl}, \File{.vrml},
\File{.vrl}, \File{.wrz}) for visualization of Generic Parts
(see \refSection{parts}{Parts}).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Section{Starting Fedem}{starting-fedem}
Fedem can be started from either the Windows Start menu,
the Windows file browser, or the command prompt.
\begin{itemize}
\item To start Fedem with a new, empty model, press the Fedem icon on the
Windows Desktop or choose \textbf{Fedem} from the Windows Start menu.
\item To start Fedem and open an existing model, double-click the icon
representing the desired model file in the Windows file explorer.
\item Open a command prompt, navigate to the installation directory of Fedem
and type \File{fedem} optionally followed by some command line options
(see \refSection{command-line-options}{Command-line options}).
\item To open an existing model from the command prompt,
navigate to the installation directory and type
\File{fedem -f \Variable{modelpath}.fmm} substituting
\File{\Variable{modelpath}} with the path and base name of your model file.
Alternatively, navigate to the directory of the model file and type
\File{\Variable{installationdir}/fedem -f \Variable{modelfile}.fmm}, where
\File{\Variable{installationdir}} is replaced by
the directory name of the Fedem installation, and
\File{\Variable{modelfile}} is the base name of the model.
\end{itemize}
When Fedem is started with a new, empty model, the model file is named
\Untitled, where \File{\Variable{\#}} indicates a unique running number. This
empty model file will contain only some default settings, animations and graphs.
The file will be created in your default login directory when Fedem is started
from the Desktop icon or from the Windows Start menu.
\SubSection{Command-line options}{command-line-options}
Fedem has several command-line options that can be used to achieve
different tasks or settings. These options can be invoked when starting
Fedem from the command prompt. Among others, you have options for
starting Fedem in batch mode without any GUI at all, which is useful when
you just want to run an existing model without modifying it.
Refer to \refSection{fedem-gui-options}{Fedem GUI options}
for the complete list of available command-line options.
\Tip{You can create a new model file with a specific name by specifying
a path and filename that does not yet exist, using the -f option.
The file will be created for you and opened when Fedem starts.}
\SubSection{Template model file}{template-model-file}
The default settings of a new model are stored in a template model file
which is loaded whenever a new model is created
(either when Fedem is started, or when using the \textbf{New} command,
see \refSection{starting-a-new-model}{Starting a new model"}).
The template file can be modified or changed as needed, and is located in
\File{\Variable{installationdir}/Templates/default.fmm}.
If a different location for the template file is wanted, the environment
variable FEDEM\_TEMPLATE\_FILE can be defined to contain the desired
path to the template file.
\subsubsection{Predefined template files}
The \File{Templates} directory of the Fedem installation contains three
files; \File{default.fmm}, \File{default\_m.fmm} and \File{default\_mm.fmm}.
The files \File{default.fmm} and \File{default\_m.fmm} are identical and
suitable for models using SI unit set, while \File{default\_mm.fmm} contains
default settings that are suitable for models using millimeter, newton and
mega gram as unit set. Simply copy the file \File{default\_mm.fmm} to
\File{default.fmm} if you prefer mm/N/Mg as your default unit set.
\SubSection{Console window}{console-window}
When Fedem is started on a Windows system, a separate console window can
be opened in addition to the Fedem main window, by specifying the
command-line option \File{-console}. This window lists some startup
messages, and may also contain some low-level error messages during a
Fedem session, that normally can be ignored by users, but sometimes
might help understanding an abnormal incident.
\Warning{Once opened, the separate console window must remain open
throughout the whole Fedem session; closing it explicitly closes the entire
Fedem session immediately, without the option to save unsaved work.}
\Tip{If abnormal behavior occurs, or if Fedem stops responding,
check the console window (if activated) and the Output List
(discussed later) for important information.
Take note of any errors or warnings before contacting Fedem technical support
(\href{mailto:[email protected]}{\nolinkurl{[email protected]}}).}
After finishing some initial setup tasks, the Fedem GUI main window will appear.
In the following sections, the Fedem GUI is described in detail.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Section{Touring the interface}{touring-the-interface}
\SubSection{Main window}{main-window}
Starting with an empty model file,
the main window of the Fedem GUI appears, as shown below.
\begin{figure}[H]
\begin{picture}(360,260)
\put(-80,169){\includegraphics[width=0.2\textwidth]{Figures/2-Guide}}
\put(15,0){\includegraphics[width=0.85\textwidth]{Figures/2-MainUI}}
\put(-8,222){\Bullet{1}\huge\{}
\put(55,205){\Bullet{2}}
\put(-88,215){\Bullet{3}}
\put(100,205){\Bullet{4}}
\put(55,53){\Bullet{5}}
\put(120,55){\Bullet{6}}
\put(40,1){\Bullet{7}}
\end{picture}
\end{figure}
\begin{bulletlist}
\item{\sl Menus and tool bars} --
contain buttons used to initiate commands.
\item{\sl Model Manager panel} --
contains the {\sl Objects} and {\sl Results} tabs, which allow you to create,
manage, and delete the objects in your model and define Animations and Graphs
of your results.
\item{\sl Guide panel} --
This orange panel may pop up above the Model Manager panel when you invoke
a command. It will tell you what you are expected to do during the different
steps of the command. It also provides \textbf{Done} and \textbf{Cancel}
buttons used to accept choices or to cancel the command, respectively.
\item{\sl Workspace area} --
contains the {\sl Modeler}, {\sl Control Editor} and {\sl Graph} views
for constructing and viewing models and results.
\item{\sl ID and Topology panel} --
lists objects related to the selected item.
\item{\sl Property Editor panel} --
allows you to view and edit the properties of individual objects in the model.
\item{\sl Status bar} --
provides information of the status, progress information
and whether a solver process is running.
\end{bulletlist}
\SubSection{Menus and tool bars}{menus-and-tool-bars}
Fedem commands are initiated from buttons on the tool bars and menus.
All commands can be accessed from the menus, while the tool bars display only
the most commonly used commands.
The menus are arranged from left to right in logical order of task execution,
starting with standard file functions, then continuing with viewing commands,
mechanism modeling, control system modeling, analysis/solution tools,
and finally results management.
\subsubsection{Command sensitivity}
Menu and tool bar buttons are sensitive to the active view and object
selection. For example, if an object in the {\sl Modeler} view is
selected, the {\sl Graph} view controls appear dimmed (grayed-out) and
cannot be selected.
\subsubsection{Fedem tool bars}
Fedem uses the following tool bars (a tool bar handle to the left (or on
top) marks the beginning of a tool bar):
\begin{itemize}
\item{\sl Standard} --
provides standard file operations such as \textbf{Open}, \textbf{Save},
\textbf{Exit}, and selecting and deleting objects.
\item{\sl Windows} --
provides commands for controlling the active view selection
({\sl Modeler}, {\sl Control Editor}, {\sl Output List},
{\sl Result File Browser})
and hiding/showing the Model Manager and Property Editor panels.
\item{\sl Zoom and Pan} --
provides commands for zooming and panning of {\sl Graph} view displays.
(See \refSection{zoom-and-pan}{Zoom and Pan} for more information
about these commands.)
\item{\sl 3D View Control} --
includes commands for rotating the view and changing the view perspective
in the {\sl Modeler} view. (See \refSection{view-controls}{3D View controls}
for information about manipulating the view.)
\item{\sl Solvers} --
these commands are used to set up, start, and stop mechanism analyses,
and to calculate specific results.
(See \refChapter{mechanism-analysis}{Mechanism Analysis} for information
about these commands.)
\item{\sl Mechanism Creation} --
contains commands for importing parts and creating mechanism entities
such as Joints, Springs, Dampers, Forces, Sensors, etc.
(See \refChapter{mechanism-elements}{Mechanism Elements} for more information.)
\item{\sl Mechanism Tools} --
provides commands used in modeling such as moving, attaching, copying objects,
and applying motion constraints.
(See \refChapter{mechanism-elements}{Mechanism Elements}
for information about modeling tools.)
\item{\sl Control Creation} --
provides commands for creating control objects.
(See \refChapter{control-system-modeling}{Control System Modeling}
for detailed descriptions of control objects.)
\item{\sl Control Tools} --
contains commands for manipulating the control system.
(See \refChapter{control-system-modeling}{Control System Modeling}
for information about modeling control systems.)
\end{itemize}
\SubSubSection{Manipulating tool bars}{manipulating-tool-bars}
\begin{wrapfigure}{r}{0.25\textwidth}
\includegraphics[width=0.25\textwidth]{Figures/1st_Joint_Pulldown}
\end{wrapfigure}
Only some of the commands accessible from the tool bars are displayed. You will
see that there are arrows ($\blacktriangledown$) beside some of the icons.
To access other commands, click and hold down the $\blacktriangledown$ button.
A menu of additional, related commands is displayed (example at right).
Selecting a command from the menu initiates the command and replaces the
button’s function with that of the new command. You can select another
option at any time by clicking, holding down the $\blacktriangledown$ button,
and selecting a different command.
\clearpage
Fedem provides several ways to manage tool bars:
\begin{itemize}
\item Right-click a tool bar handle and select an option
to relocate, show, or hide the tool bar.
\item Right-click an empty space in the tool bar area and select
an option from the list to show or hide a tool bar.
\item Double-click a tool bar handle to show or hide the tool bar.
\item Drag a tool bar handle to the left, right, top, or bottom of
the main window to relocate the tool bar.
\end{itemize}
\SubSection{Model Manager}{model-manager}
\begin{wrapfigure}{r}{0.35\textwidth}
\includegraphics[width=0.35\textwidth]{Figures/2-ModelManager}
\end{wrapfigure}
The Model Manager Panel contains lists of all the objects and result views
that make up your model. This includes mechanism, modeling, and control
system objects, along with animations and graphs. In each list,
objects are grouped by type and sorted by identification numbers or names.
In the Model Manager panel, right-click menus can access several
commands that can be applied to the selected objects.
% Can't use the \Note macro here due to the wrapfigure above
\MiniGenericNote{note}{NOTE}{-25mm}{0.8}{0.13}{0.7}{
The Objects and Results lists are empty (or nearly empty)
until you create some items.}
\SubSubSection{Selecting items}{selecting-items}
In the Model Manager panel, you can select items in several ways:
\begin{itemize}
\item Highlight a single item.
\item Hold down the Shift key and click multiple items.
\item Hold down the Ctrl key and click multiple items
(or a single item to select/deselect).
\item Click and drag the mouse over multiple items.
\end{itemize}
\subsubsection{Deselecting items}
To deselect all items, right-click an empty space in the Model Manager panel.
\subsubsection{Sorting}
The objects in the Model Manager panel can be sorted, either by ID-number or
by item name. To switch sorting mode, right-click inside the panel and
select either Sort by ID or Sort by Name from the menu that appears.
By default, the sorting is based on ID-numbers.
\Tip{Right-clicking in the Model Manager panel will display a pop-up menu
with commands that applies to the current selection.
The contents of this menu depend on the type of the selected object.}
\subsubsection{Objects}
The {\sl Objects} tab displays a list of all modeling objects in your
model. Selecting an item from this list highlights it in the
{\sl Modeler-} or {\sl Control Editor} view and displays its
properties in the Property Editor panel.
\subsubsection{Results}
The {\sl Results} tab displays a list of the result views you have
created. The available result views are graphs which contains curves
(individual sets of plotted data), and animations.
Selecting a graph from this list will cause the view containing the
selected graph to pop up, if loaded. Selecting a curve will highlight it
(the curve is rendered red) and raise the graph view in which it resides
as well.
The properties of the different result objects are shown in the
Property Editor panel when they are selected.
See \refChapter{postprocessing-results}{Postprocessing Results}
for more information about graphed and animated results.
\clearpage
\SubSection{ID and Topology panel}{id-and-topology-panel}
\begin{wrapfigure}{r}{0.4\textwidth}
\includegraphics[width=0.4\textwidth]{Figures/ID_Topology window}
\begin{picture}(135,0)
\put( 60,105){\Bullet{1}}
\put(120,105){\Bullet{2}}
\put(-15, 60){\Bullet{3}}
\end{picture}
\end{wrapfigure}
When an object in the model is selected, the ID and Topology panel
displays information related to the object as described below.
If multiple items are selected, only the item selected last is displayed.
\begin{bulletlist}
\item{\sl Item Type} --
the type of the selected object (for example, Revolute joint, Gear, Spring).
\item{\sl ID Number} --
a unique integer that distinguishes one item of the same type from another.
\item{\sl Topology view} --
a list that displays the mechanism objects related or connected to
the selected item.
\end{bulletlist}
\Tip{The Plotted by branch in the Topology view lists all curves that plot
result quantities from the selected structural object.}
ID numbers are assigned automatically to new objects in numerical order.
If you delete an object such as a Ball joint with ID Number 3, this number
is free and the next Ball joint created is then assigned ID Number 3.
\subsubsection{Topology view and browsing}
Most mechanism components are related to other objects; for example, Joints
consists of Triads that are connected to Parts, and Sensors are measuring
variables from other mechanism components.
These relations are shown by the {\sl Topology} view in a hierarchical fashion,
indicating their topological relationships.
This list can then be used to investigate these related objects,
and to browse through the mechanism model through the topological connections.
This can be done by using the browsing features offered by the
{\sl Topology} view, as described below.
The items in the {\sl Topology} view will be highlighted in the {\sl Modeler}
view when you select an item keeping the mouse button pressed.
This is useful to see exactly which object in the 3D view that corresponds
to the listed item.
\begin{wrapfigure}{r}{0.25\textwidth}
\includegraphics[width=0.25\textwidth]{Figures/2-TopologyViewPopupMenu}
\end{wrapfigure}
Right clicking an item in the {\sl Topology} view will show a tiny pop-up
menu that allows you to either \textbf{Zoom To} or \textbf{Select} the
item, or to do a \textbf{Select All}.
\clearpage
\begin{itemize}
\item\textbf{Zoom To}:
This command zooms to the item making it easy to locate it in a complex model.
See also \refSection{zoom-and-pan}{Zoom and Pan}.
\item\textbf{Select}:
This command selects the right-clicked object from the {\sl Topology} view,
and thus jump to it showing the properties of that item instead. See also
\refSection{select}{Select} on how to get back to your previous selection.
\item\textbf{Select All}:
This command will select all top-level objects currently in the
{\sl Topology} view, but showing the properties of the last object only.
The effect of this command is the same as doing a multi-selection from the
{\sl Objects} list view of Model Manager panel using the \textbf{Shift} key,
see \refSubSection{selecting-items}{Selecting items}{model-manager}.
\end{itemize}
\Tip{Double clicking an item in the Topology view will also select it.}
\SubSection{Property Editor}{property-editor}
The Property Editor panel is used to view and edit the properties
of mechanism items. The appearance of properties is different
depending on the object selected. The image below is an example
showing properties that are common to some of the Fedem modeling objects.
\begin{figure}[H]
\begin{picture}(340,75)
\put( 20, 0){\includegraphics[width=0.9\textwidth]{Figures/2-PropertyPanel}}
\put( 19, 0){\line(-1,0){7}}
\put( 12, 0){\line(0,1){65}}
\put( 12,65){\line(1,0){7}}
\put( 50,65){\Bullet{1}}
\put(240,65){\Bullet{2}}
\put(307,56){\Bullet{3}}
\put(318,56){\Bullet{4}}
\put( -2,30){\Bullet{5}}
\end{picture}
\end{figure}
\begin{bulletlist}
\item{\sl Description} --
an optional user-supplied name or identifying remarks.
\item{\sl Tag} --
an optional identifier which can be used to refer to the object from
python scripts using the fedempy interface.
\item\includegraphics[scale=0.5]{Figures/Icons/selectbackward}
\includegraphics[scale=0.5]{Figures/Icons/selectforward} --
buttons for navigating back and forth through the latest selections
\item\includegraphics[scale=2.0]{Figures/Icons/help} --
help button that opens the Reference guide on the Property Editor guide
content, depending on the type of the selected object.
\item{\sl Properties} --
editable attributes specific to the selected object.
\end{bulletlist}
\Note{The description field may contain any ASCII-character,
except for the “-character which is reserved for text string
delimiters in the model file.}
\Note{The description field is also used to activate beta features,
see \refAppendix{beta-feature-documentation}{Beta feature documentation}.}
\Caution{After editing a value in the Property Editor panel by typing,
you must press the Enter key to apply the change.}
\subsubsection{Property menus}
\begin{wrapfigure}{r}{0.4\textwidth}
\includegraphics[width=0.4\textwidth]{Figures/2-PropertyValueMenu}
\end{wrapfigure}
Many mechanism items have internal properties that can depend on the
simulation time, measurement of a system variable or some internal
variable in the item in question. Property menus are used to
set up such properties in a simple way. These menus consist of
an option menu that in some cases are editable, and an \textbf{Edit} button.
\begin{wrapfigure}{r}{0.4\textwidth}
\includegraphics[width=0.4\textwidth]{Figures/2-PropertyValueMenu-Open}
\end{wrapfigure}
The menu contains references to other entities in your model
that can be used as input for the property in question.
A non-linear spring characteristic (e.g., a force-displacement curve)
will be listed in the stiffness property menu of an Axial spring,
Functions and Control outputs will be listed in the magnitude property menu
of a load, etc. Press the menu button to access the list.
\vskip\parskip
\IconText{pencilbutton}{By pressing the \textbf{Edit} button
you will select the item shown in the menu, as if you had selected it in the
Model Manager panel.
This is a convenient way of navigating through the relations of the model,
giving a simple way of finding the details of a complex model.}
In some of the property menus, a numeric value can be entered
instead of selecting a reference from the menu.
The spring stiffness property is a good example.
Entering a numeric value will assign that value as a constant spring
stiffness to the spring in question.
\Tip{Property menus that accepts a numeric value always have a numeric value
as default, while “None” is normally the default for Property menus
not accepting a number.}
To change a property from referring to a constant, select
the top entry in the pull-down list (which is either None
or the last numerical value that was entered in the same box),
or delete the current contents of the box, type in a numerical
value and then press Enter to apply the change.
\clearpage
\SubSection{Object Browser}{object-browser}
An alternative tool to display (but not edit) the detailed properties of
mechanism objects is via the Object Browser dialog box.
\IconText{objectBrowser}{It is opened by selecting \textbf{Objects Browser...}
from the \textbf{Tools} menu, or from the right-click menu in the
{\sl Objects} list view of the Model Manager panel.
The Fedem Object Browser dialog box is shown below.}
\begin{figure}[H]
\begin{picture}(340,277)
\put(0,0){\includegraphics[width=\textwidth]{Figures/Dialogs/2-ObjectBrowser}}
\put(16,213){\Bullet{1}}
\put(47,213){\Bullet{2}}
\put(90,213){\Bullet{3}}
\put(205,220){\Bullet{4}}
\end{picture}
\end{figure}
\begin{bulletlist}
\item{\sl BaseID} --
This column lists the base ID of the objects.
These are unique ID numbers over all objects in the model that are used for
internal book-keeping only. They are not visible in the Fedem GUI elsewhere.
\item{\sl Type and UserID} --
This column lists the type and user ID of the objects, which are used as
unique identification of the objects elsewhere in the Fedem GUI.
The user ID consists of a comma-separated list of values in brackets []
when the object is part of a higher-level sub-assembly, see
\refSection{user-id-convention}{User ID convention in assemblies}.
\item{\sl Description} --
This column lists the description string of the objects.
\item{\sl Object details:} --
This field lists in plain text all the information stored for the selected
object in the model database. The formatting of this list resembles that of
the model file (\File{.fmm}) itself.
The first line contains the model file keyword for the selected object.
Then the field name (in upper case) and value of each data field of that
object (including also the base- and user ID and description found in the
first three column) are listed in alphabetic order of the field name.
\end{bulletlist}
\Tip{The list in the left half of the Object Browser can be sorted with respect
to the base ID, Type and User ID, or Description, by clicking on the
respective column headings.}
When opened, the Object Browser dialog box
will display details for the currently selected object in the model. You can
also search for objects by typing their description in the search field and
clicking the search button. The Object Browser will list all objects in the
model if the search field is blank, or if no object was selected when the
dialog box was opened.
\Note{The Object Browser dialog box only displays objects that affect
the numerical simulation of the model. Therefore, result objects
(Graphs, Curves, Animations) as well as higher-level sub-assembly objects
are not listed.}
The main purpose of the Object Browser dialog box is to provide an
overview of the keywords and field names used for the various object types
in the model file, as these are necessary for setting up the simulation events
when, for instance, a model consists of multiple load cases.
See \refSection{using-simulation-events}{Using simulation events}.
\SubSection{Workspace}{workspace}
The Workspace area is used for constructing, manipulating,
and viewing mechanism models, control systems, graphs and animations.
The Workspace can contain several views, including the {\sl Modeler},
{\sl Control Editor}, and multiple {\sl Graph} views.
These views are described in the following sections.
\Tip{The views in the Workspace can be managed using the
\textbf{Tile} and \textbf{Cascade} commands from the \textbf{Windows} menu.}
\SubSubSection{Modeler}{modeler}
The Modeler view displays a 3D rendering of your mechanism and provides
dynamic viewing capabilities such as zooming, panning, and 2- and 3-dimensional
rotation (see \refSection{navigation}{3D Navigation}).
This view is also used to show animated simulation results.
Select the Modeler view to view, create, or edit a mechanism model.
\IconText{modeler}{To open the Modeler view, select \textbf{Show Modeler}
from the \textbf{Windows} tool bar or menu.
The {\sl Modeler} view is then displayed as shown below.
See also \refSection{modeler-view}{Modeler view}.}
\begin{figure}[!h]
\center
\begin{picture}(293,193)
\put(0,0){\includegraphics[width=0.85\textwidth]{Figures/2-Modeler}}
\put(100,100){\Bullet{1}}
\put(30,30){\Bullet{2}}
\end{picture}
\end{figure}
\begin{bulletlist}
\item{\sl Reference Plane} --
The shaded area in the center of the Modeler view represents a plane,
which can be considered the ground or base for your models.
\item{\sl Global Directions} --
The arrows located in the lower left corner of the Modeler view show the
orientation of the global coordinate system and the direction of the
gravity vector, $\bf g$.
\end{bulletlist}
\Tip{The Modeler view can be expanded to almost full screen size by hiding
the Model Manager and Property Editor panels. To hide these panels,
click the \textbf{Model Manager} and \textbf{Property Editor} buttons on
the \textbf{Windows} tool bar (or from the \textbf{View} menu).
Hiding the tool bars also increases the viewing area of the {\sl Modeler} view
(see \refSubSection{manipulating-tool-bars}{Manipulating tool bars}
{menus-and-tool-bars}).}
\begin{picture}(100,0)
\put(-77,15){\includegraphics[width=7mm]{Figures/Icons/modelManager}}
\put(-49,15){\includegraphics[width=7mm]{Figures/Icons/propertyPanel}}
\end{picture}
\subsubsection{Control Editor}
The Control Editor view is a workspace for editing the control system.
The graphical representation is a block-based diagram that consists of a series
of control blocks that can be connected to simulate your control system.
This editing environment allows you to create and manipulate the control system
using drag-and-drop functionality. It also features grid and snapping tools
(see \refSection{setting-grid-and-snap}{Setting Grid and Snap}).
\IconText{controlEditor}{To open the Control Editor view,
click the \textbf{Show Control Editor} button on the \textbf{Windows} tool bar
(or from the \textbf{Windows} menu). The Control Editor view
displays the control system (an example is shown below).
See \refChapter{control-system-modeling}{Control System Modeling}
for more information on the topic.}
\begin{figure}[H]
\center\includegraphics[width=0.8\textwidth]{Figures/cs_example}
\end{figure}
\Note{The Control Editor view is empty until you create control elements.}
\subsubsection{Graph Views}
The Graph view can display various graphed results. You can customize graphs
of selected simulation results and manipulate the Graph view.
\IconText{graphGroup}{To open a Graph view, right-click the Graph from the
{\sl Results} list of the Model Manager panel, and select \textbf{Show Graph}.
The Graph views are displayed in the Workspace area as shown below.}
\begin{figure}[H]
\center\includegraphics[width=0.86\textwidth]{Figures/graphsCOLOR}
\end{figure}
\def\OutputList{\protect\hyperlink{output-list}{\sl Output List}~}
\SubSection{Output List}{output-list}
The Output List view displays written output from Fedem,
such as a log of commands and solver executions, and error messages.
%This view allows you to observe the commands performed by Fedem.
\vskip\parskip
\IconText{outputList}{To open the Output List view,
select \textbf{Show Output List} from the \textbf{Windows} menu or tool bar.}
\begin{figure}[H]
\center\includegraphics[width=0.8\textwidth]{Figures/Output_List_window_COLOR}
\end{figure}
The text in the Output List view is also written to a log file.
The name of this log file is the same as the current model file name,
but with extension \File {.log} instead of \File{.fmm}.
Therefore, a new log file is opened whenever you \textbf{Open} a
new model, or perform a \textbf{Save As...} command.
\Note{If a log file already exists for the model you open from an earlier
Fedem session, the output from the current session is appended to that file.
That means that the entire history of the Output List content for the model
is recorded. In addition, the date and time of the model open and close
operations, as well as the Fedem version used, are recorded to the log-file.}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Section{Executing commands}{executing-commands}
\hskip-33mm
\begin{minipage}{1.4\textwidth}
\begin{tabular}{p{0.16\textwidth} p{0.49\textwidth} p{0.35\textwidth}}
\vspace{0pt} \includegraphics[width=25mm]{Figures/2-mousebuttons} &
\vspace{0pt} \raggedright
When performing commands in Fedem, the Guide panel prompts you
with instructions for completing each command. You may be asked to select
mechanism objects or locate points to place or move objects.
Performing commands makes use of three actions:
\textbf{Select}, \textbf{Done} and \textbf{Cancel}. &
\vspace{0pt} \includegraphics[width=32mm]{Figures/2-Guide}
\end{tabular}
\end{minipage}
\SubSection{Select}{select}
To select items in your model, or points on objects as references for
moving or creating items, place the cursor over the object or position
and press the left mouse button (left-click). The item is highlighted
and its properties can then be edited in the Property Editor panel.
\Note{Some commands require that an object is selected from views in the
Workspace area only, such as the Modeler or Control Editor views.
Instructions regarding these commands are provided in the Guide panel.}
\Tip{To deselect an item, simply click an empty space within the Modeler view.}
\subsubsection{Snapping}
When selecting objects in your model, the selection automatically snaps to
a point on the object such as the nearest node on an FE part, the center point
of a joint, and so on. This makes your selection quick and accurate.
Snapping behaves differently on different types of objects. FE parts, VRML
models, CAD parts and mechanism symbols all have different snapping policies.
Selection snaps to FE nodes on FE parts, to vertices on a VRML part,
to geometry features such as center points and edges on CAD parts,
and to important points on other mechanism symbols.
\subsubsection{Multiple selection}
Some Fedem commands, such as \textbf{Smart Move} and \textbf{Delete},
allow you to select several items at once. To select more than one item,
press and hold down the \textbf{Ctrl} key and then click the items you want
to add to your selection.
If you accidentally add the wrong object to the selection, simply
release the Ctrl key and click an empty space within the Modeler view.
The last selected item is deselected.
\subsubsection{Selection history}
Fedem maintains a history of the items you have selected suring the current
session, which can be accessed using the \textbf{Select Backward} and
\textbf{Select Forward} commands:
\vskip\parskip
\IconText{selectbackward}{To choose a previous selection,
press the \textbf{Select Backward} button.
You may need to press it several times to cycle back through the selections
until the desired object or selection is reached.}
\IconText{selectforward}{To select a recent selection,
press the \textbf{Select Forward} button once or as many times as necessary
until the desired selection is reached.}
\subsubsection{Co-located items}
Sometimes several items in a model are located very close together or
on top of each other; in Fedem, these are called co located items.
To select a co located item, click the same spot several times to
cycle through the items. Fedem cycles from the item closest to the viewer to
the one furthest from the viewer.
\subsubsection{Selection Filter}
Some Fedem commands allow you to select only certain types of items.
These restrictions are automatically imposed and based on the type
of command in use. For example, sensors cannot be applied directly to
parts, and Fedem will therefore limit your selection to other types
of mechanism items. To make the selection even easier, you can also
filter the selectable items by limiting the types of items displayed
in the {\sl Modeler view}.
\Tip{To limit the display of mechanism objects, click the
\textbf{General Appearance} button on the \textbf{Standard} tool bar,
then disable Mechanism symbols as necessary.
(See also \refSection{general-appearance}{General Appearance}.)}
\subsubsection{Selecting ground}
To select the ground during modeling,
simply click anywhere on the Reference Plane.
\SubSection{Done}{done}
When executing a command in Fedem, the Guide panel prompts you to select
items or locate points. When you have achieved the desired selection, press
the \textbf{Done} button in the Guide panel to accept it.
\Tip{You can also press the center mouse button within one of the Workspace
views or the \textbf{Enter} key on the keyboard to accept the selection.}
\SubSection{Cancel}{cancel}
To abort or escape a command procedure,
press the \textbf{Cancel} button on the Guide panel.
\Tip{You can also press the right mouse button within one of the Workspace views
or the \textbf{Esc} key on the keyboard to cancel a command.}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Section{Visualizing the model}{visualizing-the-model}
\SubSection{3D Navigation}{navigation}
The 3D navigation commands enables you to change the view without interrupting
the current command or procedure.
There are several different sets of viewpoint control commands:
\begin{itemize}
\item Middle mouse button/wheel + mouse motion
\item Function keys (\textbf{F1}, \textbf{F2}, \textbf{F3}
and \textbf{F4} + mouse motion)
\item Keyboard keys
\item Predefined view tool buttons
\end{itemize}
\subsubsection{Middle mouse button/wheel}
Pressing and holding the middle mouse button (or wheel if your mouse have that)
while moving the mouse will rotate the view around the rotation center.
If the button/wheel was pressed near the edge of the 3D view, the rotation will
be restricted to the viewport’s normal axis.
Rolling the mouse wheel will zoom in and out. When the mouse wheel is used to
zoom in, the view will be zoomed towards the position of the mouse pointer
giving a combined zoom and pan behavior.
Using the middle mouse button commands is the mostly used 3D navigation method.
\subsubsection{Function keys}
The function key based navigation can be used when you need added control
over the navigation. The commands include:
\begin{itemize}
\item Pan \includegraphics[scale=0.7]{Figures/pan} (\textbf{F1})
\item Zoom \includegraphics[scale=0.7]{Figures/zoom} (\textbf{F2})
\item Rotate \includegraphics[scale=0.7]{Figures/rotate} (\textbf{F3})
\item Select rotation center
\includegraphics[scale=0.7]{Figures/rotate_center} (\textbf{F4})
\end{itemize}
%These functions are often useful while working in the Modeler view.
%We recommend that you keep your left hand near these function keys while you work.
To use the function key commands, press and hold the function key,
and move the mouse to manipulate the view. The manipulation will only occur
as long as the mouse is inside the Modeler view.
By pressing the left mouse button, you may avoid this restriction.
When the function key is released, the manipulation stops.
\Caution{When pressing the left mouse button while using the function keys,
Fedem grabs the mouse and keyboard control.}
\subsubsection{Pan - (F1)}
The Pan \includegraphics[scale=0.7]{Figures/pan} command shifts the view left,
right, up or down.
\subsubsection{Zoom - (F2)}
The Zoom \includegraphics[scale=0.7]{Figures/zoom} command moves the scene
closer or further away from the camera.
It pays attention to the rotation center, and will zoom towards it
(see \protect\hyperlink{select-rotation-center}{\sl"Select rotation center (F4+Select)"} below).
This is useful when you need to examine an object or its components closely.
\Tip{To achieve maximum zoom at a specific point, select the point using
Select rotation center (\textbf{F4}) and then zoom in on the point using
Zoom (\textbf{F2}).}
\subsubsection{Rotate - (F3)}
The Rotate \includegraphics[scale=0.7]{Figures/rotate} command enables you to
dynamically rotate your model around a point or an axis at the rotation center
(see \protect\hyperlink{select-rotation-center}{\sl"Select rotation center (F4+Select)"} below).
The rotation can be performed in two different ways, depending on the position
of the cursor when you press \textbf{F3}.