femm_line_integral
Compute line integrals along a polyline contour to extract flux, MMF, force, torque, current, charge, heat flow, or length from solved FEMM models.
Instructions
Line integrals along a contour of straight pieces through [[x, y], ...] (use many points to follow a curve). Magnetics codes: 0 B.n (flux; total, average), 1 H.t (MMF), 2 length (and surface area), 3 stress tensor force, 4 stress tensor torque, 5 (B.n)^2. Electrostatics: 0 E.t, 1 D.n (charge), 2 length, 3 force, 4 torque. Heat: 0 G.t (dT), 1 F.n (heat flow), 2 length, 3 average T. Current: 0 E.t, 1 J.n (current), 2 length, ... Defaults: the first three/four.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codes | No | ||
| contour | Yes | ||
| session | No | main |