Residual Operator-Diffusion for PDE Solution Predictions
Simulation inputs and reference fields for the LDC and Dogbone benchmarks in Learning What the Operator Misses: Residual Operator-Diffusion for Spatiotemporal PDE Solution Predictions.
- Paper: DOI 10.1038/s44387-026-00170-7.
- Code: Learning What the Operator Misses.
- License: CC BY 4.0.
The arrays retain their stored values, dtypes, and row order. manifest.json lists each file's size, shape, dtype, and SHA256 checksum. SHA256SUMS provides checksums for the repository files.
Use huggingface_hub to download the arrays. These files use NumPy formats and raw binary arrays rather than a tabular datasets.load_dataset configuration.
Download
from huggingface_hub import snapshot_download
snapshot_download(
repo_id="jaewan-wod33/residual-operator-diffusion-pde",
repo_type="dataset",
allow_patterns=["dogbone/**", "README.md", "manifest.json", "SHA256SUMS"],
local_dir="data/pde",
)
Replace dogbone/** with ldc/** for LDC. Omit allow_patterns to download the whole dataset. Check the per-file sizes in manifest.json before downloading.
LDC: lid-driven cavity
| Path | Contents |
|---|---|
ldc/raw/stream_function.npy |
Float64, (5000, 40, 65, 65), reference stream-function fields |
ldc/raw/lid_vel_array.npy |
Float32, (5000, 90), lid-velocity histories |
The first axis identifies a simulation. Corresponding rows in the two files refer to the same simulation. The field axes are simulation, frame, spatial row, and spatial column. Raw arrays retain the original simulation slots; check numerical validity before using a trajectory.
from pathlib import Path
import numpy as np
root = Path("data/pde/ldc/raw")
stream = np.load(root / "stream_function.npy", mmap_mode="r")
loading = np.load(root / "lid_vel_array.npy", mmap_mode="r")
case = 0
field = stream[case]
condition = loading[case]
Dogbone: elasto-plastic deformation
Raw nodal arrays
| Path | Contents |
|---|---|
dogbone/raw/Amp.npz |
Key a, float64, (9903, 101), loading histories |
dogbone/raw/Stress.npz |
Key a, float64, (9903, 40, 3060), reference von Mises stress in MPa |
dogbone/raw/PEEQ.npz |
Key a, float64, (9903, 40, 3060), equivalent plastic strain |
dogbone/raw/Coords.npy |
Float32, (3060, 2), nodal coordinates |
The first axis identifies a simulation. Stress and PEEQ share the same simulation, frame, and node order. Coordinates describe the shared nodal mesh. Reading a large NPZ member decompresses the entire array into memory.
from pathlib import Path
import numpy as np
root = Path("data/pde/dogbone/raw")
with np.load(root / "Amp.npz") as data:
loading = data["a"]
coords = np.load(root / "Coords.npy")
Prepared stress arrays
| Path | Contents |
|---|---|
dogbone/prepared/Amp_purified_128.npy |
Float64, (9314, 101), loading histories |
dogbone/prepared/stress_target_purified_128.dat |
Reference stress in MPa, float32, (9314, 40, 128, 128) |
dogbone/prepared/mask.npy |
Boolean specimen mask, (128, 128) |
The prepared loading and stress arrays have aligned simulation rows. The raw and prepared collections have different row counts, so their row positions must not be treated as interchangeable.
The .dat file contains little-endian float32 values in C order, without a header. Its size is 24,416,092,160 bytes. Use numpy.memmap to access it. Interpolation can leave NaNs outside the specimen; apply the mask with np.where.
from pathlib import Path
import numpy as np
root = Path("data/pde/dogbone/prepared")
stress = np.memmap(
root / "stress_target_purified_128.dat",
mode="r", dtype="<f4", shape=(9314, 40, 128, 128),
)
mask = np.load(root / "mask.npy")
loading = np.load(root / "Amp_purified_128.npy", mmap_mode="r")
case = 0
field = np.where(mask, stress[case], 0)
condition = loading[case]
These simulation datasets support research on surrogate PDE models. Please cite the paper and this dataset when using the data.
- Downloads last month
- 93