mesh_sweep
Creates swept mesh features with hexahedral or prism elements along a sweep path for selected COMSOL domains, using automatic or specified source and target faces.
Instructions
Create a swept mesh feature (hexahedral/prism elements along a sweep path).
Args:
properties: Sweep properties, e.g. {"element": "hex", "sweeppath": "auto"}
(element: "hex" | "hexdominant" | "prism"; default hexdominant).
domains: domain numbers to sweep (default all domains).
named: named selection of domains instead of domains.
source_faces: source boundary numbers (optional; COMSOL picks the
source automatically from the domain topology by default).
target_faces: target boundary numbers (optional).
all_domains: sweep all domains (default true; ignored when
domains/named given).
mesh: mesh sequence tag (None = first).
component: component tag (None = auto-detect).
model: model name/tag (None = current model).
Example:
mesh_sweep(domains=[1], source_faces=[1], properties={"element": "hex"})
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": "mesh_sweep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mesh | No | ||
| model | No | ||
| named | No | ||
| domains | No | ||
| component | No | ||
| properties | No | ||
| all_domains | No | ||
| source_faces | No | ||
| target_faces | No |