imposible to reach specific porosity
Hello,
I cannot reach the target porosity. The script based on periodical triaxial test tutorial example. After isotropic stage finished, the simulation stopped as well so that the porosity condition could not be satisfied. Maybe I am wrong with O.run command. Could you please help me?
from __future__ import print_function
import time
import datetime
import os
from yade import pack, plot, export
import numpy as np
#FIXED PARAMETERS
poisson=0.2
R=1e-3
rate=1e-2
dimcell = 0.03
density= 1e9
young=1e9
frictionAngle=
targetPorosity=0.43
#SETTINGS
O.periodic = True
O.cell.hSize = Matrix3(dimcell , 0, 0, 0, dimcell , 0, 0, 0, dimcell )
sp = pack.SpherePack()
sp.makeCloud((0, 0, 0), (dimcell, dimcell, dimcell), rMean=R, rRelFuzz=.1, periodic=True)
pp = O.materials.
young=young,
poisson=poisson,
frictionAngle=
density=density,
isCohesive=False,
momentRotation
etaRoll=
))
sp.toSimulation
O.engines = [
),
PeriTriaxContr
relStressTo
stressMask=7,
maxStrainRa
dynCell=True,
maxUnbalanc
label='triax',
doneHook = 'triaxDone()'
),
NewtonIntegrat
]
O.dt = .5 * PWaveTimeStep()
print('time step',O.dt)
def triaxDone():
frictionAngle=
while utils.porosity>
frictionAngle = 0.7*frictionAngle
setContactFri
print (frictionAngle," porosity:
def addPlotData():
plot.addData(
i=O.iter,
Eyy=log(
Exx=log(
szz=utils.
syy=utils.
sxx=utils.
)
# define what to plot
plot.plots = {
'i ': ('sxx', 'syy', 'szz'),
' i': ('Exx', 'Eyy', 'Ezz'),
' i ':('u')
# energy plot
}
# show the plot
plot.plot()
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Fedor
- Solved:
- Last query:
- Last reply: