femm_field_stats
Compute area-weighted field statistics over a finite-element mesh: magnetic |B| min/max/mean/RMS/p95 and saturation area, or other physics per element/nodes. Filter by region or material group.
Instructions
Area-weighted statistics of the main field over the mesh, from the bulk arrays (fast, no file). Magnetics: |B| min/max/mean/rms/p95, saturated area fraction (|B| >= threshold, default 1.6 T) and number of elements above 2 T. Other physics: |D|, |F| or |J| per element and V/T at nodes. region: 'all' or 'group:N[,M]' (give the blocks of one material a group number with femm_add_block_label(group=N) to get per-material stats).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | all | |
| session | No | main | |
| threshold | No |