Problem when using GridConnection GridConnection interaction
Hello everyone,
I am interested in the gridconnection- gridconnection interaction. This is why I created a minimal script where two gridconnections overlap, for which I applied the specific geometric interaction "Ig2_GridConnec
I manage to launch 1 iteration of YADE. The contact between the 2 gridConnections is well created and the forces at the contact are calculated. But then when a second iteration is launched, the calculation crashes in the "InsertionSortC
I would like to know what is the error here? and if I missed something?
I appreciate any help, Thank you in advance!
Nesrin
import math
import numpy as np
from yade import plot
from yade import qt
from yade.gridpfacet import *
O.engines=[
ForceResetter(),
InsertionSortC
Bo1_GridConne
]),
InteractionLoop(
# Geometric interactions
[
],
[
# Interaction physics
],
# Interaction law
[
]
),
NewtonIntegrat
#PyRunner(
]
#### Set the time step
O.dt = 5e-7
#### Set the parameters of the materiel of grid connection and grid node
O.materials.
)
)
#### Set the bodies
color = [255. / 255., 102. / 255., 0. / 255.]
radius=0.5
nodesIds=[]
nodesIds.append( O.bodies.
nodesIds.append( O.bodies.
nodesIds.append( O.bodies.
nodesIds.append( O.bodies.
O.bodies.append( gridConnection(
O.bodies.append( gridConnection(
# set the force on one of the gridconnections
Fapplied=1000
O.forces.
yade.qt.
qtr=qt.Renderer()
qtr.bgColor=[1,1,1]
qt.View()
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Nesrin Akel
- Solved:
- Last query:
- Last reply: