Hello,
I am developing a DEM model of granular material in a cubic simulation domain containing many particles. My objective is to impose a prescribed shear rate and normal stress without using physical walls, to avoid wall effects.
For this purpose, I am considering Lees–Edwards (sliding-periodic) boundary conditions. Unlike standard periodic boundary conditions, Lees–Edwards conditions introduce a time-dependent shift in particle positions and a corresponding velocity adjustment when particles cross the boundaries in the shear-gradient direction. Particle interactions across these boundaries must also account for the relative displacement between adjacent periodic cells.
I have two questions:
Particle position and velocity: Is there a supported way to modify particle positions and velocities during a simulation using the Rocky Solver SDK? I found hooks such as ROCKY_PLUGIN_PRE_MOVE_PARTICLES and ROCKY_PLUGIN_POST_MOVE_PARTICLES, but I could not find documented methods for directly setting these properties.
Neighbor searching and particle interactions: Is it possible to modify the periodic neighbor-search procedure to account for the relative displacement between adjacent periodic cells? I need particles to interact correctly across these boundaries, including both mechanical contact forces and cohesive interactions, such as liquid-bridge forces, which can act even when particles are not in direct contact.
Does Rocky support this type of boundary condition, either built-in or through the Solver SDK? Alternatively, is there another recommended approach for imposing shear in a 3D periodic simulation domain without physical walls?
Thank you very much for your time and help!