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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| zoom | No | ||
| session | No | main | |
| save_arrays | No |