thermal enclosure
thermal_enclosureEstimate steady-state thermal behaviour of a rectangular enclosure (server rack, electronics housing, equipment cabinet) using a lumped-parameter energy balance with natural-convection and radiation correlations, or forced-flow air energy balance. Accepts enclosure dimensions, heat source positions and wattages, and airflow configuration. Returns temperature extremes, estimated hotspot location, airflow velocity summary, and overall thermal resistance. Runs instantly in-worker; a full CFD container backend is planned for mesh-level detail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width_m | Yes | Enclosure width (Y) in metres | |
| height_m | Yes | Enclosure height (Z) in metres | |
| length_m | Yes | Enclosure length (X) in metres | |
| flow_type | Yes | Airflow type | |
| heat_sources | Yes | Heat sources inside the enclosure | |
| mesh_density | No | Mesh density — coarse (~50K cells), medium (~200K), fine (~500K) | medium |
| ambient_temp_c | No | Ambient air temperature in Celsius | |
| inlet_position | No | Inlet location | front_bottom |
| outlet_position | No | Outlet location | rear_top |
| inlet_velocity_ms | No | Inlet air velocity in m/s (required for forced flow) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| solver | Yes | OpenFOAM solver used | |
| warnings | Yes | Any solver warnings | |
| avg_temp_c | Yes | Volume-averaged temperature (°C) | |
| iterations | Yes | Number of solver iterations to convergence | |
| max_temp_c | Yes | Maximum temperature in the enclosure (°C) | |
| mesh_cells | Yes | Number of mesh cells used | |
| min_temp_c | Yes | Minimum temperature (°C) | |
| runtime_ms | Yes | Simulation wall-clock time in milliseconds | |
| total_heat_w | Yes | Total heat load (W) | |
| avg_velocity_ms | Yes | Average airflow velocity (m/s) | |
| max_velocity_ms | Yes | Peak airflow velocity (m/s) | |
| hotspot_location | Yes | Location of the temperature maximum | |
| thermal_resistance_cw | Yes | Overall thermal resistance (°C/W) |