- Author
- Jørgen Haavind Jensen
- Date
- Q3 2011 JHJ: Initial version.
- Todo:
- Add description, complete documentation of conf. params and check example file.
Example configuration excerpt
2 LibName =
"marine_elements"
3 SimObject =
"RbCable/Collision"
Input Ports
This simObject does not have any input ports.
Output Ports
Name | Width | Description |
energy | 3 | ... |
momentum | 3 | ... |
Configuration parameters
Name | Width | Description |
N | 1 | Number of elements. |
A | 1 | Alpha ... |
B | 1 | Beta ... |
E | 1 | Epsilon ... |
Initial conditions
Name | Width | Description |
pos | 3 | Position of point \(i \in {1\cdots\text{N}}\). |
vel | 3 | Velocity of point \(i \in {1\cdots\text{N}}\). |
Full example file
1<Contents>
2 <OBJECTS>
3 <Lib
4 LibName = "marine_elements"
5 SimObject = "RbCable/Collision"
6 Name = "COL"
7 N = "3"
8 A = "0.1"
9 B = "0.1"
10 E = "1e-6"
11 />
12 </OBJECTS>
13
14 <INTERCONNECTIONS>
15 <Connection
16 />
17 </INTERCONNECTIONS>
18
19 <INITIALIZATION>
20 <InitialCondition
21 COL.pos0 = "0,1,0"
22 COL.pos1 = "0,1.5,0"
23 COL.pos2 = "0,2,0"
24 COL.vel0 = "0,0,0"
25 COL.vel1 = "0,0,0"
26 COL.vel2 = "0,0,0"
27 />
28 </INITIALIZATION>
29
30 <INTEGRATION>
31 <Engine
32 IntegratorMethod = "2"
33 NumCores = "1"
34 TOutput = "0, 1, 10"
35 LogStates = "0"
36 Stepsize = "1e-4"
37 HMax = "100"
38 HMin = "1e-6"
39 AbsTol = "1e-7"
40 RelTol = "1e-7"
41 UseRSSNormInsteadOfInfNorm = "0"
42 FileOutput = "objects:all"
43 />
44 </INTEGRATION>
45</Contents>
1<Contents>
2 <OBJECTS>
3 <Lib
4 LibName = "marine_elements"
5 SimObject = "RbCable/Collision"
6 Name = "COL"
7 N = "3"
8 A = "0.1"
9 B = "0.1"
10 E = "1e-6"
11 />
12 </OBJECTS>
13
14 <INTERCONNECTIONS>
15 <Connection
16 />
17 </INTERCONNECTIONS>
18
19 <INITIALIZATION>
20 <InitialCondition
21 COL.pos0 = "0,1,0"
22 COL.pos1 = "0,1.5,0"
23 COL.pos2 = "0,2,0"
24 COL.vel0 = "0,0,0"
25 COL.vel1 = "0,0,0"
26 COL.vel2 = "0,0,0"
27 />
28 </INITIALIZATION>
29
30 <INTEGRATION>
31 <Engine
32 IntegratorMethod = "2"
33 NumCores = "1"
34 TOutput = "0, 1, 10"
35 LogStates = "0"
36 Stepsize = "1e-4"
37 HMax = "100"
38 HMin = "1e-6"
39 AbsTol = "1e-7"
40 RelTol = "1e-7"
41 UseRSSNormInsteadOfInfNorm = "0"
42 FileOutput = "objects:all"
43 />
44 </INTEGRATION>
45</Contents>