Phi (volume fraction) returned from getDepthProfiles were far too low
Hey all,
At this point, I am perplexed to see volume fraction (phi) from getDepthProfile returned from each cell (10 cells total) so incredibly low (roughly 2%) when the simulation of the cylindrical model shows extensive compaction of the spheres and should be much higher. Here is a few snippets of code to show where the work process has gone. I believe that this has something to do with the direction or perhaps the void volume fraction? Maybe the ram motion (for compaction) triggers this anomaly?
Start of code:
from yade import ymport, plot, utils
import time
import numpy as np
#Constants
utils.readParam
frIn = 0.5, enIn=0.01, etIn=0.01, tcIn=0.0001, # Frictionangle (rad), strength-parameter
rhoIn = 2300.0, # Density
dumpVTKIn = 1000, # Periods of dumps
ram_vel = 1E-1, ram_mov = 0.1E-3 # Ram Velocity and Distance
)
#Sweep Parameters using Table
from yade.params.table import *
import shutil
try:
shutil.
except OSError:
pass
os.mkdir('step2')
#Create Folder
folderNameBase = 'step2/' + str(descriptionIn)
folderName = folderNameBase
os.mkdir(
#Initialize
o = Omega()
o.dt = 0.05*1E-7
#Read in previous step
o.load('save1.xml')
#remember start time
starttime = o.time #start time
stoptime = starttime+
iterstop=
print('
#Define Next Scene
#o.addScene()
#Build Geometry
ram=o.bodies.
o.engines = [
ForceResett
InsertionSo
Interaction
),
NewtonInteg
#Record output to VTK Files, Spheres,
VTKRecorder(
VTKRecorder
#FIXME Snapshot Taker
# SnapshotEngine(
#Execute Python Commands
PyRunner(
PyRunner(
#Enable Track Energy - Can be used to determine if sim is done
o.trackEnergy=True
#Run Yade Simulation
#o.stopAtIter=
o.stopAtIter=
#o.stopAtTime=
o.run()
def stop_condition():
o.dt=
phiavg=
print(
def calcPhi():
CN=
return np.mean(CN[0])
def addPlotData():
plot.
-------
######Now this is the part of the code that I think may be why the phiPart returned is so low:
-------
def addPlotPhi():
#getDepthPr
CN=
phiavg=
zarray=
fname=
phidata = np.column_
np.
-------
As for the parameters, they are listed in meters for inner and outer cylinder (outer_
-Kevin
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: