comsol_physics
Manage COMSOL physics interfaces and features by listing, adding, updating, or removing them and assigning selections or named selections for model setup.
Instructions
通用物理场工具。action=list 列出接口和特征;add_interface 新建接口(physics_type 如 HeatTransfer/SolidMechanics/LaminarFlow/Electrostatics);add_feature 给接口加特征(feature_type 如 TemperatureBoundary/HeatFluxBoundary/InletBoundary);update_feature 设置选择或属性;remove_feature/remove_interface 删除。selection 传实体编号列表,或 named_selection 传命名选择的 tag。dimension 为特征维度,0 表示按几何自动推断(3D 边界=2,2D 边界=1)。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "comsol_physics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| action | No | list | |
| physics | No | ||
| component | No | ||
| dimension | No | ||
| selection | No | ||
| properties | No | ||
| feature_type | No | ||
| physics_type | No | ||
| named_selection | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |