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.

Ramp Multi-Resolution Adaptive CFD Dataset

Inviscid supersonic and hypersonic flow over a 2D 15° compression ramp at 304 flow conditions. Each condition is solved on four meshes: the initial mesh and three successively adapted ones, giving the same flow at increasing resolution. Every solution comes with the mesh-adaptation data computed from it: shock flags, the velocity gradient and the anisotropic size field.

The case

  • Geometry: a channel 0.25 m long (x from −0.15 to 0.10 m) and 0.15 m high (z from 0 to 0.15 m). The lower wall is flat for 0.05 m (wall_leadin), then rises as a 15° ramp from x = −0.10 m to x = 0 (wall_ramp, height 26.79 mm), then is flat again to the outlet (wall_aft). The upper wall (wall_top) is flat. The ramp starts at a concave corner and ends at a sharp convex corner.
  • 2D in practice: the flow plane is x–z. The domain is a slab one cell thick (6 mm in y) with symmetry planes on both faces (symmetry_ymin at y = −3 mm, symmetry_ymax at y = +3 mm), so every field is uniform in y and the y velocity is zero.
  • Physics: inviscid (slip walls), calorically perfect air (γ = 1.4, R = 287.05 J/(kg·K)).
  • Solver: RavenCFD. The inlet is a total-pressure, total-temperature boundary with the sample's Mach number; the angle of attack is always 0.

Flow conditions

Quantity Range
Mach number 2.76 – 6.30
Total pressure P₀ 2.13 – 13.46 MPa
Total temperature T₀ 715 – 1974 K
Freestream static pressure p∞ 1.42 – 99.5 kPa
Freestream static temperature T∞ 216.65 – 287.2 K
Altitude 0.15 – 28.7 km

The 304 samples are numbered 0000–0303. metadata/samples.parquet lists each one's conditions, with its row in the project's 1,750-sample list as source_id (here the same as sample_id).

Mesh cycles

Cycle Mesh Cells (median, range)
cycle0 initial mesh 17,600 (the same for every sample)
cycle1 after adaptation 1 5,303 (4,899 – 5,676)
cycle2 after adaptation 2 1,363 (1,144 – 1,662)
cycle3 after adaptation 3 1,523 (1,151 – 1,873)

Each adaptation sizes the mesh from the previous cycle's solution. It uses the Hessian of temperature, modified at shocks, with one size threshold shared by all samples in the cycle. The initial mesh is uniformly fine, so each adaptation refines at the shock and expansion while coarsening the uniform-flow regions a lot, which is why the adapted meshes have fewer cells than cycle0.

The minimum mesh size for cycle i (i = 1, 2, 3) is

h_min,i = h_init / (4 · 2^(i−1)), with h_init = 0.0025,

h_max is 0.025 for all samples.

Layout

data/<sample_id>/cycle<X>/      sample_id = 0000-0303, X = 0-3
    volume.vtu                  CFD solution (cell data)
    supp.vtu                    adaptation data on the same mesh (point data)
    surface.vtm                 index of the boundary patches
    surface/<patch>.vtu         boundary faces with the solution: inlet, wall_leadin, wall_ramp,
                                wall_aft, outlet, wall_top, symmetry_ymin, symmetry_ymax
metadata/
    samples.parquet             one row per sample: conditions and source_id
    cycles.parquet              one row per sample and cycle: cell count
    fields.json                 every array in every file, with units
geometry/                       model and mesh files of the case

Fields

volume.vtu (cell data):

Array Quantity Units
Field_0 temperature K
Field_20 Mach number –
Field_21 density kg/m³
Field_22 pressure Pa
Field_24 velocity (3 components; y = 0) m/s

supp.vtu (point data):

Array Quantity
Field_5 temperature shock detection
Field_10 pressure shock detection
Field_11 velocity gradient, 3×3 tensor as 9 components (y row and column zero)
Field_12 anisotropic size field: two in-plane size vectors, 6 components

The surface patches carry temperature, Mach_number, density, pressure, velocity and processor_ID (solver partition, not physical) as cell data. See metadata/fields.json for details.

Loading

from datasets import load_dataset
samples = load_dataset("sahni-lab/multi-res-ramp-database", "samples")["train"]
cycles  = load_dataset("sahni-lab/multi-res-ramp-database", "cycles")["train"]

from huggingface_hub import hf_hub_download
import pyvista as pv
path = hf_hub_download("sahni-lab/multi-res-ramp-database",
                       "data/0000/cycle3/volume.vtu", repo_type="dataset")
mesh = pv.read(path)
T = mesh.cell_data["Field_0"]          # temperature, K

To download whole samples, use snapshot_download(..., repo_type="dataset", allow_patterns=["data/0000/*"]). Reading a surface.vtm needs the matching surface/ folder next to it.

License

CC BY-SA 4.0.

Downloads last month
420