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).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "femm_field_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | all | |
| session | No | main | |
| threshold | No |