File size: 4,559 Bytes
2fad548 | 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 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | ---
pretty_name: 'Plate with a hole: a parametric CalculiX study (six cases)'
license: apache-2.0
task_categories:
- other
size_categories:
- 1K<n<10K
tags:
- pinneapple
- physics
- scientific-machine-learning
- structures
- calculix
- fem
- parametric-study
- simulation-evidence
configs:
- config_name: default
default: true
data_files:
- split: nodes
path: data/default/nodes-*.parquet
- split: cases
path: data/default/cases-*.parquet
dataset_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):
```bash
pip install "pinneapple @ git+https://github.com/PINNeAPPle-Labs/PINNeAPPle"
```
```python
import 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):
```python
from 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}
}
```
|