Compare magnetic solutions through gauge-invariant fields and fluxes. Different vector-potential values can represent the same B field, so keep the potential’s reference convention separate from the physical quantities used for the transformer decision.
Calculation basis. Unless a value is explicitly attributed to a cited source, numerical inputs in the demonstrations are assumptions for the stated model. Normalized variables are dimensionless. The examples define their own geometry, excitation and measurement boundary.
A gauge check should establish that the chosen constraint produces a usable solve while preserving the physical quantities under the appropriate transformations. Keep this separate from the external-boundary choice and from material-model validation.
Identify the nonunique quantity
The magnetic vector potential A defines B = ∇×A. For a sufficiently smooth scalar function χ, replacing A by A′ = A + ∇χ leaves B unchanged because ∇×∇χ = 0. In SI units, A uses Wb/m, χ uses Wb and B uses T.
This transformation explains a family of equivalent potentials; it does not mean every arbitrary change to A is harmless. A perturbation with nonzero curl changes B. Boundary conditions, conductor connections and numerical spaces also constrain the transformations admitted by a particular model.
A gauge condition selects or constrains a representative from the equivalent family. The Coulomb condition is ∇·A = 0. Remaining harmonic freedoms can require compatible boundary or reference treatment before a unique representative is established.
Read what the implemented constraint actually does
Document the divergence constraint, additional unknowns and compatible boundary/reference treatment used by the magnetostatic formulation. Check physical invariants independently of algebraic convergence.
In dynamic fields, derive the gauge and charge/current constraints from the actual coupled equations. A feature label does not specify the same additional equation in every study.
Select one consistent potential formulation and its required constraints. Verify that any additional gauge or reference equation preserves the intended physical solution.
Record the interface, study type, unknowns, actual divergence or reference equations and associated boundaries. Avoid treating a new constraint as harmless merely because it improves an algebraic residual.
Demonstrate equal B with unequal A
An original uniform-field example uses B₀ = 0.2 T and
A = (−B₀y/2, B₀x/2, 0).
Choose χ₁ = γxy, with γ = 0.1 T, and coordinates x and y in metres. Its gradient is (γy, γx, 0), so
A₁ = ((γ − B₀/2)y, (γ + B₀/2)x, 0).
Both curls equal (0, 0, B₀), and both divergences are zero. At x = 2 m, y = 1 m, A = (−0.1, 0.2, 0) Wb/m while A₁ = (0, 0.4, 0) Wb/m. Their values differ even though their B fields agree exactly.
Because ∇²χ₁ = 0, this example also shows that the Coulomb condition alone does not remove every freedom in an otherwise unconstrained domain. It is not evidence that an implementation with its complete compatible boundary treatment must remain singular.
For a second transformation, choose χ₂ = γx²/2. Then A₂ = A + (γx, 0, 0). Its curl still gives the same B, but its divergence is γ. At the same point, A₂ = (0.1, 0.2, 0) Wb/m. Thus gauge-equivalent magnetic fields can arise from a potential that does not satisfy the original divergence condition.
These are analytic fields, not computed transformer-core results, coil predictions or allowable flux densities.

Check circulation and flux independently
For a counterclockwise rectangle from (0, 0) to (2, 0), (2, 1), (0, 1) and back, the area is 2 m². Each example has flux B₀ times area = 0.4 Wb through the positive-z surface.
Integrating A·dl around the same closed contour gives 0.4 Wb for A, A₁ and A₂. The added gradient contributes χ_final − χ_initial = 0. This independently checks the potential-to-flux relation and the contour orientation.
Do not compare an open-path potential integral without its endpoint convention. A gradient can change that integral even while leaving B unchanged. A closed circulation or a properly defined physical flux is a more suitable invariant for this demonstration.
Preserve the electric field in dynamic transformations
For time-dependent potentials, use E = −∂A/∂t − ∇φ under the stated electromagnetic formulation. A transformation A′ = A + ∇χ requires φ′ = φ − ∂χ/∂t to preserve E as well as B.
Changing only A while retaining φ can change the electric field and induced-current calculation. A dynamic gauge test must therefore compare the full compatible potential pair, not just the magnetic curl. The example above is static and establishes no time-dependent current or loss result.
Test the numerical representation
In a discrete formulation, use a perturbation representable by its actual gradient space and evaluate the corresponding discrete curl. A compatible gradient-to-curl sequence should reproduce the zero-curl property within its defined algebraic and numerical accuracy.
If independently interpolated potentials or postprocessing derivatives create a difference in B, identify that discretization effect before declaring a physical gauge dependence. Use consistent coordinates, derivative operators and integration surfaces for the compared outputs.
Then compare physically relevant quantities under admissible reference changes: B components, defined fluxes, and, for a compatible dynamic formulation, E and induced-current or loss observables. Record algebraic residuals and divergence measures separately. Agreement of these checks does not establish that geometry, material data or external boundaries represent the actual transformer.
Release the constraint with its limits
The model record should show why the chosen gauge or nullspace treatment fits the formulation, which transformations the boundaries admit and which physical invariants were actually checked. Retain any remaining reference freedoms or numerical sensitivity.
Attach the gauge and boundary context to every potential comparison. Use the checked field and flux invariants for the engineering interpretation, and retain the chosen constraint or nullspace treatment with the numerical solve.
Use a manufactured packet for the contour check
Use 0.23 mm catalog sheet and assume a 100-layer, 100 mm wide net steel section. [1] Its area is 0.00230 m². Imposing a uniform 1.7 T benchmark field gives 3.910 mWb. An oriented contour enclosing that section must therefore give ∮A·dl = 0.003910 Wb for every admitted gauge representation. Changing χ may alter nodal A values but must leave this flux unchanged. Compare the same physical contour and steel area before attributing a discrepancy to the gauge solver.
Retain sheet count, net steel area, joint gaps and rolling-direction coordinates in the model exchange. Manufacturing changes that alter those physical quantities require a new field comparison; a gauge transformation alone cannot account for them. IEC 60404-8-7 provides the delivery-specification framework for fully processed grain-oriented steel. [2]
References
[1] Cleveland-Cliffs, Grain-Oriented Electrical Steels — LITE CARLITE and Mill-Anneal, October 2023, Tables 1 and 5; Stress-Relief Annealing.
[2] IEC, IEC 60404-8-7:2020, Magnetic materials — Part 8-7: Specifications for individual materials — Cold-rolled grain-oriented electrical steel strip and sheet delivered in the fully-processed state.

