Download README.md from PINNeAPPle-Labs/zhu-solidification-1d-reference: direct link, hf CLI and curl.
- Browser
- Download file 3.69 kB
-
https://huggingface.co/datasets/PINNeAPPle-Labs/zhu-solidification-1d-reference/resolve/main/README.md
- Command line
-
hf download hf://datasets/PINNeAPPle-Labs/zhu-solidification-1d-reference/README.md
-
curl -L -o README.md https://huggingface.co/datasets/PINNeAPPle-Labs/zhu-solidification-1d-reference/resolve/main/README.md
pretty_name: '1-D solidification: the sharp-interface similarity solution'
license: apache-2.0
task_categories:
- tabular-regression
size_categories:
- 1K<n<10K
tags:
- pinneapple
- physics
- scientific-machine-learning
configs:
- config_name: default
default: true
data_files:
- split: heldout
path: data/default/heldout-*.parquet
dataset_info:
- config_name: default
features: {}
splits:
- name: heldout
num_bytes: 0
num_examples: 0
1-D solidification: the sharp-interface similarity solution
The independent reference of the Zhu/NIST study's 1-D case: the similarity field of the three regions (solid, solidifying, liquid) from scalar root finding on the flux balance, on eta = x/(0.01 sqrt(t)) in [-8, 8].
zhu_solidification_1d_reference v1.0.0 (revision v1.0.0) · licence apache-2.0 · part of the PINNeAPPle zoo
Configs and splits
| Config | Split | Samples | Parquet rows | Parquet files | Content |
|---|---|---|---|---|---|
default |
heldout |
1501 | 0 | 0 | one reference curve (1501 points), never used in training |
Columns
| Column | Unit | Type | Description |
|---|---|---|---|
eta |
- | float64 | similarity coordinate |
temperature_k |
K | float64 | reference temperature |
Load
With the library (the npz files, SHA-256 checked; arrays with their full shape):
pip install "pinneapple @ git+https://github.com/PINNeAPPle-Labs/PINNeAPPle"
import pinneapple as pp
d = pp.datasets.load("zhu_solidification_1d_reference", split="heldout")
print(d.n_rows, d.columns)
With datasets (the Parquet files of this repo):
from datasets import load_dataset
ds = load_dataset("PINNeAPPle-Labs/zhu-solidification-1d-reference", split="heldout", revision="v1.0.0")
print(ds)
Each sample of this dataset is larger than the viewer can show in one row, so the Parquet files store one row per step of its first axis (1 steps): sample is the row of the split in pp.datasets.load and step the index along that axis; columns hold one step, the others are repeated on every step. pp.datasets.load returns the samples whole; pinneapple_hub.zoo.parquet.read_parquet puts the Parquet rows back together the same way.
Provenance
benchmarks/industrial/zhu_am_bench_2018/solidification_1d.py::reference
Verification
root finding converged to a flux residual of -4.97e-14; the front coefficient 0.007095290 m/sqrt(s) matches the paper's 0.007095 to 5e-6 relative
Files
The npz files are the library's format and the source of truth: pp.datasets.load downloads them from this repo at the tagged revision and refuses any file whose SHA-256 differs from the manifest of the package. The Parquet files under data/ are derived from them by pinneapple_hub.zoo.parquet.write_dataset and hold the same numbers (a test round-trips npz -> Parquet -> arrays bit for bit); they are what the dataset viewer and load_dataset read.
| File | Size | SHA-256 |
|---|---|---|
data.npz |
0.0 MB | 5cd9d028ab6b10ee67e7af58492fbd6e4c14d7481aa92faa71a89180160334b0 |
Total 0.0 MB of npz.
Citation
Zhu et al., Comput Mech (2020) doi:10.1007/s00466-020-01952-9, §4.1
Cite
If you use this dataset, please cite PINNeAPPle (software, Zenodo DOI 10.5281/zenodo.23343062; see CITATION.cff):
@software{pinneapple,
author = {Barros, Yan and Schiassi, Enrico},
title = {PINNeAPPle},
doi = {10.5281/zenodo.23343062},
url = {https://github.com/PINNeAPPle-Labs/PINNeAPPle}
}