femm_plot_field
Render a B-field color map from a loaded magnetics solution's bulk mesh arrays without GUI screenshots; optionally zoom to a region and save node/element/B arrays as .npz.
Instructions
|B| colour map of the loaded magnetics solution rendered from the bulk mesh arrays (works
headless, no GUI screenshot). zoom = [xmin, xmax, ymin, ymax] in problem units; default file
<work_dir>/field_B.png; save_arrays also writes the nodes/elements/B arrays as .npz.
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": "femm_plot_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| zoom | No | ||
| session | No | main | |
| save_arrays | No |