In this paper an investigation of the effect of the maximum dimension of th
e Krylov subspace projection methods, within the Ordinary Differential Equa
tions (ODEs) context, on the speed of micromagnetic simulations of granular
media has been done. The stiffness of the problem has been investigated us
ing two different solvers, a nonstiff (Adams) and a stiff one (backward dif
ferentiation formulae, BDF) for the solution of the large system of ODEs. T
hen micromagnetic simulations have been run for a variety of values of the
maximum dimension of the Krylov subspace for different sizes of finite elem
ents in order to establish an optimum value. Adams method requires 3 times
more CPU time than BDF for the same simulation time. The latter result show
s that granular media micromagnetic simulations are stiff. Furthermore, it
has been found that increasing the maximum dimension of the Krylov subspace
to 15 (default value = 5) a considerable increase to the speed of the simu
lations occurs in the order of 20-52%. (C) 2001 IMACS. Published by Elsevie
r Science B.V. All rights reserved.