noether.data.datasets.cfd.simshift_heatsink.dataset¶
Attributes¶
Classes¶
Dataset for the SIMSHIFT Heatsink CFD benchmark. |
Module Contents¶
- noether.data.datasets.cfd.simshift_heatsink.dataset.logger¶
- class noether.data.datasets.cfd.simshift_heatsink.dataset.SimshiftHeatsinkDataset(dataset_config)¶
Bases:
noether.data.DatasetDataset for the SIMSHIFT Heatsink CFD benchmark.
The SIMSHIFT Heatsink dataset contains conjugate heat transfer simulations of heatsink geometries with varying fin configurations. Data is stored in HDF5 format with mesh coordinates and element-level physical fields (velocity, temperature, pressure).
The dataset supports source/target domain splits at different difficulty levels for unsupervised domain adaptation experiments.
When
rootis not provided the dataset is downloaded from HuggingFace Hub and read directly from the zip archive (no extraction needed).Reference: https://arxiv.org/abs/2506.12007
- Parameters:
dataset_config (noether.data.datasets.cfd.simshift_heatsink.config.SimshiftHeatsinkConfig) – Configuration for the dataset. See
DatasetBaseConfigfor available options including dataset normalizers.
- difficulty¶
- domain¶
- split¶
- pre_getitem(idx)¶
Load all fields for sample idx from its HDF5 file.
The returned dict is forwarded as kwargs to every
getitem_*method.- Parameters:
idx (int)
- Return type:
- getitem_volume_position(idx, *, position, **_)¶
Element centre coordinates of the volume mesh (num_elements, 3).
- Parameters:
idx (int)
position (torch.Tensor)
_ (torch.Tensor)
- Return type:
- getitem_volume_velocity(idx, *, velocity, **_)¶
Velocity field at element centres (num_elements, 3).
- Parameters:
idx (int)
velocity (torch.Tensor)
_ (torch.Tensor)
- Return type:
- getitem_volume_temperature(idx, *, temperature, **_)¶
Temperature field at element centres (num_elements, 1).
- Parameters:
idx (int)
temperature (torch.Tensor)
_ (torch.Tensor)
- Return type:
- getitem_volume_pressure(idx, *, pressure, **_)¶
Pressure (p_rgh) field at element centres (num_elements, 1).
- Parameters:
idx (int)
pressure (torch.Tensor)
_ (torch.Tensor)
- Return type: