Contact not detected
Sir,
I am trying a simple 2d problem and wrote the simulation script for that. During run time, the contact between particles doesnt happen and the projectile just falls through the granular 2d bed. I have exhausted all possibilites to debug this issue and as a last resort posting it in forum. I am posting the complete code for your reference.
from __future__ import division
from yade import geom,utils,
import math
import numpy as nu
r=1e-3
steelId=
h=0
for j in range(8):
for i in range(32):
O.bodies.
h=h+2*r
h=h-2*r
r1=2*r
h=h+2*sqrt(2)*r
for j in range(8):
for i in range(16):
O.bodies.
h=h+2*r1
h=h-2*r1
r2=2*r1
h=h+2*sqrt(2)*r1
for j in range(8):
for i in range(8):
O.bodies.
h=h+2*r2
h=h-2*r2
r3=2*r2
h=h+2*sqrt(2)*r2
for j in range(8):
for i in range(4):
O.bodies.
h=h+2*r3
h=h-2*r3
h=h+2*sqrt(3)*r2
id_proj=
O.bodies.
projectile=
projectile.
O.dt=1e-6
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
NewtonIntegrat
PyRunner(
]
kval=open(
def trial():
kval.write(
O.run()
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask ipemath for more information if necessary.