comsol_eval
Evaluates a COMSOL expression such as temperature or stress and returns min, max, mean and size statistics for the selected dataset, with an optional unit conversion.
Instructions
对表达式求值并给出统计量(min/max/mean/size)。expression 例如 'T'、'es.normE'、'solid.mises';unit 可选,如 'degC'。dataset 为空时用默认数据集。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"expression": "<expression>"
},
"name": "comsol_eval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | ||
| dataset | No | ||
| expression | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |