Dataset Viewer
Auto-converted to Parquet
Search is not available for this dataset
The dataset viewer is not available for this split.
Rows from parquet row groups are too big to be read: 336.15 MiB (max=286.10 MiB)
Error code:   TooBigContentError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Dataset Card

image/png image/png

This dataset contains a single huggingface split, named 'all_samples'.

The samples contains a single huggingface feature, named called "sample".

Samples are instances of plaid.containers.sample.Sample. Mesh objects included in samples follow the CGNS standard, and can be converted in Muscat.Containers.Mesh.Mesh.

Example of commands:

from datasets import load_dataset
from plaid.containers.sample import Sample
import pickle

# Load the dataset
hf_dataset = load_dataset("PLAID-datasets/2D_profile", split="all_samples")

# Get split ids
ids_train = hf_dataset.description["split"]['train']
ids_test  = hf_dataset.description["split"]['test']

# Get inputs/outputs names
in_scalars_names = hf_dataset.description["in_scalars_names"]
out_fields_names = hf_dataset.description["out_fields_names"]

# Get samples
sample = Sample.model_validate(pickle.loads(hf_dataset[ids_train[0]]["sample"]))
sample_2 = Sample.model_validate(pickle.loads(hf_dataset[ids_test[0]]["sample"]))

# Examples data retrievals
nodes = sample.get_nodes()
elements = sample.get_elements()
nodal_tags = sample.get_nodal_tags()

for fn in ['Mach', 'Pressure', 'Velocity-x', 'Velocity-y']:
    field = sample.get_field(fn)

# Get the mesh and convert it to Muscat
from Muscat.Bridges import CGNSBridge
CGNS_tree = sample.get_mesh()
mesh = CGNSBridge.CGNSToMesh(CGNS_tree)
print(mesh)

Dataset Details

Dataset Description

This dataset contains 2D external aero CFD RANS solutions, under geometrical variations.

The variablity in the samples is the geometry (mesh). Outputs of interest are 4 fields. Each sample have been computed on large refined meshes, which have been cut close to the profil.

Dataset created using the PLAID library and datamodel, version 0.1.

  • Language: PLAID
  • License: cc-by-sa-4.0
  • Owner: Safran

Dataset Sources

Downloads last month
119

Space using PLAID-datasets/2D_profile 1

Collection including PLAID-datasets/2D_profile