simple_Xu.tens
Go to the documentation of this file.
1 
2 [constants]
3  ls:=sqrt(2) % length of struts
4  fs:=-4 % max. compression
5  lc:=2 % max. length of cables
6  sc:=1 % stiffness of cables
7 
8  rad:=0.02
9 
10  x1:=-0.063907076477190
11  y1:= 0.892724035478908
12 
13 [planar structure]
14  strut s1: n1 n3
15  length ls
16  force [fs,0]
17  radius rad
18 
19  strut s2: n2 n4
20  length ls
21  force [fs,0]
22  radius rad
23 
24  cable c1: n1 n2
25  length [0,lc]
26  stiffness sc
27  rest [0,lc]
28 
29  cable c2: n2 n3
30  length [0,lc]
31  stiffness sc
32  rest [0,lc]
33 
34  cable c3: n3 n4
35  length [0,lc]
36  stiffness sc
37  rest [0,lc]
38 
39  cable c4: n1 n4
40  length [0,lc]
41  stiffness sc
42  rest [0,lc]
43 
44 [fixed points]
45  n1=(0,0,0)
46  n2(y)=0
47 
48  % n2=(1,0,0)
49  % n3=(1,1,0)
50  % n4=(1-ls*cos(35*pi/180),ls*sin(35*pi/180),0)
51 
52 [obstacles]
53  obs : box (-0.2,y1,-0.05) (x1,1.2,0.05) red
54 
55 [collisions]
56  check: obs
57