The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.
Chicken Breast Cooking Simulation Dataset (chicken_dataset.nc)
This repository hosts a comprehensive dataset of 566 transient finite-element simulations modeling coupled non-isothermal heat conduction and moisture diffusion during convective roasting of chicken breast meat. Originally solved using high-fidelity numerical formulations in COMSOL Multiphysics, the dataset is structured as a CF-compliant, hierarchical NetCDF-4 / HDF5 store (xarray.DataTree).
1. Physical Context & Parametric Variation
Governing Physics
The simulation models porous media transport governing the spatio-temporal evolution of temperature T(x, t) and moisture concentration c_w(x, t) in meat tissue:
where x β Ξ© β βΒ³ represents the 3D chicken breast continuum geometry.
What Changes from Simulation to Simulation?
The geometric domain, physical material properties (porosity, density Ο, thermal conductivity k, heat capacity c_p, and moisture diffusivity D_w), and initial internal states are standardized across all runs.
The only parameter that changes from simulation to simulation is the exogenous oven temperature heating profile: T_oven(t).
Each experiment represents a unique thermal processing trajectory:
- Different heating regimes: multi-step temperature jumps, ramps, isothermal holds, harmonic oscillations (amplitude/frequency sweeps), and dynamic step-changes.
- Realistic culinary and industrial thermal processing ranges: β 279 K up to 473 K (6 Β°C to 200 Β°C).
- Temporal span: 1395 seconds (β 23.25 minutes) sampled uniformly at 5 s intervals (280 discrete timesteps).
This structure makes the dataset ideal for:
- Reduced-Order Modeling (ROM) and dynamic system identification (DynROM, DeepONet, FNO).
- Physics-Informed Neural Networks (PINNs) and Neural ODEs.
- Multivariate time-series forecasting under exogenous control inputs.
2. NetCDF-4 Hierarchical Data Structure
The dataset (chicken_dataset.nc) is organized hierarchically where each simulation is an independent experiment group /{exp_name} (e.g., /272-a3nl473h300t1400, /1037-m60amp10t1400schroeder):
chicken_dataset.nc
βββ /{exp_name} [Root experiment group]
β Dimensions: (time: 280)
β Coordinates: time [s, range: 0.0 to 1395.0, step: 5s]
β Attributes: run_name, session, type, {exp_name}_oven_temperature.csv
β
βββ Data Variables (1D Global & Volume-Averaged Signals):
β βββ T_oven [K] Global oven temperature profile
β βββ Temperature_volavg_K [K] Volume-averaged domain temperature
β βββ massConcentrationWater_volavg_1_ [β] Volume-averaged water mass fraction
β
βββ /all_probes_measurements [3-Probe Sensor Mesh Group]
β Dimensions: (time: 280, node: 3, spatial: 3)
β Coordinates:
β βββ coordinates (node, spatial) [(0, 0.010, 0), (0, 0.019, 0), (0, 0.020, 0)]
β βββ spatial ['x', 'y', 'z'] (Cartesian meters)
β Variables (32): 3-point stacked continuum state variables
β
βββ /single_probe_measurements [Surface Boundary Mesh Group]
Dimensions: (time: 280, node: 1, spatial: 3)
Coordinates:
βββ coordinates (node, spatial) [(0, 0.020, 0)]
βββ spatial ['x', 'y', 'z'] (Cartesian meters)
Variables (6): Surface exchange flux & boundary condition quantities
3. Discretization & Variable Breakdown
A. Root Level: Global & Volume-Averaged Signals
These variables have only dimension (time,) with no node dimension, describing domain-integrated quantities or external boundary driving conditions:
| Variable Name | Dimensions | Type | Units | Physical Range | Description |
|---|---|---|---|---|---|
T_oven |
(time: 280) |
Data Variable | K | 279.15 β 473.15 | Instantaneous oven heating schedule / control boundary temperature. |
Temperature_volavg_K |
(time: 280) |
Data Variable | K | 279.15 β 373.15 | Volume-averaged temperature of the entire chicken breast β¨Tβ©_V. |
massConcentrationWater_volavg_1_ |
(time: 280) |
Data Variable | β | 0.50 β 0.75 | Volume-averaged moisture mass concentration β¨C_wβ©_V β [0, 1]. |
time |
(time: 280) |
Coordinate | s | 0.0 β 1395.0 | Physical simulation time coordinate (5 s resolution). |
B. Group /all_probes_measurements (3 Physical Probes)
Evaluated across three Cartesian probe locations:
- xβ = (0.000, 0.010, 0.000) m: Geometric center / core (
node = 0) - xβ = (0.000, 0.019, 0.000) m: Sub-surface layer (
node = 1) - xβ = (0.000, 0.020, 0.000) m: Outer surface boundary (
node = 2)
Each variable is shaped as (time: 280, node: 3). The probe coordinate array is available under coordinates (node: 3, spatial: 3) with spatial = ['x', 'y', 'z'].
Key fields include:
- Temperature & Phase States:
Temperature-K,C_eq. - Constituent Volume Fractions:
Volumefractionwater-1,Volumefractionfat-1,Volumefractionprotein-1,Volumefractionash-1. - Mass Concentrations:
concentraitonwater-mass--1,concentrationfat-mass--1,concentrationprotein-mass--1,concentrationash-mass--1,massconcentrationwater-1. - Thermophysical Properties:
Densitychickenbreast-kg_m^3,heatcapchickenmeat-J_-kg*K,k_para-W_-m*K,k_perp-W_-m*K,conduct.water-W_-m*K,heatcapwater-J_-kg*K. - Fluid & Vapor Kinematics:
umag-m_s,u_x_rab-m_s,u_y_rab-m_s,u_z_rab-m_s,storagemodulus-N_m^2.
(Note: Trailing --Point:... suffixes from raw tables have been stripped for clean array indexing).
C. Group /single_probe_measurements (Surface Boundary Probe)
Evaluated strictly at the surface probe xβ = (0.000, 0.020, 0.000) m (outer skin boundary, node = 0). Each variable is shaped as (time: 280, node: 1).
| Variable Name | Dimensions | Type | Units | Physical Interpretation |
|---|---|---|---|---|
Step5betaskin-Point:-0-0.02-0- |
(time, node) |
Data Variable | m/s | Skin mass transfer coefficient step function. |
beta_tot-m_s--Point:-0-0.02-0- |
(time, node) |
Data Variable | m/s | Total surface mass convective exchange coefficient. |
evaporationmassfluxair-kg_-m^2*s---Point:-0-0.02-0- |
(time, node) |
Data Variable | kg/(mΒ²Β·s) | Mass flux of water vapor lost to the oven atmosphere. |
wateractivity-1--Point:-0-0.02-0- |
(time, node) |
Data Variable | β | Surface thermodynamic water activity a_w β [0, 1]. |
watervapourconcentrationfilm-kg_m^3--Point:-0-0.02-0- |
(time, node) |
Data Variable | kg/mΒ³ | Water vapor concentration in the boundary air film. |
watervapoursaturationpressure-Pa--Point:-0-0.02-0- |
(time, node) |
Data Variable | Pa | Saturated water vapor pressure at surface temperature. |
4. How to Use the Dataset in Python
NetCDF-4 files on Hugging Face are stored as binary Git LFS files. You can download and stream them directly into xarray using huggingface_hub and h5netcdf.
Installation
pip install huggingface_hub xarray h5netcdf numpy matplotlib
Loading and Inspecting an Experiment
from huggingface_hub import hf_hub_download
import xarray as xr
# 1. Download NetCDF file from Hugging Face Hub cache
file_path = hf_hub_download(
repo_id="MaxKannapinn/chicken_dataset_comsol",
filename="chicken_dataset.nc",
repo_type="dataset",
)
# 2. Open an individual simulation experiment
exp_name = "272-a3nl473h300t1400"
# Open root experiment (oven schedule and volume averages)
ds_root = xr.open_dataset(file_path, group=f"/{exp_name}", engine="h5netcdf")
print(ds_root)
print("Timesteps:", ds_root.sizes["time"]) # 280
print("Oven schedule preview:", ds_root["T_oven"].values[:5])
print("Volume-averaged temperature preview:", ds_root["Temperature_volavg_K"].values[:5])
# Open 3-probe measurements group
ds_probes = xr.open_dataset(file_path, group=f"/{exp_name}/all_probes_measurements", engine="h5netcdf")
print(ds_probes)
print("Probe coordinates shape:", ds_probes.coords["coordinates"].shape) # (3, 3)
print("Probe coordinates [m]:\n", ds_probes.coords["coordinates"].values)
print("Temperature shape:", ds_probes["Temperature-K"].shape) # (280, 3)
# Open surface exchange fluxes group
ds_surf = xr.open_dataset(file_path, group=f"/{exp_name}/single_probe_measurements", engine="h5netcdf")
print(ds_surf)
print("Surface probe coordinates [m]:", ds_surf.coords["coordinates"].values) # [[0.0, 0.02, 0.0]]
print("Evaporative flux shape:", ds_surf["evaporationmassfluxair-kg_-m^2*s---Point:-0-0.02-0-"].shape) # (280, 1)
Time-Series Visualization: Core vs. Surface vs. Oven
import matplotlib.pyplot as plt
time = ds_root["time"].values
t_oven = ds_root["T_oven"].values
t_core = ds_probes["Temperature-K"].values[:, 0] # Point (0, 0.010, 0) - Geometric core
t_subsurface = ds_probes["Temperature-K"].values[:, 1] # Point (0, 0.019, 0) - Sub-surface
t_surface = ds_probes["Temperature-K"].values[:, 2] # Point (0, 0.020, 0) - Outer skin
plt.figure(figsize=(9, 5))
plt.plot(time, t_oven, 'k--', label="Oven Temperature Profile (Input)")
plt.plot(time, t_surface, 'r-', label="Chicken Surface Node (Node 2)")
plt.plot(time, t_subsurface, 'g-', label="Chicken Sub-Surface Node (Node 1)")
plt.plot(time, t_core, 'b-', label="Chicken Core Node (Node 0)")
plt.xlabel("Time [s]")
plt.ylabel("Temperature [K]")
plt.title(f"Thermal Response Curve: {exp_name}")
plt.grid(True, alpha=0.3)
plt.legend()
plt.tight_layout()
plt.show()
5. Metadata & Embedded Files
Each experiment group embeds its full numerical oven setpoint table directly in the group attributes under {exp_name}_oven_temperature.csv. You can extract it directly from the group metadata:
csv_text = ds_root.attrs[f"{exp_name}_oven_temperature.csv"]
print(csv_text[:200])
6. Citation & Academic Works
This dataset was created and published by Dr.-Ing. Maximilian Kannapinn (Technische UniversitΓ€t Darmstadt).
If you use this dataset or its numerical benchmarks in your research, please cite the corresponding publications:
@article{kannapinn2022physics,
title={Physics-based digital twins for autonomous thermal food processing: Efficient, non-intrusive reduced-order modeling},
author={Kannapinn, Maximilian and Pham, Minh Khang and Sch{\"a}fer, Michael},
journal={Innovative Food Science \& Emerging Technologies},
volume={81},
pages={103143},
year={2022},
publisher={Elsevier},
doi={10.1016/j.ifset.2022.103143}
}
@phdthesis{kannapinn2023digital,
title={Digital Twins for Autonomous Thermal Food Processing},
author={Kannapinn, Maximilian},
year={2023},
school={Technische Universit{\"a}t Darmstadt},
address={Darmstadt, Germany},
doi={10.26083/tuprints-00024386}
}
@article{kannapinn2025digital,
title={Digital twins for autonomous thermal food processing: A model predictive control study with reduced-order models of augmented neural ordinary differential equation type},
author={Kannapinn, Maximilian and Dorer, Denis and Sch{\"a}fer, Michael and Weeger, Oliver},
journal={Journal of Food Engineering},
year={2025},
publisher={Elsevier},
doi={10.1016/j.jfoodeng.2025.112918}
}
- Downloads last month
- 84