Coolprop Fluid Properties
coolprop_fluid_propertiesThermophysical properties of a pure fluid, computed from two independent state variables (PropsSI-style — give e.g. temperature + pressure, get density, enthalpy, entropy, viscosity, thermal conductivity, specific heat, phase, ...). Covers ~124 fluids (water, refrigerants, hydrocarbons, cryogens, ...) via CoolProp (open-source, MIT), computed in-process rather than looked up from a table — valid over each fluid's full equation-of-state range, not just tabulated points. No aliases: call coolprop_list_fluids for exact names (e.g. "CarbonDioxide", not "CO2").
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fluid": "Water",
"outputs": [
"D",
"H",
"S",
"VISCOSITY",
"CONDUCTIVITY",
"Phase"
],
"input1_name": "T",
"input2_name": "P",
"input1_value": 298.15,
"input2_value": 101325
},
"name": "coolprop_fluid_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fluid | Yes | Exact CoolProp fluid name, e.g. "Water", "Nitrogen", "R134a", "CarbonDioxide" — see coolprop_list_fluids for the full list (no aliases) | |
| outputs | Yes | Property codes to compute, up to 12 per call: T, P, D (density kg/m3), H (enthalpy J/kg), S (entropy J/kg/K), U (internal energy J/kg), Q (vapor quality), CPMASS (isobaric specific heat J/kg/K), CVMASS (isochoric specific heat J/kg/K), VISCOSITY (Pa·s), CONDUCTIVITY (W/m/K), PRANDTL, M (molar mass kg/mol), Phase (liquid/gas/supercritical/twophase/...) | |
| input1_name | Yes | First independent state variable code: T (temperature, K), P (pressure, Pa), D (mass density, kg/m3), H (mass enthalpy, J/kg), S (mass entropy, J/kg/K), U (mass internal energy, J/kg), or Q (vapor quality, 0-1) | |
| input2_name | Yes | Second independent state variable code — must differ from input1_name. Same code set as input1_name. | |
| input1_value | Yes | Value for input1_name, SI units | |
| input2_value | Yes | Value for input2_name, SI units |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fluid | No | ||
| inputs | No | ||
| source | No | ||
| outputs | No | ||
| failed_outputs | No |