Dataset Viewer

The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.

NACA 0012 in Euler flow: SU2 surface distribution and convergence

SU2 Euler solution of the NACA 0012 at M = 0.5, alpha = 2 deg: the surface distribution (density, momentum, energy at every surface point) and the convergence history of the inner iterations, ending at CL = 0.272349, CD = 0.001428.

sim_su2_naca0012_euler 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 surface 200 0 0 surface points of the airfoil
default history 3000 0 0 inner iterations of the solver
default meta 1 0 0 what the run solved and the coefficients it ended at

Columns

Column Unit Type Description
x m float64 surface x
y m float64 surface y
density kg/m^3 float64 density at the surface point
momentum_x kg/(m^2 s) float64 x momentum
momentum_y kg/(m^2 s) float64 y momentum
energy J/m^3 float64 total energy per volume
inner_iter - float64 inner iteration
rms_rho - float64 RMS residual of density
cl - float64 lift coefficient per iteration
cd - float64 drag coefficient per iteration
mach - float64 free-stream Mach number
aoa_deg deg float64 angle of attack
cl_final - float64 lift coefficient at the last iteration
cd_final - float64 drag coefficient at the last iteration

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_su2_naca0012_euler", split="surface")
print(d.n_rows, d.columns)

With datasets (the Parquet files of this repo):

from datasets import load_dataset

ds = load_dataset("PINNeAPPle-Labs/sim-su2-naca0012-euler", split="surface", 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

SU2 run kept at /Users/yanbarros/su2/caso (case file naca0012_euler.cfg, mesh mesh_NACA0012_inv.su2)

Verification

the run reached 3000 inner iterations; CL and CD are the last history row, read from history.csv, not retyped

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.1 MB c35581aa507112a9a2a0e5fc15fa94f82077da3600e087f61540b7146c368a5a

Total 0.1 MB of npz.

Citation

SU2 tutorial case (NACA 0012 inviscid), SU2 v8 series

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}
}
Downloads last month
-