self_barDH.m
PURPOSE:
Calculate the self inductance of a set of bars A
Bar is defined by center and deltas x= [xc,yc,zc,dx,dy,dz] and perimeters,
pa, which is all that is needed to compute self inductance.
self_bar is related to self_fil which computes self inductance
of filament set. Cross-inductances are calculated as filaments using fil_a; only
diagonals (and thus single bars) have self inductances calculated as
bars.
Note: All Units are MKS (meters, Amps, Tesla, Henries ...)
SYNTAX:
self_barDH(xa,pa,fa,full)
INPUT:
xa = center coordinates. & delta lengths [xa,ya,za,dxa,dya,dza]
pa = Perimeters of bars for self inductance (vector or scalor)
fa = Optional: fraction of current in filament for parallel currents [1]
full= 0=does only half matrix (assume symmetry) =1 does full matrix [0]
OUTPUT:
l == self inductance of bar A sets [H]
RESTRICTIONS:
CAUTION: Filament perimeter pa cannot be zero
METHOD:
Uses AIP handbook expression for self inductance of rectangular X-sect
bar:
Dependencies