-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathFF.mbdyn
More file actions
53 lines (39 loc) · 964 Bytes
/
FF.mbdyn
File metadata and controls
53 lines (39 loc) · 964 Bytes
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
module load: "libmodule-FMU";
begin: data;
problem: initial value; # the default
end: data;
begin: initial value;
initial time: 0.;
final time: 10.;
time step: 1.e-2;
max iterations: 10;
tolerance: 1.e-6;
derivatives coefficient: 1.e-6;
end: initial value;
begin: control data;
structural nodes: 1;
rigid bodies: 1;
loadable elements: 1;
forces: 1;
end: control data;
begin: nodes;
# in zero, with horizontal speed
structural: 1, dynamic, null, eye, 0.,1.,0., null;
end: nodes;
begin: elements;
body: 1, 1, 1., null, eye;
user defined: 99, FMU, "/home/devyesh/Documents/GSOC/FMUS/bouncingBall.fmu",
type, cosimulation,
"h", node, 1, structural, string, "X[3]", direct,
"x", node, 1, structural, string, "XP[3]", direct,
output, yes;
force: 1, absolute,
1,
position, null,
0.,0.,1.,
element, 99, loadable, string, "g", direct;
#
/*
* we have better ways to define gravity, though
*/
end: elements;