comsol_export
Exports COMSOL expression values sampled on a mesh to a CSV file with indices and values for Python or Excel analysis.
Instructions
把表达式在网格上的取值导出为 CSV(含索引与数值)。expression 如 'T',file 为输出路径(相对 comsol-bridge 目录)。适合后续用 Python/Excel 分析。
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>",
"file": "<file>"
},
"name": "comsol_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| unit | No | ||
| expression | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |