femm_make_plot
Sample a physical quantity along a specified contour in a FEMM model and export it to a text file for plotting or analysis.
Instructions
Sample a quantity along a contour (straight pieces through [[x, y], ...]) to a text file (xo_makeplot with a filename; works headless). Magnetics plot_type: 0 A, 1 |B|, 2 B.n, 3 B.t, 4 |H|, 5 H.n, 6 H.t, 7 J eddy, 8 J source+eddy. Electrostatics: 0 V, 1 |D|, 2 D.n, 3 D.t, 4 |E|, 5 E.n, 6 E.t. Heat: 0 T, 1 |F|, 2 F.n, 3 F.t, 4 |G|, 5 G.n, 6 G.t. Current: 0 V, 1 |J|, 2 J.n, 3 J.t, 4 |E|, ... Returns the file path, column header and min/max/mean of the sampled values (position is distance along the contour).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npts | No | ||
| path | No | ||
| contour | Yes | ||
| session | No | main | |
| plot_type | No |