Porosity overlapping particles
Hi,
I have compacted spherical particles in a cylinder, and the particle are overlapping. I am struggling to measure the porosity of my compacys. I have tried utils.porosity, voxelporosity and also tried using the usual porosity Eq. (1- (rho_compacts/
Best,
Mithu
Here is my code
from __future__ import print_function
from yade import utils, plot, timing
from yade import pack
import pandas as pd
import numpy as np
from PIL import Image
from yade import pack, export
o = Omega()
# Physical parameters
fr = 0.54
rho = 1050
Diameter = 0.0012
D=Diameter
r1 = Diameter/2
#r2 = Diameter/2
k1 = 126000
kp = 12.0*k1
kc = k1 * 0.1
ks = k1 * 0.1
DeltaPMax = Diameter/3.0
Chi1 = 0.34
o.dt = 1.0e-7
particleMass = 4.0/3.0*
Vi1 = math.sqrt(
PhiF1=0.999
Tab_rad=0.005
Cyl_height=0.02
Comp_press1=1.4e8
Comp_force1=
# Add material
mat1 = O.materials.
# Spheres for compression
sp=pack.
sp.makeCloud(
#cyl = pack.inCylinder
#sp = pack.filterSphe
sp.toSimulation
#######
#O.bodies.
walls=O.
# Add engines
o.engines = [
ForceResetter(),
InsertionSort
InteractionLoop(
[Ig2_
Ig2_
Ig2_
[Ip2_
[Law2_
),
NewtonIntegra
#VTKRecorder(
PyRunner(
#DeformContro
]
def checkForce():
if O.iter < 1000000:
return
timing.reset()
if unbalancedForce() > 0.2:
return
# add plate at upper box side
highSphere = 0.0
for b in O.bodies:
if highSphere < b.state.pos[2] and isinstance(b.shape, Sphere):
else:
pass
O.bodies.
global plate
plate = O.bodies[-1]
plate.state.vel = (0, 0, -.3)
fCheck.command = 'unloadPlate()'
def unloadPlate():
if abs(O.forces.
def stopUnloading():
if abs(O.forces.
O.pause()
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 Mithushan Soundaranathan for more information if necessary.