External Packages¶
RSA_MPI¶
RSA_MPI is an HPC library that generates random configurations of non-overlapping balls with an unbiased RSA
(Random Sequential Adsorption) algorithm. The sequential strategy is based on Ebeida et al. (2012) and has been
extended to MPI [1]. See Optional packages
to install it.
rsa_rnd_rad¶
| Parameter | Description |
|---|---|
enlarge_bounds |
empty layer added around the domain, default 0.0 |
periodicity |
overrides the periodicity of the domain |
bounds |
overrides the bounds of the domain, removing the particles outside |
type |
particle type, default 0 |
expandable |
overrides the expandability of the domain |
r_min |
smallest radius |
r_max |
largest radius |
n_max |
maximum number of particles, default 1e16 |
region |
region where the sample is generated |
rsa_vol_frac¶
Fills the grid with particles using the RSA algorithm, controlling the generation with geometric constraints, volume fractions and particle types. It is only intended for the initialization of a simulation.
| Parameter | Description |
|---|---|
particle_type_map |
map between the particle type names and their ids |
enlarge_bounds |
empty layer added around the domain, default 0.0 |
bounds_mode |
how the bounds are defined: from the file or overridden |
periodicity |
overrides the periodicity of the domain |
expandable |
overrides the expandability of the domain |
bounds |
overrides the bounds of the domain, removing the particles outside |
params |
list of particle parameters: [radius, volume fraction, type name], or {vf, type} with use_shape |
region |
CSG region restricting the particle placement (optional) |
use_shape |
uses the shape data to set the radius; do not use it with spheres |
Note
The domain defined by bounds must be a multiple of the cell size of the domain block. This operator does not
require init_rcb_grid.
See the rescale shape and RSA examples.