Model particles (polyhedra) have moved far from each other from the first
Hi there
I drew my whole polygons in Autocad (2D) and exported the vertices of them (of AutoCad) as text for using in YADE and creating polyhedra. I did that because I want pack of many polyhedrons with very small void and certain shape and size.
Here is my code:
import numpy as np
from numpy import *
RawVer=
# ListVer is list of all the vertices of all the polygons
Ver=()
ListVer=[]
for b in RawVer:
if b[0]=='
Ver=()
continue
Cordn=b[0]
Cordn=
Cordn=
Cordn1=
Cordn2=
if not Cordn1 in Ver:
ListVer.append(Ver)
from yade import plot, polyhedra_utils
Dolomite = PolyhedraMat()
Dolomite.density = 2870
Dolomite.young = 24.36e9
Dolomite.poisson = 0.2
Dolomite.
for ii in ListVer:
O.bodies.
for b in O.bodies:
b.state.
O.engines=[
ForceResetter(),
InsertionSor
InteractionLoop(
[
[
[
),
NewtonIntegr
]
O.engines=
O.dt=10e-6
O.run(50000,True)
print(O.dt)
After run script, when I see graphical interface, particles are not near each other and they have moved far from each other. If I decrease young module, particles will be near each other same as initial model in AutoCad.
But I don`t want to decrease young module. I thought this distance and exploding between particles is because of overlapping of polyhedra vertices and then with Offset in AUTOCAD I moved polygons vertices so they hadn`t overlapping any more but the problem didn`t solve.
I should mention; after this step, I should allow particles move down under gravity.
Now please help me Why the particles move and aren`t near each other?
How I should fix this problem
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jan Stránský
- Solved:
- Last query:
- Last reply: