# NeuralConvection 2D: Boussinesq-to-Compressible Natural Convection Tensors for Fourier Neural Operators (Menglik, Shao, Hyde)

## Facts

- Provider: Nurshat Menglik, Alex Shao, David Hyde
- License: CC-BY-4.0 (https://huggingface.co/datasets/NurshatMenglik/NeuralConvection_2D_TrainTest)
- Size: 33 files
- Format: CSV (in sampled files)
- Stored at: Hugging Face, https://huggingface.co/datasets/NurshatMenglik/NeuralConvection_2D_TrainTest
- Access: public, readable without an account
- Category: Physics
- Source: https://arxiv.org/abs/2606.25259
- Page: https://scigantic.com/archive/9858eb61-06d4-5e4b-b32b-7b28bef6fc37
- Keywords: Physics, CSV, Hugging Face

## About

Training and test tensors for the 2D Fourier Neural Operator (FNO) surrogate in "A Neural Surrogate Approach for Simulating Natural Convection Problems" (Menglik, Shao and Hyde, arXiv:2606.25259). Each pair maps a steady Boussinesq natural-convection field to the fully compressible field for the same randomized problem in the unit-square cavity, both solved with FEniCSx on one 64 x 64 mesh. X.pt (Boussinesq input) and Y.pt (compressible target) are float32 PyTorch tensors of shape (N, 4, 64, 64) with channels u_x, u_y, temperature T and pressure p; gravity points along -y and column 0 is the hot wall. Splits: train (4,000 stochastic Fourier wall-temperature profiles), train_legacy (5,000 classical hot-left/cold-right cavities), and 200-sample in-distribution, out-of-distribution (richer wall patterns), shifted-amplitude and legacy test sets, with disjoint seed streams. Rayleigh number Ra is log-uniform from 1e2 to 3e6 and Prandtl number 0.71; per_sample.csv, kept_samples.txt and MANIFEST.json give per-sample parameters and conventions. Version 2 (September 2026), legacy tensors under tag v1.0-legacy. Load with torch.load. Released under CC BY 4.0; cite arXiv:2606.25259.

## Load the data

```python
import pandas as pd
df = pd.read_csv("hf://datasets/NurshatMenglik/NeuralConvection_2D_TrainTest/test_in_distribution/per_sample.csv")
df.head()
```

## Data structure

File types in sampled files: CSV

Example file: `test_in_distribution/per_sample.csv`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/9858eb61-06d4-5e4b-b32b-7b28bef6fc37
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/9858eb61-06d4-5e4b-b32b-7b28bef6fc37
- Over MCP: `get_schema_card` with id `9858eb61-06d4-5e4b-b32b-7b28bef6fc37` at https://api.scigantic.com/mcp

## Related topics

- [CSV datasets](https://scigantic.com/topics/csv)
- [Physics datasets](https://scigantic.com/topics/physics)
