Problems encountered in using FrictMat for polyhedron.
Dear all,
I want to use polyhedra and spheres to make concrete,
Thanks in advance.
Jie
[1]https:/
[2]MWE:
#######
from yade import polyhedra_
import numpy as np
###material
m= FrictMat(
O.materials.
####Bottom
meanSize = 0.05
wallThickness = 0.5*meanSize
length = 0.150
height=0.6
v1=((-0.
color=[0,0.5,1]
b1 = polyhedra_
b1.state.pos = [0,0,0]
O.bodies.append(b1)
###makeCloud
sp=pack.
mn,mx=Vector3(
###Generate polyhedron
sp.makeCloud(
for center,radius in sp:
if radius > 0.015:
t.state.pos = center # sets polyhedron position according to sphere position
###engine
O.engines = [
ForceResett
InsertionSo
Interaction
),
NewtonInteg
]
O.dt=1e-5
from yade import qt
v=qt.View()
v.sceneRadius=3.0
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 weijie for more information if necessary.