File size: 3,691 Bytes
71daaae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
---
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](https://github.com/PINNeAPPle-Labs/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):

```bash
pip install "pinneapple @ git+https://github.com/PINNeAPPle-Labs/PINNeAPPle"
```

```python
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):

```python
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](https://doi.org/10.5281/zenodo.23343062); see [CITATION.cff](https://github.com/PINNeAPPle-Labs/PINNeAPPle/blob/main/CITATION.cff)):

```bibtex
@software{pinneapple,
  author = {Barros, Yan and Schiassi, Enrico},
  title  = {PINNeAPPle},
  doi    = {10.5281/zenodo.23343062},
  url    = {https://github.com/PINNeAPPle-Labs/PINNeAPPle}
}
```