Radius Expansion Method: yade 1.07 vs 1.2
Hi Everyone,
Some time ago I prepared a script destined to generate clouds with a specific size distribution and porosity. It works very good in yade 1.07. The porosity decreases regularly in time, until the target value is reached. However, in yade 1.20 exactly the same script doesn't work. The porosity is always a little less than 1 (but changes a little down and up) or - in other tries - decreases unevenly in time, but never achieves the target porosity. I tried to find a solution, but without success. Can somebody help me to find the reason?
The second problem is that I can't see the porosity plot during a calculation. The frame of the window exists, but I see only the screen behind it.
Best Regards from Poland,
Wojciech Sobieski
-------
from yade.pack import *
from yade import utils
from yade import export
from yade import plot
n_s = 5000
e_target = 0.413
mi = 5.0
n_band = 26
psdSizes=
psdCumm=
i = 0
while i < n_band:
psdSizes[
print "\r psdSizes:
i = i +1
#If the bed volume is defined, then the average diameter of particles (when the target porosity is reached) is the same like in the measurement.
l = 0.07926574
vol = l*2*l*l
mn = Vector3(0,0,0)
mx = Vector3(l,2*l,l)
O.materials.
O.bodies.
O.materials.
sp = yade._packSpher
sp.makeCloud(
O.bodies.
plot.resetData()
triax = TriaxialStressC
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoo
GlobalStiffnes
triax,
NewtonIntegrat
PyRunner(
]
def letPlot():
plot.
plot.plots=
plot.plot()
while porosity(vol) > e_target:
mi = 0.99*mi
setContactFri
print "\r Friction:",mi
print "\r Porosity:
sys.stdout.
O.run(500,1)
export.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Bruno Chareyre
- Solved:
- Last query:
- Last reply: