How to increase porosity
Hi,
I am using example from [1] to achieve target porosity (for short, the MWE), the example works pretty well when ''targetPorosit
I tried some ways such as changing the number of spheres, but it seems like the largest porosity they can achieve is around 0.45.
Here is the MWE, it may take 30 seconds to run it on Yade 2018.02b, ubuntu 18.04.
#####
from yade import pack, plot
nRead=readParam
num_spheres=3000,
compFricDegree = 30,
key='_
unknownOk=True
)
from yade.params import table
num_spheres=
key=table.key
targetPorosity = 0.7 ### 0.43 works well
compFricDegree = table.compFricD
finalFricDegree = 30
rate=-0.001
damp=0.2
stabilityThresh
young=5e7
mn,mx=Vector3(
O.materials.
O.materials.
walls=aabbWalls
wallIds=
sp=pack.
sp.makeCloud(
O.bodies.
Gl1_Sphere.
triax=TriaxialS
maxMultiplier=
finalMaxMultip
thickness = 0,
stressMask = 7,
internalCompac
)
newton=
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
GlobalStiffnes
triax,
TriaxialStateR
newton
]
Gl1_Sphere.
if nRead==0: yade.qt.
triax.goal1=
while 1:
O.run(1000, True)
unb=unbalance
print 'unbF:',unb,' meanStress: ',-triax.
if unb<stabilityTh
break
print "### Isotropic state saved ###"
import sys
while triax.porosity>
compFricDegree = 0.95*compFricDegree
setContactFric
print "\r Friction: ",compFricDegree," porosity:
sys.stdout.flush()
O.run(500,1)
print "### Compacted state saved ###"
###############
I think [1] is a very good example to decrease porosity, and I tried a stupid way as inversing it like:
####
while triax.porosity<
compFricDegree = 1.05*compFricDegree
setContactFric
print "\r Friction: ",compFricDegree," porosity:
sys.stdout.flush()
O.run(500,1)
####
And it failed, the porosity hardly changes. Is there any way to reach target porosity if current porosity < targetPorosity?
Thanks in advance,
Leonard
[1]https:/
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Robert Caulk
- Solved:
- Last query:
- Last reply: