Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 5 new columns ({'case', 'inlet_temperature', 'Pr', 'Re', 'inlet_velocity'}) and 6 missing columns ({'temperature', 'v', 'x', 'pressure', 'u', 'y'}).
This happened while the csv dataset builder was generating data using
hf://datasets/ThermoFluidFoundation/thermofluid-demo/metadata.csv (at revision 207a486c764c99150a1842c24c14b59e49b5a6dc), ['hf://datasets/ThermoFluidFoundation/thermofluid-demo@207a486c764c99150a1842c24c14b59e49b5a6dc/case_0001.csv', 'hf://datasets/ThermoFluidFoundation/thermofluid-demo@207a486c764c99150a1842c24c14b59e49b5a6dc/case_0002.csv', 'hf://datasets/ThermoFluidFoundation/thermofluid-demo@207a486c764c99150a1842c24c14b59e49b5a6dc/case_0003.csv', 'hf://datasets/ThermoFluidFoundation/thermofluid-demo@207a486c764c99150a1842c24c14b59e49b5a6dc/metadata.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1837, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
case: string
Re: int64
Pr: int64
inlet_velocity: double
inlet_temperature: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 847
to
{'x': Value('float64'), 'y': Value('float64'), 'u': Value('float64'), 'v': Value('float64'), 'pressure': Value('int64'), 'temperature': Value('int64')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1683, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1839, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 5 new columns ({'case', 'inlet_temperature', 'Pr', 'Re', 'inlet_velocity'}) and 6 missing columns ({'temperature', 'v', 'x', 'pressure', 'u', 'y'}).
This happened while the csv dataset builder was generating data using
hf://datasets/ThermoFluidFoundation/thermofluid-demo/metadata.csv (at revision 207a486c764c99150a1842c24c14b59e49b5a6dc), ['hf://datasets/ThermoFluidFoundation/thermofluid-demo@207a486c764c99150a1842c24c14b59e49b5a6dc/case_0001.csv', 'hf://datasets/ThermoFluidFoundation/thermofluid-demo@207a486c764c99150a1842c24c14b59e49b5a6dc/case_0002.csv', 'hf://datasets/ThermoFluidFoundation/thermofluid-demo@207a486c764c99150a1842c24c14b59e49b5a6dc/case_0003.csv', 'hf://datasets/ThermoFluidFoundation/thermofluid-demo@207a486c764c99150a1842c24c14b59e49b5a6dc/metadata.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)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.
x float64 | y float64 | u float64 | v float64 | pressure int64 | temperature int64 |
|---|---|---|---|---|---|
0 | 0 | 0.1 | 0 | 101,325 | 300 |
0.1 | 0 | 0.15 | 0.01 | 101,320 | 301 |
0.2 | 0 | 0.2 | 0.02 | 101,310 | 302 |
0 | 0.1 | 0.08 | 0.01 | 101,300 | 303 |
0 | 0 | 0.2 | 0 | 101,325 | 310 |
0.1 | 0 | 0.25 | 0.02 | 101,320 | 311 |
0.2 | 0 | 0.3 | 0.03 | 101,310 | 312 |
0 | 0.1 | 0.15 | 0.02 | 101,300 | 313 |
0 | 0 | 0.3 | 0 | 101,325 | 320 |
0.1 | 0 | 0.35 | 0.03 | 101,320 | 321 |
0.2 | 0 | 0.4 | 0.05 | 101,310 | 322 |
0 | 0.1 | 0.2 | 0.03 | 101,300 | 323 |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
ThermoFluid Demo Dataset
Overview
A demonstration dataset for thermofluid physics AI models.
This dataset provides simulation-based field data for testing physics-informed machine learning, neural operators, and physics foundation models.
Currently, the dataset contains simulation-based CFD field variables including:
- velocity
- pressure
- temperature
Data Format
Each CSV file contains spatial field information:
| Variable | Description |
|---|---|
| x | Spatial x-coordinate |
| y | Spatial y-coordinate |
| u | Velocity x-component |
| v | Velocity y-component |
| pressure | Pressure field |
| temperature | Temperature field |
Dataset Structure
thermofluid-demo/
βββ README.md
βββ metadata.csv
βββ data/
βββ case_0001.csv
βββ case_0002.csv
βββ case_0003.csv
Parameters
Each simulation case includes operating conditions:
- Reynolds number (Re)
- Prandtl number (Pr)
- Inlet velocity
- Inlet temperature
Applications
This dataset can be used for:
- Physics-informed neural networks (PINNs)
- Neural operators (FNO, DeepONet)
- Physics transformers
- Thermofluid foundation models
- CFD surrogate modeling
Version
v0.1 - Initial demonstration dataset
Contents:
- 3 simulation cases
- Velocity, pressure, and temperature fields
- Tabular CFD representation
License
Apache License 2.0
- Downloads last month
- 36