The broad search begins by constructing a uniform rectangular grid across the entire geometry. The length of the grid cell in each direction is constrained to be larger than the maximum contact search radius. The contact search radius for each grain is equal to or greater than the grain radius depending on the Contact search expansion ratio β specified in the
Grain Properties feature. Subsequently, if the total number of grid cells in each direction exceeds the
Maximum number of cells per direction (specified in the physics interface settings), the grid cell length is adjusted to ensure that these limits are satisfied. Once the grid is constructed, each grain is indexed into a grid cell based on its position.
Similarly in 3D, if the own cell has the index (0, 0, 0), then the neighboring cells that are searched for are indexed as
When a Periodic Condition feature is active in and the target cells are the are near the boundaries of the geometry, the neighboring cell list is modified to ensure that the contacts are detected with the periodic images of the grains from across the periodic boundaries.