Grid contact with spheres having cohesive material defintion
Hi every one,
I wanted to create a model for interaction between a grid and the spheres having rolling friction coefficient characteristics, so I modified a simple existing example "https:/
but I don't know why this modified code does not work.
Can you give me some suggestion?
Thanks a lot
tested by: Yade 20191214-
=======
from yade import qt,plot
from yade.gridpfacet import *
phi=20.
E=3.*1e8
r=0.005
O.engines=[
ForceResetter(),
InsertionSort
Bo1_
Bo1_
Bo1_
]),
InteractionLoop([
Ig2_
Ig2_
Ig2_
Ig2_
],
[
Ip2_
#Ip2_
],
[
Law2_
Law2_
Law2_
]
),
GlobalStiffne
NewtonIntegra
]
O.materials.append( CohFrictMat( young=0.
O.materials.append( FrictMat( young=E,
O.materials.append( CohFrictMat( young=0.
# SPHERES
O.bodies.append( sphere(
O.bodies.append( sphere(
O.bodies.append( sphere(
# GRID
L=0.1 #length
l=0.05 #width
nbL=10 #number of nodes for the length
nbl=5 #number of nodes for the width
r=L/100. #radius
color=[
nodesIds=[]
#Creating all nodes:
for i in range(0,nbL):
for j in range(0,nbl):
nodesIds.
#Creating connection between the nodes
for i in range(0,
for j in range(i+
dist=
if(
O.
#PFacet Connection
O.bodies.append( gridConnection(
# Constraining the ends of the geogrid
for i in range(nodesIds[
O.bodies[
for j in range(nodesIds[
O.bodies[
qt.Controller()
qtv = qt.View()
qtr = qt.Renderer()
qtr.bgColor=[1,1,1]
Gl1_Sphere.
O.saveTmp()
=======
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Ali Rafiee
- Solved:
- Last query:
- Last reply: