This repository presents a MATLAB-based implementation of the Random Sequential Expansion (RSE) algorithm for generating statistically random periodic Representative Volume Elements (RVEs) of heterogeneous materials.
The developed framework enables the generation of microstructures with prescribed inclusion volume fractions while ensuring non-overlapping particle placement and periodicity of the representative domain.
The microstructures are generated using the Random Sequential Expansion (RSE) algorithm.
Starting from an initial inclusion, subsequent inclusions are placed by randomly selecting their relative distance and angular position while preventing overlap with previously generated inclusions.
To ensure periodicity, whenever an inclusion intersects a domain boundary, its corresponding image inclusion is simultaneously created on the opposite boundary.
The process continues until the target inclusion volume fraction is achieved.
- RSE-based microstructure generation
- Periodic Representative Volume Elements (RVEs)
- Controlled inclusion volume fraction
- Non-overlapping particle placement
- Circular inclusion modeling
- Automated batch generation
- MATLAB implementation
The framework allows the user to control:
- RVE window size
- Inclusion radius
- Inclusion volume fraction
- Number of generated RVEs
- Random seed
- Periodicity settings
- Generation of statistically random microstructures
- Periodic boundary enforcement during generation
- High-volume-fraction microstructure generation
- Efficient convergence using the RSE algorithm
- Support for large-scale dataset generation
- Heterogeneous and Composite materials modeling
- Computational homogenization
- Finite element preprocessing
- Statistical microstructure analysis
- Materials science research
- Synthetic dataset generation
The repository is intended to demonstrate the methodology and capabilities of the developed framework. Core source codes are not publicly released.

