원시데이터 수집 시스템
선정목록으로

Atomistic-continuum multiscale modelling of magnetisation dynamics at non-zero temperature

관련 수소연료전지 · (6) PEM(고분자전해질막)

기본 정보

저자
  1. Doghonay Arjmand — ANMC, Section de Mathématiques, École Polytechnique Fédérale de Lausanne, Station 8, CH-1015, Lausanne, Switzerland|||Department of Information Technology, Uppsala University, Box 337, 751 05, Uppsala, Sweden|||ANMC, Section de Mathématiques, École Polytechnique Fédérale de Lausanne, Lausanne, Switzerland|||Department of Information Technology, Uppsala University, Uppsala, Sweden
  2. Mikhail Poluektov — Department of Information Technology, Uppsala University, Box 337, 751 05, Uppsala, Sweden|||International Institute for Nanocomposites Manufacturing, WMG, University of Warwick, Coventry, CV4 7AL, UK|||International Institute for Nanocomposites Manufacturing, WMG, University of Warwick, Coventry, UK|||Department of Information Technology, Uppsala University, Uppsala, Sweden
  3. Gunilla Kreiss — Department of Information Technology, Uppsala University, Box 337, 751 05, Uppsala, Sweden|||Department of Information Technology, Uppsala University, Uppsala, Sweden
DOI
10.1007/s10444-017-9575-3
저널
Advances in Computational Mathematics
발행년도
2017
발행기관
Springer Science+Business Media
피인용수
6
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1007/s10444-017-9575-3
토픽
Composite Material Mechanics
OpenAlex ID
W2592009692

평가 내용

관련도
관련
사업분야
수소연료전지 · (6) PEM(고분자전해질막)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > PEM(고분자전해질막)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

In this article, a few problems related to multiscale modelling of magnetic materials at finite temperatures and possible ways of solving these problems are discussed. The discussion is mainly centred around two established multiscale concepts: the partitioned domain and the upscaling-based methodologies. The major challenge for both multiscale methods is to capture the correct value of magnetisation length accurately, which is affected by a random temperature-dependent force. Moreover, general limitations of these multiscale techniques in application to spin systems are discussed.

본문 88,878자

본문 펼치기
ATOMISTIC-CONTINUUM MULTISCALE MODELLING OF MAGNETISATION DYNAMICS AT NON-ZERO TEMPERATURE DOGHONAY ARJMAND, MIKHAIL POLUEKTOV, AND GUNILLA KREISS Abstract. In this article, a few problems related to multiscale modelling of magnetic materials at finite temperatures and possible ways of solving these problems are discussed. The discussion is mainly centred around two established multiscale concepts: the partitioned domain and the upscaling-based methodologies. The major challenge for both multiscale methods is to capture the correct value of magnetisation length accurately, which is affected by a random temperature-dependent force. Moreover, general limitations of these multiscale techniques in application to spin systems are discussed. 1. Introduction In recent years, atomistic spin dynamics (ASD) became an essential tool for understanding experimentally observed behaviour of magnetic materials [17]. In this approach, the dynamics of spin magnetic moments of individual atoms is modelled. In contrast to ASD, the classical approach of understanding ferromagnets, which originates from the first half of twentieth century, is micromagnetics [10]. It operates with the volume-averaged quantities, such as magnetisation. The area of application of these two descriptions is somewhat different: ASD aims at describing the phenomena at the nanometre scale, while the micromagnetic theory is usually applicable at scales larger than the micrometre. Due to relatively high computational cost of ASD, it is useful to construct multiscale methods that combine ASD and micromagnetics in a single unified framework. An extended background and discussion of the purposes of such multiscale models can be found in [4, 27]. At finite temperatures, the rotational motion of the spin magnetic moments, which have the constant length, is described by a system of Langevin equations. The presence of temperature is modelled by a Gaussian noise term. In this case, each individual computational realisation is affected by a random force. However, the physically meaningful quantities of interest are the statistical averages of the magnetic moments, which have reduced lengths due to the cancellations in the averaging. For an accurate description of the dynamics, the reduction in the magnitude of the magnetisation or spin magnetic moments must be carefully accounted for. A traditional way of computing these statistical averages is the Monte Carlo method, see e.g. [25], which is computationally expensive, as large number of replicas of the solution is required to compute statistically meaningful quantities. An alternative way is to derive explicit equations for the evolution of statistical averages of the spin magnetic moments. One such approach is to use the Landau-Lifshitz-Bloch (LLB) equation, which describes the dynamics of the statistical averages, see e.g. Key words and phrases. multiscale modelling, micromagnetism, atomistic-continuum coupling, Landau-Liftshitz-Gilbert equation. 1 2 D. ARJMAND, M. POLUEKTOV, AND G. KREISS [19]. A similar technique (a variant of the LLB) is proposed in [8] where the length (given by the so-called power law) is embedded into a macroscopic equation similar to LLB. These approaches typically contain some restrictive closure arguments, such as E[m × m] = E[m] × E[m], where E denotes an ensemble average and m is the spin magnetic moment, which are not necessarily true in general [32]. To avoid such restrictive arguments, one may either resort to fully atomistic simulations, or design multiscale numerical algorithms which do not use these assumptions. One of the most common types of concurrent multiscale methods is the partitioned domain approach [31]. Within this method, the computational domain is split into several regions with different material descriptions, e.g. atomistic and continuum descriptions [26]. The biggest challenge for these approaches is the construction of an error-free coupling at the interface separating the domains. There are several initial attempts of using partitioned domain atomistic-continuum multiscale models in application to micromagnetics [20, 22, 3, 27]. Another common type of multiscale modelling is based on upscaling, where the microscopic scale effects are systematically upscaled to an initially incomplete macroscopic model describing the macroscopic scale behaviour. In this case, the microscopic description has to be consistent with the current macroscopic variables, which leads to a two-way coupling between the microscale and macroscale models. There are several multiscale frameworks, such as the heterogeneous multicale method (HMM) [1, 16] or the equation-free approaches [23], which use this idea. The upscaling-based strategy <sup>1</sup> that is used in this paper rests upon the HMM methodology, where the microscale model is typically known, but expensive to solve over the entire macroscopic domain of interest, while the macroscale model is incomplete, as it lacks certain macroscopic quantities, which might be time-dependent. These missing quantities are then computed by carrying out the microscopic simulations in small spatial and temporal domains (sometimes referred to as representative volume elements). The methodology is efficient in the case of problems, which possess an inherent scale separation. The efficiency of the method is due to the fact that the size of the microscopic domains may be chosen comparable to the smallest length scale present in the system. The aim of the present study is to describe the magnetisation dynamics using efficient atomistic-continuum multiscale formalisms, in which number of degrees of freedom is significantly reduced in comparison to a full atomistic simulation. Moreover, the overall ambition is to design algorithms, which do not suffer from restrictive closure arguments, and, at the same time, capture the correct dynamic behaviour. The microscale model, considered in the present work, is a discrete system of atomistic particles interacting at a finite temperature. For the purpose of this study, it is assumed that an atomistic model provides the exact material behaviour, although this may not necessarily be true in reality. In a multiscale method, a microscale model has to be consistently coupled to a macroscale model, which is addressed in this work under two different multiscale frameworks; the domain-partitioning and the HMM. Another aim of this work is to demonstrate the shortcomings of the standard continuum approach for a number of specific cases, which motivates the necessity of the multiscale modelling. 1Here, the term “upscaling-based strategies” is used to refer to the class of methods such as HMM or the equation-free methods, where a two-way coupling between the micro and macro scales is necessary for an accurate description of the macroscopic phenomena. ATOMISTIC-CONTINUUM MULTISCALE MODELLING OF MAGNETISATION DYNAMICS 3 In Section 2 of this paper, a number of issues in relation to atomistic-continuum transition at non-zero temperatures are discussed, and the domain partitioning approach is presented. In Section 3, the detailed mathematical formulation of the HMM approach for the case of micromagnetics is given. Afterwards, in Section 4, various multiscale examples are considered. 2. Towards multiscale modelling The consistency between atomistic and continuum descriptions is required in any type of multiscale coupling. However, the construction of a deterministic continuum model that corresponds to the stochastic atomistic description is a complicated problem. Several issues related to estimation of the macroscopic quantities of stochastic atomistic systems are highlighted in subsequent subsections. The problem of selecting an appropriate continuum model is further discussed in subsection 2.4. 2.1. Modelling approaches. In this subsection, atomistic and continuum modelling approaches are summarised. For simplicity, a 1D spatial arrangement is considered. Full descriptions can be found in [18] and [2], respectively. In what follows, the vector quantities are always denoted by bold face letters, e.g. m ∈ R <sup>3</sup>, and the Euclidian 2-norm is written as |m| = m <sup>2</sup> x + m <sup>2</sup> y + m <sup>2</sup> z. m <sup>2</sup> x + m <sup>2</sup> y + m <sup>2</sup> z. 2.1.1. Atomistic spin dynamics. In the atomistic approach, the dynamic behaviour of spin magnetic moments of individual atoms is described by the atomistic LandauLifshitz-Gilbert equation [9, 18]: d (2.1) dt <sup>mi</sup> <sup>= −βLmi × Hi −</sup> <sup>αLmi × (mi × Hi),</sup> |mi| = 1, γ γλ (2.2) βL = 1 + λ <sup>2,</sup> αL = 1 + λ <sup>2,</sup> j (2.3) Hi = <sup>1</sup> µ    j  <sup>�</sup> Jijmj    µ  + <sup>1</sup> λ is µ <sup>Kapapa · mi + He + hi,</sup> where γ is the gyromagnetic ratio, λ is the phenomenological (Gilbert) damping constant, mi is the direction of spin magnetic moment, µ is the length of spin magnetic moment, Jij are constants of Heisenberg exchange interaction between atoms i and j, Ka is the anisotropy constant, pa is the anisotropy axis (uniaxial anisotropy case is considered) and He is the external field. Thermal excitations are taken into account by adding a stationary stochastic field with the following statistical properties: (2.4) ⟨hiρ (t)⟩ = 0, ⟨hiρ (t) hjν (s)⟩ = 2Dδijδρνδ (t − s), (2.5) D = kBT <sup>λ</sup> µγ <sup>,</sup> where ρ and ν are the Cartesian coordinates of hi, kB is the Boltzmann constant and T is temperature. More details regarding the stochastic term can be found in [11]. Parameters λ, µ, Jij, Ka and pa can be computed from electronic structure calculations [17], and are considered to be constant for a certain material. 4 D. ARJMAND, M. POLUEKTOV, AND G. KREISS 2.1.2. Continuum description of magnetisation dynamics at zero temperature. In this subsection, the most simple (zero-temperature) continuum formulation is presented, which is used in partitioned domain examples in Section 4. The HMM framework uses different formulation of the continuum model, see Section 3. At the continuum scale, the dynamics of the magnetisation is modelled by the continuum version of the Landau-Lifshitz-Gilbert (LLG) equation [2, 14]: ∂ (2.6) ∂t <sup>M = −βLM × H −</sup> <sup>αLM × (M × H),</sup> |M| = 1, µ <sup>1</sup> <sup>Kapapa · M + He,</sup> (2.7) H = <sup>1</sup> µ <sup>Ae</sup> ∂ <sup>2</sup> ∂x∂ <sup>22 M +</sup> µ <sup>1</sup> where M is the normalised magnetisation field and βL and αL are equal to atomistic parameters in (2.1). At zero temperature, exchange parameter can be obtained directly from the atomistic parameters: (2.8) Ae = <sup>1</sup> 2 j j Jij rij <sup>2</sup>, where rij is the distance between atoms i and j, and the sum is over all atoms with which atom i interacts (also Ae is assumed to be spatially constant in this equation). Since the anisotropy term is local, the same anisotropy parameters Ka and pa are used in the continuum and the atomistic equations. The accuracy of these choices is discussed in the following subsections. At finite temperatures, the continuum model has to be modified. These modifications differ depending on the approach and are further discussed in Section 2.4. The continuum magnetisation field M is supposed to be equal to some spatial average of atomistic mi. However, due to the nature of the LLG equation, unitlength vectors are used in the formulations above. In general, atomistic-continuum transition introduces an error to the solution, which is dependent on magnetisation gradient, for details see [27]. 2.2. Direct numerical simulations of macroscopic quanteties for a 1Dsystem, using the atomistic model. In this subsection, averaged quantities of 1D atomistic spin systems are investigated. The results highlight some problems with the standard continuum approach, which cannot capture the behaviour of some 1D atomistic systems. The parameters of the dynamic deterministic continuum model, which is presented above, can be constructed out of the parameters of the dynamic deterministic atomistic model, which results in a certain solution error that depends on the magnetisation gradient [27]. In this case, the first step towards building a consistent continuum model that describes material behaviour at finite temperatures is the replacement of the stochastic atomistic description with a deterministic atomistic description with effective <sup>2</sup> parameters, from which the continuum parameters can be determined using known relations, e.g. (2.8). In this subsection, it is shown 2Effective parameters are such parameters that when substituted into an alternative model, result in an alternative solution, which is close to (or exactly the same as) the original solution provided by the original mode. In the present context, this means that the ensemble average of the solutions given by the stochastic atomistic model is equal to the solution of the deterministic atomistic model, which includes effective parameters. ATOMISTIC-CONTINUUM MULTISCALE MODELLING OF MAGNETISATION DYNAMICS 5 parameter µ J Ka pa λ material 1 7.63µB 1.28 · 10 <sup>−21</sup> 11.86 · 10 <sup>−24</sup> ey 0.1 material 2 7.63µB 1.28 · 10 <sup>−21</sup> 0 - 0.1 Table 2.1. Material parameters that were used in the simulations. Here, µB = 9.274 · 10 <sup>−24</sup> is the Bohr magneton. that this approach results in an inaccurate model: such effective parameters should depend not only on temperature, but also on the state of magnetisation and other properties of the system, such as boundary conditions. At finite temperatures, the mean-field approach [2] is usually used, in which it is assumed that the statistical averages of atomistic spins interact with the same exchange constant (Jij ) as atomistic spins at 0 K, while the length of spins is decreased due to averaging [2], i.e. |mi| becomes less than 1. From a numerical point of view, this can be implemented by replacing mi with m <sup>∗</sup> i <sup>si,</sup> <sup>where</sup> <sup>|m∗</sup> i <sup>|</sup> <sup>=</sup> <sup>1.</sup> <sup>∗</sup> i <sup>si,</sup> <sup>where</sup> <sup>|m∗</sup> i of view, this can be implemented by replacing mi with m <sup>∗</sup> i <sup>si,</sup> <sup>where</sup> <sup>|m∗</sup> i <sup>|</sup> <sup>=</sup> <sup>1.</sup> If this assumption had been always valid, the only transition from the stochastic atomistic model at finite T to the deterministic atomistic model would have been estimation of si. However, si depends on the properties of the atomistic system, which is shown below. In subsection 2.2.2, it is demonstrated that the mean-field approach can give quantitatively different results in comparison to a direct numerical simulation. It was already shown elsewhere that the effective exchange parameter depends on temperature [7]. In subsection 2.2.3, it is shown that it also depends on the state of magnetisation, therefore it is impossible to estimate an effective exchange parameter that is valid in a general case even for a particular temperature and a particular system. 2.2.1. Dependence of macroscopic quantities on system size. When material is modelled at an atomistic level, macroscopic quantities, which are extracted from the atomistic simulations, can depend on the size of the atomistic system. For example, in [24], the dependence of the magnetisation length, which was extracted from the atomistic simulations, on the size of the system was analysed. Such dependence exists for all types of boundary conditions, including periodic, but it is commonly accepted that there is a convergence with respect to the system size. In [24], in addition to material anisotropy, a weak external field was used to stabilise the atomistic system and align it in a certain direction. However, the presence of the external field has a far more profound effect on the macroscopic quantities, and there is a significant non-linear dependence of the magnetisation on the value of the external field. In Figure 2.1, it can be seen that in the case of 1D arrangement of atoms (with periodic boundary conditions) not only the magnetisation length <sup>3</sup> depends on the magnitude of the external field, but also the time required to reach the equilibrium. Moreover, when the external field is absent, convergence (within given time interval and for given range of system sizes) was not observed, although the material uniaxial anisotropy was taken into account. When an external field is present, convergence is observed. 3Instead of a classically-defined magnetisation, which is a volume-average quantity, a particleaverage quantity is used here, m = ��N −1E [� mi]��. 6 D. ARJMAND, M. POLUEKTOV, AND G. KREISS parameter He T Ns set 1 Heey 5 100 set 2 - 12 ** - - see Section 2.2.3 ** - values are 3000, 6000 and 9000 for φ = 135 <sup>◦</sup>, 90 <sup>◦</sup> and 45 <sup>◦</sup> respectively Table 2.2. Parameters that were used in the simulations. Here, Ns is the number of simulations used for ensemble averaging. Figure 2.1. Ensemble average of the particle-averaged spin magnetic moment of the system of N atoms under external field depending on time. The magnitude of the external field, He, is varied. Parameters that were used in the simulation are summarised in Table 2.1, material 1, and Table 2.2, set 1, and are taken from [18]. Since this paper is methodologyoriented, units are ommitted for all quanitites, which is common in numerical analysis. Only nearest-neighbour interaction was taken into account. The implicit mid-point method [15] was used for time-stepping with a time step ∆tD = 0.005. The initial directions of mi were selected to be ey. The relatively low magnetisation value for this temperature can be explained by the 1D nature of the problem: each atom interacts only with two neighbours. 2.2.2. Dependence of macroscopic quantities on temperature. As discussed above, there is a strong dependence of the macroscopic quantities on temperature. There are several ways to quantify this dependence, e.g. the mean-field approach [2] and the numerical modelling. As discussed in the introduction, within the analytical approach, a restrictive closure argument in the form of E[m × m] = E[m] × E[m] ATOMISTIC-CONTINUUM MULTISCALE MODELLING OF MAGNETISATION DYNAMICS 7 Figure 2.2. Schematic illustration of the considered problem: atomistic chain of 8 spins, with an external field applied only to the boundary atoms. The divergence angle of the external field vectors results in the constant gradient of spin directions created in the chain. is made, which is not valid in general [32]. Moreover, due to its limitations, the analytical approach cannot provide either time required to reach the thermodynamic equilibrium or dependence of macroscopic quantities on the system size. In Figure 2.1, in addition to numerical results, analytical estimates are shown. Mean-field estimate of m was obtained by solving the following equation [2]: (2.9) m = L kBT <sup>(NnJ</sup> <sup>+ Ka) +</sup> k <sup>µH</sup> BT <sup>e</sup> - m kBT , where L is the Langevin function and Nn is the number of nearest neighbours, which in this case is 2, see the appendix for a derivation of this formula in the presence of an external field and exchange interaction. The mean-field magnetisation length is significantly larger than the length of the magnetisation that is directly obtained from modelling of the dynamics of spin systems, as seen in Figure 2.1. Moreover, the mean-field m is less affected by the magnitude of the external field. 2.2.3. Non-linear dependence of the effective exchange coefficient on the magnetisation gradient. In most cases, the macroscopic quantities of a stochastic spin system appear to be non-linearly dependent on external conditions. The non-linear dependence with respect to the external magnetic field was demonstrated in previous subsections. In this section, the importance of boundary conditions is highlighted. Specific boundary conditions are used here to create a magnetisation gradient, which influences effective exchange coefficient in a non-linear way. The approach is somewhat similar to the “domain wall stiffness approach” [7, 21]. In the case of mechanical behaviour of 1D atomistic chain, a relevant macroscopic characteristic is the stiffness of the chain. It can be obtained numerically by applying forces to the boundary atoms and calculating the displacements of atoms. This method can be extrapolated to spin systems, where the interatomic interaction is Heisenberg exchange. An exchange stiffness of the entire 1D spin system is introduced. The spin system is twisted by the external magnetic field applied only to the boundary atoms. To illustrate the approach, the 1D chain of N atoms interacting via Heisenberg exchange only with the nearest neighbours is considered. The system does not have magnetic anisotropy, Ka = 0; and open boundary conditions are used (atoms 1 and N interact only with one neighbour). External field He = Hey is applied to atom 1, external field He = H (ex sin φ + ey cos φ) is applied to atom N, while external field He = 0 is applied to all other atoms. The problem is schematically illustrated in Figure 2.2. 8 D. ARJMAND, M. POLUEKTOV, AND G. KREISS At 0 K, the equilibrium configuration for this problem can easily be determined: (2.10) mi = ex sin χi + ey cos χi, χi = <sup>φ −</sup> <sup>θ</sup> <sup>i −</sup> <sup>1</sup> N - 1 <sup>θ,</sup> <sup>−</sup> <sup>θ</sup> + <sup>i −</sup> <sup>1</sup> 2 N where θ is the solution of the following equation: θ (2.11) J sin . N - 1 <sup>= H sin φ −</sup> 2 <sup>θ</sup> This means that there is a non-linear dependence between the magnitude of the applied field, H, the applied field divergence angle, φ, and the spin moments divergence angle at the equilibrium, θ. At finite temperature, the equilibrium configuration can only be found by numerical simulation. After performing a number of simulations, it was observed that the orientation of the spin magnetic moments, χi, of the ensemble average of the solution depends linearly on i, as well as in the deterministic case; however, the divergence angle, θ was different. Therefore, the behaviour of such material can be approximated by the deterministic model with a different (effective) parameter. When this deterministic model with an effective exchange constant J <sup>∗</sup>, is subjected to the same conditions as the stochastic model with the real exchange constant J, the resulting divergence angle of spin magnetic moments at the equilibrium, θ, is the same. Hence the effective parameter J <sup>∗</sup> can be determined by performing numerical simulations at finite temperature, extracting the angle θ from the ensemble average of the solution and using equation (2.11), in which J is replaced by J <sup>∗</sup> . In Figure 2.3a, the effective exchange coefficient between two spins, J <sup>∗</sup>, normalised by J is plotted. It is clearly seen that the effective exchange constant depends non-linearly on the angle between the magnetic fields applied to the boundary atoms. This implies a non-linear dependence of the continuum exchange constant on the local magnetisation gradient in the case of finite temperatures. Problem parameters are summarised in Table 2.1, material 2, and Table 2.2, set 2. A time step ∆tD = 0.005 was used. The initial directions of mi were selected to be according to equation (2.10) with real J, hence J <sup>∗</sup> J <sup>−1</sup> = 1 at t = 0. A chain of 8 atoms was considered. Angle θ was determined by a linear fit of angles χi, which are obtained by projecting the ensemble average of the solution on xy-plane. The following value of H was selected: (2.12) H = J sin φ 2N −2, sin <sup>φ</sup> 4 which minimises the statistical error of calculation of J <sup>∗</sup> for small divergence angles. The angle φ was varied: values of 135 <sup>◦</sup>, 90 <sup>◦</sup> and 45 <sup>◦</sup> were used. The coefficient J <sup>∗</sup> J <sup>−1</sup> shows the change of the exchange parameter when the constrained (i.e. with the external field applied to the boundary atoms) stochastic system is replaced by the constrained deterministic. In the case of unconstrained system (i.e. no external field), if the mean-field assumption is to be believed, the stochastic system can be replaced by the deterministic system with the same exchange parameter, but different magnetisation length. After re-normalisation mi = m <sup>∗</sup> i <sup>s,</sup> parameter, but different magnetisation length. After re-normalisation mi = m <sup>∗</sup> i <sup>s,</sup> |m <sup>∗</sup> i <sup>|</sup> <sup>=</sup> <sup>1,</sup> <sup>this</sup> <sup>replacement</sup> <sup>becomes</sup> <sup>mathematically</sup> <sup>equivalent</sup> <sup>to</sup> <sup>changing</sup> <sup>the</sup> |m <sup>∗</sup> i <sup>|</sup> <sup>=</sup> <sup>1,</sup> <sup>this</sup> <sup>replacement</sup> <sup>becomes</sup> <sup>mathematically</sup> <sup>equivalent</sup> <sup>to</sup> <sup>changing</sup> <sup>the</sup> exchange parameter, i.e. s = J <sup>∗</sup> J <sup>−1</sup> . For an unconstrained system with the same number of atoms, see Figure 2.3b, this coefficient is significantly larger than for the constrained system. This confirms that if greater accuracy is required, the effective ATOMISTIC-CONTINUUM MULTISCALE MODELLING OF MAGNETISATION DYNAMICS 9 Figure 2.3. The dependence of the normalised effective exchange coefficient of the constrained system on time (a) and the dependence of the particle-averaged spin magnetic moment of the unconstrained system on time (b). parameters, which are used in the deterministic LLG equation, should not be precalculated constants (for a given temperature) but should be functions of the local magnetisation and the local magnetisation gradient. The simulation in Figure 2.3b was performed with the same material parameters as used for the constrained system; however, without an external field; Ns = 100 number of realisations was used. The coefficient s = J <sup>∗</sup> J <sup>−1</sup> in this simulation was calculated as the length of particle-averaged spin magnetic moment. The mean-field value was obtained using equation (2.9). 2.3. Partitioned domain approach. The application of partitioned domain approach to the modelling of magnetisation dynamics is covered in [27, 28]. The key idea behind the methodology is the separation of the computational domain into two regions: atomistic and continuum, which are connected at the interface. In the case of nearest-neighbour interatomic interaction, neither transition region, nor padding atoms (atoms behaviour of which are obtained by interpolation of the solution at neighbouring continuum nodes) are necessary. In the 1D case, the interface consists of a single point and the coupling is straightforward: the interface point interacts with the nearest continuum node as a continuum node and it interacts with the nearest atom as an atom (in the case of nearest-neighbour interatomic interaction). However, when the dynamic material behaviour is modelled, the introduction of an additional damping region at the interface is necessary [13]. This additional numerical damping is applied to the atoms in the proximity of the interface and acts as a low-pass filter that absorbs high-frequency waves that are otherwise reflected from the interface (due to the difference in discretisation parameters) and contribute to numerical error. The subsequent subsection follows the analogous section from [27]. 2.3.1. Damping band. The equation describing the dynamics of numerically-damped atoms is the following [28]: d (2.13) dt <sup>mi</sup> <sup>= −βLmi × Hi −</sup> <sup>αLmi × (mi × Hi) −</sup> <sup>γDimi × (mi × mAi),</sup> where γDi is the strength of the damping for atom i and mAi is the normalised average of the solution over a certain region. The damping strength increases 10 D. ARJMAND, M. POLUEKTOV, AND G. KREISS gradually with atomic positions approaching the interface and is proportional to the time derivative of mi: i <sup>P</sup> <sup>−</sup> <sup>a</sup> (2.14) γDi = gD ri <sup>R</sup> - ri <sup>R</sup> <sup>+ r</sup> i <sup>P</sup> i ri <sup>R</sup> <sup>+ r</sup> i <sup>R</sup> <sup>+ r</sup> i <sup>P</sup> d dt <sup>mi</sup> �2 <sup>�</sup> strength,���� ����, where gD is a constant determining the damping strength, ri <sup>R</sup> where gD is a constant determining the damping strength, ri <sup>R</sup> is the distance to the closest atom outside of the damping band, ri <sup>P</sup> <sup>is</sup> <sup>the</sup> <sup>distance</sup> <sup>to</sup> <sup>the</sup> <sup>interface</sup> atom/node and a is the interatomic spacing. Within the damping band, the solution is attenuated to an average value, mAi, which is calculated within a certain window surrounding atom i. The width of the window is denoted as sA. An additional average quantity m <sup>∗</sup> Ai <sup>is</sup> <sup>introduced:</sup> Within the damping band, the solution is attenuated to an average value, mAi, which is calculated within a certain window surrounding atom i. The width of the window is denoted as sA. An additional average quantity m <sup>∗</sup> Ai <sup>is</sup> <sup>introduced:</sup> (2.15) m <sup>∗</sup> Ai <sup>= c2x2 + c1x + c0.</sup> Coefficients c are fitted to all mj within the averaging window using least squares. Finally, mAi is obtained by normalisation: (2.16) mAi = <sup>m</sup> A <sup>∗</sup> Ai <sup>m∗</sup> |m <sup>∗</sup> Ai Ai <sup>∗</sup> <sup>∗</sup> Ai <sup>|</sup> <sup>.</sup> 2.4. Selection of the macroscopic scale model for the multiscale framework. Due to the highlighted issues, the selection of an appropriate model for the macroscopic scale in the case of domain partitioning is ambiguous. First of all, based on the type of the problem, the nature of the macroscopic model has to be chosen, which can be quasistatic <sup>4</sup>, dynamic deterministic or dynamic stochastic. Quasistatic models are suitable for the cases when an equilibrium magnetisation distribution around an isolated atomistic region, which can be fully dynamic, has to be determined. The example of such coupling for the case of mechanical behaviour (coupling molecular dynamics and elastic finite-element continuum descriptions) is the CADD method [29]. Since it might be unphysical to model all the waves generated within the atomistic region, which eventually diffuse and are converted to heat over large distances, there is an additional advantage of using a quasistatic continuum model as it avoids such problems. In cases when dynamic phenomena should be modelled within the continuum region, e.g. domain wall movement, one of the dynamic models has to be used. In this case, while waves are transmitted within the continuum, atomistic regions are idle and thereby reduce computational efficiency; however, this issue cannot be avoided for such type of problems. The most simple model, which can be used for the dynamic continuum, is the standard Landau-Lifshitz-Gilbert equation, as presented in section 2.1.2, with the length of magnetisation rescaled due to temperature dependency (note that |M| = 1, but parameters in front of M are rescaled). However, such an approach cannot describe a local change of the magnetisation length due to change of its orientation with respect to the external field or anisotropy direction, which might be important for some applications. This problem can be handled partly by assuming space- and time-dependence of the magnetisation length, and adding an additional PDE describing its evolution. In this case, such PDE should 4Quasistatic models describe systems, evolution of which is slow enough for the system to remain in internal equilibrium. In the case of micromagnetism, quasistatic models are simply static equations (i.e. without time derivative of magnetisation), however with time-dependent boundary conditions. ATOMISTIC-CONTINUUM MULTISCALE MODELLING OF MAGNETISATION DYNAMICS11 be either derived from the atomistic equation or compiled based on empirical observations. The last option for the continuum region is the stochastic Landau-Lifshitz-Bloch equation [19, 13]. In this approach, due to the stochastic nature and the structure of the dynamic equation, local changes of the expected value of magnetisation length are permitted. The advantage of the stochastic LLB is that it can naturally describe domain walls with nonconstant magnetisation length [13]. However, in other areas of physics, such as modelling the mechanical behaviour of solids, stochastic descriptions of materials are not typically used at the macroscopic scale [31], since stochastic effects diminish with the system size. 3. An upscaling-based approach In subsection 2.4, various ways of selecting a macroscopic model and their limitations were mentioned. In this section, an alternative strategy based on HMM is proposed to compute approximate upscaled macroscopic quantities (statistical averages of the atomistic spins given by (2.1)). The approach should be seen as complementary to the domain partitioning approach that is described in subsection 2.3, whereby the continuum equations (needed for the domain partitioning) are obtained computationally. Before proceeding with the description of the method, few mathematical tools and notations are presented. 3.0.1. Averaging kernels. A key ingredient of the HMM is a compression step, which typically uses some general purpose averaging kernels. To illustrate the idea, f <sup>ε</sup> (t) = f (t/ε) is assumed, where f is a 1-periodic integrable function. A local average of this function can be computed by selecting a small region Iη = [−η/2, η/2] at first and then averaging f <sup>ε</sup> over Iη afterwards. This operation, however, results in the following error: η <sup>,</sup> for some η - ε. using the space of averaging ����� ≤ C ε K, such that K(t) = f (z) dz 0 - 1 0 - 1 (3.1) 1 η ����� �−η/η/22 f (t/ε) dt − This averaging can be done more accurately using the space of averaging kernels K <sup>p,q</sup> which consists of symmetric functions K, such that K(t) = K(−t), K is compactly supported in [−1/2, 1/2], and <sup>d(</sup> d <sup>q</sup> t <sup>+1)q+1K</sup> ∈ BV (R), where BV is the space of functions with bounded variations in R, and the derivative is understood in the weak sense. Moreover, the parameter p ∈ Z <sup>+</sup> represents the number of vanishing moments, i.e. K has p vanishing moments if R K(t)t <sup>r</sup> dt = 1, r = 0, �0, 0 < r ≤ p. To simplify the notation, a scaled version of the kernel, denoted by Kη(t) := η <sup>−1</sup> K(t/η), and the shorthand notation (Kη ∗ f ) (t <sup>⋆</sup> ) := �t <sup>⋆</sup> t− <sup>⋆</sup> +η/η/22 Kη(t − t <sup>⋆</sup> )f (t) dt are also introduced. Using a kernel K ∈ K <sup>p,q</sup>, it is possible to achieve higher order convergence rates and improve the first order approximation (3.1), see e.g. [5, 6] 12 D. ARJMAND, M. POLUEKTOV, AND G. KREISS <u>(a)</u> η = 0.1 25 20 15 10 5 0 p = 1, q = 3 p = 1, q = 7 p = 3, q = 5 10 <sup>-2</sup> <u>(b)</u> ε = 0.01 10 <sup>-4</sup> 10 <sup>-6</sup> 10 <sup>-8</sup> 10 <sup>-10</sup> p = 1, q = 3 p = 1, q = 7 ~~p = 3, q~~ ~~= 5~~ -5 -0.1 -0.05 0 0.05 0.1 t 10 <sup>-12</sup> 10 <sup>-2</sup> η 10 <sup>-1</sup> Figure 3.1. Averaging kernels Kη with different values for p and q (a). The corresponding averaging errors for a function f <sup>ε</sup> (t) = sin(2πt/ε) <sup>2</sup> with ε = 0.01 (b). for theoretical results where the following inequality can also be found: ����� η - ε ����� ≤ C . �q+2 �−η/η/22 Kη(t)f (t/ε) dt − f (z) dz 0 - 1 In Figure 3.1, the decay of the error for kernels with different p, q pairings is shown. In the remaining part of this section, the averaging kernels, which are described above, are used to design an upscaling-based strategy for an atomistic-continuum coupling. 3.0.2. HMM. The problem setting is as follows: the atomistic spins interact with each other with a certain exchange parameter Jij and each spin magnetic moment is subjected to an external field H <sup>ε</sup> e,i <sup>(t)</sup> <sup>=</sup> <sup>He,i(t, t/ε),</sup> <sup>varying</sup> <sup>at</sup> <sup>a</sup> <sup>slow</sup> <sup>and</sup> <sup>a</sup> fast scale, where ε represents the size of the fast variations. In this setting, a time step small enough to resolve the ε-scale variations of the external field is needed to perform an atomistic spin dynamics simulation. Moreover, to compute a statistical average of the particle magnetisation, a large number of samples of an already expensive atomistic problem have to be computed. Note that the above structure for external field H <sup>ε</sup> e,i <sup>(t)</sup> <sup>is</sup> <sup>chosen</sup> <sup>only</sup> <sup>as</sup> <sup>an</sup> <sup>example,</sup> <sup>and</sup> <sup>the</sup> <sup>same</sup> methodology would work equally well for other types of external fields, which have a scale separation of some form, with no conceptual change in the algorithm. On the other hand, an upscaling-based multiscale method aims at reducing the degrees of freedom, in time and space, by introducing a discretised macroscopic magnetisation field which is related to the local spatial and temporal averages of the spin magnetic moments. From a modelling point of view, one additional requirement is to include the effect of the thermal noise on the magnetisation. To define the variables, the atomistic spin magnetic moments m <sup>ε</sup> i <sup>are introduced.</sup> These magnetic moments are located on ((r + ℓ)N + 1) discrete points defined by {xi = ia}i <sup>(</sup> =0 <sup>r+ℓ)N</sup>, where a is the distance between the particles, r, N ∈ Z <sup>+</sup> are To define the variables, the atomistic spin magnetic moments m <sup>ε</sup> i {xi = ia}i <sup>(</sup> =0 <sup>r+ℓ)N</sup>, where a is the distance between the particles, r, N ∈ Z <sup>+</sup> are positive integers and ℓ is a non-negative integer. The superscript ε on m <sup>ε</sup> i <sup>indicates</sup> the dependence of the spin magnetic moments on the high-frequency variations in the external field H <sup>ε</sup> e,i <sup>.</sup> Furthermore, a set of N + 1 macroscopic variables MI located on the macro grid {XI = I(r + ℓ)a} <sup>N</sup> I=0 <sup>are</sup> <sup>introduced.</sup> <sup>In</sup> <sup>Figure</sup> <sup>3.2,</sup> <sup>N</sup> I=0 <sup>are</sup> <sup>introduced.</sup> <sup>In</sup> <sup>Figure</sup> <sup>3.2,</sup> ATOMISTIC-CONTINUUM MULTISCALE MODELLING OF MAGNETISATION DYNAMICS13 Micro grid i = Macro grid I = Spatial averaging domain 0 9 18 0 1 2 Figure 3.2. An example of a macroscopic grid corresponding to a microscopic grid with r = 3 and ℓ = 6. The magnetisation at each macroscopic point (solid blue nodes) is found by averaging the spin magnetic moments around a local spatial averaging domain and a local in time averaging interval (temporal averaging is not shown in the figure). an example of coupled grids with r = 3 and ℓ = 6 is shown. The local mean magnetisations are defined as Kτ ∗ m <sup>ε</sup> I - <sup>�</sup> M˜ I (t) = r j�=−r Kη xI(r+ℓ)+j - xI(r+ℓ) I(r+ℓ)+j (t) j=−r (3.2) =: (Kη,τ ∗ m <sup>ε</sup> ) (XI, t), where η = 2ra, and τ - ε. For simplicity, it is assumed that the atomistic particles are globally constrained by periodic boundary conditions, which makes the above definition of M <sup>˜</sup> I (t) welldefined also for the endpoints; namely I = 0 and I = N . The local means M <sup>˜</sup> I are formed by taking the local averages (not only in time but also in space) of 2r + 1 particles. To compute MI, a number of realisations of M <sup>˜</sup> I are needed, which results in a reduction of the macroscopic magnetisation length. The key idea behind the HMM algorithm for finite temperatures is separate calculation of the directions and the lengths of the expected values of spin magnetic moments, which are M <sup>ˆ</sup> I and s(t), respectively. The macroscopic quantities are introduced in the following way: MI := s(t) M <sup>ˆ</sup> I, where M <sup>ˆ</sup> I is equal to the local average (3.2) but computed at zero temperature <sup>5</sup>, and s(t) is a variable which describes the effect of the temperature in the system. An algorithm for computing M <sup>ˆ</sup> I for a single spin at zero temperature (namely when a single spin is subjected to a high-frequency field and the local averaging takes place only in time) was proposed in [4]. At zero temperature, s(t) = 1 holds, and therefore M = M <sup>ˆ</sup>, and the algorithm from [4] is presented below (index I is omitted here). 5Although Mˆ I is computed at zero temperature, the directions of spins at macroscopic nodes are still influenced by the temperature in a nonlinear way via boundary conditions for the microscopic problem. This is evident from the finite-temperature HMM algorithm to be introduced shortly. 14 D. ARJMAND, M. POLUEKTOV, AND G. KREISS Algorithm 1: A single spin subjected to a deterministic oscillatory field. Step 1. Macro problem: the macroscopic model is incomplete and is given by ddt <sup>M(t) = −F(t, M) −</sup> <sup>α</sup> βL <sup>L</sup> M × F(t, M), M(0) = m <sup>ε</sup> (0), where F is the missing data in the model and M is the macro solution to be computed. Step 2. Micro problem: to compute F(ta, M) and close the macro problem, the micro problem is solved first d t ∈ Iτ <sup>±,</sup> m <sup>ε</sup> (ta) = M, dt <sup>mε(t) = βLmε × Hε(t),</sup> where Iτ <sup>+</sup> τ <sup>−</sup> <sup>:= [ta −</sup> <sup>τ/2, ta),</sup> <sup>and</sup> <sup>τ</sup> <sup>> ε.</sup> τ <sup>+</sup> <sup>:= (ta, ta + τ/2]</sup> <sup>and</sup> <sup>I</sup> τ <sup>−</sup> Step 3. Upscaling: the unknown parameter F(ta, M) in the macro model is computed by �tat−a+τ/τ/22 (ta) = F(ta, M) = Kτ ∗ <sup>d</sup> dt <sup>mε</sup> Kτ ∗ <sup>d</sup> d Kτ (t − ta) <sup>d</sup> dt <sup>mε(t) dt.</sup> Remark 1. Starting from a spin magnetic moment m <sup>ε</sup> (0) with unit length, it was shown in [4], that the length of the macroscopic magnetisation M satisfies |M(t)| = 1 + O τ �� ε . �q+2 <sup>�</sup> Namely, the length of the macroscopic magnetisation is equal to one, up to an upscaling error. Remark 2. In [4], it is shown that when H <sup>ε</sup> (t) := H(t, t/ε), where H(t, ·) is a 1periodic smooth function, the error between the HMM (algorithm 1) and the exact macroscopic dynamics is given by + Micro error macroscopic����      <sup>,</sup> �r2 τ - ε Upscaling error accuracies� �� for a� �q+2 <sup>�</sup> ErrorHMM ≈ C  ∆t <sup>r1</sup> Macro error    ���� ε - δt τ + + where r1 and r2 represent the order of accuracies for a macroscopic and a microscopic solver. Here, ∆t and δt are the macroscopic and the microscopic step sizes. The total computational cost (of HMM) to simulate the dynamics until a time T is given by T τ/ (∆tδt). Let β := 1/ (q + 3). Then the computational cost to achieve an error tolerance TOL = O(ε <sup>1−β</sup> ) becomes r <sup>1</sup> 1 <sup>+</sup> r <sup>1</sup> CostHMM ≈ T ε <sup>−(1−β)(</sup> r <sup>1</sup> 1 r <sup>1</sup> 2 <sup>)</sup> ε <sup>−β</sup> . On the other hand, a direct numerical simulation (DNS) gives an error (δt/ε) <sup>r2</sup> (with a computational cost T/δt). Therefore, the cost to achieve the same error tolerance becomes r2 CostDNS ≈ T ε <sup>−</sup> <sup>r2+1−β</sup> r2 <sup>−β</sup> . ATOMISTIC-CONTINUUM MULTISCALE MODELLING OF MAGNETISATION DYNAMICS15 The parameter β can be made small by taking large values for q, which does not increase the computational cost of HMM. Moreover, It is clear from the above estimates that the computational cost of the HMM decreases when higher order methods are used for the macro and the micro solvers, while cost of the DNS can not get better than O(ε <sup>−1</sup> ). In algorithm 1 above, the damping term appears only in the macro model (but not the micro problem). However, it was shown (numerically and analytically) that the HMM still captures the correct macroscopic dynamics and hence the correct damping effects, see [4] for the numerical analysis and a motivation for the algorithm. The aim here is to present a generalisation of algorithm 1 to a system of particles interacting at non-zero temperature. To describe the multiscale algorithm, the notations j <sup>ε</sup> det,i <sup>=</sup> <sup>1</sup> µ H <sup>ε</sup> µ (3.3) H <sup>ε</sup> det,i <sup>=</sup> <sup>1</sup> Jijm <sup>ε</sup> j i <sup>+ H</sup> e <sup>ε</sup>,i <sup>(t),</sup> µ <sup>Kapapa · mε</sup>    µ  + <sup>1</sup> µ <sup>Kapapa · m</sup> i <sup>ε</sup> i <sup>ε</sup> <sup>+ H</sup> e <sup>ε</sup>    j  <sup>�</sup> Jijm <sup>ε</sup> j j and j <sup>ε</sup> det,i <sup>and</sup> <sup>Hsto,i.</sup> The term H <sup>ε</sup> Hsto,i(t, t <sup>∗</sup> ) = <sup>1</sup> (3.4) Hsto,i(t, t <sup>∗</sup> ) = µ <sup>1</sup>  Jijmj µ <sup>Kapapa · mi +</sup> Kτ ∗ H <sup>ε</sup> e,i (t <sup>∗</sup> ) + hi(t) j  <sup>�</sup>  + <sup>1</sup> -    µ  + <sup>1</sup> µ <sup>Kapapa · mi +</sup> e,i µ    j  <sup>�</sup> Jijmj are adopted. Note the differences between H <sup>ε</sup> �Kτ ∗ H <sup>ε</sup> det,i <sup>and</sup> <sup>Hsto,i.</sup> det,i is deterministic but oscillatory, while Hsto,i is stochastic and includes the filtered external field Kτ ∗ H <sup>ε</sup> e,i (t <sup>∗</sup> ). The notations used for the terms, other than H <sup>ε</sup> e,i <sup>,</sup> in (3.3) and (3.4) are the same as those in (2.1), (2.2) and (2.3). - To model the macroscopic magnetisation dynamics of a system of magnetic particles at finite temperature, a macro model, a micro model, an upscaling step and a length scaling procedure are required (instead of solving the continuum equation directly). In Figure 3.3, a schematic description of the method is illustrated. The entire multiscale algorithm is presented below. Kτ ∗ H <sup>ε</sup> e 3.4) are (t <sup>∗</sup> ). The notations used for the terms, other than H <sup>ε</sup> e same as those in (2.1), (2.2) and (2.3). <sup>ε</sup> e,i Algorithm 2: A chain of magnetic particles at nonzero temperature. Step 1. Macro problem: the macroscopic model is deterministic and given by ddt <sup>MI</sup> <sup>(t) = −FI</sup> <sup>(t, MI</sup> <sup>′</sup> <sup>) −</sup> <sup>α</sup> βL <sup>L</sup> MI × FI (t, MI ′), (3.5) MI (0) = sI (0)m <sup>ε</sup> Ir <sup>′(0),</sup> where r <sup>′</sup> = r + ℓ, and FI is the missing data in the model and MI is the macro solution to be computed. Moreover, I <sup>′</sup> := {I - 1, I, I + 1} represents the index set of the nearest macro solutions. The computation of sI (t) is described in Step 4 below. Step 2. Micro problem: to compute FI (ta, M) and close the macro problem, the micro problem is solved at first d dt <sup>mε</sup> Ir <sup>ε</sup> <sup>′</sup> +j <sup>(t) = βLmε</sup> <sup>ε</sup> Ir <sup>′</sup> +j <sup>(t) × Hε</sup> <sup>ε</sup> det,Ir <sup>′</sup> +j <sup>(t),</sup> t ∈ Iτ <sup>±</sup> τ <sup>±,</sup> j = −r, . . ., r, m <sup>ε</sup> (3.6) m <sup>ε</sup> Ir <sup>′</sup> +j <sup>(ta) =</sup> <sup>mˆ</sup> <sup>(xIr′+j),</sup> m <sup>ε</sup> <sup>ε</sup> Ir <sup>′</sup> −r <sup>(t) =</sup> <sup>mˆ</sup> <sup>(xIr′−r),</sup> m <sup>ε</sup> <sup>ε</sup> Ir <sup>′</sup> +r <sup>(t) =</sup> <sup>mˆ</sup> <sup>(xIr′+r),</sup> 16 D. ARJMAND, M. POLUEKTOV, AND G. KREISS Macro model M(t + △t) M(t) m <sup>ε</sup> (t) F(t) Micro model Upscaling M(t) M(t + △t) ← s(t + △t)M(t + △t)/|M(t + △t)| Length scaling Figure 3.3. The input-output relation for the multiscale algorithm to approximate the macroscopic dynamics at finite temperature. One step of the method (assuming a suitable time-stepping) is depicted. If the macro solver is explicit, the steps are followed in the precise order starting from a given M(t). If the macro solver is implicit, the steps are repeated until the solution M(t + ∆t) (before the length scaling step) converges. Once the convergence is achieved, the length scaling procedure takes place. where Iτ <sup>+</sup> τ <sup>+</sup> := (ta, ta + τ/2] and Iτ <sup>−</sup> where Iτ <sup>+</sup> := (ta, ta + τ/2] and Iτ <sup>−</sup> := [ta - τ/2, ta), with τ - ε, and mˆ (x) = π2M/|π2M|(x) denotes the normalised second order polynomial interpolation of the macroscopic solutions. Step 3. Upscaling: the parameter FI (ta, MI <sup>′</sup> ) is computed by (3.7) FI (ta, MI ′) = Kη(xj - xIr′ ) Kτ (z − ta) d <sup>d</sup> z <sup>m</sup> Ir <sup>ε</sup> <sup>′</sup> +j <sup>(z) dz,</sup> �tat−a+τ/τ/22 ta−τ/2 Kτ (z − ta) <sup>d</sup> d FI (ta, MI ′) = r j�=−r Kη(xj - xIr′ ) <sup>d</sup> dz <sup>mε</sup> j=−r where η = 2ra. Step 4. Length scaling: the macro solution MI(t) is replaced by sI (t)MI (t)/|MI (t)|, where sI (ta) is computed by solving the following stochastic LLG equation for j = −r, . . ., r and t ∈ (ta, ta + τf ] d dt <sup>mIr′+j(t)</sup> = −βLmIr′+j(t) × Hsto,Ir′+j(t; ta) − αLmIr′+j × (mIr′+j × Hsto,Ir′+j(t; ta)), mIr′+j(ta)(3.8)= mˆ (xIr′+j), mIr′−r(t) = mˆ (xIr′−r), mIr′+r(t) = mˆ (xIr′+r), where τf - τr, and τr is the time it takes to reach the thermal equilibrium. Then, with η = 2ra, the following is computed r 1 (3.9) sI (ta) = Kη(xj - xIr′ ) mIr′+j(t) dt . τf - τr τr j�=−r - - τf ������ - <sup>�</sup> ����� τr - τf 1 τf - τr τr sI (ta) = ������ r j�=−r Kη(xj - xIr′ ) mIr′+j(t) dt j=−r Remark 3. Note that the parameter sI (t) is allowed to vary in time and space. This approach is more general than the mean-field approximation (MFA) since spatially ATOMISTIC-CONTINUUM MULTISCALE MODELLING OF MAGNETISATION DYNAMICS17 nonuniform magnetisation lengths are automatically captured here, whereas MFA assumes a uniform length everywhere. Remark 4. The fact that the HMM algorithm, which is described above, uses local averages (in time and space) of the microscopic solution, makes it possible to upscale the influence of other kind of microscopic variations such as defects (modelled by Jij = 0 for certain i, j pairs) or fast variations in the material properties (modelled by rapid spatial change of Jij or pa). The resulting macroscopic averages, however, need to be smooth enough so that the macro discretisation resolves it. If not, the atomistic picture needs to be retained, and the partitioned domain approach would be more appropriate. Remark 5. In equation (3.9), the usage of kernels Kη (centred at xIr <sup>′</sup> ) for spatial averaging is important. At finite temperatures it holds that sI (t) < 1. However, since the boundary conditions for m in (3.8) are fixed, the length of the temporal average of the boundary atom is always 1. The usage of a kernel resolves this issue, as Kη vanishes towards the boundaries of the micro domain, see e.g. Figure 3.1. A more secure way of reducing the boundary error is to use a damping band near the boundary, see the equation (2.13), where a damping layer is added to reduce the high frequency reflections from the boundary. However, these damping bands did not seem to be necessary for the simulations presented in the next section. 4. Numerical results and discussions 4.1. Domain partitioning. 4.1.1. Damping region at the atomistic-continuum boundary. In [28], a special damping region for domain partitioning multiscale method was suggested. This damping region reduces reflections of high-frequency waves from the atomistic-continuum interface, thereby reduces the numerical error of the solution within the atomistic region of the mutiscale system. The damping band acts as a low-pass filter. This concept was previously tested only in deterministic cases [28, 27]. In the case when the atomistic region is stochastic, the main requirement for the damping band is not to affect the thermodynamic characteristics of atoms. In the spin dynamics approach, each atom is coupled to the heat bath, which allows using a rather simple damping for a certain layer of atoms, while preserving correct thermodynamics in neighbouring layers. A numerical experiment designed to demonstrate this is presented below. The dynamic behaviour of the multiscale system, in which the atomistic region is embedded into the continuum region, is simulated. The details regarding the multiscale coupling method and the damping region at the interface can be found in [27]. Material parameters (µ, J, Ka, pa, λ) that were used in the simulation are summarised in Table 2.1, material 2. Atomistic region was located in the centre of the geometry, the entire length of which was L. Spatial step of ∆x = 4a was used in the continuum model, where a = 0.3636 · 10 <sup>−9</sup> is the interatomic spacing, as well as the Neumann boundary conditions. The atomistic model consisted of N atoms, ND out of which were numerically damped atoms (see [27]), i.e. ND/2 damped atoms at left and right edges of the atomistic region. Numerical damping parameter was selected to be gDγ <sup>0.5</sup> = 41.53 and the averaging window width was sA = 3∆x. The parameters are summarised in Table 4.1, set 1. The initial state of the system was uniform alignment of all spins. Since this system had only exchange 18 D. ARJMAND, M. POLUEKTOV, AND G. KREISS Figure 4.1. Cumulative distribution function of interatomic interaction energy calculated at different times. Theoretical line corresponds to the Boltzmann distribution. parameter He T Ns ∆tγ mi (0) L N ND set 1 0 5 1 0.001 ey 3840a 639 32 set 2 0 0.1 1000 5 ** 256a 63 32 set 3 - 30 30 0.01 ey 768a 127 32 - - Heez; He = 0 for tγ < 10; He = 2 for tγ ≥ 10 ** - uniformly changing from ey at the left boundary to ez at the right boundary Table 4.1. Parameters that were used in the multiscale simulations. Here, ∆tγ is a time step multiplied by the gyromagnetic ratio and mi (0) are the initial directions of mi. energy, a discrete set of interatomic-link energies was calculated for each time step: ei = J (1 − mi · mi+1), where only links between (numerically) non-damped atoms were taken into account, thus resulting in (N - ND − 1) values. In Figure 4.1, the evolution of cumulative distribution function of interatomic interaction energy (εi) is shown. When system is at the equilibrium, the cumulative distribution of energies should be close to the Boltzmann distribution, W (e) = 1 − exp (−e/ (kBT )). As seen from the results, the non-equilibrium initial configuration evolved into equilibrium configuration with the correct energy distribution. This example illustrates that the damping band does not affect the thermodynamic characteristics of the spin system, while reducing wave reflections form the interface. Since it is possible to adjust the parameters of the damping band independently of the geometry and control the error resulting from wave reflections, such damping region can be very useful for coupling dynamic atomistic region to quasistatic continuum region as well. 4.1.2. 1D system, switching of the uniform external field. One of the tests of consistency between atomistic and continuum regions is to check for an identical response of the regions to a non-stationary external field under equilibrium conditions. To illustrate this, a multiscale system, in which the atomistic region is embedded into the continuum region, is again considered. The system was subjected to an initial applied external field He = 0. When the system reached equilibrium, tγ = 10, the ATOMISTIC-CONTINUUM MULTISCALE MODELLING OF MAGNETISATION DYNAMICS19 Figure 4.2. Ensemble average of the mz component of the magnetisation as a function of the spatial coordinate at different times. The atomistic region is highlighted with an alternative colour for each curve. field was changed to He = Heez, He = 2, which initiated a precessional motion of the spin magnetic moments. Material parameters (µ, J, Ka, pa, λ) that were used in the simulation are summarised in Table 2.1, material 2, while other simulation parameters are summarised in Table 4.1, set 3. The Neumann boundary conditions were used in the continuum region. In Figure 4.2, the behaviour of the magnetisation of the system at thermodynamic equilibrium is shown. It can be seen that the spin moments within the atomistic region rotate with the same angular speed as the continuum region magnetisation, since the average mz component of the atomistic spins is always close to the continuum value. Although this is a trivial example, it illustrates that the basic requirement of consistency between models, which are used in the multiscale system, can be fulfilled in certain cases without extension of the continuum description. In this example, parameters of the continuum model corresponded to 0 K, and consistency was observed since low temperature was imposed. This is not always the case, as demonstrated in the next example. As was already discussed, the continuum model should be selected depending on the problem to which the multiscale method is applied and sometimes even the basic models provide the solution with an acceptable numerical error. 4.1.3. 1D system, uniform magnetisation gradient. The domain partitioning approach also has limitations. These limitations are not related to the coupling between atomistic and continuum regions, but to the nature of the domain partitioning methodology itself. The problem concerns finite-temperature dynamics, where the macroscopic model is dynamic. Since the atomistic region is stochastic, excitations of different length scale appear in it. Although the probability of large scale excitation, i.e. several spin atomic moments moving in approximately uniform direction, is small, such excitation creates long wave length spin waves, which propagate within the atomistic region. These waves can propagate into the continuum region. In this case, when the ensemble average solution is calculated, a continuum magnetisation with decreased length is obtained. Such long wave length waves cannot be filtered out by the damping band, since it would make modelling dynamics pointless: the single 20 D. ARJMAND, M. POLUEKTOV, AND G. KREISS Figure 4.3. Ensemble average of my component of magnetisation (a) and magnetisation length (b) depending on spatial coordinate. The atomistic region is highlighted with the red colour. purpose of the damping band is to filter out the waves which cannot be represented by the continuum. In this setting, it is impossible to distinguish between “useful” long-range excitations, which have to modelled, and “unphysical” ones. To demonstrate this, a multiscale system, in which the atomistic region is embedded into the continuum region, is considered. Magnetisation at the edges of the continuum domain was fixed, i.e. the stationary Dirichlet boundary conditions were used in the continuum region. Material parameters (µ, J, Ka, pa, λ) that were used in the simulation are summarised in Table 2.1, material 2, while other simulation parameters are summarised in Table 4.1, set 2. The evolution of the system was simulated until the equilibrium state, which corresponded to tγ = 10 <sup>4</sup>, was reached. The final result is obtained by calculating the ensemble average. In Figure 4.3, the state of the system at the equilibrium is shown. It can be seen that the expected value of the magnetisation length <sup>6</sup> in the continuum is decreased, see Figure 4.3b, due to waves which are generated within the atomistic region and propagate into the continuum region. The consequences of this issue can be less profound if larger mesh difference is used. Therefore, HMM should not suffer from this issue due to a relatively large separation of scales. However, this problem can be completely eliminated only by using a quasistatic continuum model. In this case, all waves originating from the atomistic region will be either damped within the damping band region or reflected from the interface. 4.2. Upscaling via HMM. In what follows, three different applications of the HMM for non-zero temperatures (Algorithm 2), presented in Section 3, as well as its limitations are described. The first example deals with a single magnetic particle which interacts with a high-frequency external field. As a single particle is studied, i.e. no particle interaction is involved, and the spatial averaging in the algorithm is not used. The second example concerns the behaviour of a number of interacting particles. In this example, the number of atomistic particles is chosen equal to the number of macroscopic nodes. The microscopic model (3.6) as well as the stochastic LLG equation (3.8) are not solved locally (as described above) but globally over the entire domain, and the upscaling step (3.7) is performed only in time. The third 6Within subsection 4.1, term “magnetisation length” is used for the entire multiscale domain. It is implied that within the atomistic region it means the length of the expected value of the spin magnetic moment. ATOMISTIC-CONTINUUM MULTISCALE MODELLING OF MAGNETISATION DYNAMICS21 example corresponds to the case of interacting particles and disparate spatial scales for micro and macro models. Hence all parts of the algorithm (as described in the Section 3) are utilised, i.e. multiscaling both in time and space is considered. In the last part, the limitations of the HMM are illustrated. 4.2.1. HMM: Single spin. In this first example, a single magnetic particle is subjected to a high frequency field which is nonzero in the z-direction. Namely, (4.1) H <sup>ε</sup> e <sup>= (1 + cos(0.43t) + cos(2πt/ε)2)ez,</sup> while the parameters in (2.1) are set to Ka = Jij = 0. Initially, the direction of the spin magnetic moment is set to √13 <sup>(ex + ey</sup> <sup>+ ez).</sup> <sup>When</sup> <sup>thermal</sup> <sup>equilibrium</sup> is reached, the solution has to be in the direction of the applied field (z-direction). The external field is varying rapidly over time, and hence it influences the evolution of the length of magnetic moment <sup>7</sup> . In Figure 4.4, it can be seen that the HMM captures the evolution computed by a direct numerical simulation of the spin length. In the same Figure, the HMM solution at zero temperature (with s(t) = 1 or D = 0) is shown to emphasise that if the length scaling part (3.8) of the HMM is not used, then the method does not follow the correct dynamics, see Figure 4.4c. For these simulations, an implicit mid-point rule with 35 macroscopic time steps is used but other numerical integration methods may also be used without any conceptual change in the algorithm, see e.g. [12, 15, 14] for a review of numerical methods in micromagnetism. The macroscopic magnetisation is evolved until t = 5, and the micro problems are solved over an interval of size τ = 5ε. The physical parameters are chosen to be βL = 1, αL = 10 and D = 0.2. 4.2.2. HMM: Chain of spins, multiscaling only in time. The second example concerns a case, where 10 magnetic particles (defined on a one-dimensional equidistant grid {xi} <sup>9</sup> i=0 <sup>)</sup> <sup>are interacting.</sup> <sup>The</sup> <sup>parameter values</sup> <sup>Ka</sup> <sup>= 0,</sup> <sup>Jij</sup> <sup>= 1</sup> <sup>for</sup> <sup>|i −</sup> <sup>j| ≤</sup> <sup>1,</sup> grid {xi} <sup>9</sup> i=0 <sup>)</sup> <sup>are interacting.</sup> <sup>The</sup> <sup>parameter values</sup> <sup>Ka</sup> <sup>= 0,</sup> <sup>Jij</sup> <sup>= 1</sup> <sup>for</sup> <sup>|i −</sup> <sup>j| ≤</sup> <sup>1,</sup> and Jij = 0 when |i − j| - 1, and µ = 1 are used in the simulation, and periodic boundary conditions are used for the chain of particles. The number of macroscopic variables {MI} <sup>9</sup> I=0 <sup>is</sup> <sup>equal</sup> <sup>to</sup> <sup>that</sup> <sup>of</sup> <sup>the</sup> <sup>microscopic</sup> <sup>variables</sup> <sup>{m</sup> i <sup>ε}9</sup> i=0 <sup>,</sup> <sup>and</sup> <sup>the</sup> <sup>9</sup> I=0 <sup>is</sup> <sup>equal</sup> <sup>to</sup> <sup>that</sup> <sup>of</sup> <sup>the</sup> <sup>microscopic</sup> <sup>variables</sup> <sup>{m</sup> i <sup>ε</sup> i <sup>ε}9</sup> i variables {MI} <sup>9</sup> I=0 <sup>is</sup> <sup>equal</sup> <sup>to</sup> <sup>that</sup> <sup>of</sup> <sup>the</sup> <sup>microscopic</sup> <sup>variables</sup> <sup>{m</sup> i <sup>ε}9</sup> i=0 <sup>,</sup> <sup>and</sup> <sup>the</sup> multiscaling is performed only in time. Namely, the micro problem (3.6), and the stochastic LLG equation (3.8) are solved globally (with the periodic boundary conditions), and the upscaling step (3.7) uses averaging only in time. At first, the algorithm was applied to a case with an external field, which is aligned along the z-direction: (4.2) H <sup>ε</sup> e,i <sup>(t) = (1 + cos(0.43t) + sin(0.73t) + cos(2πt/ε)2)ez,</sup> i = 0, . . ., 9. This field is uniform in space and oscillatory in time. Similar to the example of a single spin, the HMM solution was compared to a direct numerical simulation. As the external field (4.2) is uniform in space, all the particles have the same statistical behaviour. Figure 4.5 shows that the magnetisation length is accurately captured for all the components. A decrease in the magnitude of the external field leads to a decrease in the magnetisation length as the behaviour of the system becomes more dominated by the thermal noise (leading to a disordered system). Note the decrease in the magnetisation length in Figure 4.5c as the external field, shown in Figure 4.5d, is decreasing. The notation Mν(t, q) in the figure is used for the HMM 7Here, as in various other parts of this paper, the expected values of spin magnetic moment is implied. 22 D. ARJMAND, M. POLUEKTOV, AND G. KREISS 0.6 0.5 0.4 0.3 0.2 0.1 0 -0.1 <u>(a)</u> (b) Mx(t), D = 0 <u>E</u> ~~50~~ <u>[m</u> <sup>ε</sup> ~~x~~ <sup><u>](t), D</u></sup> <sup><u>=0.2</u></sup> Mx(t), D =0.2 0.6 0.5 0.4 0.3 0.2 0.1 0 -0.1 <u>M</u> ~~y~~ <u>(t), D</u> <u>= 0</u> E50[m <sup>ε</sup> y <sup>](t), D</sup> <sup>=0.2</sup> ~~M~~ <u>y</u> ~~(t), D~~ ~~=0.2~~ -0.2 0 1 2 3 4 5 t -0.2 0 1 2 3 4 5 t <u>(d)</u> ε = 0.01 3 1.1 1 0.9 0.8 0.7 0.6 (c) 2.5 ~~2~~ 1.5 ~~1.7~~ ~~1.75~~ ~~1.8~~ ~~1.8~~ 5 0 1 2 3 4 5 t Mz(t), D = 0 ~~E50[m~~ <sup><u>ε</u></sup> ~~z~~ <sup>~~](t), D~~</sup> <sup>~~=0.2~~</sup> Mz(t), D =0.2 0.5 0 1 2 3 4 5 t 2.5 2 1.5 1 0.5 Figure 4.4. The components of the spin magnetic moment in directions x, y, z (a-c): HMM simulation for the case of D = 0 and D = 0.2; the exact temperature dynamics computed by averaging 50 replicas of the stochastic LLG equation (2.1) with the external field H <sup>ε</sup> e <sup>given</sup> <sup>by</sup> <sup>(4.1).</sup> <sup>The</sup> <sup>value</sup> <sup>ε = 0.01</sup> <sup>is</sup> <sup>used</sup> <sup>in</sup> these simulations. The z-component of the external field in (4.1) (d). solution at the spatial point x = q, where ν can be x, y, or z coordinate. For these simulations, an implicit mid-point rule with 35 macroscopic time steps is used at the macroscopic scale and the final simulation time is t = 5.1. The Heun method [30] is used for timestepping in the micro problem. An interval of size τ = 5ε is used for the micro problem. The physical parameters are chosen to be βL = 1, αL = 10, and D = 0.2. Another example deals with the case when the external field is oscillatory in time but nonuniform in space. The molecular field approximation is not valid in this case. In particular, the external field is set to (4.3) H <sup>ε</sup> e,i <sup>(t) = (1+cos(0.43t)+sin(0.73t)+cos(2πt/ε)2)(1.5−cos(2πxi))ez,</sup> i = 0, . . ., 9. When the external field is nonuniform in space, the magnetisation length should be nonuniform as well. Figure 4.6b clearly shows that the magnetisation converges to different equilibrium states for two different points in space (x = 0.2 and x = 0.6). The corresponding external fields at these two points are shown in 4.6c. In these simulations 20 macroscopic time steps are used, and the final simulation time is ATOMISTIC-CONTINUUM MULTISCALE MODELLING OF MAGNETISATION DYNAMICS23 (a) 0.6 0.5 0.4 0.3 0.2 0.1 0 -0.1 -0.2 -0.3 ~~Mx(t, 0.5)~~ <u>E10[m</u> <sup>ε</sup> <u>x</u> <sup><u>(t)]</u></sup> (b) 0.6 0.5 0.4 0.3 0.2 0.1 0 -0.1 -0.2 <u>M</u> ~~y~~ <u>(t, 0.5)</u> E10[m <sup>ε</sup> y <sup>(t)]</sup> -0.4 0 1 2 3 4 5 6 t 1 <u>(c)</u> 0.95 0.9 0.85 -0.3 0 1 2 3 4 5 6 t (d) Hz <sup>ε(t),</sup> ε = 0.001 4 3.5 3 2.5 2 1.5 1 0.5 0 0.8 0.75 0.7 0.65 0.6 Mz(t, 0.5) ~~E10[m~~ <sup><u>ε</u></sup> <u>z</u> <sup>~~(t)]~~</sup> 0 1 2 3 4 5 6 t 0.55 0 1 2 3 4 5 6 t -0.5 Figure 4.5. 1D chain temporal upscaling under an oscillatory in time and uniform in space external field. The x, y, z components of the HMM solution and a direct numerical simulation computed by averaging the statistics of 10 particles (a-c) in the presence of the external field H <sup>ε</sup> e <sup>given</sup> <sup>by</sup> <sup>(4.2).</sup> <sup>The</sup> <sup>value</sup> <sup>ε</sup> <sup>=</sup> <sup>0.001</sup> <sup>is</sup> <sup>used</sup> in these simulations. The z-component of the external field in (4.2) (d). t = 3. All other parameter values are the same as in the uniform field case shown in Figure 4.5. The HMM is shown to capture the correct magnetisation dynamics for this example of a non-uniform external field. Note that the expected value of the exact reference solution (direct numerical solution) is computed by averaging 70 replicas of the solution. In Figure 4.6a, a small deviation between the HMM solution and the reference solution is observed. This is mainly due to the fact that only 70 replicas are used while approximating the exact expected value. These deviations decrease upon computing the expected value using a larger number of copies. 4.2.3. HMM: Chain of spins, multiscaling in time and space. In this example, the case of a chain of magnetic particles, which are subjected to the external field (4.2), is considered. The atomistic particles are defined on a fine grid {xi} <sup>99</sup> i=0 <sup>, whereas the</sup> is considered. The atomistic particles are defined on a fine grid {xi} <sup>99</sup> i=0 <sup>, whereas the</sup> macroscopic magnetisations are defined on a coarse grid {XI} <sup>9</sup> I=0 <sup>.</sup> <sup>Moreover,</sup> <sup>each</sup> macroscopic magnetisations are defined on a coarse grid {XI} <sup>9</sup> I=0 <sup>.</sup> <sup>Moreover,</sup> <sup>each</sup> macroscopic variable corresponds to an average of 11 magnetic moments. Here, the HMM uses upscaling both in time and space. Figure 4.7 confirms that the full HMM algorithm (namely multiscaling in time and space) performs equally well. 24 D. ARJMAND, M. POLUEKTOV, AND G. KREISS (a) 1 0.8 0.6 0.4 0.2 0 E70[m <sup>ε</sup> z <sup>(3, xI</sup> <sup>)]</sup> <u>Mz(3, xI</u> <u>)</u> E70[m <sup><u>ε</u></sup> y <sup>(3, xI</sup> <sup>)]</sup> My(3, xI ) ~~E~~ <u>70</u> ~~[m~~ <sup><u>ε</u></sup> x <sup>~~(3, x~~</sup> <sup><u>I</u></sup> <sup>~~)]~~</sup> Mx(3, xI ) (b) 1 0.95 0.9 0.85 0.8 0.75 0.7 0.65 0.6 0.55 Mz(t, 0.2) ~~E~~ 70 ~~[m~~ <sup>~~ε~~</sup> z <sup>~~(t,~~</sup> ~~E~~ 70 ~~[m~~ <sup>~~ε~~</sup> z <sup>~~(t, 0.2)]~~</sup> <u>M</u> ~~z~~ <u>(t, 0.6)</u> E70[m <sup>ε</sup> z <sup>(t, 0.6)]</sup> <sup>ε</sup> z <sup>(t, 0.6)]</sup> -0.2 0 0.2 0.4 0.6 0.8 1 xI 0.5 0 0.5 1 1.5 2 2.5 3 t 9 <u>(c)</u> ε = 0.001 8 7 6 5 4 3 Hz <sup>ε</sup> Hz <sup>ε(t, 0.2)</sup> <u>Hz</u> <sup>ε(t, 0.6)</sup> <u>z</u> <sup>ε(t, 0.6)</sup> 2 0 0.5 1 1.5 2 2.5 3 t Figure 4.6. 1D chain temporal upscaling under an oscillatory in time and nonuniform in space external field. The HMM solutions in x,y,z-directions (a) are compared to a direct numerical simulation computed by averaging 70 replicas of the stochastic LLG equation (2.1) with the external field H <sup>ε</sup> e <sup>given</sup> <sup>by</sup> <sup>(4.3)</sup> <sup>(c).</sup> <sup>The</sup> time evolution of the magnetisation (in z-direction) at two different points in space (b). The number of time steps that were used in the macro model was 35, while other numerical parameter values used for these simulations are η = 0.1 (or r = 5 which means that the macroscopic variables are computed by averaging 2r+1 = 11 spins), ε = 0.001, τ = 5ε, and the physical parameters are βL = 1, αL = 10, D = 0.2, Jij = 1 for |i − j| ≤ 1, and Jij = 0 when |i − j| - 1, and µ = 1. The macroscopic solver uses an implicit mid-point rule with 40 time steps and the dynamics up until t = 5.2 is shown. Similar to previous examples, the Heun method is used as the microscopic solver. 4.2.4. Limitations of HMM. In subsection 4.2.3, the dynamics of the magnetisation was simulated until t = 5.2. Here, precisely the same example with a longer simulation time, t = 8, is considered. When t ≈ 6 the external field (4.2) oscillates around zero, see Figure 4.8d. In this regime, the system becomes dominated by the noise, as external field is too small to stabilise the system, and a large number of magnetic moments is required to capture the correct statistics, see Figure 2.1. This fact leads to a breakdown of the HMM strategy around t ≈ 6, see Figure 4.8a-c. If the number of particles in the microscopic simulations is large, the cost of the HMM ATOMISTIC-CONTINUUM MULTISCALE MODELLING OF MAGNETISATION DYNAMICS25 (a) 0.6 0.5 0.4 0.3 0.2 0.1 0 -0.1 (a) ~~Mx(t, 0.5)~~ E100[m <sup>ε</sup> x <sup>(t)]</sup> <u>(b)</u> 0.6 0.5 0.4 0.3 0.2 0.1 0 -0.1 My(t, 0.5) ~~E100[m~~ <sup><u>ε</u></sup> <u>y</u> <sup>~~(t)]~~</sup> -0.2 0 1 2 3 4 5 6 t (c) 1 0.95 0.9 0.85 -0.2 0 1 2 3 4 5 6 t 0.8 0.75 0.7 0.65 0.6 <u>Mz(t, 0.5)</u> <u>E</u> ~~100~~ <u>[m</u> <sup>ε</sup> ~~z~~ <sup><u>(t)]</u></sup> 0.55 0 1 2 3 4 5 6 t Figure 4.7. 1D chain temporal upscaling under an oscillatory in time and uniform in space external field. The HMM solutions in x,y,z-directions are compared to the exact magnetisation computed by averaging the statistics of 100 magnetic moments (a-c) with the external field H <sup>ε</sup> e <sup>given by (4.2).</sup> <sup>The following parameters</sup> are chosen for the simulation: η = 0.1, ε = 0.001, τ = 5ε, D = 0.2. will not differ from that of a full atomistic simulation. Hence, switching to the full atomistic simulations is preferable, in a short temporal regime around t ≈ 6, and once the system is stable enough, the HMM algorithm may be employed again. 5. Conclusions In this article, application of atomistic-continuum multiscale computational strategies to modelling finite-temperature magnetisation dynamics was discussed. There is a number of issues that arise due to additional noise term appearing at the atomistic scale, which takes into account non-zero temperature condition. In particular, when the ensemble average behaviour of the atomistic model (ASD) is obtained, the result cannot be accurately described using simple continuum models, as they rely on different restrictive assumptions regarding magnetisation length. This inconsistency creates problems for coupling techniques. Two major coupling techniques were discussed in this article: domain partitioning and upscaling via HMM. These techniques aim at modelling somewhat different cases, but the approaches are complementary to each other. Domain partitioning is suitable when the difference between spatial scales, which are relevant for modelling certain phenomena, is not large. Moreover, as it is explicitly required to use 26 D. ARJMAND, M. POLUEKTOV, AND G. KREISS (a) 0.6 0.5 0.4 0.3 0.2 0.1 0 -0.1 Mx(t, 0.5) <u>E100[m</u> <sup>~~ε~~</sup> x <sup><u>(t)]</u></sup> (b) 0.6 0.5 0.4 0.3 0.2 0.1 0 -0.1 My(t, 0.5) ~~E~~ 100 ~~[m~~ <sup>~~ε~~</sup> y <sup>~~(t)]~~</sup> -0.2 0 2 4 6 8 t (c) 1 0.8 0.6 0.4 -0.2 0 2 4 6 8 t (d) Hz <sup>ε(t),</sup> ε = 0.001 4 3.5 3 2.5 2 1.5 1 0.5 0 -0.5 0.2 0 -0.2 -0.4 -0.6 ~~Mz(t, 0.5)~~ E100[m <sup>ε</sup> z <sup>(t)]</sup> -0.8 0 2 4 6 8 t -1 0 2 4 6 8 t Figure 4.8. 1D chain temporal upscaling under an oscillatory in time and uniform in space external field. The HMM solutions in x,y,z-directions are compared to the exact magnetisation computed by averaging the statistics of 100 magnetic moments (a-c) with the external field H <sup>ε</sup> e <sup>given by (4.2).</sup> <sup>The following parameters</sup> are chosen for the simulation: η = 0.1, ε = 0.001, τ = 5ε, D = 0.2. a specific continuum model at the continuum region in the case of domain partitioning, the application of this approach is limited to relatively low temperatures, since at high temperatures, non-linear dependency of the continuum parameters on magnetisation gradient, which is not taken into account in established models, plays a significant role. The selection of a continuum model for the case of domain partitioning was further discussed in Section 2.4. It was shown that by using a damping band it is possible to filter out some high-frequency noise at the atomistic-continuum interface. However, by design, this damping band cannot filter out low frequency waves, which originate in the atomistic region and some of which are the result of thermal fluctuations. This leads to inhomogeneous in space reduction of magnetisation length in the continuum region, when ensemble averages are calculated. Such behaviour is certainly unphysical and is the major problem for domain partitioning approach when the continuum region is dynamic. Depending on the magnitude of the temperature and timescales involved in the modelling, this artifact can be neglected, but it fully disappears only when the continuum model is quasistatic. Upscaling-based approaches are well-suited for problems with large separation of scales. Such a strategy is proposed under the HMM framework. A microscale ATOMISTIC-CONTINUUM MULTISCALE MODELLING OF MAGNETISATION DYNAMICS27 model, describing the dynamics of spin magnetic moments in spatially confined regions, is used to obtain parameters needed to close an initially incomplete macroscale model. The method uses a two-way coupling between a macroscopic and a microscopic model. The macroscopic solver uses large step sizes in time and space, leading to a significant reduction of the degrees of freedom to be computed in comparison to a full atomistic spin dynamics simulation. An analysis for the computational cost is given in Remark 2 for a single spin at zero-temperature. It is shown that the HMM requires a much lower computational cost in comparison to a direct numerical simulation. Moreover, similar arguments can be safely made when interactions between the atomistic particles are present. The main computational gain comes from the fact that the atomistic model is solved only locally both in time and space, while a direct numerical simulation entails a full resolution of the microscopic scales over the entire temporal and spatial domain. The method has been observed to capture the correct magnetisation dynamics in three different examples. The upscaling-based approach, which is presented here, is complementary to the domain partitioning approach in the sense that the continuum model, which is required for the domain partitioning, can be obtained by the upscaling, rather than using other physically restrictive continuum models. While using such upscaling methods, the limitations should also be taken into account. For systems which are dominated by noise (weak external field and/or anisotropy), a large number of atomistic spins is required for an accurate representation of macroscopic scale quantities. This is a case, where HMM would require a computational cost similar to that of a full atomistic simulation. Acknowledgements The authors would like to acknowledge the support of eSSENCE. The authors would also like to acknowledge the support from the Swedish Research Council (VR) and the KAW foundation (grants 2013.0020 and 2012.0031). 6. Appendix Although the mean-field approximation is well-known and is presented elsewhere [2], different notation is used throughout literature. Therefore, the key concepts are repeated here. 6.1. A single spin interacting with a magnetic field. When a single spin m interacts with an external field H = Hez, the total energy can be written as E = −m · H, |m| = S, and the spin alignes with the field; however, the statistical average of z-componet of m is given by [2]: ⟨mz⟩ = �−SS <sup>sesγ</sup> <sup>ds</sup> −S <sup>esγ</sup> <sup>ds</sup> z�isS given by H , γ = kBT <sup>.</sup> After integrals are calculated, mz is given by ⟨mz⟩ = S coth (Sγ) − <sup>1</sup> γ <sup>= SL (Sγ),</sup> where L(x) is the Langevin function. 28 D. ARJMAND, M. POLUEKTOV, AND G. KREISS 6.2. A chain of interacting magnetic particles subjected to an external magnetic field. When a number of interacting magnetic particles mi are subjected to a uniform external field He, the total energy <sup>8</sup> is given by i E = − <sup>1</sup> 2 i j j̸=i Jijmi · mj − <sup>1</sup> 2 Ka (pa · mi) <sup>2</sup> i µmi · He, |mk| = 1, ∀k. In a mean-field approximation, the contributions of individual spins mi to the total energy are separated and for each mi all neighbouring moments are replaced by their statistical averages in the following way: Ei = − j j̸=i Jijmi · ⟨mj⟩− Kami · papa · ⟨mi⟩− µmi · He = −mi · Hi. Moreover, a simple case of He = Heez and pa = ez is usually considered, which means that all statistical averages of all spins should be aligned along ez. In this case, it is additionally assumed that the statistical averages of all the spins are equal, i.e. ⟨m <sup>z</sup> i <sup>⟩</sup> <sup>=</sup> m <sup>z</sup> j . Using the derivation from the previous section, ⟨m <sup>z</sup> i <sup>⟩</sup> <sup>is</sup> obtained: - <sup>z</sup> i <sup>⟩</sup> <sup>=</sup> m <sup>z</sup> j . Using the derivation from the previous section, ⟨m <sup>z</sup> i j i <sup>⟩</sup>  i    <sup>⟨mz</sup> 1 kBT    <sup>.</sup> ⟨m <sup>z</sup> i <sup>⟩</sup> <sup>= L</sup> ⟨m <sup>z</sup> i         j j̸=i Jij + ⟨m <sup>z</sup> i <sup>⟩</sup> <sup>Ka + µHe</sup> References [1] Abdulle, A., E, W., Engquist, B., Vanden-Eijnden, E.: The heterogeneous multiscale method. Acta Numerica 21, 1–87 (2012). DOI 10.1017/ S0962492912000025 [2] Aharoni, A.: Introduction to the theory of ferromagnetism. Oxford University Press (1996) [3] Andreas, C., K´akay, A., Hertel, R.: Multiscale and multimodel simulation of Bloch-point dynamics. Physical Review B 89(13), 134,403 (2014). DOI 10.1103/PhysRevB.89.134403 [4] Arjmand, D., Engblom, S., Kreiss, G.: Temporal upscaling in micromagnetism via heterogeneous multiscale methods (2016). ArXiv:1603.04920 [5] Arjmand, D., Runborg, O.: Analysis of heterogeneous multiscale methods for long time wave propagation problems. Multiscale Modeling & Simulation 12(3), 1135–1166 (2014). DOI 10.1137/140957573 [6] Arjmand, D., Runborg, O.: A time dependent approach for removing the cell boundary error in elliptic homogenization problems. Journal of Computational Physics 314, 206–227 (2016). DOI 10.1016/j.jcp.2016.03.009 [7] Atxitia, U., Hinzke, D., Chubykalo-Fesenko, O., Nowak, U., Kachkachi, H., Mryasov, O.N., Evans, R.F., Chantrell, R.W.: Multiscale modeling of magnetic materials: Temperature dependence of the exchange stiffness. Physical Review B 82(13), 134,440 (2010). DOI 10.1103/PhysRevB.82.134440 [8] Banas, L., Brzezniak, Z., Neklyudov, M., Prohl, A.: Stochastic ferromag netism: Analysis and numerics. De Gruyter (2013) 8Here the total energy formulation follows [18]; however other formulations exist. ATOMISTIC-CONTINUUM MULTISCALE MODELLING OF MAGNETISATION DYNAMICS29 [9] Bergqvist, L., Taroni, A., Bergman, A., Etz, C., Eriksson, O.: Atomistic spin dynamics of low-dimensional magnets. Physical Review B 87(14), 144,401 (2013). DOI 10.1103/PhysRevB.87.144401 [10] Brown, W.F.: Micromagnetics. Interscience Publishers (1963) [11] Brown, W.F.: Thermal fluctuations of a single-domain particle. Physical Re view 130(5), 1677–1686 (1963). DOI 10.1103/PhysRev.130.1677 [12] Cervera, C.J.G.: Numerical micromagnetics: A review. Bol. Soc. Esp. Mat. Apl. 39, 103–135 (2007) [13] Chubykalo-Fesenko, O., Nowak, U., Chantrell, R.W., Garanin, D.: Dynamic approach for micromagnetics close to the Curie temperature. Physical Review B 74(9), 094,436 (2006). DOI 10.1103/PhysRevB.74.094436 [14] Cimr´ak, I.: A survey on the numerics and computations for the Landau-Lifshitz equation of micromagnetism. Archives of Computational Methods in Engineering 15(3), 277–309 (2008). DOI 10.1007/s11831-008-9021-2 [15] d’Aquino, M., Serpico, C., Miano, G.: Geometrical integration of Landau Lifshitz-Gilbert equation based on the mid-point rule. Journal of Computational Physics 209(2), 730–753 (2005). DOI 10.1016/j.jcp.2005.04.001 [16] E, W., Engquist, B.: The heterogeneous multiscale methods. Communications in Mathematical Sciences 1(1), 87–132 (2003) [17] Eriksson, O., Bergman, A., Bergqvist, L., Hellsvik, J.: Atomistic spin dynam ics: Foundations and applications. Oxford University Press (2016) [18] Evans, R.F.L., Fan, W.J., Chureemart, P., Ostler, T.A., Ellis, M.O.A., Chantrell, R.W.: Atomistic spin model simulations of magnetic nanomaterials. Journal of Physics: Condensed Matter 26(10), 103,202 (2014). DOI 10.1088/0953-8984/26/10/103202 [19] Garanin, D.A.: Fokker-Planck and Landau-Lifshitz-Bloch equations for clas sical ferromagnets. Physical Review B 55(5), 3050–3057 (1997). DOI 10.1103/PhysRevB.55.3050 [20] Garcia-Sanchez, F., Chubykalo-Fesenko, O., Mryasov, O., Chantrell, R.W., Guslienko, K.Y.: Exchange spring structures and coercivity reduction in FePt/FeRh bilayers: A comparison of multiscale and micromagnetic calculations. Applied Physics Letters 87(12), 122,501 (2005). DOI 10.1063/1.2051789 [21] Hinzke, D., Kazantseva, N., Nowak, U., Mryasov, O.N., Asselin, P., Chantrell, R.W.: Domain wall properties of FePt: From Bloch to linear walls. Physical Review B 77(9), 094,407 (2008). DOI 10.1103/PhysRevB.77.094407 [22] Jourdan, T., Marty, A., Lan¸con, F.: Multiscale method for Heisenberg spin simulations. Physical Review B 77(22), 224,428 (2008). DOI 10.1103/ PhysRevB.77.224428 [23] Kevrekidis, I.G., Gear, C.W., Hyman, J.M., Kevrekidis, P.G., Runborg, O., Theodoropoulos, C.: Equation-free, coarse-grained multiscale computation: Enabling microscopic simulators to perform system-level analysis. Communications in Mathematical Sciences 1(4), 715–762 (2003) [24] Kirschner, M.: Coarse-graining in micromagnetics. Ph.D. thesis, Vienna Uni versity of Technology (2005) [25] Landau, D.P., Binder, K.: A guide to Monte Carlo simulations in statistical physics. Cambridge University Press (2009) [26] Miller, R.E., Tadmor, E.B.: A unified framework and performance benchmark of fourteen multiscale atomistic/continuum coupling methods. Modelling and 30 D. ARJMAND, M. POLUEKTOV, AND G. KREISS Simulation in Materials Science and Engineering 17(5), 053,001 (2009). DOI 10.1088/0965-0393/17/5/053001 [27] Poluektov, M., Eriksson, O., Kreiss, G.: Coupling atomistic and continuum modelling of magnetism (2016). Submitted [28] Poluektov, M., Eriksson, O., Kreiss, G.: Scale transitions in magnetisation dynamics. Communications in Computational Physics 20(4), 969–988 (2016). DOI 10.4208/cicp.120615.090516a [29] Qu, S., Shastry, V., Curtin, W.A., Miller, R.E.: A finite-temperature dynamic coupled atomistic/discrete dislocation method. Modelling and Simulation in Materials Science and Engineering 13(7), 1101–1118 (2005). DOI 10.1088/ 0965-0393/13/7/007 [30] Scholz, W., Schrefl, T., Fidler, J.: Micromagnetic simulation of thermally acti vated switching in fine particles. Journal of Magnetism and Magnetic Materials 233(3), 296–304 (2001). DOI 10.1016/S0304-8853(01)00032-4 [31] Tadmor, E.B., Miller, R.E.: Modeling materials. Cambridge University Press (2011) [32] Tranchida, J., Thibaudeau, P., Nicolis, S.: Closing the hierarchy for non Markovian magnetization dynamics. Physica B 486, 57–59 (2016) E-mail address: doghonay.arjmand@it.uu.se,m.poluektov@outlook.com,gunilla.kreiss@it.uu.se Division of Scientific Computing, Department of Information Technology, Uppsala University, SE-751 05 Uppsala, Sweden. International Institute for Nanocomposites Manufacturing, WMG, University of Warwick, Coventry CV4 7AL, UK Division of Scientific Computing, Department of Information Technology, Uppsala University, SE-751 05 Uppsala, Sweden.

섹션 본문 110문단 · 58,657자

(제목 없음)

1In this article, a few problems related to multiscale modelling of magnetic materials at finite temperatures and possible ways of solving these problems are discussed. The discussion is mainly centred around two established multiscale concepts: the partitioned domain and the upscaling-based methodologies. The major challenge for both multiscale methods is to capture the correct value of magnetisation length accurately, which is affected by a random temperature-dependent force. Moreover, general limitations of these multiscale techniques in application to spin systems are discussed.

Introduction

2In recent years, atomistic spin dynamics (ASD) became an essential tool for understanding experimentally observed behaviour of magnetic materials [17]. In this approach, the dynamics of spin magnetic moments of individual atoms is modelled. In contrast to ASD, the classical approach of understanding ferromagnets, which originates from the first half of twentieth century, is micromagnetics [10]. It operates with the volume-averaged quantities, such as magnetisation. The area of application of these two descriptions is somewhat different: ASD aims at describing the phenomena at the nanometre scale, while the micromagnetic theory is usually applicable at scales larger than the micrometre. Due to relatively high computational cost of ASD, it is useful to construct multiscale methods that combine ASD and micromagnetics in a single unified framework. An extended background and discussion of the purposes of such multiscale models can be found in [4,27].

3At finite temperatures, the rotational motion of the spin magnetic moments, which have the constant length, is described by a system of Langevin equations. The presence of temperature is modelled by a Gaussian noise term. In this case, each individual computational realisation is affected by a random force. However, the physically meaningful quantities of interest are the statistical averages of the magnetic moments, which have reduced lengths due to the cancellations in the averaging. For an accurate description of the dynamics, the reduction in the magnitude of the magnetisation or spin magnetic moments must be carefully accounted for. A traditional way of computing these statistical averages is the Monte Carlo method, see e.g. [25], which is computationally expensive, as large number of replicas of the solution is required to compute statistically meaningful quantities. An alternative way is to derive explicit equations for the evolution of statistical averages of the spin magnetic moments. One such approach is to use the Landau-Lifshitz-Bloch (LLB) equation, which describes the dynamics of the statistical averages, see e.g. [19]. A similar technique (a variant of the LLB) is proposed in [8] where the length (given by the so-called power law) is embedded into a macroscopic equation similar to LLB. These approaches typically contain some restrictive closure arguments,

4, where E denotes an ensemble average and m is the spin magnetic moment, which are not necessarily true in general [32]. To avoid such restrictive arguments, one may either resort to fully atomistic simulations, or design multiscale numerical algorithms which do not use these assumptions.

5One of the most common types of concurrent multiscale methods is the partitioned domain approach [31]. Within this method, the computational domain is split into several regions with different material descriptions, e.g. atomistic and continuum descriptions [26]. The biggest challenge for these approaches is the construction of an error-free coupling at the interface separating the domains. There are several initial attempts of using partitioned domain atomistic-continuum multiscale models in application to micromagnetics [20,22,3,27].

6Another common type of multiscale modelling is based on upscaling, where the microscopic scale effects are systematically upscaled to an initially incomplete macroscopic model describing the macroscopic scale behaviour. In this case, the microscopic description has to be consistent with the current macroscopic variables, which leads to a two-way coupling between the microscale and macroscale models. There are several multiscale frameworks, such as the heterogeneous multicale method (HMM) [1,16] or the equation-free approaches [23], which use this idea. The upscaling-based strategy 1 that is used in this paper rests upon the HMM methodology, where the microscale model is typically known, but expensive to solve over the entire macroscopic domain of interest, while the macroscale model is incomplete, as it lacks certain macroscopic quantities, which might be time-dependent. These missing quantities are then computed by carrying out the microscopic simulations in small spatial and temporal domains (sometimes referred to as representative volume elements). The methodology is efficient in the case of problems, which possess an inherent scale separation. The efficiency of the method is due to the fact that the size of the microscopic domains may be chosen comparable to the smallest length scale present in the system.

7The aim of the present study is to describe the magnetisation dynamics using efficient atomistic-continuum multiscale formalisms, in which number of degrees of freedom is significantly reduced in comparison to a full atomistic simulation. Moreover, the overall ambition is to design algorithms, which do not suffer from restrictive closure arguments, and, at the same time, capture the correct dynamic behaviour. The microscale model, considered in the present work, is a discrete system of atomistic particles interacting at a finite temperature. For the purpose of this study, it is assumed that an atomistic model provides the exact material behaviour, although this may not necessarily be true in reality. In a multiscale method, a microscale model has to be consistently coupled to a macroscale model, which is addressed in this work under two different multiscale frameworks; the domain-partitioning and the HMM. Another aim of this work is to demonstrate the shortcomings of the standard continuum approach for a number of specific cases, which motivates the necessity of the multiscale modelling. 1 Here, the term "upscaling-based strategies" is used to refer to the class of methods such as HMM or the equation-free methods, where a two-way coupling between the micro and macro scales is necessary for an accurate description of the macroscopic phenomena.

8In Section 2 of this paper, a number of issues in relation to atomistic-continuum transition at non-zero temperatures are discussed, and the domain partitioning approach is presented. In Section 3, the detailed mathematical formulation of the HMM approach for the case of micromagnetics is given. Afterwards, in Section 4, various multiscale examples are considered.

Towards multiscale modelling

9The consistency between atomistic and continuum descriptions is required in any type of multiscale coupling. However, the construction of a deterministic continuum model that corresponds to the stochastic atomistic description is a complicated problem. Several issues related to estimation of the macroscopic quantities of stochastic atomistic systems are highlighted in subsequent subsections. The problem of selecting an appropriate continuum model is further discussed in subsection 2.4.

2.1.

10Modelling approaches. In this subsection, atomistic and continuum modelling approaches are summarised. For simplicity, a 1D spatial arrangement is considered. Full descriptions can be found in [18] and [2], respectively. In what follows, the vector quantities are always denoted by bold face letters, e.g. m ∈ R 3 , and the Euclidian 2-norm is written as |m| = m 2

11x + m 2 y + m 2 z .

122.1.1. Atomistic spin dynamics. In the atomistic approach, the dynamic behaviour of spin magnetic moments of individual atoms is described by the atomistic Landau-Lifshitz-Gilbert equation [9,18]:

13where γ is the gyromagnetic ratio, λ is the phenomenological (Gilbert) damping constant, m i is the direction of spin magnetic moment, µ is the length of spin magnetic moment, J ij are constants of Heisenberg exchange interaction between atoms i and j, K a is the anisotropy constant, p a is the anisotropy axis (uniaxial anisotropy case is considered) and H e is the external field. Thermal excitations are taken into account by adding a stationary stochastic field with the following statistical properties:

14where ρ and ν are the Cartesian coordinates of h i , k B is the Boltzmann constant and T is temperature. More details regarding the stochastic term can be found in [11]. Parameters λ, µ, J ij , K a and p a can be computed from electronic structure calculations [17], and are considered to be constant for a certain material. At the continuum scale, the dynamics of the magnetisation is modelled by the continuum version of the Landau-Lifshitz-Gilbert (LLG) equation [2,14]:

15where M is the normalised magnetisation field and β L and α L are equal to atomistic parameters in (2.1). At zero temperature, exchange parameter can be obtained directly from the atomistic parameters:

16where r ij is the distance between atoms i and j, and the sum is over all atoms with which atom i interacts (also A e is assumed to be spatially constant in this equation). Since the anisotropy term is local, the same anisotropy parameters K a and p a are used in the continuum and the atomistic equations. The accuracy of these choices is discussed in the following subsections. At finite temperatures, the continuum model has to be modified. These modifications differ depending on the approach and are further discussed in Section 2.4.

17The continuum magnetisation field M is supposed to be equal to some spatial average of atomistic m i . However, due to the nature of the LLG equation, unitlength vectors are used in the formulations above. In general, atomistic-continuum transition introduces an error to the solution, which is dependent on magnetisation gradient, for details see [27].

2.2.

18Direct numerical simulations of macroscopic quanteties for a 1Dsystem, using the atomistic model. In this subsection, averaged quantities of 1D atomistic spin systems are investigated. The results highlight some problems with the standard continuum approach, which cannot capture the behaviour of some 1D atomistic systems.

19The parameters of the dynamic deterministic continuum model, which is presented above, can be constructed out of the parameters of the dynamic deterministic atomistic model, which results in a certain solution error that depends on the magnetisation gradient [27]. In this case, the first step towards building a consistent continuum model that describes material behaviour at finite temperatures is the replacement of the stochastic atomistic description with a deterministic atomistic description with effective 2 parameters, from which the continuum parameters can be determined using known relations, e.g. (2.8). In this subsection, it is shown 2 Effective parameters are such parameters that when substituted into an alternative model, result in an alternative solution, which is close to (or exactly the same as) the original solution provided by the original mode. In the present context, this means that the ensemble average of the solutions given by the stochastic atomistic model is equal to the solution of the deterministic atomistic model, which includes effective parameters.

20parameter µ J K a p a λ material 1 7.63µ B 1.28 · 10 −21 11.86 · 10 −24 e y 0.1 material 2 7.63µ B 1.28 · 10 −21 0 -0.1 Table 2.1. Material parameters that were used in the simulations. Here, µ B = 9.274 · 10 −24 is the Bohr magneton. that this approach results in an inaccurate model: such effective parameters should depend not only on temperature, but also on the state of magnetisation and other properties of the system, such as boundary conditions. At finite temperatures, the mean-field approach [2] is usually used, in which it is assumed that the statistical averages of atomistic spins interact with the same exchange constant (J ij ) as atomistic spins at 0 K, while the length of spins is decreased due to averaging [2], i.e. |m i | becomes less than 1. From a numerical point of view, this can be implemented by replacing m i with m * i s i , where |m * i | = 1. If this assumption had been always valid, the only transition from the stochastic atomistic model at finite T to the deterministic atomistic model would have been estimation of s i . However, s i depends on the properties of the atomistic system, which is shown below. In subsection 2.2.2, it is demonstrated that the mean-field approach can give quantitatively different results in comparison to a direct numerical simulation.

21It was already shown elsewhere that the effective exchange parameter depends on temperature [7]. In subsection 2.2.3, it is shown that it also depends on the state of magnetisation, therefore it is impossible to estimate an effective exchange parameter that is valid in a general case even for a particular temperature and a particular system.

2.2.1.

22Dependence of macroscopic quantities on system size. When material is modelled at an atomistic level, macroscopic quantities, which are extracted from the atomistic simulations, can depend on the size of the atomistic system. For example, in [24], the dependence of the magnetisation length, which was extracted from the atomistic simulations, on the size of the system was analysed. Such dependence exists for all types of boundary conditions, including periodic, but it is commonly accepted that there is a convergence with respect to the system size. In [24], in addition to material anisotropy, a weak external field was used to stabilise the atomistic system and align it in a certain direction. However, the presence of the external field has a far more profound effect on the macroscopic quantities, and there is a significant non-linear dependence of the magnetisation on the value of the external field. In Figure 2.1, it can be seen that in the case of 1D arrangement of atoms (with periodic boundary conditions) not only the magnetisation length 3 depends on the magnitude of the external field, but also the time required to reach the equilibrium. Moreover, when the external field is absent, convergence (within given time interval and for given range of system sizes) was not observed, although the material uniaxial anisotropy was taken into account. When an external field is present, convergence is observed. Parameters that were used in the simulation are summarised in Table 2.1, material 1, and Table 2.2, set 1, and are taken from [18]. Since this paper is methodologyoriented, units are ommitted for all quanitites, which is common in numerical analysis. Only nearest-neighbour interaction was taken into account. The implicit mid-point method [15] was used for time-stepping with a time step ∆tD = 0.005. The initial directions of m i were selected to be e y . The relatively low magnetisation value for this temperature can be explained by the 1D nature of the problem: each atom interacts only with two neighbours.

2.2.2.

23Dependence of macroscopic quantities on temperature. As discussed above, there is a strong dependence of the macroscopic quantities on temperature. There are several ways to quantify this dependence, e.g. the mean-field approach [2] is made, which is not valid in general [32]. Moreover, due to its limitations, the analytical approach cannot provide either time required to reach the thermodynamic equilibrium or dependence of macroscopic quantities on the system size.

24In Figure 2.1, in addition to numerical results, analytical estimates are shown. Mean-field estimate of m was obtained by solving the following equation [2]:

25where L is the Langevin function and N n is the number of nearest neighbours, which in this case is 2, see the appendix for a derivation of this formula in the presence of an external field and exchange interaction. The mean-field magnetisation length is significantly larger than the length of the magnetisation that is directly obtained from modelling of the dynamics of spin systems, as seen in Figure 2.1. Moreover, the mean-field m is less affected by the magnitude of the external field.

2.2.3.

26Non-linear dependence of the effective exchange coefficient on the magnetisation gradient. In most cases, the macroscopic quantities of a stochastic spin system appear to be non-linearly dependent on external conditions. The non-linear dependence with respect to the external magnetic field was demonstrated in previous subsections. In this section, the importance of boundary conditions is highlighted. Specific boundary conditions are used here to create a magnetisation gradient, which influences effective exchange coefficient in a non-linear way. The approach is somewhat similar to the "domain wall stiffness approach" [7,21].

27In the case of mechanical behaviour of 1D atomistic chain, a relevant macroscopic characteristic is the stiffness of the chain. It can be obtained numerically by applying forces to the boundary atoms and calculating the displacements of atoms. This method can be extrapolated to spin systems, where the interatomic interaction is Heisenberg exchange. An exchange stiffness of the entire 1D spin system is introduced. The spin system is twisted by the external magnetic field applied only to the boundary atoms.

28To illustrate the approach, the 1D chain of N atoms interacting via Heisenberg exchange only with the nearest neighbours is considered. The system does not have magnetic anisotropy, K a = 0; and open boundary conditions are used (atoms 1 and N interact only with one neighbour). External field H e = He y is applied to atom 1, external field H e = H (e x sin φ + e y cos φ) is applied to atom N , while external field H e = 0 is applied to all other atoms. The problem is schematically illustrated in Figure 2.2.

29At 0 K, the equilibrium configuration for this problem can easily be determined:

30where θ is the solution of the following equation:

31This means that there is a non-linear dependence between the magnitude of the applied field, H, the applied field divergence angle, φ, and the spin moments divergence angle at the equilibrium, θ. At finite temperature, the equilibrium configuration can only be found by numerical simulation. After performing a number of simulations, it was observed that the orientation of the spin magnetic moments, χ i , of the ensemble average of the solution depends linearly on i, as well as in the deterministic case; however, the divergence angle, θ was different. Therefore, the behaviour of such material can be approximated by the deterministic model with a different (effective) parameter. When this deterministic model with an effective exchange constant J * , is subjected to the same conditions as the stochastic model with the real exchange constant J, the resulting divergence angle of spin magnetic moments at the equilibrium, θ, is the same. Hence the effective parameter J * can be determined by performing numerical simulations at finite temperature, extracting the angle θ from the ensemble average of the solution and using equation (2.11), in which J is replaced by J * .

32In Figure 2.3a, the effective exchange coefficient between two spins, J * , normalised by J is plotted. It is clearly seen that the effective exchange constant depends non-linearly on the angle between the magnetic fields applied to the boundary atoms. This implies a non-linear dependence of the continuum exchange constant on the local magnetisation gradient in the case of finite temperatures.

33Problem parameters are summarised in Table 2.1, material 2, and Table 2.2, set 2. A time step ∆tD = 0.005 was used. The initial directions of m i were selected to be according to equation (2.10) with real J, hence J * J −1 = 1 at t = 0. A chain of 8 atoms was considered. Angle θ was determined by a linear fit of angles χ i , which are obtained by projecting the ensemble average of the solution on xy-plane. The following value of H was selected:

34which minimises the statistical error of calculation of J * for small divergence angles. The angle φ was varied: values of 135 • , 90 • and 45 • were used. The coefficient J * J −1 shows the change of the exchange parameter when the constrained (i.e. with the external field applied to the boundary atoms) stochastic system is replaced by the constrained deterministic. In the case of unconstrained system (i.e. no external field), if the mean-field assumption is to be believed, the stochastic system can be replaced by the deterministic system with the same exchange parameter, but different magnetisation length. After re-normalisation m i = m * i s, |m * i | = 1, this replacement becomes mathematically equivalent to changing the exchange parameter, i.e. s = J * J −1 . For an unconstrained system with the same number of atoms, see Figure 2.3b, this coefficient is significantly larger than for the constrained system. This confirms that if greater accuracy is required, the effective parameters, which are used in the deterministic LLG equation, should not be precalculated constants (for a given temperature) but should be functions of the local magnetisation and the local magnetisation gradient.

35The simulation in Figure 2.3b was performed with the same material parameters as used for the constrained system; however, without an external field; N s = 100 number of realisations was used. The coefficient s = J * J −1 in this simulation was calculated as the length of particle-averaged spin magnetic moment. The mean-field value was obtained using equation (2.9).

2.3.

36Partitioned domain approach. The application of partitioned domain approach to the modelling of magnetisation dynamics is covered in [27,28]. The key idea behind the methodology is the separation of the computational domain into two regions: atomistic and continuum, which are connected at the interface. In the case of nearest-neighbour interatomic interaction, neither transition region, nor padding atoms (atoms behaviour of which are obtained by interpolation of the solution at neighbouring continuum nodes) are necessary. In the 1D case, the interface consists of a single point and the coupling is straightforward: the interface point interacts with the nearest continuum node as a continuum node and it interacts with the nearest atom as an atom (in the case of nearest-neighbour interatomic interaction). However, when the dynamic material behaviour is modelled, the introduction of an additional damping region at the interface is necessary [13]. This additional numerical damping is applied to the atoms in the proximity of the interface and acts as a low-pass filter that absorbs high-frequency waves that are otherwise reflected from the interface (due to the difference in discretisation parameters) and contribute to numerical error. The subsequent subsection follows the analogous section from [27].

372.3.1. Damping band. The equation describing the dynamics of numerically-damped atoms is the following [28]:

38where γ Di is the strength of the damping for atom i and m Ai is the normalised average of the solution over a certain region. The damping strength increases gradually with atomic positions approaching the interface and is proportional to the time derivative of m i :

39where g D is a constant determining the damping strength, r R i is the distance to the closest atom outside of the damping band, r P i is the distance to the interface atom/node and a is the interatomic spacing.

40Within the damping band, the solution is attenuated to an average value, m Ai , which is calculated within a certain window surrounding atom i. The width of the window is denoted as s A . An additional average quantity m * Ai is introduced:

41Coefficients c are fitted to all m j within the averaging window using least squares. Finally, m Ai is obtained by normalisation:

2.4.

42Selection of the macroscopic scale model for the multiscale framework. Due to the highlighted issues, the selection of an appropriate model for the macroscopic scale in the case of domain partitioning is ambiguous. First of all, based on the type of the problem, the nature of the macroscopic model has to be chosen, which can be quasistatic 4 , dynamic deterministic or dynamic stochastic. Quasistatic models are suitable for the cases when an equilibrium magnetisation distribution around an isolated atomistic region, which can be fully dynamic, has to be determined. The example of such coupling for the case of mechanical behaviour (coupling molecular dynamics and elastic finite-element continuum descriptions) is the CADD method [29]. Since it might be unphysical to model all the waves generated within the atomistic region, which eventually diffuse and are converted to heat over large distances, there is an additional advantage of using a quasistatic continuum model as it avoids such problems.

43In cases when dynamic phenomena should be modelled within the continuum region, e.g. domain wall movement, one of the dynamic models has to be used. In this case, while waves are transmitted within the continuum, atomistic regions are idle and thereby reduce computational efficiency; however, this issue cannot be avoided for such type of problems. The most simple model, which can be used for the dynamic continuum, is the standard Landau-Lifshitz-Gilbert equation, as presented in section 2.1.2, with the length of magnetisation rescaled due to temperature dependency (note that |M| = 1, but parameters in front of M are rescaled). However, such an approach cannot describe a local change of the magnetisation length due to change of its orientation with respect to the external field or anisotropy direction, which might be important for some applications. This problem can be handled partly by assuming space-and time-dependence of the magnetisation length, and adding an additional PDE describing its evolution. In this case, such PDE should 4 Quasistatic models describe systems, evolution of which is slow enough for the system to remain in internal equilibrium. In the case of micromagnetism, quasistatic models are simply static equations (i.e. without time derivative of magnetisation), however with time-dependent boundary conditions. be either derived from the atomistic equation or compiled based on empirical observations.

44The last option for the continuum region is the stochastic Landau-Lifshitz-Bloch equation [19,13]. In this approach, due to the stochastic nature and the structure of the dynamic equation, local changes of the expected value of magnetisation length are permitted. The advantage of the stochastic LLB is that it can naturally describe domain walls with nonconstant magnetisation length [13]. However, in other areas of physics, such as modelling the mechanical behaviour of solids, stochastic descriptions of materials are not typically used at the macroscopic scale [31], since stochastic effects diminish with the system size.

An upscaling-based approach

45In subsection 2.4, various ways of selecting a macroscopic model and their limitations were mentioned. In this section, an alternative strategy based on HMM is proposed to compute approximate upscaled macroscopic quantities (statistical averages of the atomistic spins given by (2.1)). The approach should be seen as complementary to the domain partitioning approach that is described in subsection 2.3, whereby the continuum equations (needed for the domain partitioning) are obtained computationally. Before proceeding with the description of the method, few mathematical tools and notations are presented.

463.0.1. Averaging kernels. A key ingredient of the HMM is a compression step, which typically uses some general purpose averaging kernels. To illustrate the idea, f ε (t) = f (t/ε) is assumed, where f is a 1-periodic integrable function. A local average of this function can be computed by selecting a small region I η = [−η/2, η/2] at first and then averaging f ε over I η afterwards. This operation, however, results in the following error:

47This averaging can be done more accurately using the space of averaging kernels K p,q which consists of symmetric functions K, such that K(t) = K(−t), K is compactly supported in [−1/2, 1/2], and d (q+1) K dt q+1 ∈ BV (R), where BV is the space of functions with bounded variations in R, and the derivative is understood in the weak sense. Moreover, the parameter p ∈ Z + represents the number of vanishing moments, i.e. K has p vanishing moments if R K(t)t r dt = 1, r = 0, 0, 0 < r ≤ p.

48To simplify the notation, a scaled version of the kernel, denoted by K η (t) := η −1 K(t/η), and the shorthand notation

49are also introduced. Using a kernel K ∈ K p,q , it is possible to achieve higher order convergence rates and improve the first order approximation (3.1), see e.g. [5,6] for theoretical results where the following inequality can also be found:

50In Figure 3.1, the decay of the error for kernels with different p, q pairings is shown.

51In the remaining part of this section, the averaging kernels, which are described above, are used to design an upscaling-based strategy for an atomistic-continuum coupling.

523.0.2. HMM. The problem setting is as follows: the atomistic spins interact with each other with a certain exchange parameter J ij and each spin magnetic moment is subjected to an external field H ε e,i (t) = H e,i (t, t/ε), varying at a slow and a fast scale, where ε represents the size of the fast variations. In this setting, a time step small enough to resolve the ε-scale variations of the external field is needed to perform an atomistic spin dynamics simulation. Moreover, to compute a statistical average of the particle magnetisation, a large number of samples of an already expensive atomistic problem have to be computed. Note that the above structure for external field H ε e,i (t) is chosen only as an example, and the same methodology would work equally well for other types of external fields, which have a scale separation of some form, with no conceptual change in the algorithm.

53On the other hand, an upscaling-based multiscale method aims at reducing the degrees of freedom, in time and space, by introducing a discretised macroscopic magnetisation field which is related to the local spatial and temporal averages of the spin magnetic moments. From a modelling point of view, one additional requirement is to include the effect of the thermal noise on the magnetisation.

54To define the variables, the atomistic spin magnetic moments m ε i are introduced. These magnetic moments are located on ((r + ℓ)N + 1) discrete points defined by

55, where a is the distance between the particles, r, N ∈ Z + are positive integers and ℓ is a non-negative integer. The superscript ε on m ε i indicates the dependence of the spin magnetic moments on the high-frequency variations in the external field H ε e,i . Furthermore, a set of N + 1 macroscopic variables M I located on the macro grid {X I = I(r + ℓ)a} N I=0 are introduced. In Figure 3 For simplicity, it is assumed that the atomistic particles are globally constrained by periodic boundary conditions, which makes the above definition ofM I (t) welldefined also for the endpoints; namely I = 0 and I = N . The local meansM I are formed by taking the local averages (not only in time but also in space) of 2r + 1 particles. To compute M I , a number of realisations ofM I are needed, which results in a reduction of the macroscopic magnetisation length.

56The key idea behind the HMM algorithm for finite temperatures is separate calculation of the directions and the lengths of the expected values of spin magnetic moments, which areM I and s(t), respectively. The macroscopic quantities are introduced in the following way: M I := s(t)M I , whereM I is equal to the local average (3.2) but computed at zero temperature 5 , and s(t) is a variable which describes the effect of the temperature in the system.

57An algorithm for computingM I for a single spin at zero temperature (namely when a single spin is subjected to a high-frequency field and the local averaging takes place only in time) was proposed in [4]. At zero temperature, s(t) = 1 holds, and therefore M =M, and the algorithm from [4] is presented below (index I is omitted here). 5 AlthoughM I is computed at zero temperature, the directions of spins at macroscopic nodes are still influenced by the temperature in a nonlinear way via boundary conditions for the microscopic problem. This is evident from the finite-temperature HMM algorithm to be introduced shortly.

58Algorithm 1: A single spin subjected to a deterministic oscillatory field.

59Step 1. Macro problem: the macroscopic model is incomplete and is given by

60where F is the missing data in the model and M is the macro solution to be computed.

61Step 2. Micro problem: to compute F(t a , M) and close the macro problem, the micro problem is solved first

62where I + τ := (t a , t a + τ /2] and I − τ := [t a − τ /2, t a ), and τ > ε.

63Step 3. Upscaling: the unknown parameter F(t a , M) in the macro model is computed by

64Remark 1. Starting from a spin magnetic moment m ε (0) with unit length, it was shown in [4], that the length of the macroscopic magnetisation M satisfies

65Namely, the length of the macroscopic magnetisation is equal to one, up to an upscaling error.

66Remark 2. In [4], it is shown that when H ε (t) := H(t, t/ε), where H(t, ·) is a 1periodic smooth function, the error between the HMM (algorithm 1) and the exact macroscopic dynamics is given by

67Macro error

68Upscaling error

69where r 1 and r 2 represent the order of accuracies for a macroscopic and a microscopic solver. Here, ∆t and δt are the macroscopic and the microscopic step sizes. The total computational cost (of HMM) to simulate the dynamics until a time T is given by T τ / (∆tδt). Let β := 1/ (q + 3). Then the computational cost to achieve an error tolerance TOL = O(ε 1−β ) becomes

70On the other hand, a direct numerical simulation (DNS) gives an error (δt/ε) r2 (with a computational cost T /δt). Therefore, the cost to achieve the same error tolerance becomes

71The parameter β can be made small by taking large values for q, which does not increase the computational cost of HMM. Moreover, It is clear from the above estimates that the computational cost of the HMM decreases when higher order methods are used for the macro and the micro solvers, while cost of the DNS can not get better than O(ε −1 ).

72In algorithm 1 above, the damping term appears only in the macro model (but not the micro problem). However, it was shown (numerically and analytically) that the HMM still captures the correct macroscopic dynamics and hence the correct damping effects, see [4] for the numerical analysis and a motivation for the algorithm.

73The aim here is to present a generalisation of algorithm 1 to a system of particles interacting at non-zero temperature. To describe the multiscale algorithm, the notations

74are adopted. Note the differences between H ε det,i and H sto,i . The term H ε det,i is deterministic but oscillatory, while H sto,i is stochastic and includes the filtered external field K τ * H ε e,i (t * ). The notations used for the terms, other than H ε e,i , in To model the macroscopic magnetisation dynamics of a system of magnetic particles at finite temperature, a macro model, a micro model, an upscaling step and a length scaling procedure are required (instead of solving the continuum equation directly). In Figure 3.3, a schematic description of the method is illustrated. The entire multiscale algorithm is presented below.

75Algorithm 2: A chain of magnetic particles at nonzero temperature.

76Step 1. Macro problem: the macroscopic model is deterministic and given by d dt

5)

77where r ′ = r + ℓ, and F I is the missing data in the model and M I is the macro solution to be computed. Moreover, I ′ := {I − 1, I, I + 1} represents the index set of the nearest macro solutions. The computation of s I (t) is described in Step 4 below.

78Step 2. Micro problem: to compute F I (t a , M) and close the macro problem, the micro problem is solved at first d dt m ε Ir ′ +j (t) = β L m ε Ir ′ +j (t) × H ε det,Ir ′ +j (t), t ∈ I ± τ , j = −r, . . . , r, m ε Ir ′ +j (t a ) =m(x Ir ′ +j ), (3.6) m ε Ir ′ −r (t) =m(x Ir ′ −r ), m ε Ir ′ +r (t) =m(x Ir ′ +r ), The input-output relation for the multiscale algorithm to approximate the macroscopic dynamics at finite temperature. One step of the method (assuming a suitable time-stepping) is depicted. If the macro solver is explicit, the steps are followed in the precise order starting from a given M(t). If the macro solver is implicit, the steps are repeated until the solution M(t + ∆t) (before the length scaling step) converges. Once the convergence is achieved, the length scaling procedure takes place.

79where I + τ := (t a , t a + τ /2] and I − τ := [t a − τ /2, t a ), with τ > ε, andm(x) = π 2 M/|π 2 M|(x) denotes the normalised second order polynomial interpolation of the macroscopic solutions.

80Step 3. Upscaling: the parameter F I (t a , M I ′ ) is computed by

81where η = 2ra.

82Step 4. Length scaling: the macro solution M I (t) is replaced by s I (t)M I (t)/|M I (t)|, where s I (t a ) is computed by solving the following stochastic LLG equation for j = −r, . . . , r and t ∈ (t a , t a + τ f ]

83where τ f > τ r , and τ r is the time it takes to reach the thermal equilibrium. Then, with η = 2ra, the following is computed

84Remark 3. Note that the parameter s I (t) is allowed to vary in time and space. This approach is more general than the mean-field approximation (MFA) since spatially nonuniform magnetisation lengths are automatically captured here, whereas MFA assumes a uniform length everywhere.

85Remark 4. The fact that the HMM algorithm, which is described above, uses local averages (in time and space) of the microscopic solution, makes it possible to upscale the influence of other kind of microscopic variations such as defects (modelled by J ij = 0 for certain i, j pairs) or fast variations in the material properties (modelled by rapid spatial change of J ij or p a ). The resulting macroscopic averages, however, need to be smooth enough so that the macro discretisation resolves it. If not, the atomistic picture needs to be retained, and the partitioned domain approach would be more appropriate.

86Remark 5. In equation (3.9), the usage of kernels K η (centred at x Ir ′ ) for spatial averaging is important. At finite temperatures it holds that s I (t) < 1. However, since the boundary conditions for m in (3.8) are fixed, the length of the temporal average of the boundary atom is always 1. The usage of a kernel resolves this issue, as K η vanishes towards the boundaries of the micro domain, see e.g. Figure 3.1. A more secure way of reducing the boundary error is to use a damping band near the boundary, see the equation (2.13), where a damping layer is added to reduce the high frequency reflections from the boundary. However, these damping bands did not seem to be necessary for the simulations presented in the next section.

Numerical results and discussions

874.1. Domain partitioning.

4.1.1.

88Damping region at the atomistic-continuum boundary. In [28], a special damping region for domain partitioning multiscale method was suggested. This damping region reduces reflections of high-frequency waves from the atomistic-continuum interface, thereby reduces the numerical error of the solution within the atomistic region of the mutiscale system. The damping band acts as a low-pass filter.

89This concept was previously tested only in deterministic cases [28,27]. In the case when the atomistic region is stochastic, the main requirement for the damping band is not to affect the thermodynamic characteristics of atoms. In the spin dynamics approach, each atom is coupled to the heat bath, which allows using a rather simple damping for a certain layer of atoms, while preserving correct thermodynamics in neighbouring layers. A numerical experiment designed to demonstrate this is presented below.

90The dynamic behaviour of the multiscale system, in which the atomistic region is embedded into the continuum region, is simulated. The details regarding the multiscale coupling method and the damping region at the interface can be found in [27]. Material parameters (µ, J, K a , p a , λ) that were used in the simulation are summarised in Table 2.1, material 2. Atomistic region was located in the centre of the geometry, the entire length of which was L. Spatial step of ∆x = 4a was used in the continuum model, where a = 0.3636 · 10 −9 is the interatomic spacing, as well as the Neumann boundary conditions. The atomistic model consisted of N atoms, N D out of which were numerically damped atoms (see [27]), i.e. N D /2 damped atoms at left and right edges of the atomistic region. Numerical damping parameter was selected to be g D γ 0.5 = 41.53 and the averaging window width was s A = 3∆x. The parameters are summarised in Table 4.1, set 1. The initial state of the system was uniform alignment of all spins. Since this system had only exchange In Figure 4.1, the evolution of cumulative distribution function of interatomic interaction energy (ε i ) is shown. When system is at the equilibrium, the cumulative distribution of energies should be close to the Boltzmann distribution, W (e) = 1 − exp (−e/ (k B T )). As seen from the results, the non-equilibrium initial configuration evolved into equilibrium configuration with the correct energy distribution. This example illustrates that the damping band does not affect the thermodynamic characteristics of the spin system, while reducing wave reflections form the interface. Since it is possible to adjust the parameters of the damping band independently of the geometry and control the error resulting from wave reflections, such damping region can be very useful for coupling dynamic atomistic region to quasistatic continuum region as well.

914.1.2. 1D system, switching of the uniform external field. One of the tests of consistency between atomistic and continuum regions is to check for an identical response of the regions to a non-stationary external field under equilibrium conditions. To illustrate this, a multiscale system, in which the atomistic region is embedded into the continuum region, is again considered. The system was subjected to an initial applied external field H e = 0. When the system reached equilibrium, tγ = 10, the field was changed to H e = H e e z , H e = 2, which initiated a precessional motion of the spin magnetic moments. Material parameters (µ, J, K a , p a , λ) that were used in the simulation are summarised in Table 2.1, material 2, while other simulation parameters are summarised in Table 4.1, set 3. The Neumann boundary conditions were used in the continuum region.

92In Figure 4.2, the behaviour of the magnetisation of the system at thermodynamic equilibrium is shown. It can be seen that the spin moments within the atomistic region rotate with the same angular speed as the continuum region magnetisation, since the average m z component of the atomistic spins is always close to the continuum value.

93Although this is a trivial example, it illustrates that the basic requirement of consistency between models, which are used in the multiscale system, can be fulfilled in certain cases without extension of the continuum description. In this example, parameters of the continuum model corresponded to 0 K, and consistency was observed since low temperature was imposed. This is not always the case, as demonstrated in the next example. As was already discussed, the continuum model should be selected depending on the problem to which the multiscale method is applied and sometimes even the basic models provide the solution with an acceptable numerical error. 4.1.3. 1D system, uniform magnetisation gradient. The domain partitioning approach also has limitations. These limitations are not related to the coupling between atomistic and continuum regions, but to the nature of the domain partitioning methodology itself. The problem concerns finite-temperature dynamics, where the macroscopic model is dynamic.

94Since the atomistic region is stochastic, excitations of different length scale appear in it. Although the probability of large scale excitation, i.e. several spin atomic moments moving in approximately uniform direction, is small, such excitation creates long wave length spin waves, which propagate within the atomistic region. These waves can propagate into the continuum region. In this case, when the ensemble average solution is calculated, a continuum magnetisation with decreased length is obtained. Such long wave length waves cannot be filtered out by the damping band, since it would make modelling dynamics pointless: the single purpose of the damping band is to filter out the waves which cannot be represented by the continuum. In this setting, it is impossible to distinguish between "useful" long-range excitations, which have to modelled, and "unphysical" ones.

95To demonstrate this, a multiscale system, in which the atomistic region is embedded into the continuum region, is considered. Magnetisation at the edges of the continuum domain was fixed, i.e. the stationary Dirichlet boundary conditions were used in the continuum region. Material parameters (µ, J, K a , p a , λ) that were used in the simulation are summarised in Table 2.1, material 2, while other simulation parameters are summarised in Table 4.1, set 2. The evolution of the system was simulated until the equilibrium state, which corresponded to tγ = 10 4 , was reached. The final result is obtained by calculating the ensemble average.

96In Figure 4.3, the state of the system at the equilibrium is shown. It can be seen that the expected value of the magnetisation length 6 in the continuum is decreased, see Figure 4.3b, due to waves which are generated within the atomistic region and propagate into the continuum region. The consequences of this issue can be less profound if larger mesh difference is used. Therefore, HMM should not suffer from this issue due to a relatively large separation of scales. However, this problem can be completely eliminated only by using a quasistatic continuum model. In this case, all waves originating from the atomistic region will be either damped within the damping band region or reflected from the interface.

Upscaling via HMM.

97In what follows, three different applications of the HMM for non-zero temperatures (Algorithm 2), presented in Section 3, as well as its limitations are described. The first example deals with a single magnetic particle which interacts with a high-frequency external field. As a single particle is studied, i.e. no particle interaction is involved, and the spatial averaging in the algorithm is not used. The second example concerns the behaviour of a number of interacting particles. In this example, the number of atomistic particles is chosen equal to the number of macroscopic nodes. The microscopic model (3.6) as well as the stochastic LLG equation (3.8) are not solved locally (as described above) but globally over the entire domain, and the upscaling step (3.7) is performed only in time. The third example corresponds to the case of interacting particles and disparate spatial scales for micro and macro models. Hence all parts of the algorithm (as described in the Section 3) are utilised, i.e. multiscaling both in time and space is considered. In the last part, the limitations of the HMM are illustrated. 4.2.1. HMM: Single spin. In this first example, a single magnetic particle is subjected to a high frequency field which is nonzero in the z-direction. Namely, (4.1) H ε e = (1 + cos(0.43t) + cos(2πt/ε) 2 )e z , while the parameters in (2.1) are set to K a = J ij = 0. Initially, the direction of the spin magnetic moment is set to 1 √ 3 (e x + e y + e z ). When thermal equilibrium is reached, the solution has to be in the direction of the applied field (z-direction). The external field is varying rapidly over time, and hence it influences the evolution of the length of magnetic moment 7 . In Figure 4.4, it can be seen that the HMM captures the evolution computed by a direct numerical simulation of the spin length. In the same Figure, the HMM solution at zero temperature (with s(t) = 1 or D = 0) is shown to emphasise that if the length scaling part (3.8) of the HMM is not used, then the method does not follow the correct dynamics, see Figure 4.4c. For these simulations, an implicit mid-point rule with 35 macroscopic time steps is used but other numerical integration methods may also be used without any conceptual change in the algorithm, see e.g. [12,15,14] for a review of numerical methods in micromagnetism. The macroscopic magnetisation is evolved until t = 5, and the micro problems are solved over an interval of size τ = 5ε. The physical parameters are chosen to be β L = 1, α L = 10 and D = 0.2. I=0 is equal to that of the microscopic variables {m ε i } 9 i=0 , and the multiscaling is performed only in time. Namely, the micro problem (3.6), and the stochastic LLG equation (3.8) are solved globally (with the periodic boundary conditions), and the upscaling step (3.7) uses averaging only in time. At first, the algorithm was applied to a case with an external field, which is aligned along the z-direction:

98H ε e,i (t) = (1 + cos(0.43t) + sin(0.73t) + cos(2πt/ε) 2 )e z , i = 0, . . . , 9. This field is uniform in space and oscillatory in time. Similar to the example of a single spin, the HMM solution was compared to a direct numerical simulation. As the external field (4.2) is uniform in space, all the particles have the same statistical behaviour. Figure 4.5 shows that the magnetisation length is accurately captured for all the components. A decrease in the magnitude of the external field leads to a decrease in the magnetisation length as the behaviour of the system becomes more dominated by the thermal noise (leading to a disordered system). Note the decrease in the magnetisation length in Figure 4.5c as the external field, shown in Figure 4.5d, is decreasing. The notation M ν (t, q) in the figure is used for the HMM solution at the spatial point x = q, where ν can be x, y, or z coordinate. For these simulations, an implicit mid-point rule with 35 macroscopic time steps is used at the macroscopic scale and the final simulation time is t = 5.1. The Heun method [30] is used for timestepping in the micro problem. An interval of size τ = 5ε is used for the micro problem. The physical parameters are chosen to be β L = 1, α L = 10, and D = 0.2.

99Another example deals with the case when the external field is oscillatory in time but nonuniform in space. The molecular field approximation is not valid in this case. In particular, the external field is set to (4.3) H ε e,i (t) = (1+cos(0.43t)+sin(0.73t)+cos(2πt/ε) 2 )(1.5−cos(2πx i ))e z , i = 0, . . . , 9.

100When the external field is nonuniform in space, the magnetisation length should be nonuniform as well. Figure 4.6b clearly shows that the magnetisation converges to different equilibrium states for two different points in space (x = 0.2 and x = 0.6). The corresponding external fields at these two points are shown in 4.6c. In these simulations 20 macroscopic time steps are used, and the final simulation time is Figure 4.5. The HMM is shown to capture the correct magnetisation dynamics for this example of a non-uniform external field. Note that the expected value of the exact reference solution (direct numerical solution) is computed by averaging 70 replicas of the solution. In Figure 4.6a, a small deviation between the HMM solution and the reference solution is observed. This is mainly due to the fact that only 70 replicas are used while approximating the exact expected value. These deviations decrease upon computing the expected value using a larger number of copies. 4.2.3. HMM: Chain of spins, multiscaling in time and space. In this example, the case of a chain of magnetic particles, which are subjected to the external field (4.2), is considered. The atomistic particles are defined on a fine grid {x i } 99 i=0 , whereas the macroscopic magnetisations are defined on a coarse grid {X I } 9

101I=0 . Moreover, each macroscopic variable corresponds to an average of 11 magnetic moments. Here, the HMM uses upscaling both in time and space. The number of time steps that were used in the macro model was 35, while other numerical parameter values used for these simulations are η = 0.1 (or r = 5 which means that the macroscopic variables are computed by averaging 2r+1 = 11 spins), ε = 0.001, τ = 5ε, and the physical parameters are β L = 1, α L = 10, D = 0.2, J ij = 1 for |i − j| ≤ 1, and J ij = 0 when |i − j| > 1, and µ = 1. The macroscopic solver uses an implicit mid-point rule with 40 time steps and the dynamics up until t = 5.2 is shown. Similar to previous examples, the Heun method is used as the microscopic solver.

4.2.4.

102Limitations of HMM. In subsection 4.2.3, the dynamics of the magnetisation was simulated until t = 5.2. Here, precisely the same example with a longer simulation time, t = 8, is considered. When t ≈ 6 the external field (4.2) oscillates around zero, see Figure 4.8d. In this regime, the system becomes dominated by the noise, as external field is too small to stabilise the system, and a large number of magnetic moments is required to capture the correct statistics, see Figure 2.1. This fact leads to a breakdown of the HMM strategy around t ≈ 6, see Figure 4.8a-c. If the number of particles in the microscopic simulations is large, the cost of the HMM will not differ from that of a full atomistic simulation. Hence, switching to the full atomistic simulations is preferable, in a short temporal regime around t ≈ 6, and once the system is stable enough, the HMM algorithm may be employed again.

Conclusions

103In this article, application of atomistic-continuum multiscale computational strategies to modelling finite-temperature magnetisation dynamics was discussed. There is a number of issues that arise due to additional noise term appearing at the atomistic scale, which takes into account non-zero temperature condition. In particular, when the ensemble average behaviour of the atomistic model (ASD) is obtained, the result cannot be accurately described using simple continuum models, as they rely on different restrictive assumptions regarding magnetisation length. This inconsistency creates problems for coupling techniques.

104Two major coupling techniques were discussed in this article: domain partitioning and upscaling via HMM. These techniques aim at modelling somewhat different cases, but the approaches are complementary to each other. Domain partitioning is suitable when the difference between spatial scales, which are relevant for modelling certain phenomena, is not large. Moreover, as it is explicitly required to use a specific continuum model at the continuum region in the case of domain partitioning, the application of this approach is limited to relatively low temperatures, since at high temperatures, non-linear dependency of the continuum parameters on magnetisation gradient, which is not taken into account in established models, plays a significant role. The selection of a continuum model for the case of domain partitioning was further discussed in Section 2.4.

105It was shown that by using a damping band it is possible to filter out some high-frequency noise at the atomistic-continuum interface. However, by design, this damping band cannot filter out low frequency waves, which originate in the atomistic region and some of which are the result of thermal fluctuations. This leads to inhomogeneous in space reduction of magnetisation length in the continuum region, when ensemble averages are calculated. Such behaviour is certainly unphysical and is the major problem for domain partitioning approach when the continuum region is dynamic. Depending on the magnitude of the temperature and timescales involved in the modelling, this artifact can be neglected, but it fully disappears only when the continuum model is quasistatic.

106Upscaling-based approaches are well-suited for problems with large separation of scales. Such a strategy is proposed under the HMM framework. A microscale model, describing the dynamics of spin magnetic moments in spatially confined regions, is used to obtain parameters needed to close an initially incomplete macroscale model. The method uses a two-way coupling between a macroscopic and a microscopic model. The macroscopic solver uses large step sizes in time and space, leading to a significant reduction of the degrees of freedom to be computed in comparison to a full atomistic spin dynamics simulation. An analysis for the computational cost is given in Remark 2 for a single spin at zero-temperature. It is shown that the HMM requires a much lower computational cost in comparison to a direct numerical simulation. Moreover, similar arguments can be safely made when interactions between the atomistic particles are present. The main computational gain comes from the fact that the atomistic model is solved only locally both in time and space, while a direct numerical simulation entails a full resolution of the microscopic scales over the entire temporal and spatial domain. The method has been observed to capture the correct magnetisation dynamics in three different examples.

107The upscaling-based approach, which is presented here, is complementary to the domain partitioning approach in the sense that the continuum model, which is required for the domain partitioning, can be obtained by the upscaling, rather than using other physically restrictive continuum models. While using such upscaling methods, the limitations should also be taken into account. For systems which are dominated by noise (weak external field and/or anisotropy), a large number of atomistic spins is required for an accurate representation of macroscopic scale quantities. This is a case, where HMM would require a computational cost similar to that of a full atomistic simulation.

6.2.

108A chain of interacting magnetic particles subjected to an external magnetic field. When a number of interacting magnetic particles m i are subjected to a uniform external field H e , the total energy 8 is given by

109In a mean-field approximation, the contributions of individual spins m i to the total energy are separated and for each m i all neighbouring moments are replaced by their statistical averages in the following way:

110Moreover, a simple case of H e = H e e z and p a = e z is usually considered, which means that all statistical averages of all spins should be aligned along e z . In this case, it is additionally assumed that the statistical averages of all the spins are equal, i.e. m z i = m z j . Using the derivation from the previous section, m z i is obtained:

참고문헌 38건

  1. NUMERICAL MICROMAGNETICS: A REVIEW SeMA Journal: Boletín de la Sociedad Española de Matemática Aplicada · 2007
  2. Stochastic ferromagnetism : analysis and numerics 2013
  3. Towards multiscale modeling of magnetic materials: Simulations of FePt Physical Review B · American Physical Society · 2008 10.1103/physrevb.77.184428
  4. A Survey on the Numerics and Computations for the Landau-Lifshitz Equation of Micromagnetism Archives of Computational Methods in Engineering · Springer Science+Business Media · 2008 10.1007/s11831-008-9021-2
  5. <i>Introduction to the Theory of Ferromagnetism</i> Physics Today · AIP Publishing · 1997 10.1063/1.881916
  6. The Heterognous Multiscale Methods Communications in Mathematical Sciences · International Press of Boston · 2003 10.4310/cms.2003.v1.n1.a8
  7. A finite-temperature dynamic coupled atomistic/discrete dislocation method Modelling and Simulation in Materials Science and Engineering · IOP Publishing · 2005 10.1088/0965-0393/13/7/007
  8. Multiscale and multimodel simulation of Bloch-point dynamics Physical Review B · American Physical Society · 2014 10.1103/physrevb.89.134403
  9. Multiscale method for Heisenberg spin simulations Physical Review B · American Physical Society · 2008 10.1103/physrevb.77.224428
  10. Thermal Fluctuations of a Single-Domain Particle Physical Review · American Institute of Physics · 1963 10.1103/physrev.130.1677
  11. Fokker-Planck and Landau-Lifshitz-Bloch equations for classical ferromagnets Physical review. B, Condensed matter · American Physical Society · 1997 10.1103/physrevb.55.3050
  12. A Guide to Monte Carlo Simulations in Statistical Physics 2014 10.1017/cbo9781139696463
  13. Multiscale modeling of magnetic materials: Temperature dependence of the exchange stiffness Physical Review B · American Physical Society · 2010 10.1103/physrevb.82.134440
  14. Exchange spring structures and coercivity reduction in FePt∕FeRh bilayers: A comparison of multiscale and micromagnetic calculations Applied Physics Letters · American Institute of Physics · 2005 10.1063/1.2051789
  15. Coarse Graining in Micromagnetics Physical Review Letters · American Physical Society · 2003 10.1103/physrevlett.90.207201
  16. Equation-Free, Coarse-Grained Multiscale Computation: Enabling Mocroscopic Simulators to Perform System-Level Analysis Communications in Mathematical Sciences · International Press of Boston · 2003 10.4310/cms.2003.v1.n4.a5
  17. Geometrical integration of Landau–Lifshitz–Gilbert equation based on the mid-point rule Journal of Computational Physics · Elsevier BV · 2005 10.1016/j.jcp.2005.04.001
  18. Atomistic spin dynamics of low-dimensional magnets Physical Review B · American Physical Society · 2013 10.1103/physrevb.87.144401
  19. Domain wall properties of FePt: From Bloch to linear walls Physical Review B · American Physical Society · 2008 10.1103/physrevb.77.094407
  20. Dynamic approach for micromagnetics close to the Curie temperature Physical Review B · American Physical Society · 2006 10.1103/physrevb.74.094436
  21. Analysis of Heterogeneous Multiscale Methods for Long Time Wave Propagation Problems Multiscale Modeling and Simulation · Society for Industrial and Applied Mathematics · 2014 10.1137/140957573
  22. A time dependent approach for removing the cell boundary error in elliptic homogenization problems Journal of Computational Physics · Elsevier BV · 2016 10.1016/j.jcp.2016.03.009
  23. Atomistic spin model simulations of magnetic nanomaterials Journal of Physics Condensed Matter · IOP Publishing · 2014 10.1088/0953-8984/26/10/103202
  24. The heterogeneous multiscale method Acta Numerica · Cambridge University Press · 2012 10.1017/s0962492912000025
  25. Micromagnetic simulation of thermally activated switching in fine particles Journal of Magnetism and Magnetic Materials · Elsevier BV · 2001 10.1016/s0304-8853(01)00032-4
  26. A unified framework and performance benchmark of fourteen multiscale atomistic/continuum coupling methods Modelling and Simulation in Materials Science and Engineering · IOP Publishing · 2009 10.1088/0965-0393/17/5/053001
  27. Closing the hierarchy for non-Markovian magnetization dynamics Physica B Condensed Matter · Elsevier BV · 2015 10.1016/j.physb.2015.10.012
  28. Temporal upscaling in micro magnetism via heterogeneous multiscale methods arXiv (Cornell University) · Cornell University · 2016
  29. Multiscale model approach for magnetization dynamics simulations Physical review. B./Physical review. B · American Physical Society · 2016 10.1103/physrevb.94.184415
  30. Scale Transitions in Magnetisation Dynamics Communications in Computational Physics · Cambridge University Press · 2016 10.4208/cicp.120615.090516a
  31. A Guide to Monte Carlo Simulations in Statistical Physics 2009 10.1017/cbo9780511994944
  32. Coupling atomistic and continuum modelling of magnetism Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2017 10.1016/j.cma.2017.10.010
  33. Atomistic Spin Dynamics: Foundations and Applications 2017
  34. Thermal Fluctuations of a Single-Domain Particle Physical Review D · American Physical Society · 1963
  35. Introduction to the Theory of Ferromagnetism Oxford University Press eBooks · Oxford University Press · 2001 10.1093/oso/9780198508083.001.0001
  36. Atomistic spin model simulations of magnetic nanomaterials Journal of Physics Condensed Matter · IOP Publishing · 2014 10.1088/0953-8984/26/10/103202
  37. Stochastic Ferromagnetism De Gruyter eBooks · De Gruyter · 2013 10.1515/9783110307108
  38. Modeling Materials 2011 10.1017/cbo9781139003582