Skip to content

Commit 83fc3e8

Browse files
committed
fix problem for belted_dummy model,adya
1 parent 1431267 commit 83fc3e8

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed

examples/Explicit/belted_dummy.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,12 @@
117117
contact.set_master_surface(surf2)
118118
dummy.contacts.add(contact)
119119

120+
for i in range(42):
121+
id = i + 1
122+
dummy.create_defineorientation(
123+
vid=id, iop=2, vector=vector, node1=nlist[i][0], node2=nlist[i][1]
124+
)
125+
120126
# Constraint
121127
for i in range(14):
122128
dummy.constraints.create_joint_spherical(nodes=jointlist[i])

examples/Explicit/belted_dummy_data.py

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2433,3 +2433,49 @@
24332433
48,
24342434
49,
24352435
]
2436+
2437+
vector = [0, 0, 0]
2438+
nlist = [
2439+
[100, 229],
2440+
[101, 230],
2441+
[102, 231],
2442+
[232, 409],
2443+
[233, 410],
2444+
[234, 411],
2445+
[412, 867],
2446+
[413, 868],
2447+
[414, 869],
2448+
[870, 974],
2449+
[871, 975],
2450+
[872, 976],
2451+
[415, 539],
2452+
[416, 540],
2453+
[417, 541],
2454+
[542, 686],
2455+
[543, 687],
2456+
[544, 688],
2457+
[418, 605],
2458+
[419, 606],
2459+
[420, 607],
2460+
[608, 764],
2461+
[609, 765],
2462+
[610, 766],
2463+
[977, 1099],
2464+
[978, 1100],
2465+
[979, 1101],
2466+
[1102, 1499],
2467+
[1103, 1500],
2468+
[1104, 1501],
2469+
[1502, 1646],
2470+
[1503, 1647],
2471+
[1504, 1648],
2472+
[980, 1319],
2473+
[981, 1320],
2474+
[982, 1321],
2475+
[1322, 1581],
2476+
[1323, 1582],
2477+
[1324, 1583],
2478+
[1584, 1734],
2479+
[1585, 1735],
2480+
[1586, 1736],
2481+
]

0 commit comments

Comments
 (0)