Math & Numbers
Dilatation linéaire et volumétrique d'un matériau isotrope. Linéaire : ΔL = α·L₀·ΔT, L₁ = L₀·(1+α·ΔT). Volumétrique : ΔV = 3α·V₀·ΔT. Valeurs typiques α pour acier carbone/allié, aluminium, cuivre, inox austénitique, titane et verre ; ou personnalisé. ΔT en K ou °C, L en mm, V en mm³.
Appelez cet outil depuis votre code en trois langages.
curl -X POST 'https://api.elysiatools.com/fr/api/tools/thermal-expansion-calculator' \
-H 'Content-Type: application/json' \
-d '{"mode":"linear","material":"carbonSteel","customAlpha":0,"length":1000,"volume":0,"deltaT":100,"decimalPlaces":4}'Envoyez une requête POST avec vos entrées en JSON. Les paramètres de type fichier nécessitent un upload préalable.
POST https://api.elysiatools.com/fr/api/tools/thermal-expansion-calculator| Nom | Type | Requis | Description |
|---|---|---|---|
| mode | select | Non | — |
| material | select | Non | Material preset supplies typical linear expansion coefficient α. Choose 'Custom' to enter α. |
| customAlpha | number | Non | Linear thermal expansion coefficient α in 1/K. Required only when Material is 'Custom'. Typical: steel ≈ 12e-6, aluminum ≈ 23e-6. |
| length | number | Non | Original (unstressed) length in mm. Required in 'linear' mode. |
| volume | number |
Ajoutez cet outil à votre serveur Model Context Protocol pour que les agents IA puissent le lister et l'appeler.
Ajoutez ce bloc à la configuration de votre client MCP :
{
"mcpServers": {
"elysiatools-thermal-expansion-calculator": {
"name": "thermal-expansion-calculator",
"description": "Dilatation linéaire et volumétrique d'un matériau isotrope. Linéaire : ΔL = α·L₀·ΔT, L₁ = L₀·(1+α·ΔT). Volumétrique : ΔV = 3α·V₀·ΔT. Valeurs typiques α pour acier carbone/allié, aluminium, cuivre, inox austénitique, titane et verre ; ou personnalisé. ΔT en K ou °C, L en mm, V en mm³.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=thermal-expansion-calculator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Après connexion au point d'accès SSE, listez les outils exposés :
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Appelez l'outil par son id ; les arguments sont construits à partir de ses paramètres :
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "thermal-expansion-calculator",
"arguments": {
"mode": "linear",
"material": "carbonSteel",
"customAlpha": 0,
"length": 1000,
"volume": 0,
"deltaT": 100,
"decimalPlaces": 4
}
}
}| Non |
| Original (unstressed) volume in mm³. Required in 'volumetric' mode. |
| deltaT | number | Oui | Temperature change ΔT in K or °C (same magnitude). Positive = heating (expansion), negative = cooling (contraction). |
| decimalPlaces | number | Non | — |
Résultat JSON
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Des questions ou un problème ? Contactez [email protected]