How to Simulate Billiards and Similar Systems
Boris D. Lubachevsky
Abstract
An N-component continuous-time dynamic system is considered whose components evolve autonomously all the time except for in discrete asynchronous instances of pairwise interactions. Examples include chaotically colliding billiard balls and combat models. A new efficient serial event-driven algorithm is described for simulating such systems. Rather than maintaining and updating the global state of the system, the algorithm tries to examine only essential events, i.e., component interactions. The events are processed in a non-decreasing order of time; new interactions are scheduled on the basis of the examined interactions using preintegrated equations of the evolutions of the components. If the components are distributed uniformly enough in the evolution space, so that this space can be subdivided into small sectors such that only O(1) sectors and O(1)$components are in the neighborhood of a sector, then the algorithm spends time O (log N) for processing an event which is the asymptotical minimum. The algorithm uses a simple strategy for handling data: only two states are maintained for each simulated component. Fast data access in this strategy assures the practical efficiency of the algorithm. It works noticeably faster than other algorithms proposed for this model. Key phrases: collision detection, dense packing, molecular dynamics, hard spheres, granular flow
Create a lesson
Related papers
Composition-controlled optical fingerprints and anisotropy of self-trapped excitons in double perovskites
Simone Grillo, Offir Zachs Maishlos, Liya Koren et al.
Time-Resolved Phonon Dispersions of Thermally Excited Graphite at the Nanoscale
Mairi McCauley, Christoph T. Koch, Benedikt Haas
Direct growth of crystalline spinel GaON films: A wide-bandgap mixed-anion semiconductor
Baikui Li, Zecheng Yang, Wenhao Yin et al.
A Transferable Machine-Learned Potential Enabling Large-Scale Copper-Carbon Simulations from Equilibrium to Extreme Conditions
Feiyu Zhou, Wei Qiu, Yan Chen et al.
Imaging Gate-Tunable Single-Layer Molecular Kagome Lattices
Ziyi Wang, Rafal Zuzak, Weichen Tang et al.
Flexoelectricity and Flexomagnetism
Alexander Edström, Massimiliano Stengel