Download README.md from PINNeAPPle-Labs/sim-calculix-pipe-param: direct link, hf CLI and curl.
- Browser
- Download file 4.56 kB
-
https://huggingface.co/datasets/PINNeAPPle-Labs/sim-calculix-pipe-param/resolve/main/README.md
- Command line
-
hf download hf://datasets/PINNeAPPle-Labs/sim-calculix-pipe-param/README.md
-
curl -L -o README.md https://huggingface.co/datasets/PINNeAPPle-Labs/sim-calculix-pipe-param/resolve/main/README.md
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 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):
pip install "pinneapple @ git+https://github.com/PINNeAPPle-Labs/PINNeAPPle"
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):
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; 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}
}