femm_gap_results
Extract torque, force, and stored energy from a periodic air-gap boundary. Compute Br/Bt at any angle, save the field distribution to CSV, and list top harmonics.
Instructions
Air-gap (sliding band) results for a periodic/antiperiodic air-gap boundary boundary
(femm_add_boundary bc_type='periodic_air_gap'): torque (mo_gapintegral 0), force (1),
stored energy (2) [include_ac adds 2x torque/force and interaction terms]; Br/Bt at
angle (deg); the Br/Bt distribution at npts angles saved to CSV with stats; and the
harmonics largest Br harmonics (mo_getallgapharmonics). Magnetics only.
Warning: FEMM returns zeros (not an error) for an unknown boundary name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npts | No | ||
| angle | No | ||
| session | No | main | |
| boundary | Yes | ||
| harmonics | No | ||
| include_ac | No |