Particle Interactions
I'm trying to calibrate rotational particle interaction values. In setting up the problem I noticed with the absence of applied forces, gravity and, damping that my particles were moving. Upon investigation I found that the particle interaction values are causing the particles to move. As I adjust the interaction values the particles move in different manners. How is this possible? Since no forces are being applied the particles should never move. My code is shown below.
I realize the interaction values in the code are not reasonable but, the values should not cause the particles to move in the absence of forces.
Thanks.
-------
from esys.lsm import *
from esys.lsm.util import *
from esys.lsm.geometry import *
from POVsnaps import POVsnaps
sim = LsmMpi(
sim.initNeighbo
particleType
gridSpacing=
verletDist=0.05
)
sim.setNumTimeS
sim.setTimeStep
domain = BoundingBox(
sim.setSpatialD
r = .25 #radius
cube = CubicBoxPacker (
radius = r,
bBox = BoundingBox(
Vec3(
Vec3(
),
circDimList = [False, False, False],
tolerance = 1.0000e-05
)
cube.generate()
cube_particles = cube.getSimpleS
sim.createParti
sim.createConne
ConnectionFi
maxDist = 0.5,
bondTag = 0,
pList = cube_particles
)
)
pp_bonds = sim.createInter
RotBondPrms(
name=
normalK=
shearK=
torsionK=
bendingK=
normalBrk
shearBrkF
torsionBr
bendingBr
tag=0,
scaling = True
)
)
povcami = POVsnaps(sim=sim, interval=1)
povcami.
sim.addPostTime
sim.run()
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.