Clumping
Hi all,
Now, I am trying to study what is the effect of clumping on repose angle( the angle of accumulated spheres after falling done because of gravity) . for this purpose I need to do parametric study which shows the effect of clumping ratio on repose angle ( e.g. 25%, 50%,..... clumping of total spheres)
I have done very simple modification on my basic script, I know how clump all ( 100%) of the spheres.
however my questions are:
1- How should I modify the script in order to change of clumping ratio.
2- When I run the script , I face with this error " name 'checkUnbalanced' is not defined"
Thanks for your advices in advance.
Seti
here is the script:
# create a few clump configurations by hand
from yade import pack
c1=pack.
#c2=pack.
#create material
soil1 = CohFrictMat(
#color=(1,0,0) ----red color
#soil1 = FrictMat(
O.materials.
sp=pack.
print 'Generated # of clumps:
sp.toSimulation()
O.bodies.
O.materials.
wallmat = O.materials[-1]
#O.bodies.
O.engines=[
#SubdomainBala
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
NewtonIntegrat
PyRunner(
]
O.dt=.7*
O.saveTmp()
O.step()
def checkUnbalanced():
if unbalancedForce
print(
O.pause()
#plot.saveDataT
# plot.saveGnuplo
# collect history of data which will be plotted
def addPlotData():
# each item is given a names, by which it can be the unsed in plot.plots
# the **O.energy converts dictionary-like O.energy to plot.addData arguments
plot.
O.save(
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 Seti for more information if necessary.