analyze-magnetic-field
Installation
SKILL.md
Analyze Magnetic Field
Calculate the magnetic field produced by a given current distribution by characterizing the source geometry, selecting the appropriate law (Biot-Savart for arbitrary geometries, Ampere's law for high-symmetry configurations), evaluating field integrals, checking limiting cases, incorporating magnetic material effects where relevant, and visualizing the resulting field-line topology.
When to Use
- Computing the B-field from an arbitrary current-carrying conductor (wire loop, helix, irregular path)
- Exploiting cylindrical, planar, or toroidal symmetry to apply Ampere's law directly
- Estimating far-field behavior via the magnetic dipole approximation
- Superposing fields from multiple current sources
- Analyzing magnetic materials: linear permeability, B-H curves, hysteresis, saturation
Inputs
- Required: Current distribution specification (geometry, current magnitude and direction)
- Required: Region of interest where the field is needed (observation points or volume)
- Optional: Material properties (relative permeability, B-H curve data, coercivity, remanence)
- Optional: Desired accuracy level (exact integral, multipole expansion order, numerical resolution)
- Optional: Visualization requirements (2D cross-section, 3D field lines, magnitude contour map)
Related skills