Beruflich Dokumente
Kultur Dokumente
Research articles
Exact expression for the magnetic field of a finite cylinder with arbitrary
uniform magnetization
Alessio Caciagli 1, Roel J. Baars 1, Albert P. Philipse, Bonny W.M. Kuipers ⇑
Van ’t Hoff Laboratory for Physical and Colloid Chemistry, Debye Institute for Nanomaterials Science, Utrecht University, Padualaan 8, 3584 CH Utrecht, The Netherlands
a r t i c l e i n f o a b s t r a c t
Article history: An exact analytical expression for the magnetic field of a cylinder of finite length with a uniform, trans-
Received 3 November 2017 verse magnetization is derived. Together with known expressions for the magnetic field due to longitu-
Received in revised form 29 January 2018 dinal magnetization, the calculation of magnetic fields for cylinders with an arbitrary magnetization
Accepted 1 February 2018
direction is possible. The expression for transverse magnetization is validated successfully against the
well-known limits of an infinitely long cylinder, the field on the axis of the cylinder and in the far field
limit. Comparison with a numerical finite-element method displays good agreement, making the advan-
Keywords:
tage of an analytical method over grid-based methods evident.
Electromagnetic fields
Magnetism
Ó 2018 Elsevier B.V. All rights reserved.
Elliptic integrals
Electromagnetic theory
Finite element method
https://doi.org/10.1016/j.jmmm.2018.02.003
0304-8853/Ó 2018 Elsevier B.V. All rights reserved.
424 A. Caciagli et al. / Journal of Magnetism and Magnetic Materials 456 (2018) 423–432
Fig. 2. Magnetic flux lines and density plots for a cylinder (R ¼ 1; L ¼ 3) with longitudinal (a), transverse (b) and (c), and off-axis magnetization (d). The outline of the
cylinder is marked with a black rectangle or circle. The colours indicate the magnitude of the B-field strength (blue = low, red = high).
Z 2p Z
4.1. Magnetostatic potential M L
R cos u0
Uðq; u; zÞ ¼ d u0 dz0 qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
4p 0 L
q2 þ R 2qR cosðu u0 Þ þ ðz z0 Þ2
2
the Laplacian, GðrÞ ¼ ð4pjrjÞ1 . In the problem of interest, the vol- ð10Þ
ume charge density reduces to a surface charge distribution r on
the lateral surface of the cylinder. In cylindrical coordinates this is where the substitution n ¼ z L from Eq. (5) is introduced.
given by rðu0 Þ ¼ M cos u0 . The integral in Eq. (8) is now reduced Integration by parts can be applied, leading to the somewhat
to an integral over the surface of the cylinder, involved expression,
426 A. Caciagli et al. / Journal of Magnetism and Magnetic Materials 456 (2018) 423–432
82 3
qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
nþ u0 ¼2p
MR <4
Splitting the integral in Eq. (16) according to the terms in Eq. (17),
sin u0 ln n þ n þ q2 þ R 2qR cosðu u0 Þ
2 2 5 gives three separate integrals representing (combinations of) ellip-
4p :
n u0 ¼0 tic integrals of the first, second and third kind.
2
Z 2p The full expression now becomes,
0 06 qR sinðu u0 Þ 0 nþ
þ du sin u 4qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
0
n2 þ q2 þ R2 2qR cosðu u0 Þ B Z cosu
2
2M qR cos u B c 2 2 b
nþ 39 B dx rffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
>
= pðq þ RÞ ð1 c Þ @1 c cos 2
2 2 2 u
ð1 x2 Þ 1 x2 1 k
2
1 7
qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi 5 ð11Þ n
> nþ
n þ n þ q þ R 2qR cosðu u Þ ;
2 2 2 0
n Z cosu
2 b
þ
dxx2 rffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
Evaluation of the first term between square brackets shows that it
ð1 x2 Þ 1 x2 1 k
u
cos 2 2
vanishes. The remainder can be rewritten to,
Z 2p " n
MqR2 sinðu u0 Þ nþ 1
du0 sin u0
Z u C
4p 0
2
q2 þ R 2qR cosðu u0 Þ c2 cos 2
1 b C
dx rffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi C
nþ 3 1 c2 2 ð1 c2 Þ A
1 x
ð1 x Þ 1 x 1 k
u
cos 2 2
2 2
n 7
qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi 5 ð12Þ n
2 2
n þ q þ R 2qR cosðu u Þ
2 0 ð18Þ
n
Each term can be evaluated using tabulated integrals (cf. Ref. [39]).
The integral over u0 is solved by two consecutive changes in inte-
After some elementary rewriting, a concise final result is obtained,
gration variable. First, 2w ¼ p ðu u0 Þ, resulting in,
Z 3pu MR cos u
M q R2 2 2
2 U¼ bþ P3 ðkþ Þ b P3 ðk Þ ð19Þ
dw sin uðsin wcos2 wÞ2cos u sinwcosw p
p pu
2 2
nþ where we define the auxiliary function P3 ðkÞ as,
coswsinw n 1 c2
qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi P3 ðkÞ ¼ ðK E Þ ð P KÞ ð20Þ
q þR 2qRðsin wcos wÞ n2 þ q2 þR2 2qRðsin wcos2 wÞ
2 2 2 2 2
1k
2 1 c2
n
ð13Þ
4.2. Magnetic field
where sin u0 ; sinðu u0 Þ and cosðu u0 Þ have been evaluated in
terms of basic trigonometric functions. It can be shown that the first To obtain expressions for the magnetic field components in Eq.
term between the larger parentheses does not contribute to the (7), the derivatives of the scalar potential U in Eq. (19) can be taken
integral, leaving, directly. Alternatively, the derivatives can be taken in Eq. (9),
Z 3pu 2 followed by a similar mathematical treatment as was used for
2MqR2 cos u 2 2 cos2 w sin w
dw the scalar potential. For brevity, only the final expressions are
p pu
2 2
2
q2 þ R 2qRðsin w cos2 wÞ 2
presented here:
nþ
@U MR cos u
n Hq ¼ ¼ bþ P 4 ðkþ Þ b P4 ðk Þ
qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi ð14Þ @q 2pq
2 2
n þ q þ R 2qRðsin w cos wÞ
2 2 2
1 @U MR sin u
n
Hu ¼ ¼ bþ P3 ðkþ Þ b P3 ðk Þ ð21Þ
q @u pq
Making use of the shorthand from Eq. (5) and applying a second
@U MR cos u
change in variable, sin w ¼ x, allows us to write, Hz ¼ ¼ ½aþ P1 ðkþ Þ a P1 ðk Þ
@z p
2 2 2
q þ R 2qRðsin w cos wÞ ¼ ðq þ RÞ 1 x ð1 c Þ
2 2 2 2
where an auxiliary function P4 is defined as,
2
n2 þ q2 þ R2 2qRðsin2 w cos2 wÞ ¼ n2 þ ðq þ RÞ2 1 x2 ð1 k Þ c c
P4 ðkÞ ¼ ðP KÞ þ c2 P K P1 ðkÞ ð22Þ
ð15Þ 1 c2 1 c2
which upon substitution into Eq. (14) leads to, Computational effort in the evaluation of these equations is
minimal, because of the availability of efficient algorithms to
nþ
calculate elliptical integrals [40–42]. Fig. 2b and c show a graphical
Z u
2MqR cos u 2
ð1 x2 Þx2
cos 2
b representation of the field lines for a cylinder with transverse
dx rffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
ffi
2 1 x 2 ð1 c2 Þ magnetization.
pðq þ RÞ u
cos 2
ð1 x Þ 1 x 1 k
2 2 2
Note that analytical expressions for the derivatives of Eq. (21)
n
can be derived easily. This enables the calculation of magnetic
ð16Þ
forces through F ¼ ðm $ÞB for all points in space, except on the
pffiffiffiffiffiffiffiffiffiffiffiffiffiffi cylinder surface edge. Forces are typically required when perform-
Note the additional factor 1= 1 x2 entering the expression
ing molecular dynamics (MD) modeling, such as Brownian dynam-
because of the change of variable. A more convenient form of this
ics simulations of nanoparticles [32].
integral is found by applying the following substitution,
2
4.3. Combined action of orthogonal magnetization components
ð1 x2 Þx2 1 c c2 1
¼ þ x 2
1 x2 ð1 c2 Þ 1 c2 1 c2 1 c2 1 x2 ð1 c2 Þ
Knowing the magnetic field equations for a cylinder with fully
ð17Þ longitudinal and transverse magnetization (Eqs. (3) and (21)),
A. Caciagli et al. / Journal of Magnetism and Magnetic Materials 456 (2018) 423–432 427
allows the calculation of the field also for intermediate magnetiza- the limit of R; L ! 0. We can arbitrarily set u ¼ 0 to eliminate
tions. By decomposing the total magnetization in its longitudinal the angular dependence through sin u ¼ 0. To obtain the field
and transverse contributions according to Eq. (1), the magnetic equations, we make a first order series expansion around L ¼ 0, fol-
field for an off-axis magnetization direction is calculated. For the lowed by an additional expansion around R ¼ 0. It is impractical to
pffiffiffi pffiffiffi
magnetization direction M ¼ ð1= 2; 0; 1= 2Þ, the resulting field perform these expansions on the final results in Eq. (21) directly.
is shown in Fig. 2d. We therefore start by considering the partial derivatives
Hq ¼ @ U=@ q and Hz ¼ @ U=@z in integral form (see Eq. (21), com-
5. Limiting cases ing from Eq. (9)). For the radial component we have,
nþ
Z 2p
q Rcos u0
In this section we evaluate some limiting cases for the trans- MR n
du0 cos u0 qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
ffi
versely magnetized cylinder, Eq. (21), and compare these with 4p 0 q2 þ R2 2Rq cos u0 n2 þ q2 þ R2 2qRcos u0
known expressions from literature. For a treatment of the limiting n
cases for a longitudinally magnetized cylinder see for example Cal- ð28Þ
laghan and Maslen [25].
The first order expansion of the argument of the integral around
5.1. Infinite cylinder L ¼ 0 gives,
Z 2p
MRL q R cos u0
In the limit of an infinite cylinder, L ! 1, we have k ¼ 1 and du0 cos u0 3=2 ð29Þ
2p
b ¼ 1. This simplifies the auxiliary functions for the radial and
0
z2 þ q2 þ R2 2Rq cos u0
angular components in Eq. (21) to,
pffiffiffiffiffi Performing a consecutive expansion around R ¼ 0 results in,
1 þ c2 2 c2 c Z 2p !
bþ P4 ðjþ Þ b P 4 ðj Þ ¼ p pffiffiffiffiffi MRL q cos u0 Rðz2 2q2 Þ cos2 u0
1 c2 c2 du0 ð30Þ
pffiffiffiffiffi ð23Þ 2p 0 ðz þ q Þ
2 2 3=2
ðz2 þ q2 Þ
5=2
p 1 þ c2 2 c2
bþ P3 ðjþ Þ b P 3 ðj Þ ¼
2 1 c2 Evaluation of the integral eliminates the first term. Solving the
remaining integral immediately leads to the final results for the
The z-component correctly vanishes when evaluating the limits.
radial component,
These expressions contain a square root term accounting for points
outside (c > 0) and inside (c < 0) the cylinder. Substitution of Eqs. MR2 L 2q2 z2
(23) into (21) gives for the radial and angular component, after Hq ¼ ð31Þ
2 ðz2 þ q2 Þ5=2
some rewriting,
( ( For the z-component, we follow similar steps, starting with,
M R2 M R2
2 q2
cos u; c > 0 2 q2
sin u; c > 0 nþ
Hq ¼ Hu ¼ ð24Þ Z 2p
M2 cos u; c<0 M
sin u; c<0
2 MR 1
du0 cos u0 qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi ð32Þ
4p 2 2
which are identical to the known expressions from classical magne- 0
n þ q þ R 2qR cos u
2 0
n
tostatics [2,30].
where the expansion around L ¼ 0 leads to,
5.2. Field on axis Z 2p
MRL z
du0 cos u0 3=2 ð33Þ
2p 2
The magnetic field along the axis of the cylinder is found by 0
z2 þ q2 þ R 2qR cos u0
evaluating Eq. (21) in the limit of q ! 0 and u ¼ 0. No angular
or z-component will be present. In this case we have The second expansion around R ¼ 0 gives,
p !
b ¼ n = ðn2 þ R2 Þ; cos u ¼ 1 and the elliptic integrals Z 2p
MRL 0 z cos u0 3zqR cos2 u0
K ¼ E ¼ P ¼ p=2, so that P4 ðkÞ ¼ p2 ð1 þ cÞ=ð1 cÞ. We can write, du þ ð34Þ
! 2p 0 ðz2 þ q2 Þ
3=2
ðz2 þ q2 Þ
5=2
MR 1 þ c nþ n
Hq ð0; 0; zÞ ¼ qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi ð25Þ As before, the first term in the integral cancels out, so that the final
4q 1 c
n2þ þ R2 n þ R2
2
solution is given by,
The term R=qð1 þ cÞ=ð1 cÞ equals unity so that now the same MR2 L 3q z
Hz ¼ ð35Þ
expression is obtained as in [31], 2 ðz2 þ q2 Þ5=2
0 1
Eqs. (31) and (35) match the field for a point dipole [27], where only
MB nþ n C
Hq ð0; 0; zÞ ¼ @qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi A ð26Þ the radial and z variable are swapped because the alignment of the
4 2 2
nþ þ R n þ R2
2
magnetization vector here is along the x-axis and not the z-axis.
again in agreement with earlier findings [31]. For a uniformly magnetized sample of arbitrary geometry, the
demagnetization tensor is defined as [43,44]:
5.3. Far field limit
HðrÞ ¼ NP ðrÞ M ð36Þ
For the field far away from the cylinder, q; z R; L, the field of a where M is the uniform magnetization vector, H is the magnetic field
point dipole should be retrieved. The far-field limit is identical to (also known as the demagnetizing field), r ¼ ðx; y; zÞ is the point loca-
428 A. Caciagli et al. / Journal of Magnetism and Magnetic Materials 456 (2018) 423–432
tion and NP is the demagnetization tensor. In the general case H is and the auxiliary functions Li defined as:
non-uniform (here illustrated by its dependence on r) and NP as b
defined above is also known as the point-function demagnetization L0 ðÞ ¼ ðK cP Þ ð46Þ
p !
tensor. Its volume average defines the magnetometric demagnetization
Ra 2
tensor [44]: L1 ðÞ ¼ K ð K E Þ ð47Þ
p 1 k
2
Hi ðrÞ ¼ NPij M ð39Þ The integral over L0 is solved explicitly in the Appendix C. Here we
report the final result:
with i; j ¼ x; y; z. Hi denotes the component of H in the ^i direction Z
due to the magnetization M ¼ M^j. Inverting the previous relation dV ðL0 ðþÞ L0 ðÞÞ
gives the value of the tensor elements as a function of the field H.
V
4R 1
These are uniquely determined by the relation: ¼ 2V 4pR2 1 3 ð1 m2 ÞKðmÞ ð1 2m2 ÞEðmÞ þ L
3p m
1
NPij ¼ Hi M ¼ M^j i; j ¼ x; y; z ð40Þ ð51Þ
M
2
in which the magnetization condition for each relation is reported. The with m ¼ R2RþL2 . Inserting this result into the previous equation we
relations can be expressed analytically by inserting the values of Hx ; Hy arrive at the final exact result for the magnetometric demagnetiza-
and Hz as obtained when discussing the longitudinal and transverse tion tensor:
magnetization cases, with the coordinate transformations:
R 4R 1
NM 0
ii ¼ di3 þ 2aii 1 1 3 ð1 m2 ÞKðmÞ ð1 2m2 ÞEðmÞ þ L
Hx ðx; y; zÞ ¼ Hq ðq; u; zÞ cos u Hu ðq; u; zÞ sin u ð41Þ L 3p m
Hy ðx; y; zÞ ¼ Hq ðq; u; zÞ sin u þ Hu ðq; u; zÞ cos u ð42Þ ð52Þ
Hz ðx; y; zÞ ¼ Hz ðq; u; zÞ ð43Þ The diagonal of the tensor (that is, the only non-zero elements)
pffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi gives the three demagnetization factors for a uniformly magne-
with q ¼ x2 þ y2 and u ¼ arctanðx=yÞ. tized cylinder. The solution is equivalent to that of Tandon et al.
Solving explicitly the relation (40) for all combinations of i and j [17] and proves the complete equivalence between the real space
yields the final result in a compact form: route adopted in this study and the Fourier space approach used
Mðq; u; zÞ X 2 by Tandon et al.
NPij ðq; u; zÞ ¼ di3 dj3 þ a kij ðuÞfLk ðþÞ Lk ðÞg ð44Þ
M k¼0
7. Numerical validation
kij defined as:
with the matrices a
0 1 0 1 The validity of our analytical approach is tested by comparison
1 0 0 0 0 cos u with numerical calculations via F.E.M. analysis (performed with
1 B C 1 B C
a 0ij ðuÞ ¼ @ 0 1 0 A a 1ij ðuÞ ¼ @ 0 0 sin u A MagNet 7.5, Infolytica Corporation). As a first case we consider a
4 2
0 0 2 cos u sin u 0 single, permanently magnetized cylinder, aligned with the symme-
0 1 try axis along the z-axis of a Cartesian coordinate system. The
cos 2u sin 2u 0
a 2ij ðuÞ ¼ B C cylinder has a radius of R ¼ 0:3 m and semi-length L ¼ 6:0 m. Note
1
@ sin 2u cos 2u 0 A ð45Þ
4 that due to the nature of the software, object dimensions must
0 0 0 have units, but this is not expected to influence the qualitative
A. Caciagli et al. / Journal of Magnetism and Magnetic Materials 456 (2018) 423–432 429
Acknowledgment
1T. For the single cylinder, three magnetization directions are con- Cðkc ; p; c; sÞ ¼ du qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
2 2 2
sidered: completely longitudinal, completely transversal, and a
0
cos2 u þ kc sin u cos2 u þ p sin u
combination of two orthogonal vector components with magneti-
pffiffiffi pffiffiffi ðA:1Þ
zation vector M ¼ ð1= 2; 1= 2; 0Þ. As a second case, a set of three
For the evaluation of Bq ; Cðk ; 1; 1; 1Þ, is required, simplifying Eq.
cylinders with different orientations and positions is considered
(A.1) to
(see Fig. 3). The permanent magnetization direction in each cylin-
pffiffiffi pffiffiffi Z p=2 2
der is equal to M ¼ ð1= 2; 1= 2; 0Þ in the local frame of reference cos2 u sin u
of the cylinder.
du qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi ðA:2Þ
2 2 2
The magnetic field is calculated using the built-in solver of Mag-
0
cos2 u þ k sin u cos2 u þ sin u
Net, ensuring that the calculation mesh in the vicinity of the cylin-
We now make a change in variable sin u ¼ x, and rewrite to obtain,
der surface(s) is sufficiently fine-grained. The field components
Z
Bx ; By and Bz are sampled on the three perpendicular Cartesian 1
dx 1 x2 x2
pffiffiffiffiffiffiffiffiffiffiffiffiffiffi qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
planes through the origin, with 50 sample points per unit length 0 1 x2 ð 1 x2 Þ þ k 2 x2 ð ð 1 x 2 Þ þ x 2 Þ
along each axis. The field is also calculated for all sampled points
Z 1
using our analytical model. The correlation between the values 1
¼ dx rffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
ffi
from the analytical and numerical model is determined for each 0 2
case by plotting the numerical values against the analytical values, ð1 x2 Þ 1 1 k x2
and by calculating the coefficient of determination R2 , using the Z 1
x2
Pearson product-moment correlation [45]. 2 dx rffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
ffi ðA:3Þ
0 2
As an example result, the comparison for the three cylinders ð1 x2 Þ 1 1 k x2
case measured across the xy-plane is shown in Fig. 4. The agree-
ment between the analytical model and the numerical results is These integrals can be solved immediately using tabulated func-
good (in all cases R2 > 0:99), confirming that the superposition of tions [39] (eq. 8.112). This gives finally,
multiple object fields through the combination of transverse and 2 1
longitudinal magnetization components gives correct results. Any Cðk ; 1; 1; 1Þ ¼ K 2 ð1 k Þ ðK E Þ ðA:4Þ
noise is due to the mesh-based approach of the finite-element sol- Where the usual substitutions have been made (see Eq. (6)). This
ver, giving rise to artefacts near the edge of the cylinder, where result is used in Eq. (4) as P 1 ðkÞ.
there is a discontinuity in the field. For the evaluation of Bz ; Cðk ; c2 ; 1; cÞ is needed,2 resulting in
Fig. 4. Comparison of the analytical model and numerical calculations of the magnetic field (in T) sampled at the xy-plane for a configuration of three cylinders (see Fig. 3).
The top row shows our analytical calculations and the bottom row shows the results from the finite-element calculations in MagNet. The good agreement between the two is
visible from the correlation plots in the middle row.
Z p=2 2
cos2 u þ c sin u field on the surface of the cylinder cannot be probed by these
du qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi ðA:5Þ formulas.
2 2 2
0
cos2 u þ k sin u cos2 u þ c2 sin u
Appendix B. Equivalence of N Pxx with that of Ref. [19]
Following as before gives,
Z Let us first rewrite the main result from Lang [19], Eq. (36):
1
dx 1 x2 cx2
pffiffiffiffiffiffiffiffiffiffiffiffiffiffi qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
0 1 x2 ð1 x2 Þ þ k2 x2 ðð1 x2 Þ þ c2 x2 Þ NPij ð
q; u;zÞ ¼ di3 dj3 Dðq; u;zÞ
8
Z 1 >
> ij ðIl ðq; n Þ Il ðq; nþ ÞÞ z>L
1 X2 <
¼ dx rffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
ffi
þ a ij ðuÞ ij ðIl ðq;0Þ Il ðq; nþ ÞÞ þ þij ðIl ðq;0Þ Il ðq; n ÞÞ jzj < L
l
0 2
ð1 x2 Þ 1 1 k x2 ð1 ð1 c2 Þx2 Þ >
>
l¼0 :
Z 1 þij ðIl ðq; nþ Þ Il ðq; n ÞÞ z < L
x2
ð1 þ cÞ dx rffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
ffi ðB:1Þ
0 2
ð1 x2 Þ 1 1 k x2 ð1 ð1 c2 Þx2 Þ
with n ¼ jz Lj and Dðq; u; zÞ; a
ij ðuÞ and as defined in [19] Eqs.
ij
ðA:6Þ (35) and (25). The terms Il are integrals of the Lipschitz -Hankel
type:
Evaluating these integrals leads to the final result, which is used in Z 1
Eq. (4) as P2 ðkÞ. Il ðq; aÞ ¼ dK J 1 ðKÞJ l ðK q=RÞeaK ðB:2Þ
0
1
Cðk ; c2 ; 1; cÞ ¼ P ð1 þ cÞ ðP KÞ where Ji are the Bessel functions of the first kind. Solving the sum-
1 c2
mation for the specific case i ¼ 1; j ¼ 1 gives:
1 c2 1 c
¼ P ðP KÞ ð P KÞ ðA:7Þ 1
1 c2 1 c2 1 c2 NPxx ¼ ðfl ¼ 0g cos 2u fl ¼ 2gÞ ðB:3Þ
4
1 2 c
¼ c PK ð P KÞ where the terms f. . .g are a contraction for the corresponding terms
1 c2 1 c2
in the summation in Eq. (B.1).
Note that in all cases, the evaluation of the integral at c ¼ 1
(i.e. evaluation at q ¼ R) leads to division by zero, so that the The integral I0 ðq; n Þ solves to (Eq. (38) in [19]):
A. Caciagli et al. / Journal of Magnetism and Magnetic Materials 456 (2018) 423–432 431
8 pffiffiffiffiffiffiffiffi
>
>
n 1k2
pffiffiffiffi K 12 K0 ðb0 ; j Þ þ 1 q < R It is trivial to show that this expression is equivalent to Nxx as
>
>
>
> 2p qR derived above. The demonstration can be extended to all the other
< pffiffiffiffiffiffiffiffi2
tensor components, thus giving complete equivalence between the
I0 ðq; n Þ ¼ pffiffiffiffi þ 12
n 1k
q¼R ðB:4Þ
>
> 2p qR formulations.
>
> pffiffiffiffiffiffiffiffi2
>
>
: n p ffiffiffiffi K þ 12 K0 ðb0 ; j Þ
1k
q>R
2pR qR Appendix C. Integral of L0 ð%Þ
2 4Rq 0 0
with sin ðj Þ ¼ ðqþRÞ2 þn2
and b ¼ arcsinða n ; j Þ and K0 ðb ; j Þ The integral to be solved is the following:
is Heuman’s Lambda Function as defined in [46]. The integral Z
I2 ðq; n Þ solves to (Eq. (44) in [19]): dV ðL0 ðþÞ L0 ðÞÞ ðC:1Þ
V
8 pffiffi pffiffiffiffiffiffiffiffi2ffi 2
Rn
> 2 2
ffi E n 1kpðnffiffi þ5=2q þ2R Þ K 2Rq2 K0 ðb0 ; j Þ þ qR2
p2ffiffiffiffiffiffiffiffi
2 2
>
>
> 2 3=2 2p Rq
q>R Before starting we write some useful relations and identities
>
>
p 1k q
pffiffiffiffiffiffiffiffi2ffi 2 [46,48]
< pffiffi
I2 ðq; n Þ ¼ Rn
2 2
ffi E n 1kpðnffiffi þ5=2q þ2R Þ K 2Rq2
p2ffiffiffiffiffiffiffiffi
2
2 3=2
q¼R
k
>
> p 1k q 2p Rq
1 d i
>
> pffiffi
pffiffiffiffiffiffiffiffi2ffi 2
>
> Rn
: p2ffiffiffiffiffiffiffiffi 2 2 x J i ðxÞ ¼ xik J ik ðxÞ ðC:2Þ
ffi E n 1kpðnffiffi þ5=2q þ2R Þ K þ 2Rq2 K0 ðb0 ; j Þ
2
2 3=2 2p Rq
q<R x dx
p 1k q
ðB:5Þ Z 1
pk ba 1
dx epx J 1 ðaxÞJ 0 ðbxÞ ¼ pffiffiffiffiffiffi KðkÞ Pðk; gÞ þ
By switching n for n as defined earlier (that is, explicitly writing 0 2pa ab bþa a
the absolute value) and using the results K0 ð0; xÞ ¼ 0 and ðC:3Þ
K0 ðp=2; xÞ ¼ 1 (which can be easily proven using the definition of Z
Heuman’s Lambda and the Legendre Relation for elliptic integrals),
1
J 21 ðaxÞ 4a
dx e2px ¼ ð1 m2 ÞKðmÞ ð1 2m2 ÞEðmÞ p
it is possible to greatly simplify all the cumbersome cases for q and 0 x2 3pm3
z in Eqs. (B.4), (B.5) and (B.1) to a single, more elegant result: ðC:4Þ
1
NPxx ¼ ðfL0 ðþÞ L0 ðÞg cos 2u fL2 ðþÞ L2 ðÞgÞ ðB:6Þ where Ji are the Bessel’s Functions of the First Kind and k ¼ p2 þðaþbÞ
4ab 2
4 2
2
with: m ¼ p2aþa2 and g ¼ ðaþbÞ
2ab
2 . Furthermore, ða; b; p P 0Þ and ða > bÞ.
This leads to the final result for the auxiliary functions Li after some ðC:6Þ
refactoring: where p ¼ L z. In the limits of integration, p P 0 and thus the
b use of (C.2) is justified. By solving for the unity terms and rearrang-
L0 ðÞ ¼ ðK cP Þ ðB:10Þ
p
0
Z
L
Z
1
cos 2u Eþ J 1 ðRxÞ2 2L
0 0
þ bþ ðn2
þ þ q2
þ 2R 2
ÞKþ cR 2
P þ ¼ 2V 4pR2 dx dz ðez x Þ
4pq2 a2þ 0 x 0
Z
E 1
J 1 ðRxÞ2
b 2 ðn2 þ q2 þ 2R2 ÞK cR2 P ðB:13Þ ¼ 2V 4pR2 dx ð1 e2Lx Þ ðC:8Þ
a 0 x2
432 A. Caciagli et al. / Journal of Magnetism and Magnetic Materials 456 (2018) 423–432
where in the second passage we applied a change of variable [21] J.-M. Jin, The Finite Element Method in Electromagnetics, third ed., John Wiley
& Sons, 2014.
z0 ¼ L z to reduce the two exponentials to a single term. The
[22] K. Warnke, Finite-element modeling of the separation of magnetic
resulting integral can be split as: microparticles in fluid, IEEE Trans. Magn. 39 (2003) 1771–1777, https://doi.
( Z Z ) org/10.1109/TMAG.2003.810609.
1 1
0J ðx0 Þ2 J ðRxÞ 2
[23] V. Schaller, U. Kräling, C. Rusu, K. Petersson, J. Wipenmyr, A. Krozer, G.
2V 4pR R 2
dx 1 02 dx e2Lx 1 2 ðC:9Þ Wahnström, A. Sanz-Velasco, P. Enoksson, C. Johansson, Motion of nanometer
0 x 0 x
sized magnetic particles in a magnetic field gradient, J. Appl. Phys. 104 (2008)
093918, https://doi.org/10.1063/1.3009686.
Both the terms can be separately expressed in terms of C.4, yielding [24] M. Garrett, Axially symmetric systems for generating and measuring magnetic
2
the final result (with m ¼ L2RþR2 ): fields. Part I, J. Appl. Phys. 22 (1951) 1091–1107, https://doi.org/10.1063/
1.1700115.
Z [25] E. Callaghan, S. Maslen, The Magnetic Field of a Finite Solenoid, National
dV ðL0 ðþÞ L0 ðÞÞ Aeronautics and Space Administration, Washington, 1960, URL: < http://www.
V osti.gov/scitech/biblio/4121210>.
4R 1 [26] J. Conway, Exact solutions for the magnetic fields of axisymmetric solenoids
¼ 2V 4pR2 1 3 ð1 m2 ÞKðmÞ ð1 2m2 ÞEðmÞ þ L and current distributions, IEEE Trans. Magn. 37 (2001) 2977–2988, https://doi.
3p m org/10.1109/20.947050.
ðC:10Þ [27] N. Derby, S. Olbert, Cylindrical magnets and ideal solenoids, Am. J. Phys. 78
(2010) 229–235, https://doi.org/10.1119/1.3256157.
[28] M. Garrett, Calculation of fields, forces, and mutual inductances of current
systems by elliptic integrals, J. Appl. Phys. 34 (1963) 2567–2573, https://doi.
Appendix D. Supplementary data org/10.1063/1.1729771.
[29] J. Lane, R. Youngquist, C. Immer, J. Simpson, Magnetic Field, Force, and
Inductance Computations for an Axially Symmetric Solenoid, National
Supplementary data associated with this article can be found, in Aeronautics and Space Administration, Washington, 2001, URL: < http://
the online version, athttps://doi.org/10.1016/j.jmmm.2018.02.003. ntrs.nasa.gov/search.jsp?R=20140002332>.
[30] J. Oberteuffer, Magnetic separation: a review of principles, devices, and
applications, IEEE Trans. Magn. 10 (2) (1974) 223–238, https://doi.org/
References
10.1109/TMAG.1974.1058315.
[31] G. Wysin, Demagnetization Fields, 2012, last accessed 2017, Oct 30. URL: <
[1] J.C. Maxwell, A treatise on electricity and magnetism, Oxford University Press https://www.phys.ksu.edu/personal/wysin/notes/demag.pdf>.
Clarendon, First published 1873, Oxford, 1955. [32] R. Baars, Random porous media and magnetic separation of magnetic colloids
[2] J. Stratton, Electromagnetic Theory, McGraw-Hill Book Company, New York (Ph.D. thesis), Utrecht University, The Netherlands, iD: URN:NBN:NL:UI:10–
and London, 1941. 1874-326013, 2016. URL: < http://dspace.library.uu.nl/handle/1874/326013>.
[3] J. Jackson, Classical Electrodynamics, third ed., Wiley, New York, NY, 1999. [33] W. Druyvesteyn, J. Dorleijn, Calculations on some periodic magnetic domain
[4] D. Griffiths, Introduction to Electrodynamics, Prentice-Hall Inc, New Jersey, structures – consequences for bubble devices, Philips Res. Rep. 26 (1) (1971)
1999. 11+.
[5] J. Osborn, Demagnetization factors of the general ellipsoid, Phys. Rev. 67 (11–1) [34] K. Guslienko, Magnetostatic interdot coupling in two-dimensional magnetic
(1945) 351–357, https://doi.org/10.1103/PhysRev. 67.351. dot arrays, Appl. Phys. Lett. 75 (3) (1999) 394–396, https://doi.org/10.1063/
[6] M. Beleggia, M. De Graef, Y. Millev, Demagnetization factors of the general 1.124386.
ellipsoid: an alternative to the Maxwell approach, Philos. Mag. 86 (16) (2006) [35] K. Metlov, Micromagnetics and interaction effects in the lattice of magnetic
2451–2466, https://doi.org/10.1080/14786430600617161. dots, J. Magn. Magn. Mater. 215 (SI) (2000) 37–39. 14th International
[7] M. Beleggia, M. De Graef, Y. Millev, D. Goode, G. Rowlands, Demagnetization Symposium on Soft Magnetic Materials (SMM14), Balatonfured, Hungary,
factors for elliptic cylinders, J. Phys. D: Appl. Phys. 38 (18) (2005) 3333, https:// Sep 08–10, 1999. doi:10.1016/S0304-8853(00)00060-3.
doi.org/10.1088/0022-3727/38/18/001. [36] E. Stoner, E. Wohlfarth, A mechanism of magnetic hysteresis in heterogeneous
[8] R. Joseph, Ballistic demagnetization factor in uniformly magnetized cylinders, alloys, IEEE Trans. Magn. 27 (1991) 3475–3518, https://doi.org/10.1109/
J. Appl. Phys. 37 (13) (1966) 4639–4643, https://doi.org/10.1063/1.1708110. TMAG.1991.1183750.
[9] D.-X. Chen, J. Brug, R. Goldfarb, Demagnetization factors for cylinders, IEEE [37] Z. Nagy, B. Nelson, Lagrangian modeling of the magnetization and the
Trans. Magn. 27 (1991) 3601–3619, https://doi.org/10.1109/20.102932. magnetic torque on assembled soft-magnetic mems devices for fast
[10] D.-X. Chen, E. Pardo, A. Sanchez, Fluxmetric and magnetometric computation and analysis, IEEE Trans. Rob. 28 (4) (2012) 787–797, https://
demagnetizing factors for cylinders, J. Magn. Magn. Mater. 306 (1) (2006) doi.org/10.1109/TRO.2012.2193230.
135–146, https://doi.org/10.1016/j.jmmm.2006.02.235. [38] R. Bulirsch, Numerical calculation of elliptic integrals and elliptic functions,
[11] A. Aharoni, Demagnetizing factors for rectangular ferromagnetic prisms, J. Numer. Math. 7 (1965) 78–90, https://doi.org/10.1007/BF01397975.
Appl. Phys. 83 (6) (1998) 3432–3434, https://doi.org/10.1063/1.367113. [39] I. Ryzhik, I. Gradstein, Tables of Series, Products and Integrals, Veb. Deutscher
[12] K. Metlov, Vortex precession frequency and its amplitude-dependent shift in Verlag der Wissenschaften, 1957.
cylindrical nanomagnets, J. Appl. Phys. 114 (22) (2013), https://doi.org/ [40] B. Carlson, Computing elliptic integrals by duplication, Numer. Math. 33
10.1063/1.4844435. (1979) 1–16, https://doi.org/10.1007/BF01396491.
[13] K. Guslienko, K. Metlov, Evolution and stability of a magnetic vortex in a small [41] T. Fukushima, Precise and fast computation of the general complete elliptic
cylindrical ferromagnetic particle under applied field, Phys. Rev. B 63 (10) integral of the second kind, Math. Comput. 80 (2011) 1725–1743, https://doi.
(2001), https://doi.org/10.1103/PhysRevB.63.100403. org/10.1090/S0025-5718-2011-02455-5.
[14] K. Metlov, K. Guslienko, Quasiuniform magnetization state in soft [42] T. Fukushima, Precise and fast computation of a general incomplete elliptic
ferromagnetic nanocylinders, Phys. Rev. B 70 (5) (2004), https://doi.org/ integral of third kind by half and double argument transformations, J. Comput.
10.1103/PhysRevB.70.052406. Appl. Math. 236 (2012) 1961–1975, https://doi.org/10.1016/
[15] T. Taniguchi, Indirect excitation of self-oscillation in perpendicular j.cam.2011.11.007.
ferromagnet by spin Hall effect, Appl. Phys. Lett. 111 (2) (2017), https://doi. [43] E. Schlömann, A sum rule concerning the inhomogeneous demagnetizing field
org/10.1063/1.4991663, Supplementary Material. in nonellipsoidal samples, J. Appl. Phys. 33 (9) (1962) 2825–2826, https://doi.
[16] L. Kraus, Demagnetization tensor of a cylinder, Czech J. Phys. 23 (5) (1973) org/10.1063/1.1702557.
512–519, https://doi.org/10.1007/BF01593828. [44] R. Moskowitz, E. Della Torre, Theoretical aspects of demagnetization tensors,
[17] S. Tandon, M. Beleggia, Y. Zhu, M. De Graef, On the computation of the IEEE Trans. Magn. 2 (4) (1966) 739–744, https://doi.org/10.1109/
demagnetization tensor for uniformly magnetized particles of arbitrary shape. TMAG.1966.1065973, URL: < http://ieeexplore.ieee.org/document/1065973/>.
Part I: Analytical approach, J. Magn. Magn. Mater. 271 (1) (2004) 9–26, https:// [45] O. Behnke, K. Krninger, Data Analysis in High Energy Physics: A Practical Guide
doi.org/10.1016/j.jmmm.2003.09.011. to Statistical Methods, Wiley, 2013.
[18] M. Beleggia, M. De Graef, On the computation of the demagnetization tensor [46] M. Abramowitz, I. Stegun, Handbook of Mathematical Functions with
field for an arbitrary particle shape using a Fourier space approach, J. Magn. Formulas, Graphs, and Mathematical Tables, vol. 56, Dover Publications, 1964.
Magn. Mater. 263 (1–2) (2003) L1–L9, https://doi.org/10.1016/S0304-8853 [47] T. Lemczyk, M. Yovanovich, Efficient evaluation of incomplete elliptic integrals
(03)00238-5. and functions, Comput. Math. Appl. 16 (9) (1988) 747–757, https://doi.org/
[19] F. Lang, S. Blundell, Fourier space derivation of the demagnetization tensor for 10.1016/0898-1221(88)90010-7.
uniformly magnetized objects of cylindrical symmetry, J. Magn. Magn. Mater. [48] S. Okui, Complete elliptic integrals resulting from finite integrals of Bessel
401 (2016) 1060–1067, https://doi.org/10.1016/j.jmmm.2015.10.133. functions, J. Res. NBS. B Math. Sci. 78 (3) (1974) 113–135, https://doi.org/
[20] J. Coggon, Electromagnetic and electrical modeling by the finite element 10.6028/jres.078B.018.
method, Geophysics 36 (1971) 132–155, https://doi.org/10.1190/1.1440151.