ProvaProva2 / README.md
IMessinaAI4I's picture
Update README.md
afb80d8 verified
|
Raw History Blame Contribute Delete
14.9 kB
metadata
license: cc-by-4.0
viewer: false
language:
  - en
pretty_name: WaveMat Bloch 500k
size_categories:
  - 100K<n<1M
task_categories:
  - tabular-regression
  - graph-ml
tags:
  - metamaterials
  - phononic-crystals
  - band-structure
  - bloch-waves
  - lattice-mechanics
  - computational-mechanics
  - inverse-design
  - mechanical-engineering
configs:
  - config_name: cells
    default: true
    data_files:
      - split: train
        path: data/cells/train-*.parquet
  - config_name: bands
    data_files:
      - split: train
        path: data/bands/train-*.parquet
  - config_name: bands_summary
    data_files:
      - split: train
        path: data/bands_summary/train-*.parquet

WaveMat Bloch 500k

Elastic wave dispersion of 499,544 three-dimensional strut lattices, each solved with Timoshenko frame elements and Bloch periodicity along the Γ X M Γ R X M R path of the simple cubic Brillouin zone. Every cell carries its geometry, its long-wave speeds and moduli, and its complete band structure: 141 wavevectors by 6 modes.

The cells share one relative density, so the dataset isolates the effect of topology and strut orientation on the spectrum, with the volume fraction held fixed.

Twelve unit cells

Browse it before you download

The explorer

Open the explorer — the whole collection in a browser, with nothing to install.

  • filter the 499,544 cells on ten quantities, and sort on any column
  • see any cell drawn as the content of its cube, or tiled two by two by two
  • read its dispersion along Γ X M Γ R X M R, against a backdrop of the cells that pass the same filters

The page carries no data of its own. It reads the files in this repository with byte-range requests, a few kilobytes per cell, so it opens at once and always shows what is published here.

At a glance

unit cells 499,544
wavevectors per cell 141 along Γ X M Γ R X M R
modes per cell 6
nodes per cell 6 to 23, median 13
struts per cell 6 to 37, median 20
relative density 0.1493 to 0.1502, one nominal 0.15 for every cell
solid material E = 470.4 MPa, ν = 0.3, ρs = 1050 kg/m³
cell size a = 25 mm
cells with a complete gap between modes 3 and 4 20,998 (4.20 %)
widest such gap ΔΩ = 0.01899, i.e. 508 Hz at a = 25 mm
download 3.03 GB in Parquet
licence CC BY 4.0

Quick start

from datasets import load_dataset

cells = load_dataset("IMessinaAI4I/wavemat-bloch-500k", "cells", split="train")
print(cells)
print(cells[0]["struts"], cells[0]["c_longitudinal_100"], "m/s")

The cells configuration is 72 MB and holds one row per unit cell. The dispersion is a separate configuration, so it is downloaded only when it is needed:

import numpy as np

bands = load_dataset("IMessinaAI4I/wavemat-bloch-500k", "bands", split="train", streaming=True)
row = next(iter(bands))

omega = np.asarray(row["omega"], dtype=np.float32).reshape(
    141, 6)        # wavevector, mode

A band diagram, with the high-symmetry points where the path turns:

import matplotlib.pyplot as plt

corners = [0, 20, 40, 60, 80, 100, 120, 140]
labels = ['Γ', 'X', 'M', 'Γ', 'R', 'X', 'M', 'R']

figure, axes = plt.subplots(figsize=(5, 4))
axes.plot(omega)
for corner in corners[1:-1]:
    axes.axvline(corner, color="0.85", lw=0.8)
axes.set_xticks(corners)
axes.set_xticklabels(labels)
axes.set_xlim(0, 140)
axes.set_ylim(0, None)
axes.set_ylabel(r"$\Omega = f\,a\,\sqrt{\rho_s/E}$")
plt.show()

Selecting cells is ordinary table work:

wide = cells.filter(lambda row: row["has_gap_3_4"]
                    and row["omega_gap_3_4_width"] > 0.01)
stiff = cells.filter(lambda row: row["c_longitudinal_100"] > 400.0)

Without the datasets library, every file is plain Parquet:

import pandas as pd

base = "https://huggingface.co/datasets/IMessinaAI4I/wavemat-bloch-500k/resolve/main"
cells = pd.read_parquet(f"{base}/data/cells/train-00000-of-00001.parquet")

What a row holds

cells — 499,544 rows, 37 columns, 72 MB

column type meaning
cell_id int32 row identifier, 0 to 499543, contiguous
source_sid int32 identifier of the unit cell in the source collection
node_fractional list[list[float32]] (n, 3) node coordinates in [0, 1], in units of the cell size
edge list[list[int32]] (m, 2) struts, as pairs of node indices
nodes int32 number of stored nodes n
struts int32 number of stored struts m
radius_mm float32 strut radius, mm
radius_over_cell float32 strut radius in units of the cell size
relative_density float32 solid fraction of the cell, union of the struts
min_slenderness float32 smallest strut length over radius
median_slenderness float32 median strut length over radius
min_inclination_deg float32 smallest strut angle from the nearest cube axis
mean_inclination_deg float32 mean strut angle from the nearest cube axis
max_inclination_deg float32 largest strut angle from the nearest cube axis
min_strut_length_fractional float32 shortest strut, in units of the cell size
max_strut_length_fractional float32 longest strut, in units of the cell size
mean_connectivity float32 mean coordination number of the periodic graph
c_longitudinal_100 float32 long-wave longitudinal speed along [100], m/s
c_longitudinal_110 float32 the same along [110], m/s
c_longitudinal_111 float32 the same along [111], m/s
c_transversal_100 float32 slower transverse speed along [100], m/s
c_transversal_110 float32 the same along [110], m/s
c_transversal_111 float32 the same along [111], m/s
modulus_C11_mpa float32 effective longitudinal modulus from the [100] speed, MPa
modulus_C44_mpa float32 effective transverse modulus from the [100] speed, MPa
C11_over_E float32 the same modulus over the solid Young modulus
C44_over_E float32 the transverse modulus over the solid Young modulus
anisotropy_percent float32 spread of the longitudinal speed over [100], [110], [111]
omega_band1_max float32 ceiling of the first branch, scale-free
omega_band3_max float32 ceiling of the third branch, scale-free
f_band1_max_hz float32 the same ceiling in Hz, at a = 25 mm
f_band3_max_hz float32 the same for the third branch, Hz
has_gap_3_4 bool a complete gap separates branches 3 and 4
omega_gap_3_4_width float32 width of that gap, scale-free, 0 when there is none
gap_3_4_hz float32 the same width in Hz, at a = 25 mm
bands_clamped_isolated int32 band values replaced by the solver's floor
reduced_dofs int32 degrees of freedom after the Bloch reduction

bands — the full dispersion, 1.17 GB

column type meaning
cell_id int32 the row of cells this spectrum belongs to
omega list[float32] 846 values, reshaped to (141, 6) in C order: wavevector, then mode

bands_summary — the same spectrum reduced, 65 MB

column type meaning
cell_id int32 the row of cells this spectrum belongs to
omega_symmetry_points list[float32] 48 values, reshaped to (8, 6): the modes at Γ X M Γ R X M R
omega_branch_min list[float32] the lowest value each of the 6 branches reaches on the path
omega_branch_max list[float32] the highest value each branch reaches

Branch minima and maxima are what a band gap is read from, so most screening work needs bands_summary alone and never downloads the full dispersion.

metadata/kpath.parquet holds the 141 wavevectors in fractional reciprocal coordinates, with the label of each corner.

Geometry convention

A cell is stored as nodes in the unit cube and struts between them.

nodes = np.asarray(row["node_fractional"], dtype=float)   # (n, 3), each in [0, 1]
edges = np.asarray(row["edge"], dtype=int)                # (m, 2), node indices

The stored struts are a fundamental domain: they carry the material of the cell exactly once, which is what makes relative_density come out right, but they are not a complete picture of the cell. A strut shared with a neighbouring cell is stored in one image only, so plotting the stored list alone gives a lopsided figure. To draw the cell as the figures here do, take every lattice translation of every strut and keep the part inside the cube:

from itertools import product

def bars(nodes, edges):
    """Every translation of every strut, clipped to the cell."""
    for a, b in edges:
        for shift in product((-1, 0, 1), repeat=3):
            start, end = nodes[a] + shift, nodes[b] + shift
            low, high = 0.0, 1.0
            for axis in range(3):
                delta = end[axis] - start[axis]
                if abs(delta) < 1e-12:
                    if not -1e-9 <= start[axis] <= 1 + 1e-9:
                        low, high = 1.0, 0.0
                    continue
                near, far = -start[axis] / delta, (1 - start[axis]) / delta
                low, high = max(low, min(near, far)), min(high, max(near, far))
            if high - low > 1e-6:
                yield start + low * (end - start), start + high * (end - start)

A bar that appears to stop at a face is cut by the cube and continues in the neighbouring cell. No cell in this dataset has a strut that ends in mid air.

Physics and conventions

The wavevector path

Each strut is a Timoshenko frame element carrying axial, bending, shear and torsional stiffness, meshed with 3 elements per strut; the finite overlap where struts meet is treated as a rigid junction offset. The eigenproblem is solved under Bloch boundary conditions at each of the 141 wavevectors, which are the corners Γ X M Γ R X M R joined by 20 intervals per segment; corners sit at indices 0, 20, 40, 60, 80, 100, 120, 140.

Frequencies are published as the scale-free group

Omega = f * a * sqrt(rho_s / E)

so a row applies to any cell size and any isotropic solid at this relative density. Converting to hertz needs the size and the material:

f_hz = omega / (a * (rho_s / E) ** 0.5)
# for a = 25 mm, E = 470.4 MPa, rho_s = 1050 kg/m3:
f_hz = omega / 3.735089e-05

The columns in m/s, MPa and Hz are the values of that conversion for the 25 mm cell and the material above; the columns in Ω and the ratios to the solid modulus hold generally.

A unit cell and its dispersion

What every published cell satisfies

  • It is one connected network, periodic in all three directions. The cells are screened on the quotient graph of the periodic truss, so a structure that is a stack of unconnected sheets, or several interpenetrating networks that never touch, is not published.
  • No strut ends in mid air. No node has periodic degree one.
  • Each lattice appears once. No two published cells describe the same arrangement of material.
  • The three acoustic branches reach zero at Γ and nowhere else. Over all 499,544 cells, the lowest acoustic value away from the two Γ points (indices 0 and 60) is Ω = 2.84e-04, which is above the one-hertz floor of Ω = 3.74e-05. A zero elsewhere would mean a mechanism that deforms at no cost.

The last of these is the property most easily lost in a large automated sweep, and the only one a user can check without leaving the files shipped here.

Scope and limitations

  • One relative density. Every cell targets a solid fraction of 0.15, which the union of its struts reaches to within 0.1493 to 0.1502. The dataset answers what topology does at a fixed volume fraction, not how a structure scales with density.
  • No gap below the third branch. No cell in this collection opens a complete gap between branches 1 and 2; the column for the 3–4 gap is the one that varies.
  • bands_clamped_isolated counts band values the solver replaced by its numerical floor for that cell. It is zero for 15.9 % of the cells and at most 3 of the 846 values elsewhere; a large value marks a spectrum to treat with care.
  • source_sid is provenance, not an index. It identifies the unit cell in the source collection and is not contiguous. Use cell_id to join the three configurations.
  • Rows are not independent samples. Some cells are close re-embeddings of the same strut arrangement, so a random row-level split can place near duplicates on both sides of it. A generalisation test should hold out by structure rather than by row.
  • Linear, undamped, small strain. The model gives the dispersion of an elastic frame; it says nothing about damping, contact, buckling or large deformation.

Source of the geometries

The unit-cell geometries were sampled from the cubic collection of

Maurizi, Marco (2025). Designing metamaterials with programmable nonlinear responses and geometric constraints in graph space. figshare. Dataset. https://doi.org/10.6084/m9.figshare.28773806

released under CC BY 4.0. The dispersion, the descriptors and the moduli published here are new computations; the source provides the topologies only.

Licence

CC BY 4.0, matching the licence of the source geometries. You may share and adapt the data, including commercially, provided you give credit. The solver that produced it is released separately under the MIT licence.

Citation

@dataset{messina_wavemat_bloch_500k,
  author    = {Messina, Iacopo and Subert, Rodolfo and
               Maurizi, Marco},
  title     = {WaveMat Bloch 500k: Bloch dispersion of 499,544 periodic
               strut lattices},
  year      = {2026},
  publisher = {Hugging Face},
  url       = {https://huggingface.co/datasets/IMessinaAI4I/wavemat-bloch-500k}
}

Please also cite the source of the geometries, listed above.

Acknowledgements

Produced at the AMED Lab, the Italian Institute for Artifical Intelligence (AI4I), Politecnico di Milano, and is hosted on the IT4LIA AI Factory. The band structures were computed on the Peano HPC.

Contact

marco.maurizi@ai4i.it