Unexpected Reaction
Hello everyone,
I have a block of particles that I'm applying a force field to via a meshed wall. I'm applying the load to a prescribed area on top of the block. When the load is applied some particles in the area move while some don't. Also, the particles that are pushed down from the top "sink" through the block, hit the floor, and bounce back up. The particles in the block show no reaction to the force outside of the particles initially pushed down on the top of the blocks. My code is shown below,
-------
from esys.lsm import *
from esys.lsm.util import *
from esys.lsm.geometry import *
from POVsnaps import POVsnaps
from BSplineWallMover import WallLoaderRunnable
sim = LsmMpi(
sim.initNeighbo
particleType
gridSpacing=
verletDist=0.02
)
sim.setNumTimeS
sim.setTimeStep
domain = BoundingBox(
sim.setSpatialD
geoRandomBlock = RandomBoxPacker (
minRadius = 0.1,
maxRadius = 0.5,
cubicPackRadius = 1.1000,
maxInsertFails = 1000,
bBox = BoundingBox(
Vec3(0.0000, 0.0000, 0.0000),
Vec3(10.0000, 2.0000, 2.0000)
),
circDimList = [False, False, False],
tolerance = 1.0000e-05
)
geoRandomBlock.
geoRandomBlock_
myParticleList = SimpleSphereCol
Density =.0017987 #slug/in^3
for pp in geoRandomBlock_
centre = pp.getPosn()
radius = pp.getRadius()
pp.setMass(
X = centre[0]
Y = centre[1]
if (X <=30 and Y >= 1.1*radius):
pp.setTag(1)
else:
if (Y < 1.1*radius):
pp.setTag(2)
else:
pp.setTag(3)
myParticleLi
sim.createParti
sim.createWall (
name = "floor",
posn = Vec3(0.0000, 0.0000, 0.0000),
normal = Vec3(0.0000,1.0000, 0.0000)
)
sim.readMesh(
fileName = "ForceWallMesh.
meshName = "Force_Mesh_Wall"
)
sim.createInter
NRotFrictio
name = "friction",
normalK = 1000, #I'm not sure about this value
dynamicMu = 0.5,
shearK = 100, #I'm not sure about this value
scaling=True
)
)
sim.createInter
NRotBondedWa
name = "floor_bonds",
wallName = "floor",
normalK = 10000,
particleTag = 2
)
)
sim.createInter
GravityPrms (
name = "gravity",
acceleration = Vec3(0.0000,-32.2, 0.0000) #ft/s^2
)
)
sim.createInter
LinDampingPrms (
name = "viscosity",
viscosity = 0.10000,
maxIterations = 100
)
)
sim.createInter
NRotBondedTr
name = "WallForce_bonds",
meshName = "Force_Mesh_Wall",
normalK = 10000, #I'm not sure about this value
breakDistance = .01,
buildPrms = MeshGapBuildPrms(1)
)
)
wall_loader = WallLoaderRunnable(
LsmMpi = sim,
wallName = "Force_Mesh_Wall",
StartTime = 0,
EndTime = 20,
Support = 4.17e-4,
Magnitude = 1,
)
sim.addPreTimeS
displacement = ParticleVectorF
fieldName=
fileName=
fileFormat=
beginTimeStep=0,
endTimeStep=100,
timeStepIncr=1
)
sim.createField
force = ParticleVectorF
fieldName=
fileName=
fileFormat=
beginTimeStep=0,
endTimeStep=100,
timeStepIncr=1
)
sim.createField
povcami = POVsnaps(sim=sim, interval=1)
povcami.
sim.addPostTime
sim.run()
-------
from esys.lsm import *
from esys.lsm.util import *
from BSpline import BSpline
class WallLoaderRunnable (Runnable):
def __init__ (self,
Runnable.
self.sim = LsmMpi
self.wallName = wallName
self.
self.Support = Support
self.
self.Interval = self.sim.
self.EndTime = EndTime
self.Nt = 0
self.Mt = 1
def run (self):
if (self.Nt >= self.EndTime):
Dmove = 0
else:
if (self.Nt == 0):
Value = BSpline(
Dmove = self.Magnitude*
else:
iValue = BSpline(
jValue = BSpline(
DDmove = self.Magnitude*
self.Nt += 1
-------
from math import*
class BSpline:
def __init__ (self,Support,
self.Time = Time/Support
if (0 <= self.Time < 0.25):
self.B = (32*3**
else:
if (self.Time >= 0.25 and self.Time < 0.5):
self.B = -32*self.
else:
if (self.Time >= 0.5 and self.Time < 0.75):
self.B = 32*self.
else:
if (self.Time >= 0.75 and self.Time < 1):
else:
-------
My suspension is the values for the bond interactions and, the particle-wall interactions are not calibrated correctly. I'm trying to model a 10"x2"x2" (x,y,z) specimen with density = 100 lb/ft^3(.0017987 slugs/in^3) . The wall is suppose to push the particles down for 10 timesteps and then, the wall is suppose to move upward eventually moving back to it's original position after 10 more timesteps. The load is a B-Spline applied over 20 timesteps on a 2"x2" area at the center of the block.
How do you calibrate the particle interaction parameters and the particle to wall stiffnesses? Any help would be greatly appreciated. Thanks.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Jeff Steadman for more information if necessary.