Math & Numbers
按柱坐标稳态傅里叶定律计算单层圆筒壁径向导热:径向热流量 Q=2π·k·L·ΔT/ln(r₂/r₁)(W)、内表面热流密度 q_inner=Q/(2π·r₁·L)(W/m²)、外表面热流密度 q_outer=Q/(2π·r₂·L)(W/m²)、圆筒热阻 R=ln(r₂/r₁)/(2π·k·L)(K/W)。k 为导热系数(W/(m·K));L 为圆筒长度;r₁ 为内半径,r₂ 为外半径(必须 r₂>r₁>0);ΔT 为温差(K,°C 温差与 K 温差相等,°F 温差需乘 5/9)。ΔT 可为负(表示反向热流),但 k、L、r₁、r₂ 必须为正。长度与半径支持 m/cm/mm。
用三种语言从你的代码中调用此工具。
curl -X POST 'https://api.elysiatools.com/zh/api/tools/cylinder-radial-conduction' \
-H 'Content-Type: application/json' \
-d '{"conductivity":50,"length":2,"lengthUnit":"m","innerRadius":0.05,"outerRadius":0.1,"radiusUnit":"m","temperatureDiff":100,"tempUnit":"K","decimalPlaces":4}'以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
POST https://api.elysiatools.com/zh/api/tools/cylinder-radial-conduction| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| conductivity | number | 是 | Thermal conductivity k of the cylinder-wall material in W/(m·K). |
| length | number | 是 | Cylinder length L, in the selected Length Unit. |
| lengthUnit | select | 否 | — |
| innerRadius | number | 是 | Inner radius r₁ of the cylinder wall, in the selected Radius Unit. |
| outerRadius | number | 是 | Outer radius r₂ of the cylinder wall, in the selected Radius Unit. |
将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
将以下内容加入你的 MCP 客户端配置:
{
"mcpServers": {
"elysiatools-cylinder-radial-conduction": {
"name": "cylinder-radial-conduction",
"description": "按柱坐标稳态傅里叶定律计算单层圆筒壁径向导热:径向热流量 Q=2π·k·L·ΔT/ln(r₂/r₁)(W)、内表面热流密度 q_inner=Q/(2π·r₁·L)(W/m²)、外表面热流密度 q_outer=Q/(2π·r₂·L)(W/m²)、圆筒热阻 R=ln(r₂/r₁)/(2π·k·L)(K/W)。k 为导热系数(W/(m·K));L 为圆筒长度;r₁ 为内半径,r₂ 为外半径(必须 r₂>r₁>0);ΔT 为温差(K,°C 温差与 K 温差相等,°F 温差需乘 5/9)。ΔT 可为负(表示反向热流),但 k、L、r₁、r₂ 必须为正。长度与半径支持 m/cm/mm。",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=cylinder-radial-conduction",
"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": "cylinder-radial-conduction",
"arguments": {
"conductivity": 50,
"length": 2,
"lengthUnit": "m",
"innerRadius": 0.05,
"outerRadius": 0.1,
"radiusUnit": "m",
"temperatureDiff": 100,
"tempUnit": "K",
"decimalPlaces": 4
}
}
}有问题或反馈?请联系 [email protected]
| radiusUnit | select | 否 | — |
| temperatureDiff | number | 是 | Temperature difference ΔT across the cylinder wall, 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. |
| decimalPlaces | number | 否 | — |
JSON 结果
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}