Datasets:
The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: ArrowInvalid
Message: Mismatching child array lengths
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2951, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2461, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2486, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 547, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 430, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/hdf5/hdf5.py", line 83, in _generate_tables
pa_table = _recursive_load_arrays(h5, self.info.features, start, end)
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/hdf5/hdf5.py", line 267, in _recursive_load_arrays
arr = _recursive_load_arrays(obj, features[path], start, end)
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/hdf5/hdf5.py", line 288, in _recursive_load_arrays
sarr = pa.StructArray.from_arrays(values, names=keys)
File "pyarrow/array.pxi", line 4385, in pyarrow.lib.StructArray.from_arrays
File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
raise convert_status(status)
pyarrow.lib.ArrowInvalid: Mismatching child array lengthsNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
How To Load from HuggingFace Hub
- Be sure to have
the_wellinstalled (pip install the_well) - Use the
WellDataModuleto retrieve data as follows:
from the_well.data import WellDataModule
# The following line may take a couple of minutes to instantiate the datamodule
datamodule = WellDataModule(
"hf://datasets/polymathic-ai/",
"shear_flow",
)
train_dataloader = datamodule.train_dataloader()
for batch in dataloader:
# Process training batch
...
Periodic shear flow
Warning: this Hugging Face copy is v1.0 of the dataset, which has an error in its split. About 80% of its validation and test trajectories are exact copies of training trajectories (same PDE parameters and same initial condition), so validation and test results obtained on it are not reliable.
A corrected version (v2.0), with train, validation and test built from disjoint initial conditions, is available from Flatiron with:
the-well-download --base-path path/to/base --dataset shear_flowIf you already downloaded
shear_flowbefore October 2026, delete your local copy first: the download resumes existing files and would otherwise keep the old ones. This Hugging Face copy will be updated to v2.0 soon.
One line description of the data: 2D periodic incompressible shear flow.
Longer description of the data: Shear flow are a type of fluid characterized by the continuous deformation of adjacent fluid layers sliding past each other with different velocities. This phenomenon is commonly observed in various natural and engineered systems, such as rivers, atmospheric boundary layers, and industrial processes involving fluid transport. The dataset explores a 2D periodic shearflow governed by incompressible Navier-Stokes equation.
Associated paper: Paper 1, Paper 2, Paper 3.
Data generated by: Rudy Morel, CCM, Flatiron Institute.
Code or software used to generate the data: Github repository, based on the software Dedalus.
Equation:
While we solve equations in the frequency domain, the original time-domain problem is
where is the spatial Laplacian, is the (horizontal and vertical) velocity, is the tracer, and is the pressure, with the additional constraints (pressure gauge).
These PDEs are parameterized by the Reynolds and Schmidt numbers through and .
| Dataset | FNO | TFNO | Unet | CNextU-net |
|---|---|---|---|---|
shear_flow |
0.1567 | 0.5910 | 0.2037 |
Table: VRMSE metrics on test sets (lower is better). Best results are shown in bold. VRMSE is scaled such that predicting the mean value of the target field results in a score of 1.
About the data
Dimension of discretized data: 200 time-steps of 128 256 images.
Fields available in the data: tracer (scalar field), pressure (scalar field), velocity (vector field).
Number of simulations: 1120 (28 PDE parameters 40 initial conditions).
Size of the ensemble of all simulations: 114.7 GB.
Grid type: uniform, cartesian coordinates.
Initial conditions: the shear field is composed of shears uniformly spaced along the direction. Each shear is implemented with a tanh (hyperbolic tangent) where is the vertical position of the shear and is a width factor. The velocity field is composed of sinusoids along the direction located at the shear. These sinusoids have an exponential decay away from the shear in the direction . The tracer matches the shear at initialization. The pressure is initialized to zero. The initial condition is thus indexed by .
Boundary conditions: periodic.
Simulation time-step: 0.1 (simulation time unit).
Total time range ( to ): , .
Spatial domain size: horizontally, and vertically.
Set of coefficients or non-dimensional parameters evaluated: . For initial conditions , , .
Approximate time to generate the data: per input parameter: , total: hours.
Hardware used to generate the data and precision used for generating the data: 7 nodes of 64 CPU cores each with 32 tasks running in parallel on each node, in single precision.
What is interesting and challenging about the data:
Shear flow are non-linear phenomena arrising in fluid mechanics and turbulence. Predicting the behavior of the shear flow under different Reynolds and Schmidt numbers is essential for a number of applications in aerodynamics, automotive, biomedical. Furthermore, such flow are unstable at large Reynolds number.
Please cite these associated papers if you use this data in your research:
@article{burns2020dedalus,
title={Dedalus: A flexible framework for numerical simulations with spectral methods},
author={Burns, Keaton J and Vasil, Geoffrey M and Oishi, Jeffrey S and Lecoanet, Daniel and Brown, Benjamin P},
journal={Physical Review Research},
volume={2},
number={2},
pages={023068},
year={2020},
publisher={APS}
}
- Downloads last month
- 6,973
