Math & Numbers
Contrainte thermique dans une pièce parfaitement contrainte sous un changement de température uniforme : σ_th = E·α·ΔT. Valeurs typiques de E et α pour acier carbone/allié, aluminium, cuivre, inox austénitique et titane ; ou personnalisées. ΔT en K ou °C, sortie en MPa. Convention : ΔT>0 (chauffe → compression).
Appelez cet outil depuis votre code en trois langages.
curl -X POST 'https://api.elysiatools.com/fr/api/tools/thermal-stress-calculator' \
-H 'Content-Type: application/json' \
-d '{"material":"carbonSteel","customE":0,"customAlpha":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-stress-calculator| Nom | Type | Requis | Description |
|---|---|---|---|
| material | select | Non | Material preset supplies typical E and α. Choose 'Custom' to enter both yourself. |
| customE | number | Non | Young's modulus E in MPa. Required only when Material is 'Custom'. |
| customAlpha | number | Non | Coefficient of linear thermal expansion α in 1/K. Required only when Material is 'Custom'. Typical: steel ≈ 12e-6, aluminum ≈ 23e-6. |
| deltaT | number | Oui | Temperature change ΔT in K or °C (same magnitude). Positive = heating (→ compressive thermal stress), negative = cooling (→ tensile). |
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-stress-calculator": {
"name": "thermal-stress-calculator",
"description": "Contrainte thermique dans une pièce parfaitement contrainte sous un changement de température uniforme : σ_th = E·α·ΔT. Valeurs typiques de E et α pour acier carbone/allié, aluminium, cuivre, inox austénitique et titane ; ou personnalisées. ΔT en K ou °C, sortie en MPa. Convention : ΔT>0 (chauffe → compression).",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=thermal-stress-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-stress-calculator",
"arguments": {
"material": "carbonSteel",
"customE": 0,
"customAlpha": 0,
"deltaT": 100,
"decimalPlaces": 4
}
}
}| 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]