This example calculates the inductance between parallel wires. Two 1 m wires with 4 mm radius 1 A current are placed 0.5 m apart in a large domain of non-conducting air or vacuum. The inductance is computed with both using the magnetic field energy and flux linkage, and compared against the analytical solution L = (µ0/π⋅l⋅(ln(d/r)+1/4)).
This model is available as an automated tutorial by selecting Model Examples and Tutorials… > Electromagnetics > Inductance in Parallel Wires from the File menu. Or alternatively, follow the step-by-step instructions linked below.