Ready-made samples¶
24 nanoporous metal samples, ready for molecular dynamics: six metals, two box
sizes, two solid fractions. Each is a periodic cubic box with the solid atoms
only, as a gzip-compressed LAMMPS data file (atom_style atomic, Å, g/mol),
together with the JSON log of the run that produced it.
Download
The collection is being archived on Zenodo; the link will appear here. Until then, generate the same data files yourself in about three minutes (see below).
The collection¶
All samples share one random field: seed 2026, \(H^2 = 54\) (48 directions), 9984 waves. The field only depends on these and scales with the box, so within one box size the samples differ only in the metal and the solid fraction. They have the same ligament network, sampled on different lattices and cut at different levels. This makes comparisons between metals direct: any difference in the mechanical response comes from the material, not from the geometry.
| metal | lattice | box (nm) | \(\phi_B\) | atoms | ligament diameter (nm) | file (MB) |
|---|---|---|---|---|---|---|
| Au | fcc | 24.9 | 0.30 | 280,833 | 1.93 | 1.5 |
| Au | fcc | 24.9 | 0.50 | 450,613 | 2.29 | 2.4 |
| Ag | fcc | 24.9 | 0.30 | 280,833 | 1.93 | 1.5 |
| Ag | fcc | 24.9 | 0.50 | 450,613 | 2.29 | 2.4 |
| Cu | fcc | 24.9 | 0.30 | 406,599 | 1.93 | 2.2 |
| Cu | fcc | 24.9 | 0.50 | 651,990 | 2.29 | 3.5 |
| Pt | fcc | 25.1 | 0.30 | 324,550 | 1.95 | 1.8 |
| Pt | fcc | 25.1 | 0.50 | 520,462 | 2.31 | 2.8 |
| Ta | bcc | 25.1 | 0.30 | 271,830 | 1.94 | 1.5 |
| Ta | bcc | 25.1 | 0.50 | 435,748 | 2.31 | 2.4 |
| W | bcc | 25.0 | 0.30 | 305,188 | 1.94 | 1.6 |
| W | bcc | 25.0 | 0.50 | 489,580 | 2.30 | 2.6 |
| Au | fcc | 40.0 | 0.30 | 1,164,822 | 3.09 | 6.4 |
| Au | fcc | 40.0 | 0.50 | 1,868,422 | 3.67 | 10.4 |
| Ag | fcc | 40.0 | 0.30 | 1,164,822 | 3.10 | 6.4 |
| Ag | fcc | 40.0 | 0.50 | 1,868,422 | 3.68 | 10.4 |
| Cu | fcc | 40.1 | 0.30 | 1,692,665 | 3.11 | 9.3 |
| Cu | fcc | 40.1 | 0.50 | 2,715,075 | 3.69 | 15.2 |
| Pt | fcc | 40.0 | 0.30 | 1,313,522 | 3.10 | 7.2 |
| Pt | fcc | 40.0 | 0.50 | 2,106,812 | 3.68 | 11.8 |
| Ta | bcc | 40.0 | 0.30 | 1,096,298 | 3.10 | 6.1 |
| Ta | bcc | 40.0 | 0.50 | 1,758,664 | 3.67 | 9.9 |
| W | bcc | 39.9 | 0.30 | 1,237,724 | 3.09 | 6.8 |
| W | bcc | 39.9 | 0.50 | 1,985,472 | 3.66 | 11.1 |
Files are named np_<metal>_<box>nm_phi<NN>.data.gz (e.g.
np_Au_25nm_phi30.data.gz). The collection also has a manifest.csv with
the predicted morphology of every sample (surface density, genus density, ...),
a SHA256SUMS file, and a README. Altogether it is about 140 MB.
Lattice parameters are room-temperature values (Au 4.078, Ag 4.086, Cu 3.615, Pt 3.924, Ta 3.303, W 3.165 Å). The ligament diameters are the predictions of the Soyarslan fit (see Theory); at 25 nm they are 5–6 lattice parameters, at 40 nm 8–10.
Using a sample¶
$ gunzip np_Au_25nm_phi30.data.gz
units metal
atom_style atomic
boundary p p p
read_data np_Au_25nm_phi30.data
pair_style eam/alloy
pair_coeff * * Au.eam.alloy Au # any potential for your metal
minimize 1e-8 1e-10 10000 100000 # relax the free surfaces first
The samples come straight from the lattice, with the free surfaces unrelaxed. Minimise and equilibrate with your potential before production runs.
Regenerate them¶
Every .json is a config: nanofoams generate np_Au_25nm_phi30.json
regenerates the identical data file. The whole collection is produced by one
script from the repository:
$ python tools/make_samples.py samples/
It takes about three minutes on a laptop. The data files come out
byte-identical, so sha256sum -c SHA256SUMS passes for every .data.gz. The
JSON logs differ only in their creation time and timings. To make your own variants, edit
the lists of metals, box sizes and solid fractions at the top of the script.