Math & Numbers
按牛顿冷却定律计算对流换热:热流密度 q=h·ΔT(W/m²)、热流量 Q=h·A·ΔT(W)、对流热阻 R_conv=1/(h·A)(K/W)。h 为对流换热系数(W/(m²·K));ΔT 为壁面与流体间的温差(K,°C 温差与 K 温差相等,°F 温差需乘 5/9);A 为换热面积。ΔT 可为负(表示反向热流),但 h、A 必须为正。面积支持 m²/cm²。
用三种语言从你的代码中调用此工具。
curl -X POST 'https://api.elysiatools.com/zh/api/tools/heat-convection-calculator' \
-H 'Content-Type: application/json' \
-d '{"heatTransferCoefficient":25,"temperatureDiff":20,"tempUnit":"K","area":1,"areaUnit":"m2","decimalPlaces":4}'以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
POST https://api.elysiatools.com/zh/api/tools/heat-convection-calculator| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| heatTransferCoefficient | number | 是 | Convective heat-transfer coefficient h in W/(m²·K). |
| temperatureDiff | number | 是 | Temperature difference ΔT between the surface and the fluid, in the selected Temperature Unit. May be negative to indicate the reverse heat-flow direction. |
| tempUnit | select | 否 | Unit of the temperature difference. This is a difference, not an absolute temperature: Δ°C = ΔK and Δ°F ×5/9 = ΔK. |
| area | number | 否 | Heat-transfer area A, in the selected Area Unit. |
| areaUnit | select |
将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
将以下内容加入你的 MCP 客户端配置:
{
"mcpServers": {
"elysiatools-heat-convection-calculator": {
"name": "heat-convection-calculator",
"description": "按牛顿冷却定律计算对流换热:热流密度 q=h·ΔT(W/m²)、热流量 Q=h·A·ΔT(W)、对流热阻 R_conv=1/(h·A)(K/W)。h 为对流换热系数(W/(m²·K));ΔT 为壁面与流体间的温差(K,°C 温差与 K 温差相等,°F 温差需乘 5/9);A 为换热面积。ΔT 可为负(表示反向热流),但 h、A 必须为正。面积支持 m²/cm²。",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=heat-convection-calculator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}连接到 SSE 端点后,列出已开放的工具:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}通过工具 id 调用,参数由其参数表构建:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "heat-convection-calculator",
"arguments": {
"heatTransferCoefficient": 25,
"temperatureDiff": 20,
"tempUnit": "K",
"area": 1,
"areaUnit": "m2",
"decimalPlaces": 4
}
}
}有问题或反馈?请联系 [email protected]
| 否 |
| — |
| decimalPlaces | number | 否 | — |
JSON 结果
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}