Thermal Convection
thermal_convectionCompute heat transfer coefficient and Nusselt number from standard correlations for internal, external, and natural convection using fluid properties as inputs.
Instructions
Nusselt number and heat transfer coefficient h = Nu*k/L from a standard correlation. Fluid properties are INPUTS (no property tables): conductivity, density, dynamic viscosity and cp (or Prandtl number). correlation: internal_laminar_constant_temperature (Nu 3.66), internal_laminar_constant_flux (4.36), dittus_boelter, gnielinski (Petukhov friction factor), flat_plate_laminar, flat_plate_mixed, cylinder_cross_flow (Churchill-Bernstein), sphere (Whitaker), natural_vertical_plate / natural_vertical_plate_laminar / natural_horizontal_cylinder (Churchill-Chu), natural_channel (finned heatsink: Elenbaas / Bar-Cohen-Rohsenow, needs 'fin_gap', returns h and the optimum gap). 'length' is the diameter, or the distance the fluid flows along (upright heatsink: the base height, NOT the fin height). Returns Re (or Ra), Pr, Nu, h; warns outside the correlation's range.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"correlation": "<correlation>",
"length": "<length>",
"conductivity": "<conductivity>",
"density": "<density>",
"dynamic_viscosity": "<dynamic_viscosity>"
},
"name": "thermal_convection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | Yes | Diameter, or the distance the fluid flows along (upright heatsink: base height, NOT fin height), e.g. '100 mm' | |
| density | Yes | Fluid density, e.g. '1.2 kg/m^3' | |
| fin_gap | No | natural_channel: clear gap between adjacent fins/plates, e.g. '5 mm'. On a plate correlation it only triggers a warning. | |
| heating | No | dittus_boelter only: true if the fluid is being heated (n = 0.4), false if cooled (n = 0.3) | |
| prandtl | No | Prandtl number (dimensionless). 0 = not given (then specific_heat is used). | |
| velocity | No | Forced convection: free-stream or mean velocity, e.g. '5 m/s'. Not used for natural convection. | |
| fin_height | No | natural_channel optional: fin height off the base (channel depth), e.g. '24 mm'; only used for a validity check | |
| correlation | Yes | One of: internal_laminar_constant_temperature, internal_laminar_constant_flux, dittus_boelter, gnielinski, flat_plate_laminar, flat_plate_mixed, cylinder_cross_flow, sphere, natural_vertical_plate, natural_vertical_plate_laminar, natural_horizontal_cylinder, natural_channel | |
| pipe_length | No | internal flow optional: pipe length, to check the entry region (L/D), e.g. '3 m' | |
| unit_system | No | Unit system of the results: 'metric' (degC, W, m, W/m2/K) or 'imperial' (degF, Btu/h, ft, Btu/h/ft2/degF) | metric |
| conductivity | Yes | Fluid thermal conductivity, e.g. '0.026 W/(m*K)' | |
| specific_heat | No | Fluid cp, e.g. '1007 J/(kg*K)'. Give this or 'prandtl'. | |
| dynamic_viscosity | Yes | Fluid dynamic viscosity, e.g. '1.8e-5 Pa*s' | |
| viscosity_surface | No | sphere optional: dynamic viscosity at the surface temperature (Whitaker mu/mu_s), e.g. '1.9e-5 Pa*s' | |
| ambient_temperature | No | Natural convection: absolute fluid temperature far away, e.g. '20 degC' | |
| surface_temperature | No | Natural convection: absolute surface temperature, e.g. '80 degC' | |
| expansion_coefficient | No | Natural convection: volumetric expansion coefficient beta, e.g. '0.0034 1/K'. Blank = ideal gas, 1/T_film. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | Non-quantity payload (reports, listings) | |
| error | No | ||
| value | No | Primary quantity result | |
| values | No | All named quantity results (includes the primary) | |
| warnings | No | ||
| artifacts | No | ||
| provenance | Yes | What produced the result and from which inputs. | |
| review_status | No | unreviewed |