A C++ implementation of the diffusion-limited cluster-cluster aggregation (DLCA), an algorithm to generate aerogel structures.
-
Parameters
-
[D]Dimension of the grid. -
[L]Size of the grid. E.g.LxLforD= 2. -
[N]Number of particles in the grid. -
[F]The output file name, without.txtsuffix. E.g.output/D2.L10.N10. -
[P]The period for snapshots. -
[I]The number of iterations. -
[M]The marker size of plots. -
[ELEV]The elevation angle. -
[AZIM]The azimuthal angle.
-
-
Single run
-
Windows
-
32-bit
exe\win32\DLCA.exe [D] [L] [N] [F] -
64-bit
exe\win64\DLCA.exe [D] [L] [N] [F]
-
-
Linux
# C++11 support required makebin/dlca [D] [L] [N] [F]
-
-
Plotting single run (Python, NumPy, and matplotlib required)
-
2D
python plot_2d.py [L] [INPUT] [OUTPUT] [M] -
3D
python plot_3d.py [L] [INPUT] [OUTPUT] [M] [ELEV] [AZIM]
-
-
Creating GIF (ImageMagick required)
-
Windows
create_demo.bat [D] [L] [N] [P] [M] -
Linux
create_demo.sh [D] [L] [N] [P] [M]
-
This software is licensed under the GNU General Public License.


