sim_calculix_pipe_param v1.0.0: card, Parquet copies
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125---pretty_name: 'Plate with a hole: a parametric CalculiX study (six cases)'license: apache-2.0task_categories:- othersize_categories:- 1K<n<10Ktags:- pinneapple- physics- scientific-machine-learning- structures- calculix- fem- parametric-study- simulation-evidenceconfigs:- config_name: default default: true data_files: - split: nodes path: data/default/nodes-*.parquet - split: cases path: data/default/cases-*.parquetdataset_info:- config_name: default features: {} splits: - name: nodes num_bytes: 0 num_examples: 0 - name: cases num_bytes: 0 num_examples: 0---
# Plate with a hole: a parametric CalculiX study (six cases)
Six static CalculiX runs of one plate-with-a-hole study, varying the outer diameter (60/130/200 mm) and the wall thickness (6/11/16 mm): nodal displacement (3 components) and von Mises stress at 1512 nodes over all cases. The cases do not share a mesh; `offsets` splits the flattened arrays back into designs.
`sim_calculix_pipe_param` 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` | `nodes` | 1512 | 0 | 0 | every node of every case, flattened || `default` | `cases` | 6 | 0 | 0 | one row per case: which dimension it varied |
## Columns
| Column | Unit | Type | Description ||---|---|---|---|| `coords_m` | m | float64[3] | node coordinates, case by case || `node_ids` | - | int64 | the solver's node id || `offsets` | - | int64 | start row of each case || `displacement_m` | m | float64[3] | nodal displacement || `von_mises_pa` | Pa | float64 | von Mises stress || `param` | mm | float64 | the varied dimension of each case || `label` | - | str | which dimension each case varied || `n_nodes` | - | int64 | nodes in that case's mesh |
## Load
With the library (the npz files, SHA-256 checked; arrays with their full shape):
```bashpip install "pinneapple @ git+https://github.com/PINNeAPPle-Labs/PINNeAPPle"```
```pythonimport pinneapple as pp
d = pp.datasets.load("sim_calculix_pipe_param", split="nodes")print(d.n_rows, d.columns)print(d["coords_m"].shape)```
With `datasets` (the Parquet files of this repo):
```pythonfrom datasets import load_dataset
ds = load_dataset("PINNeAPPle-Labs/sim-calculix-pipe-param", split="nodes", revision="v1.0.0")print(ds)ds = ds.with_format("numpy")print(ds[0]["coords_m"].shape)```
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
CalculiX runs kept at /Users/yanbarros/gemeo-param (one directory per case: caso.inp, caso.frd)
## Verification
the fields are read from the solver's .frd with pinneapple_simulation.external_solvers.calculix.frd.read_frd; von Mises is computed here from the six stress components, not read; every case has its own node coordinates because changing the dimensions re-meshes the part
## 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 | `c7c65f668d699e07f83d458ab1cccf2d96024d7226c3f33175cfd964567bc1dc` |
Total 0.0 MB of npz.
## Citation
PINNeAPPle conjugate-thermal twin work (docs/reports/conjugate-thermal)
## 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}}```123version https://git-lfs.github.com/spec/v1oid sha256:c7c65f668d699e07f83d458ab1cccf2d96024d7226c3f33175cfd964567bc1dcsize 21004README.mdAdded+125
data.npzAdded+3