weight of clump differs from sum of z-directional interaction forces
Dear All,
I would like to create a cylindrical clump from spherical elements. This clump is falling down to a particle bed, beacuse of the effect of gravity. After in equilibrium state I summarized all of z components of interaction forces actin on the clump (with function tomegCheck()), but the result differs from the weight of the clump (which is calculated from the mass of the clump), and I do not understand why... It should to be equal in equilibrium state because there are no more forces acting on the clump.
Has anybody any suggestions?
Thanks in advance!
Here is my code:
from yade import plot
from yade import pack
from yade import qt
from yade import ymport
import math
qt.View()
densT = 2600
ET = 2.5e12
nuT = .3
frictAngT = .2
nCoh = 1e10
sCoh = 1e10
eRoll = .1
EA = 2.1e8
nuA = .3
densA = 7800
frictAngA = .35
talaj = O.materials.
acel = O.materials.
seged = O.materials.
talaj = O.bodies.
doboz = O.bodies.
Sugar1 = .01
felho = pack.SpherePack()
felho.makeCloud
particles = O.bodies.
O.engines=[
useIncrement
always_
),
]
O.dt=.1*
O.engines=O.engines + [PyRunner(
def ment():
plot.addData(
if O.iter > 12000 and utils.unbalance
coh.setCohesi
for b in doboz:
O.bodies.
global kerek_body
kerek_body = []
ker_r = .02
ker_R = .25
db_e = 120
db_R = 12
emel = ker_R+ker_r+.05
osztas = math.radians(
kerek_
for j in range(1,db_R+1):
hanyados = float(j)
for i in range(0,db_e):
if j == 8 and i>0 and i<db_e*.5:
szin = (1,0,0)
else:
szin = (1,1,0)
kerek_
*math.
global kerekID
kerekID = O.bodies.
O.bodies[
vez.dead = True
def tomegCheck():
m=0
b=0
for i in O.interactions:
if i.id1 in kerek_body:
print(i.id1)
print(
b+=1
m+=O.
print('number of interactions: ',b)
print('sum value of z directional forces: ',m)
print('whole mass of the clump: ',O.bodies[
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: