You need to agree to share your Hugging Face information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

Supersonic/hypersonic laminar flow of air over a rounded wedge

Supersonic/hypersonic laminar flow of air over a rounded wedge, solved with Ansys Fluent on a sequence of anisotropically adapted meshes. Each sample is one set of freestream conditions (Mach number and altitude). For every sample, the dataset provides the volume solution, the derived fields that drive the adaptation (gradients, Hessians, shock flags) and the boundary-surface solution, for each of four adaptation cycles.

Contents

Samples 261 (metadata/samples.parquet): 220 good in data/, 41 bad in data/bad_samples/ (see Bad samples)
Cycles per sample 4 (cycle0 … cycle3)
Mesh 3D slab, one cell layer through the thickness (x, ±0.006 m); prism and hexahedral cells
Mesh size cycle0 (starter mesh, the same for every sample): 38,288 points, 33,665 cells; cycle3: median 48,754 points, 34,343 cells
Freestream Mach 2.7–6.3, altitude 0.13–28.7 km, total temperature 693–1,984 K

Layout

metadata/
  samples.parquet        one row per sample: freestream conditions
  cycles.parquet         one row per (sample, cycle): mesh size and file paths
  fields.json            field names, original solver names, units, descriptions
geometry/                Parasolid model, Simmetrix model and starter mesh
data/NNNN/cycleK/
  volume.vtu             flow solution on the cycle-K mesh
  supp.vtu               adaptation fields on the same mesh, incl. the size field for the next mesh
  surface.vtm            boundary surfaces (multiblock), blocks in surface/<name>.vtu
data/bad_samples/NNNN/cycleK/
                         same files, for the bad samples listed below

All .vtu files are VTK XML unstructured grids (binary, zlib), readable with ParaView, VTK, pyvista or meshio. Fields are point data. volume.vtu and supp.vtu share the same points in the same order.

Samples (metadata/samples.parquet)

column units description
sample_id four-digit ID, matches data/NNNN/ (or data/bad_samples/NNNN/)
original_id ID in the original sampling plan
bad_sample true for the bad samples in data/bad_samples/
T0 K total temperature
P0 Pa total pressure
Ts K static temperature
Ps Pa static pressure
M freestream Mach number
altitude_km km altitude used for the static conditions

Only valid samples are included, renumbered 0000–0260 in order of original_id. Of the 350 sampling-plan points that were run, 89 were excluded because the flow solver failed to converge in some cycle or manual review found problems in the solution fields.

original_id is the sampling-plan point shared with sahni-lab/multi-res-rounded-wedge-cfd-database (fixed meshes): the same original_id is the same flow condition in both datasets.

Bad samples

The following 41 samples are bad and are stored separately in data/bad_samples/NNNN/. Their cycle3 meshes are much coarser than the rest (13,000–20,400 cells, against 30,000–38,600 for the other 220 samples, and fewer cells than their own cycle2 mesh in 40 of the 41), because the size field computed from the cycle2 solution lost most of its fine, anisotropic resolution. Cycles 0–2 of these samples look like the others, but the samples are kept apart as a whole.

sample_id original_id sample_id original_id sample_id original_id
0001 0001 0077 0103 0194 0265
0006 0007 0081 0107 0196 0268
0008 0011 0134 0182 0198 0270
0012 0017 0137 0186 0203 0276
0018 0026 0138 0189 0212 0288
0023 0033 0143 0196 0213 0289
0044 0059 0151 0206 0222 0299
0047 0064 0158 0218 0225 0303
0048 0067 0166 0226 0239 0325
0052 0072 0181 0249 0240 0326
0058 0079 0182 0252 0247 0334
0061 0082 0183 0253 0249 0337
0068 0091 0189 0260 0252 0340
0075 0101 0192 0263

Solver setup

Ansys Fluent (TUI version 26.1), density-based implicit solver, laminar, energy equation on, air as an ideal gas with constant properties, operating pressure 0. Each run iterates to residuals of 1e-4 with the Courant number raised in steps (0.3, 0.7, 1.0, 1.5; up to 23,500 iterations).

surface block type
inlet velocity inlet at the freestream velocity, Ps and Ts (z = 0.1428 m; the flow is in −z)
outlet pressure outlet at (0.85 + 0.0364 M²) · Ps, backflow temperature T0; this only acts on the subsonic layer near the wall
wedge no-slip adiabatic wall (the body)
top, bottom zero-shear (slip) walls, the lateral boundaries at y = ±0.0882 m
front, back symmetry (the two faces of the slab)

Adaptation cycles

cycleK holds the solution on the mesh after K adaptations; cycle0 is the starter mesh. The minimum mesh size in adaptation cycle N is h_min = 0.001125 / (4 · 2^(N-1)) m and the maximum size is 0.005 m. The adaptation is driven by the static temperature Hessian, modified at shocks flagged from the temperature and pressure fields; boundary-layer vertices are adapted as well.

Fields

volume.vtu and surface/<block>.vtu: Static_Pressure, Mach_Number, Velocity_Magnitude, Sound_Speed, Static_Temperature, Density, Dynamic_Pressure, Enthalpy, Specific_Heat_Ratio__gamma_, Gas_Constant__R_, Velocity (3). Wall heat flux and wall shear stress are not included.

supp.vtu:

array components description
Field_1 3 static temperature gradient
Field_2 9 static temperature Hessian
Field_3 1 temperature shock flag direction
Field_4 1 temperature shock seeds
Field_5 1 temperature shock flag
Field_6 3 static pressure gradient
Field_7 9 static pressure Hessian
Field_8 1 pressure shock flag direction
Field_9 1 pressure shock seeds
Field_10 1 pressure shock flag
Field_12 6 size field computed from this cycle's solution, used to generate the next cycle's mesh (see below)

Field_12 is the anisotropic size field that the adaptation computed from the cycle-K solution and used to generate the cycle-(K+1) mesh. It holds two orthogonal 3-vectors (components 0–2 and 3–5); the direction of each vector is a principal direction of the requested mesh size and its magnitude is the requested size in that direction, in m. The size through the slab thickness (x) is not stored. In cycle3 the field is computed the same way, but no cycle4 mesh is part of the dataset.

Units and descriptions are in metadata/fields.json.

Surface blocks: back, front, outlet, wedge, top, inlet, bottom.

Loading

import meshio, pandas as pd
from huggingface_hub import snapshot_download

root = snapshot_download("sahni-lab/multi-res-rounded-wedge-adapted-cfd-database", repo_type="dataset",
                         allow_patterns=["metadata/*", "data/0000/*"])
samples = pd.read_parquet(f"{root}/metadata/samples.parquet")
vol = meshio.read(f"{root}/data/0000/cycle0/volume.vtu")
print(vol.point_data["Mach_Number"].shape)

Citation

A paper describing this dataset is forthcoming. The citation will be added here once it is published.

Downloads last month
42