Skip to content

RiSearcher/SRM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swelling and Random Migration (SRM) Algorithm

This repository contains the reference implementation of the Swelling and Random Migration (SRM) algorithm for generating non-overlapping particle assemblies in two and three dimensions. The SRM method is a collective-rearrangement algorithm designed to efficiently construct microstructures with different volume fractions of particles. Detailed description can be found at: arXiv:2605.18254

Examples of generated 2D and 3D microstructures

Features

  • Efficient generation of large RVEs (up to millions of particles for simple shapes).
  • Support for spheres, disks, and extension to other shapes via custom collision functions.
  • Periodic boundary conditions.
  • Cell-based neighbor search for computational efficiency.

Compilation

gfortran -O3 -o SRM SRM_2D.f90

Citing This Work

If you use SRM algorithm in academic work, please cite: S. Tarasovs (2026). Efficient generation of large-scale non-equilibrium distributions of particles, arXiv preprint, arXiv:2605.18254

About

Swelling and Random Migration (SRM) Algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors