Fluid Props
fluid_propsReturns density, viscosity, specific heat, thermal conductivity, and Prandtl number for a named fluid at a given temperature and pressure via CoolProp, with air/water fallback constants.
Instructions
Thermophysical properties of a fluid at (T, P) from CoolProp's equation of
state (issue #100). name is a fluid (e.g. 'water', 'air', 'R134a', 'CO2',
'nitrogen'), T_K absolute temperature [K], P_Pa pressure [Pa, default
1 atm). Returns {ok, density [kg/m³], viscosity [Pa·s], cp [J/kg·K],
conductivity [W/m·K], prandtl, kinematic_viscosity [m²/s], fidelity,
valid_range_ok, source, warnings, coolprop_available}. This is the DEFAULT
fluid-property source behind the convection/CFD screens; explicit caller props
still override. Degrades cleanly when the (opt-in) CoolProp extra is absent:
air/water return ≈20 °C constants (fidelity='constant_fallback'); other fluids
return {ok:false, reason, install}. CoolProp (BSD-3) is cited as the source.
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": {
"name": "<name>",
"T_K": "<T_K>"
},
"name": "fluid_props"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| T_K | Yes | ||
| P_Pa | No | ||
| name | Yes | ||
| workspace | No | Run this call in this named workspace |