Math & Numbers
Calculateur de Contrainte Thermique (σ = E·α·ΔT)
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).
Démarrage rapide
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}'Référence de l'API
Envoyez une requête POST avec vos entrées en JSON. Les paramètres de type fichier nécessitent un upload préalable.
Point d'accès
POST https://api.elysiatools.com/fr/api/tools/thermal-stress-calculatorParamètres
| 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). |
Intégration MCP
Ajoutez cet outil à votre serveur Model Context Protocol pour que les agents IA puissent le lister et l'appeler.
Configuration du serveur
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"
}
}
}Lister les outils disponibles
Après connexion au point d'accès SSE, listez les outils exposés :
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Appeler cet outil
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
}
}
}