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

Asymptotically stable numerical method for multispecies momentum transfer: gas and multifluid-dust test suite and implementation in FARGO3D

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Benítez-Llambay, Pablo
  2. Krapp, Leonardo
  3. Pessah, Martin E.
DOI
10.48550/arxiv.1811.07925
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.1811.07925
토픽
Graphene research and applications
OpenAlex ID
W6929344506

평가 내용

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

초록

We present an asymptotically and unconditionally stable numerical method to account for the momentum transfer between multiple species. Momentum is conserved to machine precision. This implies that the asymptotic equilibrium corresponds to the velocity of the center of mass. Aimed at studying dust dynamics, we implement this numerical method in the publicly available code FARGO3D. To validate our implementation, we develop a test suite for an arbitrary number of species, based on analytical or exact solutions of problems related to perfect damping, damped sound waves, shocks, local and global gas-dust radial drift in a disk and, linear streaming instability. In particular, we obtain first-order, steady-state solutions for the radial drift of multiple dust species in protoplanetary disks, in which the pressure gradient is not necessarily small. We additionally present non-linear shearing-box simulations of the streaming instability and compare them with previous results obtained with Lagrangian particles. We successfully validate our implementation by recovering the solutions from the test suite to second- and first-order accuracy in space and time, respectively. From this, we conclude that our scheme is suitable, and very robust, to study the self-consistent dynamics of several fluids. In particular, it can be used for solving the collisions between gas and dust in protoplanetary disks, with any degree of coupling.

본문 124,400자

본문 펼치기
DRAFT VERSION JUNE 11, 2019 Typeset using L <sup>A</sup> TEX twocolumn style in AASTeX62 ASYMPTOTICALLY STABLE NUMERICAL METHOD FOR MULTISPECIES MOMENTUM TRANSFER: GAS AND MULTIFLUID DUST TEST SUITE AND IMPLEMENTATION IN FARGO3D PABLO BENÍTEZ-LLAMBAY, <sup>1</sup> LEONARDO KRAPP, <sup>1</sup> AND MARTIN E. PESSAH <sup>1</sup> 1 _Niels Bohr International Academy, Niels Bohr Institute, Blegdamsvej 17, DK-2100 Copenhagen Ø, Denmark_ ABSTRACT We present an asymptotically and unconditionally stable numerical method to account for the momentum transfer between multiple species. Momentum is conserved to machine precision. This implies that the asymptotic equilibrium corresponds to the velocity of the center of mass. Aimed at studying dust dynamics, we implement this numerical method in the publicly available code FARGO3D. To validate our implementation, we develop a test suite for an arbitrary number of species, based on analytical or exact solutions of problems related to perfect damping, damped sound waves, shocks, local and global gas-dust radial drift in a disk and, linear streaming instability. In particular, we obtain first-order, steady-state solutions for the radial drift of multiple dust species in protoplanetary disks, in which the pressure gradient is not necessarily small. We additionally present non-linear shearing-box simulations of the streaming instability and compare them with previous results obtained with Lagrangian particles. We successfully validate our implementation by recovering the solutions from the test suite to second- and first-order accuracy in space and time, respectively. From this, we conclude that our scheme is suitable, and very robust, to study the self-consistent dynamics of several fluids. In particular, it can be used for solving the collisions between gas and dust in protoplanetary disks, with any degree of coupling. _Keywords:_ protoplanetary disks - hydrodynamics - circumstellar matter - planets and satellites: formation planet-disk interactions – methods: numerical 1. INTRODUCTION Protoplanetary disks (PPDs) are composed of a collection of gases and dust grains orbiting a young star. In general, the dynamics of this mixture is complex and self-consistent calculations – including the coupling between different species - are required to produce sensible models. In addition, there is little doubt that self-consistent dust evolution is necessary to correctly interpret observations of PPDs. Unperturbed gaseous disks rotate at a sub-Keplerian speed because of the pressure gradient. However, dust particles are pressureless, so they tend to move at the Keplerian speed. This miss-match between the gas and dust velocities results in a headwind that exchanges momentum and energy between the species. When considering an unperturbed disk formed by one gas and one dust species, Whipple (1972) and Weidenschilling (1977) showed that the dust species drifts inwards spiraling towards the central star. Momentum conservation makes the gas rotate slightly faster, but because the dust-to-gas mass ratio is usually small, gas dynamics is mostly unaffected. However, under some circumstances, local dust concentrations in the disk can modify the gas dynamics significantly. For example, dust can accumulate in [pbllambay@nbi.ku.dk](mailto: pbllambay@nbi.ku.dk) [krapp@nbi.ku.dk](mailto: krapp@nbi.ku.dk) vortices in transitional disks (e.g. Barge & Sommeria 1995; Lyra & Lin 2013; Zhu & Stone 2014; Ragusa et al. 2017), in lopsided disks (Baruteau & Zhu 2016) and at the edges of planet-carved gaps (e.g. Dipierro & Laibe 2017; Weber et al. 2018). Dust can also concentrate due to torques exerted by low-mass planets (e.g. Benítez-Llambay & Pessah 2018; Chen & Lin 2018). It has also been shown that dust can concentrate because of vortices induced by the self-organization due to the Hall effect in magnetized disks (e.g. Béthune et al. 2016; Krapp et al. 2018), among many others mechanisms. Because of the importance of dust dynamics in PPDs, several tools have been developed to study this problem numerically (e.g., Johansen et al. 2004; Fromang & Papaloizou 2006; Paardekooper & Mellema 2006; Youdin & Johansen 2007; Balsara et al. 2009; Bai & Stone 2010; Hanasz et al. 2010; Miniati 2010; Laibe & Price 2012; Laibe & Price 2014; Yang & Johansen 2016; Baruteau & Zhu 2016; Price et al. 2018; Riols & Lesur 2018; Chen & Lin 2018; Hutchison et al. 2018; Stoyanovskaya et al. 2018). Two different approaches are usually followed when solving the dynamics of dust embedded in a gaseous medium. Dust is usually modeled either as Lagrangian particles or as a pressureless fluid. For example, Lagrangian particles are used in the public codes PIERNIK (Hanasz et al. 2010; Dra¸zkowska et al. 2010), PENCIL Brandenburg & Dobler (2002); Yang & Johansen (2016), ATHENA (Stone et al. 2008; Bai & Stone 2010), and PHANTOM (Price et al. 2 BENÍTEZ-LLAMBAY, P., KRAPP, L. & PESSAH, M. E. 2018). A smaller number of examples can be found treating dust as a pressureless fluid, for example, PIERNIK (e.g. Kowalik et al. 2013), FARGO_THORIN (Chrenko et al. 2017) and MPI-AMRVAC (Porth et al. 2014). To our knowledge, only two implementations are able to solve the dynamics of multiple fluids: PIERNIK and MPIAMRVAC. Neither of these codes are able to exploit the computing power of Graphics Processing Units (GPUs), which have proven to be an excellent tool for solving protoplanetary disk-related problems (e.g. Fung et al. 2014; BenítezLlambay & Masset 2016). In this paper we present a numerical method to solve the momentum transfer between multiple species in a precise and stable manner. We show that the implementation of this method in the publicly available GPU code FARGO3D (Benítez-Llambay & Masset 2016) correctly describes the self-consistent dynamics of a mixture of gas and multiple pressureless dust species. The goals of this paper are, (i) to comprehensively describe the numerical method together with its most important properties, (ii) to develop a test suite for an arbitrary number of fluid species and, (iii) to validate our implementation in FARGO3D, not only by recovering the solutions of the test suite but also by studying the numerical convergence. This paper is organized as follows: in Section 2, we present and discuss the properties of the numerical method used to solve the momentum transfer between multiple species and its implementation in FARGO3D. In Section 3, we present a test suite and compare the obtained analytical or exact solutions with those resulting from our implementation. In this section, we additionally show results of the non-linear evolution of the two-fluid streaming instability. Finally, in Section 4 we discuss the main results and perspectives of this work. 2. NUMERICAL SCHEME To present our implementation, we consider a set of _N_ species in which the temperature depends on the spatial coordinates only. In this work, we furthermore neglect the possibility of mass transfer between different species, which can be important in, for instance, dust coagulation processes or chemical reactions (see Appendix A for a discussion about this implementation). We do not consider viscous or external body forces, whose implementation has been presented in Benítez-Llambay & Masset (2016). Under these assumptions, the dynamics of the system is completely described by the continuity and Euler equations for each species, which contain an additional term accounting for the momentum transfer between them (e.g. Braginskii 1965; Benilov 1997). Labeling the density and velocity by _ρ_ and v respectively, the equations describing the _N_ -species system are _<u>Dρi</u>_ _Dt_ <sup>= −</sup> <sup>_ρi∇·_</sup> <sup>v</sup> <sup>_i,_</sup> (1) with _i_ = 1 _,...,_ _N_ being an index referring to each species, _D/Dt_ = _∂/∂t_ + v _· ∇_ v is the material derivative and _Pi_ is the pressure associated to the _i_ -th species. The drag force per unit volume, F _i_, is defined as _j̸_ = _i_ _,_ (3) F _i_ = − _ρi_ _αi j_ v _i_ - v _j_ with _αi j_ the collision rate between species _i_ and _j_ . This collision rate parameterizes the momentum transfer per unit time and is, in general, a function of the physical properties of the species and their mutual relative velocity. Momentum conservation implies _ρiαi j_ = _ρ_ _jα_ _ji ._ (4) 2.1. _Implicit update_ We solve the 4 _N_ equations described by (1) and (2) in the framework of the operator splitting approximation (e.g. Hawley et al. 1984; Stone & Norman 1992). In this formalism each equation is usually split into two, (i) the transport step and (ii) the source step (see e.g. Stone & Norman 1992; Benítez-Llambay & Masset 2016). In our implementation, the collision terms are solved as a new substep within the source step (see Section 2.4 for more details). In this approximation, the additional equation that needs to be solved is <sup>1</sup> _<u>∂</u>_ <u>v</u> _<u>i</u>_ _<u>∂∂</u>_ <u>v</u> _ti_ <sup>=</sup> <sup><u>F</u></sup> _ρi_ <sup>_<u>i</u>_</sup> _ρi_ _._ (5) In FARGO3D, the source step is solved using explicit updates. However, a very restrictive stability condition appears when solving a mixture of multiple fluids explicitly (see e.g. Vorobyov et al. 2018; Stoyanovskaya et al. 2018). In this case, the time step becomes small for large collision rates. Thus, it is convenient to adopt an implicit scheme to solve Eq. (5). The most straightforward formula is obtained by expressing this equation in finite differences and evaluating the velocities on the R.H.S. in the advanced time, i.e., <u>v</u> <sup>_n_</sup> _<u>i</u>_ <sup>+1</sup> <sup>_n_</sup> _<u>i</u>_ <sup>+1</sup> <u>−</u> <u>v</u> <sup>_n_</sup> _<u>i</u>_ _αi j_ <sup>_n_</sup> _αi j_ <sup>_n_</sup> _._ (6) _<u>i</u>_ = − ∆ _t_ _j̸_ = _i_ v <sup>_n_</sup> _i_ <sup>+1</sup> <sup>_n_</sup> _i_ <sup>+1</sup> - v <sup>_n_</sup> _j_ <sup>+1</sup> _j_ Eq. (6) corresponds to a set of 3 _N_ linear algebraic equations for the unknown v <sup>_n_</sup> <sup>+1</sup> velocities, which can be written in a more convenient way as _j̸_ = _i_ _j̸_ = _i_ <sup>_n_</sup> _i_ <sup>_._</sup> (7) v <sup>_n_</sup> _i_ <sup>+1</sup>    1 + ∆ _t_ _αi j_ <sup>_n_</sup> <sup>_n_</sup> _j_ <sup>+1</sup> = v <sup>_n_</sup> _i_ _α_ <sup>_n_</sup>     - ∆ _t_ _αi j_ <sup>_n_</sup> _i j_ <sup>_n_</sup> <sup>v</sup> <sup>_n_</sup> _j_ <sup>+1</sup> A compact form of Eq. (7) is obtained by defining the column vectors V _k_ = [ v 1 _·_ e _k, ...,_ v _N ·_ e _k_ ] <sup>T</sup> _,_ (8) _<u>DDt</u>_ <u>v</u> _<u>i</u>_ <sup>= −</sup> <sup>_<u>∇</u>_</sup> _ρ_ <sup>_<u>P</u>_</sup> _i_ <sup>_<u>i</u>_</sup> + <sup><u>F</u></sup> <sup>_<u>i</u>_</sup> _ρi_ _<u>D</u>_ <u>v</u> _<u>i</u>_ 1 It is worth noticing that the method presented in this work holds in the Lagrangian formalism when, in Eq.(5), the partial time derivative is replaced by the material one. _ρi_ _,_ (2) MULTISPECIES MOMENTUM TRANSFER 3 that is, V _k_ is formed by the projection of the velocity of each species along the direction of the unit vector e _k_, with _k_ = 1 _,_ 2 _,_ 3. The superscript T stands for transpose. This makes it possible to write Eq. (7) as the matrix equation where we have used the condition (4) and replaced _i_ by _k_ in the last step. In this calculation, the densities are evaluated at time _tn_ because the collision step does not modify them. We thus conclude that, TV <sup>_n_</sup> _k_ <sup>+1</sup> <sup>_n_</sup> _k_ <sup>_,_</sup> (9) <sup>_n_</sup> _k_ <sup>+1</sup> = V <sup>_n_</sup> _k_ _i_ _ρi_ v <sup>_n_</sup> _i_ <sup>=</sup> <sup>_···_</sup> <sup>=</sup> _i_ _ρi_ v <sup>0</sup> _i_ <sup>_,_</sup> (13) _i_ _ρi_ v <sup>_n_</sup> _i_ <sup>+1</sup> = _ρi_ v <sup>_n_</sup> _i_ where T = I + ∆ _t_ M (10) is an _N × N_ matrix, I is the identity matrix, and the ( _i, j_ )element of the matrix M is implying that the implicit scheme conserves momentum to machine precision. 2.2.2. _Asymptotic stability_ The implicit scheme defined by Eq. (9) is asymptotically stable. This is, _n_ lim _→∞_ <sup>T</sup> <sup>−</sup> <sup>_n_</sup> <sup>V</sup> _k_ <sup>0</sup> <sup>−</sup> <sup>c</sup> <sup>= 0</sup> <sup>_,_</sup> (14) for some constant vector c and any vector V <sup>0</sup> _k_ <sup>.</sup> <sup>To prove this</sup> property we use that T <sup>−1</sup> is a right stochastic and strictly positive matrix (see Appendix B.3 and B.4). Hence, from the Perron-Frobenius theorem, T <sup>−1</sup> converges to a matrix with identical rows, i.e., _n_ lim _→∞_ <sup>(</sup> <sup>T</sup> <sup>−</sup> <sup>_n_</sup> <sup>)</sup> <sup>_i j_</sup> <sup>=</sup> <sup>_p j,_</sup> (15) where _p_ _j_ is the _j_ <sup>th</sup> element of a vector p . In the following, we only use that p is constant. By definition, for any direction e _k_, the implicit scheme satisfies _ij_ 1 - _δij_ _._ (11) - M _i j ≡_ _N_ _k̸_ = _i_ _αik_ <sup>_n_</sup> _ik_ <sup>_n_</sup> <sup>_δij_</sup> <sup>−</sup> <sup>_α_</sup> _ij_ <sup>_n_</sup> The first and second terms in Eq. (11) set the diagonal and non-diagonal elements of M, respectively. Because T is nonsingular (see Appendix B.1), the solution of Eq. (9) exists. Stone (1997) showed a simple solution of Eq. (9) for two species. However, the complexity of these solutions rapidly increases with _N_, making them impractical. In this paper we solve Eq. (9) numerically by means of Gaussian elimination with partial pivoting (see e.g. Press et al. 2007, Chapter 2). 2.2. _Properties of the implicit scheme_ Two important properties of the method arise from Eq. (9). These are momentum conservation to machine precision and asymptotic stability for any ∆ _t_ . 2.2.1. _Momentum conservation to machine precision_ The implicit scheme, defined by Eq. (9), conserves total momentum to machine precision. This property can be demonstrated by comparing the momentum before and after the application of the operator T . We first calculate the momentum of the system at time _tn_, and write the old velocities in terms of the new ones via Eq. (9). Defining _ai j_ = ∆ _tαij_ <sup>_n_</sup> <sup>, it follows that</sup> <sup>_n_</sup> _k_ <sup>+1</sup> = T <sup>−1</sup> V <sup>_n_</sup> _k_ _k_ <sup>0</sup> <sup>_._</sup> (16) V <sup>_n_</sup> _k_ <sup>+1</sup> <sup>_n_</sup> _k_ <sup>=</sup> <sup>_···_</sup> <sup>=</sup> <sup>T</sup> <sup>−(</sup> <sup>_n_</sup> <sup>+1)</sup> <sup>V</sup> _k_ <sup>0</sup> It then follows that the asymptotic limit is lim _k_ _n→∞_ <sup>V</sup> <sup>_n_</sup> <sup>+1</sup> _n_ lim _→∞_ <sup>T</sup> <sup>−(</sup> <sup>_n_</sup> <sup>+1)</sup> <sup>V</sup> _k_ <sup>0</sup> _k_ = lim <sup>_n_</sup> <sup>+1</sup> _n→∞_ _k_ <sup>0</sup> <sup>_≡_</sup> <sup>_V_</sup> <sup>c</sup> <sup>_,k_</sup> <sup>1</sup> <sup>T</sup> <sup>_._</sup> (17) where 1 <sup>T</sup> is a vector whose elements are all equal to one and _V_ c _,k_ = p _·_ V <sup>0</sup> _k_ <sup>.</sup> <sup>Since momentum is conserved, it follows that</sup> _N_ _j_ =1 _ρ jVjk_ <sup>0</sup> <sup>_,_</sup> (18) _V_ c _,k_ _N_ _j_ =1 _ρ j_ = _i_ _ρi_ v <sup>_n_</sup> _i_ _ρi_ v <sup>_n_</sup> _i_ _i_ from which we prove that the asymptotic limit (17) corresponds to the velocity of the center of mass, _V_ CM _,k_, defined as _i_ _j_ _j_ _j_ _j_    1 + _j_   v <sup>_n_</sup> <sup>+1</sup> _j_     _aik_ = = = = = _ρi_ _ρ j_ v <sup>_n_</sup> _j_ <sup>+1</sup> <sup>_n_</sup> _j_ <sup>+1</sup> _,_ (12)     _δij_ - _aij_ _j_ _<u>j</u>_ <u>=1</u> <sup>_ρ jV_</sup> <sup>0</sup> _<u>jk</u>_ <u>�</u> _N_ _j_ =1 <sup>_ρ j_</sup> ~~�~~ _N_ _<u>jk</u>_ _N_ _j_ =1 <sup>_ρ j_</sup> ~~�~~ numerical _N_ _._ (19) _i_ _V_ CM _,k_ = _k̸_ = _i_ _k̸_ = _i_ _k̸_ = _i_ 1 - _δij_  -      _δij_ - _aij_ _i_ _k̸_ = _i_ _i̸_ = _j_ 1 - _δi j_  -  Thus, we conclude that the numerical method converges asymptotically to the velocity of the center of mass, and this is independent of the choice of ∆ _t_ . Now, we address the problem of the stability and convergence for any sufficiently large time step, that is v <sup>_n_</sup> _j_ <sup>+1</sup> v <sup>_n_</sup> _j_ <sup>+1</sup> _ρi_     _̸_    1 + _aik_ _i_     _̸_     _ρ j_ + _ρ j_ v <sup>_n_</sup> _j_ <sup>+1</sup> v <sup>_n_</sup> _j_ <sup>+1</sup> _a jk_ _<u>ρ j</u>_ _ρi_ _a ji_ _ρi_     _i̸_ = _j_ _k̸_ = _i_ _k̸_ = _i_ _k̸_ = _i_   _k̸_ = _i_ v <sup>_n_</sup> _j_ <sup>+1</sup> _ρ j_ v <sup>_n_</sup> _j_ <sup>+1</sup>    1 + _a_ _jk_ - _a_ _jk_ _j_ ∆lim _t→∞_ <sup>T</sup> <sup>−1</sup> <sup>V</sup> _k_ <sup>_n_</sup> <sup>−</sup> <sup>d</sup> <sup>= 0</sup> <sup>_,_</sup> (20) for some constant vector d and any vector V <sup>_n_</sup> _k_ <sup>.</sup> <sup>In Appendix</sup> B.2, we show that T <sup>−1</sup> is diagonalizable, with diagonal form <u>1</u> Λ _i j_ = _δi j,_ (21) 1 + ∆ _tλMi_ _j_ 4 BENÍTEZ-LLAMBAY, P., KRAPP, L. & PESSAH, M. E. where _λMi_ are the eigenvalues of M, with _λM j_ = 0 for some _j_ . Because T <sup>−1</sup> is right stochastic, _λM j_ = 0 has algebraic multiplicity equal to one. Thus, for any sufficiently large time step, all the entries of Λ approach zero, except Λ _j j_ = 1. Then, Eq. (9) can be decoupled, and adopts the form V ˆ <sup>_n_</sup> _k_ <sup>+1</sup> <sup>_n_</sup> _k_ <sup>+1</sup> = Λ V <sup>ˆ</sup> <sup>_n_</sup> _k_ <sup>_n_</sup> _k_ <sup>_,_</sup> (22) Standard flow V <sup>n+1/2</sup> ? Collisions/2 Yes V <sup>n</sup> No where V <sup>ˆ</sup> _k_ = P <sup>−1</sup> V _k_, with P the matrix whose columns are the eigenvectors of T <sup>−1</sup> . In the limit of large ∆ _t_, Eq. (22) reads V ˆ _k_ _i_ - _n_ +1 lim ∆ _t→∞_ = _V_ <sup>ˆ</sup> _j_ <sup>_n_</sup> _,k_ _i_ _j_ <sup>_n_</sup> _,k_ <sup>_δij_</sup> <sup>_._</sup> (23) Because we set Λ _j j_ = 1 and T <sup>−1</sup> is right stochastic, all the entries of the column P _j_ are equals to one, that is, P _j_ = 1 <sup>T</sup> . We thus obtain V <sup>n+1/2</sup> V <sup>n</sup> Sources VS Collisions VC Transport V <sup>n+1</sup> Figure 1. Flowchart of our implementation. During a generic time step ∆ _t_, depending on whether the predictor step is required, we call the collision routine using a time step ∆ _t/_ 2, and obtain a partially updated velocity _V_ <sup>_n_</sup> <sup>+1</sup> <sup>_/_</sup> <sup>2</sup> . We then update the velocities by sources and use the output, _V_ S as input for the collision step. After this, we use the updated velocities, _V_ C, as input for the transport step, from which we obtain the updated velocity, _V_ <sup>_n_</sup> <sup>+1</sup> . The flow then returns to the standard flow, from which a full update has been performed. we consider the Stokes number to be constant. Nevertheless, our implementation remains valid when the Stokes number is allowed to vary in space. One example of this is when the dust is characterized by its particle size (see e.g. Weber et al. 2018). The more general case of a Stokes number depending on the relative velocity is presented in Appendix C. 2.4. _Implementation in FARGO3D_ We now describe the implementation of the implicit scheme in the code FARGO3D. We first note that the collision term, described by Eq. (5), is decoupled from the source and transport substeps. Thus, we evolve every species according to the same algorithms described in BenítezLlambay & Masset (2016). The implicit scheme for solving the collision term involves an extra substep, in which the velocity of each species is partially updated according to the Eq. (9). There are three different options to place this additional partial update: (i) before the source step, (ii) after the source step and before the transport step or, (iii) after the transport step. Options (i) and (iii) are equivalent after the first time step, which we discard because the dust species do not reach the asymptotic limit in the presence of additional forces. In this case the relative <sup>_n_</sup> _j,k_ <sup>1</sup> <sup>T</sup> <sup>_,_</sup> (24) lim _k_ ∆ _t→∞_ <sup>V</sup> <sup>_n_</sup> <sup>+1</sup> lim _k_ ∆ _t→∞_ <sup>PV</sup> <sup>ˆ</sup> <sup>_n_</sup> <sup>+1</sup> _k_ = lim <sup>_n_</sup> <sup>+1</sup> ∆ _t_ _k_ <sup>_n_</sup> <sup>+1</sup> = _V_ <sup>ˆ</sup> _j_ <sup>_n_</sup> _,_ _j_ <sup>_n_</sup> _,k_ <sup>P</sup> <sup>_j_</sup> <sup>=</sup> <sup>_V_</sup> <sup>ˆ</sup> <sup>_n_</sup> _j,_ which is equivalent to Eq. (17). Eqs. (17) and (24) allow us to conclude _n_ lim _→∞_ <sup>T</sup> <sup>−</sup> <sup>_n_</sup> <sup>V</sup> _k_ <sup>0</sup> ∆ <sup>lim</sup> _t→∞_ <sup>T</sup> <sup>−1</sup> <sup>V</sup> _k_ <sup>_n_</sup> _k_ <sup>0</sup> <sup>=</sup> ∆ <sup>lim</sup> _t_ _k_ <sup>_n_</sup> <sup>=</sup> <sup>_V_</sup> <sup>CM</sup> <sup>1</sup> <sup>T</sup> <sup>_,_</sup> (25) and the implicit scheme is thus asymptotically and unconditionally stable. 2.3. _Dust as a pressureless fluid_ In the case of a system composed of gas and several dust species, dust can be modeled as a pressureless fluid. It is clear that this approximation fails in describing the dynamics of systems dominated by crossing trajectories, a regime prone to develop when gas and dust species are coupled very weakly. In our implementation, we neglect collisions between dust species and consider only the interaction between the gas and dust fluids. Thus, dust species interact indirectly between them via their coupling with the gas. Referring to the gas species by the index g, after using the condition (4), the collision rate can be written as _αij ≡_ _αiδ j_ g + _ϵ_ _jα_ _jδ_ g _i,_ (26) with _ϵ_ _j_ = _ρ j/ρ_ g and _δi_ g the Kronecker delta. In the context of PPDs, the collision rate is usually parameterized via the so-called Stokes number, _T_ s. It is a dimensionless parameter that characterizes the collision rate in units of the local Keplerian frequency, ΩK, such that _αi ≡_ <sup><u>ΩK</u></sup> _T_ s _i_ _._ (27) The Stokes number depends on the properties of the gas, the dust-grains and their relative velocity (see e.g. Safronov 1972; Whipple 1972). For simplicity, in this paper, we assume that the Stokes number does not depend on the velocity of the fluid, which has been referred in the past as the linear drag regime (see Laibe & Price 2011). In what follows, MULTISPECIES MOMENTUM TRANSFER 5 velocity between the dust and gas asymptotes to its terminal velocity, where the additional forces are in balance with the drag forces. Since in options (i) and (iii) the drag forces are computed in the absence of additional forces, they cannot correctly reproduce this limit (Booth et al. 2015). Option (ii) reproduces this limit because evaluating the collision term after the source term is equivalent to a solution treating both terms together. While not strictly necessary, the coupling between the source and collision steps can be improved by adding a predictor step before the source step. The source step consists of a partial update of the form: _<u>∂</u>_ <u>v</u> _∂t_ <sup>=</sup> <sup>_S_</sup> <sup>(</sup> <sup>v</sup> <sup>)</sup> <sup>_,_</sup> (28) where _S_ are sources that depend on the velocities. In finite differences, the previous equation reads: v <sup>_n_</sup> <sup>+1</sup> = v <sup>_n_</sup> + ∆ _tS_ ( v <sup>_∗_</sup> ) _._ (29) In the standard implementation, we assume v <sup>_∗_</sup> = v <sup>_n_</sup> . However, we can improve the coupling between collision and source steps by setting v <sup>_∗_</sup> = v <sup>_n_</sup> <sup>+1</sup> <sup>_/_</sup> <sup>2</sup>, i.e., by estimating an advanced velocity from the collision step with a time step ∆ _t/_ 2. We then compute the source step using a full time step and finally calculate the collision step with a full time step. In this paper, we always use the predictor step when the source terms depend on the velocities. For completeness, in Fig. 1 we present a flowchart of our implementation. During a generic time step, depending on whether the predictor step is required, we call the collision routine using a time step ∆ _t/_ 2 and obtain a partially updated velocity. We then update the velocities of all the species by the standard source terms and use the updated velocities as input for the collision step. During this step we solve Eq. (9) and then use the updated velocities as input for the transport step. After the transport step, a full update has been performed. 3. NUMERICAL TESTS In this section, we present a test suite considering multiple dust species. We use these tests to validate the accuracy, convergence properties and robustness of the method and implementation described in Section 2. In all the following tests, the numerical solutions were obtained using a CourantFriedrichs-Lewy (CFL) factor of 0.44 (Benítez-Llambay & Masset 2016), unless a different value is specified. 3.1. _Time evolution of a set of colliding species_ When a set of _N_ species evolves under the sole effect of the collision term, simple asymptotically convergent analytical solutions can be found. This simple test problem validates the correct implementation of the matrix solver and, at the same time, illustrates the two properties described in the previous section. As a first step, we show the steady-state solution of the problem, which gives insight into the fundamental property of the physical system, that is, the convergence of all the velocities towards the velocity of the center of mass. In Section 2.2.2, we have already shown that the implicit scheme satisfies this condition. The steady-state momentum equation for a set of _N_ species when considering only the drag force, reduces to the matrix equation MV _k_ = 0 _._ (30) Because the matrix M, defined by Eq. (11), is singular (see Appendix B.1), the system (30) admits a non-trivial solution. By direct calculation it can be shown that the ( _i, j_ )-element of the echelon form of M is _EM,i j_ = _δi j_ - _δ jN,_ (31) This observation, combined with momentum conservation, allows us to conclude that _V_ 1 _k_ = _···_ = _VNk_ = _V_ CM _,k,_ (32) where _V_ CM _,k_ is the velocity of the center of mass, given by Eq. (19). 3.1.1. _Evolution towards steady-state_ We are not only interested in the steady-state solution of the system but also in the time evolution towards this asymptotic steady-state. The problem is equally described for any component of the velocity, so it is effectively a collection of 1D problems. Hence we omit the subscript _k_ . The temporal evolution of the system is described by the solution of _<u>∂</u>_ <u>V</u> _∂t_ <sup>+</sup> <sup>MV</sup> <sup>= 0</sup> <sup>_._</sup> (33) Without loss of generality, by expressing the solution of (33) _j_ <sup>V</sup> <sup>˜</sup> <sup>_je_</sup> <sup>−</sup> <sup>_λ_</sup> <sup>_jt_</sup> <sup>,</sup> <sup>we</sup> <sup>reduce</sup> <sup>Eq. (33)</sup> <sup>to</sup> <sup>the</sup> <sup>eigenvalue</sup> problem as V ( _t_ ) = <sup>�</sup> MV <sup>˜</sup> _j_ = _λ j_ V <sup>˜</sup> _j ._ (34) _j_ <sup>V</sup> <sup>˜</sup> <sup>_je_</sup> <sup>−</sup> <sup>_λ_</sup> <sup>_jt_</sup> <sup>,</sup> <sup>we</sup> <sup>reduce</sup> <sup>Eq. (33)</sup> <sup>to</sup> <sup>the</sup> <sup>eigenvalue</sup> problem MV <sup>˜</sup> _j_ = _λ j_ V <sup>˜</sup> _j ._ (34) For simplicity, we define the collision rate _αi j ≡_ _α_ 0 for _i >_ _j_ and _αi j_ = _ρ j/ρiα_ 0 for _i <_ _j_, such that condition (4) is satisfied. Defining the function _ζ_ _j_ = _N_ _m_ = _j_ +1 _ρm,_ (35) the eigenvalues of M adopt the expression _λ j<N_ = _α_ 0 _j_ + <sup>_<u>ζ</u>_</sup> <sup>_<u>j</u>_</sup> _ρ j_ _λN_ = 0 _,_ with associated eigenvectors _,_ V ˜ _j<N_ = e _j_ - <sup><u>1</u></sup> _ζ_ _j_ _N_ −1 _m_ = _j_ +1 _ρm_ −1 e _m,_ (36) (37) V ˜ _N_ = _N_ _k_ =1 e _k ._ 6 BENÍTEZ-LLAMBAY, P., KRAPP, L. & PESSAH, M. E. 2 species 2 _._ 5 2 _._ 0 1 _._ 5 1 _._ 0 0 _._ 5 0 1 2 3 4 5 6 7 8 3 species 3 _._ 0 2 _._ 5 2 _._ 0 1 _._ 5 1 _._ 0 0 1 2 3 4 5 6 7 8 _−_ 1 _−_ 2 _−_ 3 _−_ 4 Convergence Slope = 1 _._ 0 10 <sup>_−_</sup> <sup>2</sup> 10 <sup>_−_</sup> <sup>1</sup> ∆ _t_ 6 species 0 1 2 3 4 5 0 1 2 3 4 5 Time _−_ 2 _−_ 4 _−_ 1 _−_ 2 _−_ 3 _−_ 4 _−_ 5 0 1 2 3 4 5 6 7 8 Time 0 1 2 3 4 5 6 7 8 Time _−_ 5 2 0 _−_ 2 _−_ 4 _−_ 1 _−_ 2 _−_ 3 _−_ 4 _−_ 5 Figure 2. Upper panels: Time evolution of the velocity for the various configurations described in Table 1. From left to right, we plot the evolution of two, three, and six species. The solid lines correspond to the analytical solution, given by Eq. (38). The open circles were obtained with our implementation, for which each color represents a different species. In all the panels, the velocities converge to the velocity of the center of mass of the system. Lower panels: Time evolution of the relative error between the numerical and the analytical solutions. The color code is the same one for the upper and lower panels. The time evolution of the velocities and errors are shown for the run with ∆ _t_ = 0 _._ 1. In the rightmost panel, we plot, for the case with six species, the error (see Eq. (40)) as a function of the time step ∆ _t_, for five different time steps. Thus, the solution reads (38) (39) _v_ _j<N_ ( _t_ ) = − _vN_ ( _t_ ) = − _j_ −1 _k_ =1 _k_ =1 _N_ −1 _k_ =1 _<u>ρkck</u>_ _ζk_ _<u>ρkck</u>_ _ζk_ _e_ <sup>−</sup> <sup>_λkt_</sup> + _c_ _je_ <sup>−</sup> <sup>_λ_</sup> <sup>_jt_</sup> + _cN,_ _e_ <sup>−</sup> <sup>_λkt_</sup> + _cN,_ panel corresponds to the different configurations listed in Table 1. In the lower panels of Fig. 2, we present the relative error of the velocity for all the species, for each of the three cases. The time evolution of the error shows the asymptotic Table 1. Initial density, velocity, eigenvalues and coefficients needed to compute the solution (38). In all the cases we set _α_ 0 = 10 <sup>−1</sup> . _<u>j</u>_ _<u>ρ</u>_ _j_ _<u>v</u>_ <sup>0</sup> _<u>j</u>_ _<u>λ</u>_ _j_ _<u>c</u>_ _j_ Two fluids 1 0.2 1.0 0.6000000 -0.8300000 <u>2</u> <u>1.0</u> <u>2.0</u> <u>0.0000000</u> <u>1.8333333</u> Three fluids 1 0.2 1.0 1.5000000 -1.5333333 2 1.0 2.0 0.3800000 -0.6428571 <u>3</u> <u>1.8</u> <u>3.0</u> <u>0.0000000</u> <u>2.5333333</u> Six fluids 1 1.0 -1.0 1.3500000 -0.1925926 2 1.5 2.0 0.9333333 2.7920000 3 2.0 3.1 0.7500000 4.2727273 4 2.5 -2.5 0.6600000 -0.3777778 5 3.0 0.5 0.6166667 2.4769231 <u>6</u> <u>3.5</u> <u>-4.1</u> <u>0.0000000</u> <u>-0.8074074</u> _k_ =1 where the coefficients _c_ _j_ are _c_ _j<N_ = _v_ <sup>0</sup> _j_ <sup>−</sup> <sup>_V_</sup> <sup>CM</sup> <sup>+</sup> _cN_ = _V_ CM _._ _j_ −1 _k_ =1 _<u>ρkck</u>_ _ζk_ _,_ 3.1.2. _Numerical solution_ We compare the analytical solution found in the Sec 3.1.1 with that obtained by solving the problem using the implicit scheme. We study the problem with two, three, and six different species. In order to do this, we set the initial condition on a 1D grid with 16 evenly distributed cells, over a periodic domain. We note, however, that this choice is arbitrary and, in practice, irrelevant. This is because the solution does not depend on spatial coordinates. The initial density, velocity, eigenvalues, and coefficients needed to compute both the numerical and analytical solutions for each run are summarized in Table 1. In all the cases, we set the collision rate _α_ 0 = 10 <sup>−1</sup> . In the first three panels of Fig. 2 (from left to right) we plot, for all the species, the time evolution of the velocities. Each MULTISPECIES MOMENTUM TRANSFER 7 Figure 3. Numerical (open circles) and analytical (solid lines) solutions of the test described in Section 3.2 for the configurations listed in Table 2. We plot the time evolution of the normalized velocity (upper panels) and density (lower panels). The results for one and four dust species are shown in the left and right panels, respectively. The blue circles correspond to the gas, while the other colors correspond to the dust species. All the solutions were obtained at _x_ = 0. The normalized density and velocity are defined as _δρ_ ˆ _/_ ( _Aρ_ <sup>0</sup> ) and _δv_ ˆ _/_ ( _Ac_ s), respectively, with _A_ = 10 <sup>−4</sup> . convergence demonstrated in Section 2. Independently of the number of species, there is an excellent agreement between the analytical and numerical solutions. 3.1.3. _Convergence with time step_ We additionally check, for the case of six fluids, the expected first-order convergence rate in time of the implicit scheme. For this test, we performed five identical runs, in which we progressively decreased the time step by factors of 2, starting with ∆ _t_ = 0 _._ 1. In the rightmost panel of Fig. 2, we plot the error as a function of the time step, defined as 1 _/_ 2 _,_ (40)   error(∆ _t_ ) =     _N_ _j_ =1 _⟨v_ <sup>∆</sup> _j_ <sup>_t_</sup> <sup>∆</sup> _j_ <sup>_t_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>−</sup> <sup>_v j_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_⟩_</sup> <sup>2</sup> 3.2. _Damping of a sound wave_ Sound waves are a natural outcome of the fluid equations when pressure perturbations are considered. Dust fluids, however, cannot support sound waves. In systems composed of gas and dust species, sound waves can propagate - supported by the gas component – but their properties are modified due to the coupling to the gas. Solutions for the case of one gas and one dust species were found by Laibe & Price (2012), who show that sound waves are damped by the effect of the mutual collision. Solving this problem is relevant since it provides a direct - and perhaps the simplest – way to test the coupling between the implicit solver and the transport and source steps. In this paper, we derive the dispersion relation for the general problem of one gas and _N_ - 1 dust species which, together with the general expression for the eigenvectors, allow us to find the full solution to the problem. _j_ =1 where _⟨⟩_ denotes the time-average. As expected, the convergence is consistent with a first-order method, i.e., linear convergence with a slope equal to one. 8 BENÍTEZ-LLAMBAY, P., KRAPP, L. & PESSAH, M. E. 3.2.1. _Dispersion relation and eigenvectors_ We now derive the dispersion relation for the case of one gas and _N_ - 1 dust species and find the general eigenvectors of the problem. For that, we assume that the gas pressure is given by _P_ = _c_ <sup>2</sup> s <sup>_ρ_</sup> <sup>g, with a constant sound speed,</sup> <sup>_c_</sup> <sup>s, and define</sup> the collision rate between the gas and dust species following Eq. (26), with _α_ _j_ = _t_ s <sup>−</sup> _j_ <sup>1, where</sup> <sup>_t_</sup> <sup>s</sup> <sup>_j_</sup> <sup>is the stopping time.</sup> Assuming solutions of the form _ρ j_ = _ρ_ <sup>0</sup> _j_ <sup>+</sup> <sup>_δρ j_</sup> <sup>and</sup> <sup>_v_</sup> <sup>_j_</sup> <sup>=</sup> <sup>_δv j_</sup> <sup>,</sup> with _ρ_ <sup>0</sup> _j_ <sup>constant,</sup> <sup>and</sup> <sup>neglecting</sup> <sup>quadratic</sup> <sup>terms</sup> <sup>in</sup> <sup>the</sup> <sup>per-</sup> turbations, the continuity and momentum equations for the gas and dust species become 3.2.2. _Numerical solution_ We obtain numerical solutions for the oscillatory damped modes. From the two possible oscillatory modes, we choose only one because the other is the complex conjugate, producing the same solution but propagating in the opposite direction. We do not consider the solutions that correspond to perfect damping because they behave as those studied in Section 3.1. We study the cases of one gas fluid combined with one and four dust species, respectively. As initial condition we set a zero background velocity, constant background density, _ρ_ <sup>0</sup> _j_ <sup>,</sup> and perturbations, _δ f_, of the form _δ_ _f_ <sup>ˆ</sup> cos( _kx_ ) - Im _δ_ _f_ <sup>ˆ</sup> sin( _kx_ ) _,_ (49) _<u>∂δρ</u>_ <u>g</u> _∂t_ + _ρ_ <sup>0</sup> g _<u>∂δρ j</u>_ _∂t_ + _ρ_ <sup>0</sup> _j_ Re g _<u>∂δv</u>_ <u>g</u> _∂x_ <sup>= 0</sup> <sup>_,_</sup> (41) _δ f_ = _A_ _<u>∂δρ j</u>_ where _A_ is a small amplitude needed to ensure linearity. We set its value to 10 <sup>−4</sup> _c_ s and 10 <sup>−4</sup> _ρ_ <sup>0</sup> g <sup>for</sup> <sup>the</sup> <sup>velocity</sup> <sup>and</sup> <sup>den-</sup> _j_ _<u>∂δv j</u>_ _∂x_ <sup>= 0</sup> <sup>_,_</sup> (42) _<u>∂δv</u>_ _<u>j</u>_ _<u>∂δv</u>_ _<u>j</u>_ + <sup><u>1</u></sup> _∂t_ _t_ s _j_ <u>s</u> ( _δv_ g − _δvm_ ) + <sup>_<u>c</u>_</sup> <sup>2</sup> _ρ_ <sup>0</sup> g _<u>∂δv</u>_ <u>g</u> + _∂t_ _N_ −1 _m_ =1 _<u>ϵ</u>_ <sup>0</sup> _<u>m</u>_ _t_ s _m_ _<u>∂δρ</u>_ <u>g</u> = 0 _,_ (43) _∂x_ ( _δv j_ - _δv_ g) = 0 _,_ (44) _t_ s _j_ where _j_ = 1 _,...,_ _N_ - 1 is the index of the dust species. We first note that the momentum equation is decoupled from the continuity equation for dust species, so the order of the problem is effectively reduced from 2 _N_ to _N_ + 1. Without loss of generality, we write any perturbation _δ f_ as _δ f_ = _δ_ _fe_ <sup>ˆ</sup> <sup>_ikx_</sup> <sup>−</sup> <sup>_ωt_</sup>, with _k_ a real wavenumber. Thus, from Eqs. (41)(44), we obtain the dispersion relation _F_ ( _ω,ω_ s) _≡_ _ω_ <sup>2</sup> 1 + _N_ −1 _m_ =1 _<u>ϵm</u>_ 1 - _ωt_ s _m_ + _ω_ s <sup>2</sup> <sup>= 0</sup> <sup>_,_</sup> (45) with _ω_ s = _kc_ s. The singular values _ωm_ = _t_ s <sup>−</sup> _m_ <sup>1</sup> <sup>correspond</sup> <sup>to</sup> _δv_ g = 0, _δρ_ g = 0, so are not considered. Finally, the components of the associated eigenvectors are _<u>δv</u>_ <u>ˆg</u> _c_ s _<u>δv</u>_ <u>ˆ</u> _<u>j</u>_ _c_ s _<u>δρ</u>_ <u>ˆ</u> _<u>j</u>_ _ρ_ <sup>0</sup> _j_ = − _i_ <sup>_<u>ω</u>_</sup> _ω_ s _<u>δρ</u>_ <u>ˆg</u> _ρ_ <sup>0</sup> g _,_ (46) = − _i_ <sup>_<u>ω</u>_</sup> _ω_ s <u>1</u> (1 - _ωt_ s _j_ ) _<u>δρ</u>_ <u>ˆg</u> _ρ_ <sup>0</sup> g _,_ (47) set its value to 10 <sup>−4</sup> _c_ s and 10 <sup>−4</sup> _ρ_ <sup>0</sup> g <sup>for</sup> <sup>the</sup> <sup>velocity</sup> <sup>and</sup> <sup>den-</sup> sity perturbations, respectively. We adopt _c_ s = 1. The background densities, perturbation amplitudes, stopping times, and complex eigenvalue for each case are listed in Table 2. We consider a domain of size _L_ = 1, with spatial coordinate _x ∈_ [0 _,_ _L_ ], split into 10 <sup>3</sup> evenly spaced grid cells. We consider the wavenumber _k_ = 2 _π/L_ and set periodic boundary conditions. In Fig. 3, we plot, for the two configurations considered, the analytical (solid lines) and numerical (open circles) solutions, measured at _x_ = 0. The solution corresponding to each species is plotted with a different color. The first column shows the solution obtained for one gas and one dust species, while the second one shows the same for the case of five, one gas and four dust, species. In the upper and lower panels we plot the normalized velocity, defined as _δv_ ˆ _/_ ( _c_ s _A_ ) and the normalized density, defined as _δρ/_ ˆ ( _ρA_ ), respectively. From Fig. 3, it is clear that the analytical solution is successfully recovered by our implementation. This test validates the coupling of the drag force in combination with the source and transport steps for a wide range fo stopping times. To study the coupling of the implicit scheme with the transport and source steps in a more challenging situation, we study the damping of a sound wave for a range of stopping times 10 <sup>−4</sup> _≤_ _t_ s _≤_ 10 and a fixed time step, such that we test both stiff and non-stiff regimes for the collisions. We consider the two-fluid problem described in Table 2, for different stopping times. We use a domain of size _L_ = 1 and 32 cells, which sets a time step ∆ _t_ = 1 _._ 375 _×_ 10 <sup>−2</sup>, given by the standard CFL condition of FARGO3D. For stopping times smaller than the time step the regime becomes more and more stiff. Note that, because of the CFL condition, the degree of stiffness depends on the resolution. We integrate the system until it reaches a final time _t_ = 10. We measure the damping rate, Re( _ω_ ), and the oscillatory frequency, Im( _ω_ ) by fitting the numerical solutions. In the upper and lower panels of Fig. 4, we show the analytical frequency and damping rate, respectively, together with the measurements from our simulations. Since the error of the implicit scheme converges to zero asymptotically with ∆ _t_ (see Section 2), for a fixed time step, <u>1</u> = 1 - _ωt_ s _j_ _<u>δρ</u>_ <u>ˆg</u> _,_ (48) _ρ_ <sup>0</sup> g for any _δρ_ ˆg, which completes the solution of the problem. Eq. (45) can be written as a polynomial equation of degree _N_ + 1. In Appendix D we show that at least _N_ - 1 roots of (45) are real and positive and are thus associated with pure damping. We furthermore identify the intervals in which they can be found. This allows a simple bisection algorithm to be used to find them. We additionally explain how to use Vieta’s formulae to find the final two roots which are, in general, complex. These two complex roots are the most interesting ones since they describe the propagation of damped sound waves. _−_ 3 _−_ 4 _−_ 5 _−_ 6 MULTISPECIES MOMENTUM TRANSFER 9 Table 2. Initial conditions for the damping of the sound wave test. <u>j</u> _<u>ρ</u>_ _j_ _<u>δρ</u>_ <u>ˆ</u> _j_ _<u>δv</u>_ <u>ˆ</u> _j_ _<u>t</u>_ s _j_ _<u>ω</u>_ Two species g 1.000000 1.000000 −0 _._ 701960 - 0 _._ 304924 _i_ - 1 _._ 915896 - 4 _._ 410541 _i_ <u>1</u> <u>2.240000</u> <u>0</u> _<u>.</u>_ <u>165251</u> <u>−</u> <u>1</u> _<u>.</u>_ <u>247801</u> _<u>i</u>_ <u>−0</u> _<u>.</u>_ <u>221645</u> <u>+</u> <u>0</u> _<u>.</u>_ <u>368534</u> _<u>i</u>_ <u>0.4</u> Five species g 1.000000 1.000000 −0 _._ 874365 - 0 _._ 145215 _i_ - 0 _._ 912414 - 5 _._ 493800 _i_ 1 0.100000 0 _._ 080588 - 0 _._ 048719 _i_ −0 _._ 775380 + 0 _._ 308952 _i_ 0.100000 2 0.233333 0 _._ 091607 - 0 _._ 134955 _i_ −0 _._ 427268 + 0 _._ 448704 _i_ 0.215443 3 0.366667 0 _._ 030927 - 0 _._ 136799 _i_ −0 _._ 127928 + 0 _._ 313967 _i_ 0.464159 <u>4</u> <u>0.500000</u> <u>0</u> _<u>.</u>_ <u>001451</u> <u>−</u> <u>0</u> _<u>.</u>_ <u>090989</u> _<u>i</u>_ <u>−0</u> _<u>.</u>_ <u>028963</u> <u>+</u> <u>0</u> _<u>.</u>_ <u>158693</u> _<u>i</u>_ <u>1.000000</u> paper, we extend one of those solutions to consider an arbitrary number of dust species, which provides a simple and effective way to test the response of the dust species under the presence of a shock in the gas component. This generalization allows us to test the collision module in combination with the hydro solver in a challenging regime, in which a steady-state solution must be achieved but is not, in principle, numerically guaranteed. Additionally, this test problem allows us to measure how many cells the shock spreads over in the multiple species configuration. _−_ 7 10 <sup>_−_</sup> <sup>4</sup> 10 <sup>_−_</sup> <sup>3</sup> 10 <sup>_−_</sup> <sup>2</sup> 10 <sup>_−_</sup> <sup>1</sup> 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>0</sup> 10 <sup>_−_</sup> <sup>1</sup> 10 <sup>_−_</sup> <sup>2</sup> 10 <sup>_−_</sup> <sup>3</sup> _<u>∂</u>_ _∂x_ <sup>(</sup> <sup>_ρivi_</sup> <sup>) = 0</sup> <sup>_,_</sup> (51) 3.3.1. _Generalized shock solution for gas and N-dust species_ The shock solution is obtained after solving the steadystate continuity and momentum equations for the gas and _N_ dust species: _ρ_ g _v_ g _<u>∂</u>_ <u>�</u> = 0 _,_ (50) _<u>∂</u>_ _∂x_ _N_ _i_ =1 _,_ (52) _v_ <sup>2</sup> g <u>�</u> _<u>∂</u>_ _∂x_ _ρiv_ <sup>2</sup> _i_ _ρ_ g _i_ =1 10 <sup>_−_</sup> <sup>4</sup> 10 <sup>_−_</sup> <sup>4</sup> 10 <sup>_−_</sup> <sup>3</sup> 10 <sup>_−_</sup> <sup>2</sup> 10 <sup>_−_</sup> <sup>1</sup> 10 <sup>0</sup> 10 <sup>1</sup> _t_ s = − �� _Ki_ _<u>∂</u>_ _∂x_ <sup>2</sup> g <sup>+</sup> <sup>_c_</sup> s <sup>2</sup> s _v_ g − _vi_ _vi_ - _v_ g _,_ (53) _i_ = − _Ki_ Figure 4. Numerical (circles) and analytical (solid lines) imaginary and real part of the eigenvalue _ω_, as a function of the stopping time _t_ s, obtained for the two-fluid case described in Table 2. The dashed line corresponds to the time step ∆ _t_ = 1 _._ 375 _×_ 10 <sup>−2</sup>, which is fixed for all the runs. the smaller the stopping time is, the stiffer the regime is and the faster the errors are damped. Furthermore, the excellent agreement of the oscillatory frequency allows us to conclude that no phase-error is introduced by the implicit scheme, in the operator splitting approximation. 3.3. _Shock solution under the presence of dust_ Lehmann & Wardle (2018) found steady-state shock solutions for a mixture of gas and one dust species. In this for _i_ = 1 _,...,_ _N_ . _c_ s is the sound speed and, for simplicity, the collision coefficients _Ki_ _≡_ _ρgα_ g _i_ = _ρiαi_ g are assumed to be constant. After integrating Eqs. (51), we obtain The normalized gas velocity is obtained after integrating the sum of Eqs. (52) and (53). This allows _ωg_ to be obtained as _ρivi_ = _ρi_ 0 _vi_ 0 _,_ (54) where _ρi_ 0 _≡_ _ρi_ ( _x_ 0) and _vi_ 0 _≡_ _vi_ ( _x_ 0), with _x_ 0 an arbitrary coordinate. Defining the velocity _v_ s _≡_ _v_ g0 = _v_ 10 = _···_ = _vN_ 0, and _ωi_ = _vi/v_ s, _ω_ g = _v_ g _/v_ s, Eqs. (53) and (54) lead to the following set of differential equations for the dust velocities _<u>dωi</u>_ _<u>Ki</u>_ _dx_ <sup>=</sup> _ρi_ 0 _vi_ 0 _ωg_ - _ωi_ _._ (55) 10 BENÍTEZ-LLAMBAY, P., KRAPP, L. & PESSAH, M. E. 1 _._ 2 1 _._ 0 0 _._ 8 0 _._ 6 0 _._ 4 0 _._ 2 1 _._ 00 0 _._ 75 0 _._ 50 0 _._ 25 1 _._ 0 1 _._ 5 2 _._ 0 2 _._ 5 1 _._ 2 1 _._ 0 0 _._ 8 0 _._ 6 0 _._ 4 0 _._ 2 1 _._ 0 0 _._ 5 0 _._ 0 1 _._ 5 2 _._ 0 2 _._ 5 3 _._ 0 0 _._ 0 0 5 10 15 20 9 8 7 0 _._ 0 0 5 10 15 20 18 16 14 6 5 4 3 2 1 0 6 4 2 0 1 _._ 0 1 _._ 5 2 _._ 0 2 _._ 5 0 5 10 15 20 _x_ 10 _._ 0 7 _._ 5 5 _._ 0 2 _._ 5 0 _._ 0 1 _._ 5 2 _._ 0 2 _._ 5 3 _._ 0 0 5 10 15 20 _x_ 12 10 8 6 4 2 0 Figure 5. Numerical (open circles) and analytical (solid lines) solutions for the shock test problem, described in Section 3.3, when considering two (left panels) and four (right panels) species. The numerical solution was obtained at time _t_ = 500, starting from an initial jump condition. The upper panels show the normalized velocities _ω_ g _,_ _ωi_ of the gas (blue) and dust (orange, red and green) species, respectively. The lower panels show the density of the gas and dust species, sharing the same color code. In the large panels, to allow assessing the quality of the asymptotic behavior far away from the shock, the sampling rate for the open circles was reduced to 1:6 of the original data. We additionally plot, inside each panel, a zoomed region within the shocks showing the full sampling, i.e., the open circles correspond to the actual grid points. The code resolves the shock with 3-4 cells, even when an increasing number of fluids is considered. The overall agreement between the numerical and analytical solutions is excellent. the root of the quadratic equation state as _ϵi_ ( _ωi_ - 1) - _M_ <sup>−2</sup> - 1 the asymptotic right states are _ρ_ <sup>−</sup> g <sup>=</sup> <sup>_ρ_</sup> <sup>g0</sup> <sup>_,_</sup> _ρ_ <sup>−</sup> _i_ <sup>=</sup> <sup>_ϵiρ_</sup> <sup>g0</sup> <sup>_,_</sup> _ω_ g <sup>−</sup> <sup>=</sup> <sup>_ω_</sup> _i_ <sup>−</sup> <sup>= 1</sup> _ρ_ <sup>−</sup> g _ρ_ <sup>−</sup> _i_ g <sup>−</sup> <sup>=</sup> <sup>_ω_</sup> _i_ <sup>−</sup> _i_ <sup>−</sup> <sup>= 1</sup> <sup>_._</sup> <sup>0</sup> <sup>_,_</sup> _ω_ g <sup>2</sup> <sup>+</sup> <sup>_ω_</sup> <sup>g</sup> - _i_ =1 _N_ + _M_ <sup>−2</sup> = 0 _,_ (56) where _ϵi_ = _ρi_ 0 _/ρ_ g0 is the dust-to-gas mass ratio of each species and _M_ = _v_ s _/c_ s is the Mach number. Eqs. (55), together with the closed expression for _ωg_ given by the solution of (56), allow us to find the steady-state normalized velocities as the solution of an initial value problem, described by a set of _N_ coupled first-order differential equations, with the initial condition at _x_ = _x_ 0. We use Eq. (54) and its equivalent for the gas component to obtain the steady-state density of every species. Because of the drag force, the velocities are asymptotically equal far away from the shock, allowing the asymptotic right state (+) to be found in terms of the left state (−). Defining the left _._ _ρ_ <sup>+</sup> g _/i_ <sup>=</sup> _ρ_ <sup>−</sup> <u>g</u> <sup>−</sup> <u>g</u> _/i_ <sup>_ω_</sup> <u>g</u> <sup>−</sup> _/i_ _ω_ g <sup>+</sup> _/i_ g _/i_ (57) (58) _ω_ g <sup>+</sup> g <sup>+</sup> <sup>=</sup> <sup>_ω_</sup> _i_ <sup>+</sup> _i_ <sup>+</sup> <sup>=</sup> �−1 _M_ <sup>−2</sup> _,_ 1 + _N_ _i_ =1 _ϵi_ 3.3.2. _Numerical solution_ For this test, we solve the cases of one gas combined with one and three dust species, respectively. In Table 3 we summarize the parameters used for each configuration. MULTISPECIES MOMENTUM TRANSFER 11 We first obtain what we call the exact solution, given by the solution of the initial value problem (integrated numerically) described by Eqs. (55)-(56), using the left state of the shock as initial condition. We then obtain the numerical solution that results from our implementation. For the numerical solution, we initialize a discontinuity for both the density and velocity of each fluid. The left and right states are set equal to the asymptotic right steady-state as obtained from (58), and given in Table 3. We set the sound speed _cs_ = 1 and the Mach number _M_ = 2, implying _v_ s = 2. The dust-to-gas mass ratio for all the dust species is set to _ϵ_ = 1, so the left states are all equal. The numerical domain spans from _x_ = 0 to _x_ = 40, sampled over 400 evenly spaced grid points and the initial jump condition occurs at _x_ = 4. We use zero gradient boundary conditions. In Fig. 5, we plot the exact (solid lines) and numerical (open circles) solution for both the two (left panels) and four (right panels) fluids shock tests. We plot the normalized velocity and density for both the gas and dust fluids in the upper and lower panels respectively. Different colors correspond to different species. To compare the numerical solution with the exact one, we shifted the exact solution to the shock position. The numerical solution corresponds to a snapshot taken at _t_ = 500, a time that is long enough that no significant variation of the numerical solution is observed. The open circles in the main panels are a sub-sampling (1:6) of the grid points. Inside of each panel, we plot a zoomed-in region containing the discontinuity to show the quality of the numerical solution across the shock in the actual grid. This test indicates that, as expected, the code resolves a shock within four cells (c.f. Benítez-Llambay & Masset 2016). It furthermore shows that our implementation is able to recover the correct solution across the shock for all the gas and dust species. The agreement between the exact and numerical solutions is excellent, successfully demonstrating the ability of the code to correctly resolve the shock dynamics. 3.4. _Steady-state, first-order disk-drift solutions_ In this section, we test the coupling between the collision step and the source and transport steps in our numerical scheme. To accomplish this, we first find the steadystate radial drift solution for an arbitrary number of species, to first-order in the velocities with respect to an exact background. We then compare this analytical solution with the numerical one. The background is obtained by considering pressure gradients (which are not necessarily small) and ne Table 3. Parameters for the dusty shock test. <u>Fluids</u> _<u>K</u>_ 1 _<u>K</u>_ 2 _<u>K</u>_ 3 _<u>ρ</u>_ <sup>−</sup> _<u>ρ</u>_ <sup>+</sup> _<u>ω</u>_ <sup>−</sup> _<u>ω</u>_ <sup>+</sup> 2 1.0 - - 1.0 8.0 1.0 0.125 <u>4</u> <u>1.0</u> <u>3.0</u> <u>5.0</u> <u>1.0</u> <u>16.0</u> <u>1.0</u> <u>0.0625</u> NOTE—For the two cases we define _M_ = 2, _cs_ = 1 and _ϵ_ = 1 for every dust species. glecting drag forces between species. This solution generalizes that obtained by Nakagawa et al. (1986), who presented a self-consistent first-order solution with respect to a Keplerian background for a disk, composed of gas- and one dustspecies. In their approach, the background flow is obtained as the solution of the vertically integrated disk-equations when neglecting pressure and drag forces. This assumption implies that both the radial pressure gradient and the drag force are small perturbations that can be added linearly to the Keplerian velocity. However, the assumption of a small pressure gradient is not strictly necessary to find a background solution. This generalization provides us with improved steady-state disk models which allow us to thoroughly test our numerical method. 3.4.1. _Generalized steady-state drift solutions_ In order to find the background solution for the radial drift problem we work with the vertically integrated disk equations with an isothermal equation of state, in which the pressure _P_ = _c_ <sup>2</sup> s <sup>Σ, with</sup> <sup>_c_</sup> <sup>s</sup> <sup>the sound speed and Σ the surface den-</sup> sity. Defining the aspect-ratio _h_ = _cs_ ( _r_ ) _/v_ K, with _v_ K is the Keplerian speed, and the functions −2 _δviϕ_ + <sup><u>1</u></sup> _T_ s _i_ 21 <sup>_δvir_</sup> <sup>+</sup> _T_ <sup><u>1</u></sup> s _i_ _δviϕ_ - _δv_ g _ϕ_ _η ≡_ <sup>_<u>h</u>_</sup> <sup>2</sup> _d_ log _r_ <sup>_,_</sup> _β ≡_ <sup>_<u>h</u>_</sup> <sup>2</sup> _<u>d</u>_ <u>log</u> _<u>P</u>_ 2 _d_ log _r_ 1 + 2 _η_ ( _r_ ) _,_ (59) and after neglecting the drag force in the momentum equations, the exact background solution is v <sup>0</sup> g <sup>=</sup> <sup>_β_</sup> <sup>(</sup> <sup>_r_</sup> <sup>)</sup> <sup>v</sup> <sup>K</sup> <sup>_,_</sup> (60) v <sup>0</sup> _i_ <sup>=</sup> <sup>v</sup> <sup>K</sup> <sup>_,_</sup> (61) for _i_ = 1 _,...,_ _N_ . When the collision term between species is considered, as an approximation we can assume that the velocity is slightly modified so it can be written as the background solution (60)(61) plus a small deviation, i.e., v = v <sup>0</sup> + _δ_ v . Defining the function _,_ (62) _ξ ≡_ _β_ 2 <sup>+</sup> <sup>_<u>d</u>_</sup> _d_ <sup><u>log</u></sup> log <sup>_<u>β</u>_</sup> _r_ - <u>1</u> and neglecting terms which are second-order in the perturbations, the steady-state axisymmetric Navier-Stokes equations lead to the following set of algebraic equations for the perturbed velocities _N_ _i_ =1 <u>�</u> = 0 _,_ (63) - _N_ _δv_ g _r_ - _δvir_ −2 _βδv_ g _ϕ_ + _i_ =1 _<u>ϵi</u>_ _T_ s _i_ _N_ _i_ =1 _δv_ g _ϕ_ - _δviϕ_ <u>�</u> _i_ =1 _ξδv_ g _r_ + _N_ _i_ =1 _,_ (64) _i_ =1 _<u>ϵi</u>_ _T_ s _i_ _<u>ϵi</u>_ _T_ s _i_ = (1 - _β_ ) _v_ K = 0 _,_ (65) = <sup><u>(</u></sup> <sup>_<u>β</u>_</sup> <sup><u>−</u></sup> <sup><u>1)</u></sup> <sup>_<u>v</u>_</sup> <sup><u>K</u></sup> = <sup><u>(</u></sup> <sup>_<u>β</u>_</sup> <sup><u>−</u></sup> <sup><u>1)</u></sup> <sup>_<u>v</u>_</sup> <sup><u>K</u></sup> _T_ s _i_ _T_ s _i_ _T_ s _i_ _δvir_ - _δv_ g _r_ _,_ (66) 12 BENÍTEZ-LLAMBAY, P., KRAPP, L. & PESSAH, M. E. for _i_ = 1 _,...,_ _N_, with _T_ s the Stokes number (see 27). Eqs. (63)(66) must be solved coupled with the continuity equations _r_ Σ <sup>0</sup> g _r_ - _r_ Σ <sup>0</sup> _i_ _∂r_ _∂r_ _r_ Σ <sup>0</sup> _i_ <sup>0</sup> g <sup>_δv_</sup> <sup>g</sup> <sup>_r_</sup> <sup>0</sup> _i_ <sup>_δvir_</sup> = 0 _,_ (67) - = 0 _._ (68) - = 0 _._ (68) From equations (65) and (66) we obtain the dust velocities in terms of the gas velocity which, in combination with (63) and (64), allow us to find the gas velocity perturbations. Defining _SN_ _≡_ _N_ _i_ =1 _<u>ϵi</u>_ 1 + _T_ s <sup>2</sup> _i_ _,_ _QN_ _≡_ _N_ _i_ =1 _<u>ϵiT</u>_ <u>s</u> _<u>i</u>_ 1 + _T_ s <sup>2</sup> _i_ _,_ (69) the gas velocity perturbations read _δv_ g _r_ ( _r_ ) = −2 _βQN_ Ψ ( _β_ - 1) _v_ K _,_ (70) _δv_ g _ϕ_ ( _r_ ) = − ( _SN_ + 2 _ξ_ ) _SN_ + _Q_ <sup>2</sup> _N_ _N_ Ψ ( _β_ - 1) _v_ K _,_ (71) with Ψ _≡_ ( _SN_ + _β_ )( _SN_ + 2 _ξ_ ) + _Q_ <sup>2</sup> _N_ Finally, the expressions for the dust velocity perturbations - <u>�−1.</u> are ( _SN_ + _β_ )( _SN_ + 2 _ξ_ ) + _Q_ <sup>2</sup> _N_ with Ψ _≡_ _N_ <u>2</u> _<u>T</u>_ <u>s</u> _<u>i</u>_ _δvir_ = 1 + _T_ s <sup>2</sup> _i_ <u>1</u> _δviϕ_ = 1 + _T_ s <sup>2</sup> _i_ ( _β_ - 1) _v_ K + <sup>_<u>δv</u>_</sup> <sup><u>g</u></sup> <sup>_<u>r</u>_</sup> <sup><u>+</u></sup> <sup><u>2</u></sup> <sup>_<u>T</u>_</sup> <sup><u>s</u></sup> <sup>_<u>iδv</u>_</sup> <sup><u>g</u></sup> <sup>_<u>ϕ</u>_</sup> 1 + _T_ s <sup>2</sup> _i_ <sup>_<u>v</u>_</sup> <sup><u>g</u></sup> <sup>_<u>ϕ</u>_</sup> <sup><u>−</u></sup> <sup>_<u>T</u>_</sup> <sup><u>s</u></sup> <sup>_<u>i</u>_</sup> 2 1 + _T_ s <sup>2</sup> _i_ ~~�~~ 73 _,_ (72) (de Val-Borro et al. 2006). These buffers extend over a region such that ∆Ω = 0 _._ 1 for both the inner and outer buffers (see Benítez-Llambay et al. 2016), and the damping rate is set to one third of the local Keplerian frequency. We only damp the density and radial velocity to the value given by the initial condition. We consider two cases with two species and two cases with four species, and vary the degree of coupling between gas and dust species. To test our implementation in more challenging regimes, for each configuration, we furthermore vary the aspect ratio, _h_, of the disk, adopting the values _h ∈_ [0 _._ 05 _,_ 0 _._ 1 _,_ 0 _._ 15]. In order to satisfy the hypothesis when deriving the analytical solution, we work with non-flared disks. In all the cases, we numerically integrate the 1D disks until the steady-state is reached. The initial surface density of the gas component is not relevant for these tests. In Fig. 6, we plot the radial velocity for all the cases studied. The results corresponding to different species and different parameters are shown in each column and row, respectively. From top to bottom, in the first two rows, we plot the radial velocity for the two-fluid configurations and, in the last two rows, the radial velocity for the test with four fluids. The analytical solutions, given by Eqs. (70) and (72), are plotted with solid lines. The different colors represent different species. Furthermore, depending on the adopted aspect-ratio, we plot the data set using different symbols. The parameters corresponding to each species are quoted inside of the panels. We observe that the agreement between the analytical and numerical solutions is excellent, and independent on the parameters and the number of species. The tests presented here validate simultaneously the first-order steady-state diskdrift solution and our numerical implementation. We note an interesting result from the multiple fluid test. In the two fluids cases, because of momentum conservation, it is impossible to revert the sign of the radial velocity of the dust component but, its magnitude depends on the dust-togas mass ratio as well as the degree of coupling to the gas. However, this is no longer true in the more general case of multiple species. In this case, very well coupled dust can drift outward with the gas (see, for example, the fourth panel of the third row and the second and third panels of the fourth row). We finally comment that the same level of agreement was observed for the azimuthal velocity, which is not surprising given that the two directions are coupled. 3.4.3. _Convergence test_ We additionally performed a convergence test with resolution. This test consists in taking one particular case and measuring the error of the numerical solution when changing the resolution. For this particular case, we defined the error as: ( _β_ - 1) _v_ K + <sup><u>2</u></sup> <sup>_<u>δv</u>_</sup> <sup><u>g</u></sup> <sup>_<u>ϕ</u>_</sup> <sup><u>−</u></sup> <sup>_<u>T</u>_</sup> <sup><u>s</u></sup> <sup>_<u>iδv</u>_</sup> <sup><u>g</u></sup> <sup>_<u>r</u>_</sup> <sup>_<u>v</u>_</sup> <sup><u>g</u></sup> <sup>_<u>r</u>_</sup> _._ (73) ) are solution only ~~�~~ The velocities given by Eqs. (70) and (73) are solution only if they satisfy the continuity equations (67) and (68). For simplicity, in this work, we focus on the particular case of non-flared disks (i.e., _h_ = _h_ 0, with _h_ 0 being not necessarily small), where _β_ = _β_ 0 and _ξ_ = _β_ 0 _/_ 2. Thus, all the velocity perturbations scale with the Keplerian speed, _v_ K, and the background surface-density profiles are power-laws with exponent _d_ log Σ _/d_ log _r_ = −1 _/_ 2. When considering only one dust species and _h ≪_ 1, we can write _β_ _≃_ 1 + _η_ and (70)-(73) are the solution found by Nakagawa et al. (1986). Dipierro et al. (2018) found a similar solution for arbitrary number of species for a viscous disk assuming a Keplerian background. This solution can be easily improved following our approach. 3.4.2. _Numerical solution_ We now use the steady-state solution found in the previous section to test our implementation. For this test we initialize a large-scale 1D disk using the first-order steady-state solutions, given by Eqs. (70)-(73). The computational domain spans from _r_ = 1 to _r_ = 100, evenly spaced in a logarithmic grid over 1024 points. We assume an isothermal equation of state. We set boundary conditions equal to the steady-state solution for all the species. The absence of perfect numerical equilibrium at the beginning of the runs produces wavepatterns that propagate in the disk and reach the boundaries of the mesh. To remove these spurious waves from the active domain we use small damping zones close to the boundaries with _N_ the total number of species and _v_ <sup>∆</sup> _jr_ <sup>_r_</sup> <sup>the solution ob-</sup> tained for different resolutions. We denote the average over the cells with _⟨⟩_ . �2 _,_ (74) error(∆ _r_ ) = <sup><u>1</u></sup> _N_ _N_ _j_ =1 _j_ =1 <sup>∆</sup> _<u>jr</u>_ <sup>_r_</sup> <sup>−</sup> <sup>_v_</sup> <sup>_jr_</sup> _v_ <sup>∆</sup> _<u>jr</u>_ <sup>_r_</sup> - _v_ _v_ _jr_ with _N_ the total number of species and _v_ <sup>∆</sup> _jr_ <sup>_r_</sup> Gas MULTISPECIES MOMENTUM TRANSFER 13 Dust1 10 <sup>_−_</sup> <sup>4</sup> Ts1 = 1 _._ 0 _ϵ_ 1 = 1 _._ 0 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> Ts1 = 10 <sup>_−_</sup> <sup>2</sup> _ϵ_ 1 = 1 _._ 0 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> Ts1 = 1 _._ 0 _ϵ_ 1 = 0 _._ 1 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> 0 _._ 6 0 _._ 4 0 _._ 2 h=0.05 h=0.10 h=0.15 Slope = -2.2 10 <sup>2</sup> 10 <sup>3</sup> 10 <sup>4</sup> N 0 _._ 0 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> 0 _._ 8 0 _._ 6 0 _._ 4 0 _._ 2 0 _._ 0 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> 0 _._ 6 0 _._ 4 0 _._ 2 0 _._ 0 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> 0 _._ 4 0 _._ 3 0 _._ 2 0 _._ 1 0 _._ 0 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> Radius 0 _._ 0 _−_ 0 _._ 2 _−_ 0 _._ 4 _−_ 0 _._ 6 0 _._ 0 _−_ 0 _._ 2 _−_ 0 _._ 4 _−_ 0 _._ 6 _−_ 0 _._ 8 0 _−_ 2 _−_ 4 _−_ 6 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> Radius 10 <sup>_−_</sup> <sup>5</sup> 10 <sup>_−_</sup> <sup>6</sup> Dust3 0 _._ 4 Ts3 = 10 <sup>_−_</sup> <sup>2</sup> _ϵ_ 3 = 1 _._ 0 0 _._ 3 0 _._ 2 0 _._ 1 0 _._ 0 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> 0 _._ 0 _−_ 0 _._ 2 0 _._ 0 _−_ 0 _._ 2 _−_ 0 _._ 4 _−_ 0 _._ 6 Dust2 Ts2 = 10 <sup>_−_</sup> <sup>1</sup> _ϵ_ 2 = 0 _._ 5 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> 0 _._ 4 Ts1 = 10 <sup>_−_</sup> <sup>2</sup> 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> Radius 0 _._ 3 0 _._ 2 0 _._ 1 0 _._ 0 _ϵ_ 1 = 0 _._ 1 _−_ 0 _._ 4 Ts3 = 1 _._ 0 _ϵ_ 3 = 1 _._ 0 Ts2 = 10 <sup>_−_</sup> <sup>1</sup> 0 _._ 2 _ϵ_ 2 = 0 _._ 5 0 _._ 1 0 _._ 0 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> Radius Figure 6. Analytical (solid lines) and numerical (open colored symbols) solutions for the first-order dust radial drift test problem, described in Section 3.4.1. The analytical solutions are given by Eqs. (70) and (72). In the smaller panels, we plot the radial velocity for all the cases studied. Different columns correspond to different species (labeled at the top of each of the uppermost panels) while different rows correspond to runs with different parameters. For each set of parameters, we run the same test with different aspect-ratios, _h_, and plot the resulting radial velocity with different symbols (see the legend in the leftmost upper panel). The parameters of each run are quoted inside of the small panels. In the large panel located at the right upper corner, we additionally plot the result from the convergence test described in Section 3.4.3. 14 BENÍTEZ-LLAMBAY, P., KRAPP, L. & PESSAH, M. E. For this test we take the case corresponding to the fourth row of Fig. 6. For this particular problem, we find that 256 cells are enough to obtain a converged solution. We then use 256 as starting number of grid points and go up to 4096, progressively increasing by factors of 2. We plot the result of this convergence test in the large panel of Fig. 6. We successfully recovered a convergence rate close to the expected order of the numerical method. For this test, the time step was allowed to vary according to the CFL condition. Thus, since the errors in space decrease rapidly, the convergence rate is dominated by the first-order error in time. 3.5. _Streaming instability_ The aerodynamic coupling between solids and gas in a differentially rotating disk leads to the so-called streaming instability (Youdin & Goodman 2005). Particular modes of this instability has been extensively studied both in linear and non-linear regimes. This is an excellent problem to test our implementation both in the linear and in the non-linear regimes. Due to the complexity of the problem and the degree of coupling between all the equations and the directions, even recovering linear solutions can be a stringent test. In this paper, we extend previous studies in the linear regime to the case of multiple dust species. In addition, for comparative purposes with previous works, we show results in the non-linear regime considering only one gas and one dust species. 3.5.1. _Preliminaries_ The growth rate of the streaming-instability can be obtained, in its simplest form, by solving the 2.5D linearized axisymmetric shearing-box equations for gas and one dust species. The fluid equations are usually linearized around the steady-state drift solution obtained by Nakagawa et al. (1986). However, in order to study the instability for arbitrary number of dust species, generalized background solutions are needed. These are similar to the approximated solutions obtained for the a global disk (see Section 3.4.1), but in this case are analytical and exact. We derive and write them explicitly in Section 3.5.2. In the shearing-box approximation, a self-consistent aerodynamic drag between gas and dust cannot be obtained. However, the instability can still be studied in this formalism by adding an external constant force mimicking the effect of a constant pressure gradient within the box (see e.g. Bai & Stone 2010). The equations leading to the streaming instability, when _N_ dust species are considered, are _∂t_ v g + v g _·∇_ v g = - <sup>_<u>∇P</u>_</sup> _ρ_ g + _χ_ 0Ω0 e _x_ + 2 _q_ Ω <sup>2</sup> 0 <sup>_x_</sup> <sup>e</sup> <sup>_x_</sup> - 2Ω0 _×_ v g − Ω0 _N_ _k_ =1 _,_ (77) _k_ =1 _<u>ϵk</u>_ <u>∆</u> _<u>k</u>_ _T_ s _k_ <u>∆</u> _<u>j</u>_ <sup>2</sup> 0 <sup>_x_</sup> <sup>e</sup> <sup>_x_</sup> <sup>−</sup> <sup>2Ω0</sup> <sup>_×_</sup> <sup>v</sup> <sup>_j_</sup> <sup>+</sup> <sup>Ω0</sup> _T_ s _j_ _∂t_ v _j_ + v _j ·∇_ v _j_ =2 _q_ Ω <sup>2</sup> 0 _,_ (78) for _j_ = 1 _,...,_ _N_, with _q_ the shear parameter. The term _χ_ 0Ω0 is the constant radial acceleration that mimics the pressure gradient within the box, with _χ_ 0 an arbitrary constant speed. It is usually chosen to reproduce the drift speed of dust in protoplanetary disks, i.e., _χ_ 0 = 2 _h_ <sup>2</sup> 0 <sup>_v_</sup> <sup>K0, with</sup> <sup>_h_</sup> <sup>0 =</sup> <sup>_c_</sup> <sup>s0</sup> <sup>_/v_</sup> <sup>K0 and</sup> _c_ s0 the constant sound speed. The unit vector along the radial direction is denoted as e _x_ . The pressure is related to the density as _P_ = _c_ <sup>2</sup> s0 <sup>_ρ_</sup> <sup>g.</sup> <sup>The other terms depend on the dust-to-gas</sup> mass ratio _ϵi ≡_ _ρi/ρ_ g, the Stokes number _T_ s _i_ and, the relative velocity vector between species ∆ _i_ = v g − v _i_, where v g and v _i_ are the gas and dust velocity vectors respectively. 3.5.2. _Steady-state solution_ As discussed above, when setting a constant background density for the gas and all the dust species, an exact steadystate solution can be found. This solution is the generalization of that obtained by Nakagawa et al. (1986), and the procedure to find it is similar to that followed when finding the solution for the perturbations in Section 3.4.1. Defining _N_ _i_ =1 _AN_ = _κ_ ˜ <sup>2</sup> _i_ =1 _N_ _i_ =1 _,_ (79) _,_ (80) _BN_ = 1 + _<u>ϵiT</u>_ <u>s</u> _<u>i</u>_ 1 + ˜ _κ_ <sup>2</sup> _T_ s <sup>2</sup> _i_ _<u>ϵi</u>_ 1 + ˜ _κ_ <sup>2</sup> _T_ s <sup>2</sup> _i_ _i_ =1 the steady-state solution of Eqs. (75)-(78) is _v_ <sup>0</sup> g _x_ <sup>=</sup> <sup>_ANχ_</sup> <sup>0</sup> <sup>_ψ,_</sup> (81) <sup>0</sup> g _y_ <sup>= −</sup> <sup>_q_</sup> <sup>Ω0</sup> <sup>_x_</sup> <sup>−</sup> <sup>_<u>κ</u>_</sup> <sup><u>˜</u></sup> <sup>2</sup> 2 _v_ <sup>0</sup> g <sup>2</sup> (82) 2 <sup>_BNχ_</sup> <sup>0</sup> <sup>_ψ,_</sup> with _ψ_ = _A_ <sup>2</sup> _N_ <sup>+ ˜</sup> <sup>_κ_</sup> <sup>2</sup> <sup>_B_</sup> _N_ <sup>2</sup> 0 <sup>,</sup> <sup>where</sup> <sup>_κ_</sup> <sup>2</sup> <sup>=</sup> 2(2 - _q_ ) Ω <sup>2</sup> 0 <sup>, is the square of the epicyclic frequency.</sup> - �−1 and _κ_ ˜ 2 = _κ_ 2Ω−2 For the _i_ -th dust species, its velocity can be written in terms of the velocity of the gas as with _ψ_ = _A_ <sup>2</sup> _N_ <sup>2</sup> _N_ <sup>+ ˜</sup> <sup>_κ_</sup> <sup>2</sup> <sup>_B_</sup> _N_ <sup>2</sup> _N_ <u>g</u> <sup>0</sup> _ix_ <sup>=</sup> <sup>_v_</sup> <sup>0</sup> 1 + ˜ _κ_ <sup>2</sup> _T_ s <sup>2</sup> _i_ _,_ (83) _v_ <sup>0</sup> <u>g</u> _<u>y</u>_ + ˜ _κ_ <sup>2</sup> <u>�</u> <sup>0</sup> <u>g</u> _<u>y</u>_ <sup>+</sup> <sup>_q_</sup> <sup>Ω0</sup> <sup>_x_</sup> _v_ <sup>0</sup> <u>g</u> <sup>0</sup> _<u>x</u>_ <sup>+</sup> <sup>2</sup> <sup>_T_</sup> <sup>s</sup> <sup>_i_</sup> <u>�</u> - (2 - _q_ ) _T_ s _iv_ <sup>0</sup> <u>g</u> <u>� ˜</u> _κ_ <sup>2</sup> _T_ s <sup>2</sup> _i_ _._ (84) _v_ <sup>0</sup> _iy_ <sup>= −</sup> <sup>_q_</sup> <sup>Ω0</sup> <sup>_x_</sup> <sup>+</sup> _v_ <sup>0</sup> <u>g</u> <u>�</u> <sup>0</sup> <u>g</u> _<u>y</u>_ <sup>+</sup> <sup>_q_</sup> <sup>Ω0</sup> <sup>_x_</sup> <sup>0</sup> <sup>_x_</sup> <u>g</u> _<u>x</u>_ 1 +� ˜ _κ_ <sup>2</sup> _T_ s <sup>2</sup> _i_ = 0 _,_ (75) = 0 _,_ (76) The vertical velocities are _v_ <sup>0</sup> g _z_ The vertical velocities are _v_ <sup>0</sup> g _z_ <sup>=</sup> <sup>_v_</sup> <sup>0</sup> _iz_ <sup>= 0</sup> <sup>and</sup> <sup>the</sup> <sup>densities</sup> <sup>are</sup> constant for all the species. We note that, for the case _q_ = 3 _/_ 2 (i.e., Keplerian shear), Eqs. (81)-(84) are, as expected, equivalent to the expansion of Eqs. (70)-(73) for _h_ 0 _≪_ 1. _v_ <sup>0</sup> g _z_ <sup>=</sup> <sup>_v_</sup> <sup>0</sup> _iz_ _∂tρ_ g + _∇·_ _∂tρ j_ + _∇·_ _ρ_ g v g - _ρ j_ v _j_ MULTISPECIES MOMENTUM TRANSFER 15 Table 4. Eigenvalues, eigenvectors and parameters for the runs LinA, LinB and Lin3. <u>LinA</u> <u>LinB</u> <u>Lin3</u> Parameters _K_ 30 6 50 _T_ s1 0.1 0.1 0.0425 _ϵ_ 1 3.0 0.2 1.0 _T_ s2 - - 0.1 _<u>ϵ</u>_ 2 <u>–</u> <u>–</u> <u>0.5</u> Eigenvalue _<u>ω/</u>_ <u>Ω0</u> <u>−0</u> _<u>.</u>_ <u>4190091323</u> <u>+</u> <u>0</u> _<u>.</u>_ <u>3480181522</u> _<u>i</u>_ <u>−0</u> _<u>.</u>_ <u>0154862262</u> <u>−</u> <u>0</u> _<u>.</u>_ <u>4998787515</u> _<u>i</u>_ <u>−0</u> _<u>.</u>_ <u>3027262829</u> <u>+</u> <u>0</u> _<u>.</u>_ <u>3242790653</u> _<u>i</u>_ Eigenvector _δ_ ˜ _ρ_ g +0 _._ 0000074637 + 0 _._ 0000070677 _i_ −0 _._ 0000337227 - 0 _._ 0003456248 _i_ +0 _._ 0000061052 + 0 _._ 0000080743 _i_ _δ_ ˜ _v_ g _x_ −0 _._ 0563787907 + 0 _._ 0120535455 _i_ −0 _._ 0870451125 - 1 _._ 3851731095 _i_ −0 _._ 1587288108 + 0 _._ 0213251096 _i_ _δ_ ˜ _v_ g _y_ +0 _._ 0445570113 + 0 _._ 0197224299 _i_ +1 _._ 3839936168 - 0 _._ 0937424679 _i_ +0 _._ 1327989476 + 0 _._ 0674232641 _i_ _δ_ ˜ _v_ g _z_ +0 _._ 0563784989 - 0 _._ 0120536242 _i_ +0 _._ 0870497444 + 1 _._ 3852113520 _i_ +0 _._ 1587286212 - 0 _._ 0213252588 _i_ _δ_ ˜ _v_ 1 _x_ −0 _._ 0466198076 + 0 _._ 0124333223 _i_ +0 _._ 2314730923 - 1 _._ 3715260043 _i_ −0 _._ 1461274403 + 0 _._ 0234873672 _i_ _δ_ ˜ _v_ 1 _y_ +0 _._ 0435211557 + 0 _._ 0213517453 _i_ +1 _._ 3696536978 + 0 _._ 0196879160 _i_ +0 _._ 1325843682 + 0 _._ 0691301709 _i_ _δ_ ˜ _v_ 1 _z_ +0 _._ 0546507401 - 0 _._ 0077776652 _i_ +0 _._ 0416164539 + 1 _._ 3844311928 _i_ +0 _._ 1571142133 - 0 _._ 0174328415 _i_ _δ_ ˜ _ρ_ 2 - - +0 _._ 1522281314 + 0 _._ 1836379253 _i_ _δ_ ˜ _v_ 2 _x_ - - −0 _._ 1335593453 + 0 _._ 0025396632 _i_ _δ_ ˜ _v_ 2 _y_ - - +0 _._ 1092222067 + 0 _._ 0952973332 _i_ _<u>δ</u>_ <u>˜</u> _<u>v</u>_ 2 _z_ <u>–</u> <u>–</u> <u>+0</u> _<u>.</u>_ <u>1485545469</u> <u>+</u> <u>0</u> _<u>.</u>_ <u>0200753935</u> _<u>i</u>_ NOTE—The dimensionless velocity amplitudes and wavenumber are defined as _δ_ ˜ _v_ = _δv/_ ( _h_ <sup>2</sup> 0 <sup>_v_</sup> <sup>K0) and</sup> <sup>_K_</sup> <sup>=</sup> <sup>_kh_</sup> <sup>2</sup> 0 <sup>_v_</sup> <sup>K0</sup> <sup>_/_</sup> <sup>Ω0, respectively (see</sup> Appendix E). The dust-density perturbation _δ_ ˜ _ρ_ 1 = 1 for all the runs. 3.5.3. _Linear regime - eigenvalues and eigenvectors_ Assuming solutions of the form _δρ_ = _ρ_ <sup>0</sup> + _δρ,_ v = v <sup>0</sup> + _δ_ v _,_ and after neglecting quadratic terms in the perturbations, Eqs. (75)-(78) become a set of linear partial differential equations for the perturbations _δ_ . Without loss of generality, we assume perturbations of the form _δ f_ ( _x,_ _z,t_ ) = _δ_ _fe_ <sup>ˆ</sup> <sup>_i_</sup> <sup>(</sup> <sup>_kxx_</sup> <sup>+</sup> <sup>_kzz_</sup> <sup>)−</sup> <sup>_ωt_</sup>, from which (75)-(78) transform into a set of linear algebraic equations of the form Au = _ω_ ˜ u _,_ (85) with u the column vector whose elements are the perturbation amplitudes and _ω_ ˜ = _ω/_ Ω0 the normalized eigenvalues. The problem then reduces to finding the normalized eigenvalues and eigenvectors of the _N ×N_ matrix A . We write the explicit expression of this linear system in Appendix E. A general expression for the dispersion relation and its eigenvectors can be easily obtained and written in closed form (similarly to what it was done in Section 3.2). However, due to the complexity of these expressions, we avoid writing them here. Instead, when solving the eigenvalue problem, we simply write the matrix A and find its eigenvalues and eigenvectors numerically. In Table 4 we present the parameters, the eigenvalues and the eigenvectors for the three different cases studied in this paper, called LinA, LinB, and Lin3. The first two cases cor Neglecting these terms modifies the fourth digit of the eigenvalues, and allows us to recover the values reported by Youdin & Johansen (2007). 3.5.4. _Linear regime - numerical solution_ To test our implementation, we solve the fully non-linear set of equations in the shearing-box approximation. We then compare the results with those obtained from the linear solution described in the previous section. To numerically recover the solutions we set _h_ 0 = 0 _._ 05 and _v_ K0 = 1, and add the constant external force _χ_ 0 to the gas component along the _x_ direction. The shear parameter _q_ is set to 3 _/_ 2. We only consider wavenumbers _kx_ = _kz_ = respond to one gas and one dust species, and have already been studied (e.g. Youdin & Johansen 2007; Balsara et al. 2009; Bai & Stone 2010). The third one contains one gas and two dust species. We report a small difference with respect to the eigenvalues obtained by Youdin & Johansen (2007). We tracked down the difference to two terms in the linearized equations (see Appendix E): - _δ_ ˜ _ρ_ g _N_ _k_ =1 _<u>ϵ</u>_ <sup>0</sup> _<u>k</u>_ <sup><u>∆0</u></sup> _<u>kx</u>_ _T_ s _k_ _,_ and - _δ_ ˜ _ρ_ g _N_ _k_ =1 _ϵ_ <sup>0</sup> _<u>k</u>_ <sup>∆0</sup> _<u>ky</u>_ _T_ s _k_ _._ (86) 16 BENÍTEZ-LLAMBAY, P., KRAPP, L. & PESSAH, M. E. LinA 1 _._ 0 0 _._ 5 0 _._ 0 1 _._ 0 0 _._ 5 0 _._ 0 GAS DUST1 DUST2 0 _._ 0 7 _._ 6 15 _._ 2 22 _._ 8 Time 0 _._ 0 7 _._ 6 15 _._ 2 22 _._ 8 Time 1 _._ 0 0 _._ 5 0 _._ 0 Slope = _−_ 2 10 <sup>1</sup> 10 <sup>2</sup> N 0 _._ 0 7 _._ 6 15 _._ 2 22 _._ 8 Time LinA LinB Lin3 10 <sup>_−_</sup> <sup>5</sup> 10 <sup>_−_</sup> <sup>6</sup> 10 <sup>_−_</sup> <sup>7</sup> 10 <sup>_−_</sup> <sup>8</sup> LinB 0 _._ 0 7 _._ 6 15 _._ 2 22 _._ 8 Time 0 _._ 0 7 _._ 6 15 _._ 2 22 _._ 8 Time Lin3 0 _._ 0 7 _._ 6 15 _._ 2 22 _._ 8 Time 0 _._ 0 7 _._ 6 15 _._ 2 22 _._ 8 Time Figure 7. Analytical (solid lines) and numerical (open circles) solutions of the linear streaming instability, described in Section 3.5.4, for the runs LinA (top), LinB (center) and Lin3 (bottom), obtained with 128 <sup>2</sup> grid points. From left to right, we plot the gas and dust densities. We additionally plot the result of the convergence test, described in Section 3.5.5. The agreement between the analytical and numerical solutions is excellent. The slope recovered from the convergence test is consistent with the expected convergence rate for all the cases, showing small deviations for very low resolutions. Table 5. Measured growth rates for different number of cells for the runs LinA, LinB and Lin3. <u>N</u> <u>LinA</u> <u>LinB</u> <u>Lin3</u> 8 −0 _._ 325 _±_ 3 _._ 3 _×_ 10 <sup>−2</sup> 0 _._ 0301 _±_ 1 _._ 2 _×_ 10 <sup>−3</sup> -0.222 _±_ 8 _._ 5 _×_ 10 <sup>−2</sup> 16 −0 _._ 3961 _±_ 1 _._ 7 _×_ 10 <sup>−3</sup> −0 _._ 00821 _±_ 2 _._ 9 _×_ 10 <sup>−4</sup> -0.271 _±_ 4 _._ 9 _×_ 10 <sup>−2</sup> 32 −0 _._ 41311 _±_ 5 _._ 2 _×_ 10 <sup>−4</sup> −0 _._ 014468 _±_ 7 _._ 3 _×_ 10 <sup>−5</sup> -0.291 _±_ 1 _._ 3 _×_ 10 <sup>−2</sup> 64 −0 _._ 41762 _±_ 1 _._ 5 _×_ 10 <sup>−4</sup> −0 _._ 015349 _±_ 2 _._ 2 _×_ 10 <sup>−5</sup> -0.3000 _±_ 2 _._ 4 _×_ 10 <sup>−3</sup> 128 −0 _._ 418583 _±_ 8 _._ 0 _×_ 10 <sup>−5</sup> −0 _._ 0154688 _±_ 6 _._ 5 _×_ 10 <sup>−6</sup> -0.30248 _±_ 1 _._ 4 _×_ 10 <sup>−4</sup> <u>256</u> <u>−0</u> _<u>.</u>_ <u>418900</u> _<u>±</u>_ <u>5</u> _<u>.</u>_ <u>4</u> _<u>×</u>_ <u>10</u> <sup>−5</sup> <u>−0</u> _<u>.</u>_ <u>0154839</u> _<u>±</u>_ <u>2</u> _<u>.</u>_ <u>0</u> _<u>×</u>_ <u>10</u> <sup>−6</sup> <u>-0.302672</u> _<u>±</u>_ <u>5</u> _<u>.</u>_ <u>1</u> _<u>×</u>_ <u>10</u> <sup>−5</sup> NOTE—The values correspond to the average of the growth rates obtained by fitting the time evolution of each component of the eigenvector. The errors correspond to the standard deviation of this average. _k_, so we employ a square axisymmetric shearing-box with _x,_ _y ∈_ - _L/_ 2 _,_ _L/_ 2 and _L_ = 2 _π/k_ . The grid is evenly spaced _k_, so we employ a square axisymmetric shearing-box with _x,_ _y ∈_ - _L/_ 2 _,_ _L/_ 2 and _L_ = 2 _π/k_ . The grid is evenly spaced over 256 cells in each direction. We set periodic and shear - periodic boundary conditions in the _z_ and _x_ directions, re we employ - _L/_ 2 _,_ _L/_ 2 256 cells in boundary spectively. The initial condition is given by the steady-state background solution (81)-(84), and we set the background densities to _ρ_ <sup>0</sup> _i_ <sup>=</sup> <sup>_ϵiρ_</sup> g <sup>0, with</sup> <sup>_ρ_</sup> <sup>0</sup> g <sup>= 1</sup> <sup>_._</sup> <sup>0.</sup> <sup>0</sup> _i_ <sup>=</sup> <sup>_ϵiρ_</sup> g <sup>0</sup> g <sup>0, with</sup> <sup>_ρ_</sup> <sup>0</sup> g <sup>0</sup> g <sup>= 1</sup> <sup>_._</sup> <sup>0.</sup> MULTISPECIES MOMENTUM TRANSFER 17 - _i_ =1 _m_ _,_ (88) Because of truncation errors, the numerical equilibrium does not match, to machine precision, that given by Eqs. (81)-(84), but it is very close. However, after initializing each run, the system quickly relaxes toward an exact numerical equilibrium. Thus, to improve our measurements, we wait for a time _t_ 0 = 1 _._ 2Ω <sup>−</sup> 0 <sup>1</sup> <sup>until the numerical equilibrium is ob-</sup> tained, and then excite the unstable mode. We note that to speed-up the calculations, the relaxation step can be done in a 1D grid. We fix the CFL factor to 0 _._ 3 for all the runs. The linear mode is excited by adding to the steady-state background _f_ the small perturbation _δ f_, defined as: ror, defined as error = _δ fi_ <sup>∆(</sup> <sup>_t_</sup> <sup>)</sup> <sup>−</sup> <sup>_δ fi_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> �� �2 <sup>��1</sup> <sup>_/_</sup> <sup>2</sup> _δ_ _f_ <sup>ˆ</sup> _δ_ _f_ <sup>ˆ</sup> sin( _kxx_ + _kzz_ ) _,_ (87) _δ f_ = _A_ Re cos( _kxx_ + _kzz_ ) where _m_ is the number of components of the eigenvector, _δ f_ <sup>∆</sup> the numerical solution, _δ fi_ is the analytical one, and _⟨⟩_ the time average between _t_ = _t_ 0 and _t_ = 7Ω <sup>−</sup> 0 <sup>1.</sup> The rightmost large panel of Fig. 7, shows the result of the convergence test for the three different cases. We additionally plot (dashed line) the expected second-order accuracy slope. The lowest resolution cases slightly depart from it. However, an excellent convergence rate is observed for _N_ _>_ 32 <sup>2</sup> grid points. The convergence properties for all the modes analyzed demonstrate the validity of our implementation. It is remarkable that, even with low resolution, our implementation is able to recover the linear growth rate with an acceptable level of accuracy. We report that we have observed the mode LinB to be prone to develop noise at cell level which, eventually, contaminates the computational domain. By disabling the drag term, we have concluded that this noise is something entirely related to the gas component. This issue was significantly reduced by enabling a predictor using a half transport-step before the source step, allowing us to recover excellent secondorder accurate linear solutions (see 2.4). 3.5.6. _Non-linear regime_ To study the non-linear regime of the streaming instability, we consider the runs AB and BA described by Johansen & Youdin (2007) and Bai & Stone (2010). We focus our attention on the convergence with resolution, the cumulative dust density distribution and the time evolution of the maximum density. These tests give us, in particular, the opportunity to assess whether the Eulerian approach for the dust species is able to reproduce similar features as those obtained by Bai & Stone (2010) using Lagrangian particles. For each test, we set a square shearing-box of size _L_ = _lh_ 0 _H_ 0, with _h_ 0 = 0 _._ 05, _H_ 0 = _h_ 0 _R_ 0, and the fiducial radius _R_ 0 = 1. The shear parameter _q_ is, as above, 3 _/_ 2 (i.e., Keplerian rotation). For the test AB (BA), we set the dust-togas mass ratio _ϵ_ 1 = 1 ( _ϵ_ 1 = 0 _._ 2), the Stokes number _T_ s1 = 0 _._ 1 ( _T_ s1 = 1 _._ 0), and the parameter _l_ = 2 ( _l_ = 40). The total integration time is set to 40Ω <sup>−</sup> 0 <sup>1</sup> <sup>(800Ω−</sup> 0 <sup>1), which allows the saturated</sup> turbulent state to be reached (Bai & Stone 2010). We seed the instability with white noise in the three velocity components of the two species, with an amplitude _A_ = 10 <sup>−2</sup> _h_ 0 _v_ K0. To test convergence with resolution, for a fixed box size, we vary the number of grid cells by a factor of four. For the test BA, we set the nominal box with 64 <sup>2</sup> cells - a resolution of roughly 32 _/H_ 0 - and obtain results when varying the number of cells up to 2048 <sup>2</sup> - a resolution of 1024 _/H_ 0. For the test AB, since a box with 64 <sup>2</sup> cells does not allow the instability to growth, we start with 128 <sup>2</sup> cells - a resolution of 1280 _/H_ 0 - and increase it up to 4096 <sup>2</sup> cells - a resolution of 40960 _/H_ 0. We note that, when using 64 <sup>2</sup> cells for - Im _δ_ _f_ <sup>ˆ</sup> where _δ_ _f_ <sup>ˆ</sup> is the complex amplitude of the corresponding component of the unstable eigenvector (see Table 4) and _A_ is a small amplitude that ensures linearity. Its value is set to _A_ = 10 <sup>−5</sup> . In Fig. 7, we plot the time evolution of the normalized density perturbations for each of the three different cases, measured from time _t_ 0 at the location _x_ = _z_ = − _L/_ 2 (this is an arbitrary choice). The normalization is such that the density perturbation is between zero and one for the time interval considered. In each panel we plot, with open circles, the values obtained numerically with our implementation, while the solid lines are the analytical ones. The color represents different species, blue being the gas and, orange and red, the dust species. The first two rows of Fig. 7 correspond to the tests LinA and LinB, respectively. The third one corresponds to the three species Lin3 test. In all of the runs, the agreement between the analytical and numerical solutions is excellent. We additionally comment that the same level of agreement is observed for the velocities of the gas and the dust species. In Table 5, we present the result of the measured growth rates for the tests LinA, LinB and Lin3, for different resolutions. The growth rate for each mode was obtained first by fitting each component of the eigenvector and then averaging the results of the fits. For the tests LinA and Lin3, the instability can be recovered with 8 cells. However, for the mode linB, at least 16 cells are required to obtain an unstable behavior. The errors correspond to the standard deviation of the average. This test allows us to confidently conclude that our implementation is correct and very robust. In the next section, we additionally study the convergence rate for these test problems. 3.5.5. _Linear regime - Convergence test_ To test the convergence rate of these test problems, we perform a series of runs decreasing the resolutions by factors of two, starting with 256 <sup>2</sup> cells down to 8 <sup>2</sup> cells. We measure the convergence rate for the three configurations described in the previous section by computing the er 18 BENÍTEZ-LLAMBAY, P., KRAPP, L. & PESSAH, M. E. 128 <sup>2</sup> 256 <sup>2</sup> 512 <sup>2</sup> 1024 <sup>2</sup> 2048 <sup>2</sup> 4096 <sup>2</sup> _−_ 1 _._ 00 _−_ 0 _._ 75 _−_ 0 _._ 50 _−_ 0 _._ 25 0 _._ 00 0 _._ 25 0 _._ 50 0 _._ 75 1 _._ 00 log10 ( _ρ_ d) Figure 8. Dust density maps for the test AB. Each panel is labeled by the total number of cells of the box. This mode is dominated by over-dense filaments and voids. The larger the resolution, the smaller and denser the filaments become. Convergence with resolution is far from being observed for the resolutions studied. The panels corresponding to 256 <sup>2</sup> and 1024 <sup>2</sup> cells can be compared with Fig. 5 of Bai & Stone (2010), where a good qualitative agreement is observed. the run AB, Bai & Stone (2010) were able to recover an unstable evolution, which is probably due to the higher order of the Athena code. For the run AB, and the lowest resolution (128 <sup>2</sup> grid cells), we report a saturation time _≃_ 12Ω <sup>−</sup> 0 <sup>1, a</sup> value higly dependent on resolution. On the other hand, for the case BA, and the lowest resolution (64 <sup>2</sup> grid cells), it saturates after _≃_ 150Ω <sup>−</sup> 0 <sup>1.</sup> <sup>This</sup> <sup>value</sup> <sup>is</sup> <sup>not</sup> <sup>very</sup> <sup>dependent</sup> <sup>on</sup> resolution. In Figs. 8 and 9, we show snapshots of the dust density when the instability is saturated, at times 20Ω <sup>−</sup> 0 <sup>1</sup> <sup>and 400Ω−</sup> 0 <sup>1,</sup> for the runs AB and BA, respectively. Fig. 8 shows that, for the test AB, smaller and denser structures develop when the resolution increases, where no sign of convergence with resolution is observed. This effect, while still present, is not so strong for the low resolution runs in the test BA (Fig. 9). Naively, this can be understood by analyzing the dispersion relation of the instability (see e.g. Youdin & Johansen 2007). In the absence of any dissipative process, such as viscosity or diffusion, the smaller scales ( _kz →∞_ ) grow at a rate given by the maximum growth rate. Thus, density concentrations are prone to grow in very localized regions, a trend that can be clearly recognized in Fig. 8 for the case AB. We refer to this as a naive explanation because it is not clear that the same occurs for the case BA, even when considering that the dispersion relation is not very different from that obtained for the case AB. Further studies are necessary to understand the real source of the discrepancy in the convergence properties between these two cases. The panels that correspond to 256 <sup>2</sup> and 1024 <sup>2</sup> cells can be compared with those presented in Fig. 5 of Bai & Stone (2010). The level of qualitative agreement between the dust density obtained using a particle approach (Bai & Stone 2010) and our fluid approach is remarkable. We note that, in the non-linear turbulent regime, the instability could, in principle, be dominated by crossing trajectories, thus invalidating our approach. However, the overall agreement obtained from this qualitative comparison suggests that the dynamics of the instability, in the non-linear regime, could be treated using a fluid approach. To better quantify the convergence properties for both the AB and BA tests, following Youdin & Johansen (2007) and Bai & Stone (2010), we study the cumulative dust-density distribution. We calculate it by following two different procedures, one by the counting number of cells with density above some threshold value, _ρ_ threshold, and another one by adding up the density of cells with density above _ρ_ threshold. MULTISPECIES MOMENTUM TRANSFER 19 64 <sup>2</sup> 128 <sup>2</sup> 256 <sup>2</sup> 512 <sup>2</sup> 1024 <sup>2</sup> 2048 <sup>2</sup> _−_ 2 _._ 0 _−_ 1 _._ 5 _−_ 1 _._ 0 _−_ 0 _._ 5 0 _._ 0 0 _._ 5 1 _._ 0 1 _._ 5 2 _._ 0 log10 ( _ρ_ d) Figure 9. Dust density maps for the test BA. Each panel is labeled by the total number of cells of the box. While the number of details increases with the number of cells, convergence with resolution is observed for number of cells _>_ 512 <sup>2</sup> . The panels corresponding to 256 <sup>2</sup> and 1024 <sup>2</sup> cells can be compared with Fig. 5 of Bai & Stone (2010), where a good qualitative agreement is observed. The latter is similar to counting (the effective) number of particles, as done by Youdin & Johansen (2007) and Bai & Stone (2010). We split the dust density in 300 logarithmic bins, between log10( _ρaϵ_ ) and log10( _ρbϵ_ ), where _ρb_ = 10 <sup>2</sup> for the case AB, while _ρb_ = 2 _×_ 10 <sup>3</sup> for BA, and _ρa_ = 10 <sup>−1</sup> in both cases. To obtain a representative cumulative function of the saturated regime, we compute it for different times, between _t_ = 30Ω <sup>−</sup> 0 <sup>1</sup> <sup>and</sup> <sup>_t_</sup> <sup>= 600Ω−</sup> 0 <sup>1</sup> <sup>for the cases AB and BA, respec-</sup> tively, until the final integration time, and we finally average them. We also compute the standard deviation, which provides valuable information about the fluctuations of the density in the saturated phase. In Fig. 10 we plot the time averaged cumulative distributions for the dust density, corresponding to the cases AB (upper panels) and BA (lower panels). In each panel, and with different colors, we plot the cumulative function corresponding to the data shown in the panels of Fig. 8 and 9. Shaded regions show the standard deviation. The left and right panels show the results obtained by counting the number of cells and by summing the density of the cells, respectively. In the left panels, the distributions are normalized such that they integrate to one. For comparative purposes with Bai & Stone (2010), the curves in the right panels are normalized such that the probability of the minimum density bin is one. For both cases, AB and BA, the dispersion is very small and does not depend on the method used to calculate the cumulative distribution. In particular, for the run BA, a strong degree of convergence, down to probabilities of the order _P_ ( _ρ_ d _> ρ_ threshold) _∼_ 10 <sup>−3</sup> is observed for all the resolutions. We report that, for _P_ = 10 <sup>−5</sup>, the obtained probabilities correspond to values of _ρ_ threshold _/ϵ_ that are roughly one order of magnitude below the values presented by Bai & Stone (2010) when counting number of cells. However, counting (the effective) number of particles, by adding up densities, removes this discrepancy. Contrary to what is observed for the case AB, the mode BA seems converged for a number of cells larger than 512 <sup>2</sup> . The method used to calculate the cumulative distributions does not modify the degree of convergence found for each run, AB and BA. However, the shape of the distributions is method-dependent. When counting cells, lower densities contribute more significantly in shaping the cumulative distribution, while when counting (the effective) number of particles, denser regions contribute more. While the maximumdensity values differ from those obtained by Bai & Stone (2010) for the run AB, the overall shape of the distributions agrees better when adding up densities. The run AB shows a direct correlation between the saturation time scale and the resolution, i.e., the higher the res 20 BENÍTEZ-LLAMBAY, P., KRAPP, L. & PESSAH, M. E. 10 <sup>0</sup> 10 <sup>_−_</sup> <sup>1</sup> 10 <sup>_−_</sup> <sup>2</sup> 10 <sup>_−_</sup> <sup>3</sup> 10 <sup>_−_</sup> <sup>4</sup> Counting number of cells Counting effective number of particles AB 128 256 512 1024 2048 4096 AB 10 <sup>0</sup> 10 <sup>_−_</sup> <sup>1</sup> 10 <sup>_−_</sup> <sup>2</sup> 10 <sup>_−_</sup> <sup>3</sup> 10 <sup>_−_</sup> <sup>4</sup> 10 <sup>_−_</sup> <sup>5</sup> 10 <sup>_−_</sup> <sup>1</sup> 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> 10 <sup>0</sup> 10 <sup>_−_</sup> <sup>5</sup> 10 <sup>_−_</sup> <sup>1</sup> 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> 10 <sup>0</sup> 10 <sup>_−_</sup> <sup>1</sup> 10 <sup>_−_</sup> <sup>2</sup> 10 <sup>_−_</sup> <sup>3</sup> 10 <sup>_−_</sup> <sup>4</sup> 10 <sup>_−_</sup> <sup>1</sup> 10 <sup>_−_</sup> <sup>2</sup> 10 <sup>_−_</sup> <sup>3</sup> 10 <sup>_−_</sup> <sup>4</sup> BA 64 128 256 512 1024 2048 BA 10 <sup>_−_</sup> <sup>5</sup> 10 <sup>_−_</sup> <sup>1</sup> 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> 10 <sup>3</sup> _ρ_ threshold _/ϵ_ 10 <sup>_−_</sup> <sup>5</sup> 10 <sup>_−_</sup> <sup>1</sup> 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> 10 <sup>3</sup> _ρ_ threshold _/ϵ_ Figure 10. Cumulative dust density distributions for the models AB (top) and BA (bottom). Solid lines correspond to the time-averaged cumulatives. Shaded regions correspond to the standard deviation. The different colors represent each of the cases shown in Fig. 8 and 9. The left and right panels show the distributions obtained by counting cells and density, respectively. The distributions are normalized such that they integrate to one (left panels) or the probability of the lowest density-threshold is equal to one (right panels). The upper panel shows that, for the mode AB, the maximum density increases linearly with the resolution, a clear evidence of lack of convergence. Contrary to this case, the bottom panel shows that, for a number of cells _>_ 512 <sup>2</sup>, the mode BA converges for all the density values. These results are independent of the statistical method used to compute the distributions. The right panels can be directly compared with Fig. 6 of Bai & Stone (2010). olution, the faster the instability saturates. Furthermore, we find the maximum density to be proportional to the number of cells, a clear evidence of lack of convergence. The previous analysis is supported by Fig. 11, where we plot the maximum dust density as a function of time for each case and resolution. As described above, we show again that the run BA is much better behaved in terms of convergence. While the maximum density also increases with resolution for the low resolution cases, it converges when using more than 512 <sup>2</sup> cells. The differences found when comparing our results with those obtained using Lagrangian particles, in particular the lack of convergence for the run AB, warrant a detailed comparison between these two approaches. 4. SUMMARY AND PERSPECTIVES In this paper, we have presented a reliable numerical method developed to solve the momentum transfer between multiple species. We have focused on systems composed of gas and several dust species in the linear drag regime, which has a broad spectrum of applicability in studies of protoplanetary disks. Nevertheless, we have also shown in Appendix C, by means of a simple example, how this method could be extended to the non-linear drag regime. The core of our implementation is the correct treatment of the coupling term between different species. This is solved using a first-order fully implicit method and connected to the fluid solvers via the operator splitting approximation. After analyzing different test problems of varying complexity, we have shown that the code conserves its second-order accuracy in space. 10 <sup>3</sup> 10 <sup>2</sup> 10 <sup>1</sup> 10 <sup>0</sup> 10 <sup>_−_</sup> <sup>1</sup> AB 128 256 512 1024 2048 4096 MULTISPECIES MOMENTUM TRANSFER 21 BA 10 <sup>3</sup> 64 128 256 10 <sup>2</sup> 10 <sup>1</sup> 10 <sup>0</sup> 512 1024 2048 0 10 20 30 40 Time 0 200 400 600 800 Time Figure 11. Maximum dust density over time for the modes AB (left panel) and BA (right panel). As shown in Fig. 10, the maximum density for the case AB increases linearly with resolution. The left panel also shows that the time for saturation is directly correlated with the resolution. Contrary to this case, the mode BA presents much better convergence properties with resolution. The right panel shows that, for low resolution, the initial growth rate directly correlates with resolution. However, for number of cells _>_ 512 <sup>2</sup>, convergence in the growth rate is observed. The same degree of convergence is observed for the maximum dust density over the time interval considered, where both the maximum and fluctuations are comparable. The implicit scheme was designed to conserve momentum to machine precision, a quantity that must be conserved during collisions between pairs of species. This property is fundamental to correctly describe the physical evolution of a system of multiple species and makes the solver extremely robust. In addition, we have shown that the implicit scheme is asymptotically and unconditionally stable, with the correct asymptotic limits. Furthermore, this property is independent of the number of species. Since the value of the Stokes number is not directly involved when studying the properties of the implicit scheme, we stress that the algorithm works well independently of the Stokes number, as it was confirmed by our test suite. Before using this implementation to study a particular physical problem, it is necessary to assess for which Stokes numbers the fluid approximation is expected to produce a good description of the dynamics of the problem. Generally, if the dynamics of the problem is not dominated by crossing trajectories - which are transformed into shocks by the fluid approach – the fluid approach should remain as a good approximation. A qualitative comparison between Bai & Stone (2010) and this work, has shown that the agreement between the particles and the pressureless fluid approximation for dust is very good, while we were not able to find convergence for the run AB. Further studies are still needed in order to assess the level of agreement between both approximations. In this paper we did not take into account the thermal evolution of the species and the possibility of mass transfer between them. These two ingredients are very important in or der to study the self-consistent dust evolution in protoplanetary disks. In particular, to properly account for the thermodynamics of the system, models for frictional heating, heat conduction, and radiation should be considered for the gas and dust species. This implementation has already been successfully used to study problems in the context of protoplanetary disk dynamics. These are related to planet-disk interactions in dusty disks (Benítez-Llambay & Pessah 2018), dust filtration by giant planets (Weber et al. 2018) and dust accumulation in magnetized protoplanetary disks when non-ideal MHD effects are taken into account (Krapp et al. 2018). The robustness of the implicit scheme presented in this work and its versatility for adding an arbitrary number of species in a systematic way, open new possibilities for studying dust-dynamics self-consistently in protoplanetary disks. These capabilities are critical in order to investigate a wide range of phenomena in dusty protoplanetary disks, including dust growth, dust and planetesimal dynamics and, ultimately how planets form. We thank Frédéric Masset for inspiring discussions that motivated this project. We thank Philipp Weber for his valuable contribution based on an early version of our numerical implementation. His input was key to define the flowchart presented in this work. We thank Richard Booth for his demonstration of the importance of the order of the operator splitting when computing the implicit update, discussed in Section 2.4. We thank Andrew Youdin for suggesting 22 BENÍTEZ-LLAMBAY, P., KRAPP, L. & PESSAH, M. E. us adding up densities when computing cumulative density distributions in order to ease the comparison between the fluid approach and Lagrangian particles. This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 748544 (PBLL). The research leading to these results has received funding from the European Research Council under the European Union’s Horizon 2020 research and innovation programme (grant agreement No 638596) (LK). MEP gratefully acknowledges support from the Independent Research Fund Denmark (DFF) via grant no. DFF 802100400B. Computations were performed on the astro_gpu and astro_long partitions of the Steno cluster at the HPC center of the University of Copenhagen. _Software:_ IPython (Pérez & Granger 2007), NumPy (Walt et al. 2011), Matplotlib (Hunter 2007) Bai, X.-N., & Stone, J. M. 2010, ApJS, 190, 297 Balsara, D. S., Tilley, D. A., Rettig, T., & Brittain, S. D. 2009, MNRAS, 397, 24 Barge, P., & Sommeria, J. 1995, A&A, 295, L1 Baruteau, C., & Zhu, Z. 2016, MNRAS, 458, 3927 Benilov, M. S. 1997, Physics of Plasmas, 4, 521 Benítez-Llambay, P., & Masset, F. S. 2016, ApJS, 223, 11 Benítez-Llambay, P., & Pessah, M. E. 2018, ApJL, 855, L28 REFERENCES Johansen, A., & Youdin, A. 2007, The Astrophysical Journal, 662, 627 Kowalik, K., Hanasz, M., Wólta´nski, D., & Gawryszczak, A. 2013, MNRAS, 434, 1460 Krapp, L., Gressel, O., Benítez-Llambay, P., et al. 2018, ApJ, 865, 105 Laibe, G., & Price, D. J. 2011, MNRAS, 418, 1491 —. 2012, MNRAS, 420, 2345 Benítez-Llambay, P., Ramos, X. S., Beaugé, C., & Masset, F. S. 2016, ApJ, 826, 13 Berman, A., & Plemmons, R. J. 1979, Nonnegative matrices in the mathematical sciences (Academic Press New York), xviii, 316 p. Béthune, W., Lesur, G., & Ferreira, J. 2016, A&A, 589, A87 Booth, R. A., Sijacki, D., & Clarke, C. J. 2015, MNRAS, 452, 3932 Braginskii, S. I. 1965, Reviews of Plasma Physics, 1, 205 Brandenburg, A., & Dobler, W. 2002, Computer Physics Communications, 147, 471 Chen, J.-W., & Lin, M.-K. 2018, MNRAS, 478, 2737 Chrenko, O., Brož, M., & Lambrechts, M. 2017, A&A, 606, A114 de Val-Borro, M., Edgar, R., Artymowicz, P., et al. 2006, MNRAS, 370, 529 Dipierro, G., & Laibe, G. 2017, MNRAS, 469, 1932 Dipierro, G., Laibe, G., Alexander, R., & Hutchison, M. 2018, MNRAS, 479, 4187 Dra¸zkowska, J., Hanasz, M., & Kowalik, K. 2010, Particle module of Piernik MHD code, Astrophysics Source Code Library,,, ascl:1010.005 Fromang, S., & Papaloizou, J. 2006, A&A, 452, 751 Fung, J., Shi, J.-M., & Chiang, E. 2014, ApJ, 782, 88 Hanasz, M., Kowalik, K., Wólta´nski, D., Pawłaszek, R., & Kornet, K. 2010, in EAS Publications Series, Vol. 42, EAS Publications Series, ed. K. Go˙zdziewski, A. Niedzielski, & J. Schneider, 281–285 Hawley, J. F., Smarr, L. L., & Wilson, J. R. 1984, ApJS, 55, 211 Hunter, J. D. 2007, Computing In Science & Engineering, 9, 90 Hutchison, M., Price, D. J., & Laibe, G. 2018, Monthly Notices of the Royal Astronomical Society, 476, 2186 Johansen, A., Andersen, A. C., & Brandenburg, A. 2004, A&A, 417, 361 Laibe, G., & Price, D. J. 2014, Monthly Notices of the Royal Astronomical Society, 444, 1940 Lehmann, A., & Wardle, M. 2018, MNRAS, 476, 3185 Lyra, W., & Lin, M.-K. 2013, ApJ, 775, 17 Miniati, F. 2010, Journal of Computational Physics, 229, 3916 Nakagawa, Y., Sekiya, M., & Hayashi, C. 1986, Icarus, 67, 375 Paardekooper, S.-J., & Mellema, G. 2006, aap, 453, 1129 Pérez, F., & Granger, B. E. 2007, Computing in Science and Engineering, 9, 21 Porth, O., Xia, C., Hendrix, T., Moschou, S. P., & Keppens, R. 2014, ApJS, 214, 4 Press, W. H., Teukolsky, S. A., Vetterling, W. T., & Flannery, B. P. 2007, Numerical Recipes 3 <sup>rd</sup> Edition: The Art of Scientific Computing, 3rd edn. (New York, NY, USA: Cambridge University Press) Price, D. J., Wurster, J., Tricco, T. S., et al. 2018, PASA, 35, e031 Ragusa, E., Dipierro, G., Lodato, G., Laibe, G., & Price, D. J. 2017, MNRAS, 464, 1449 Riols, A., & Lesur, G. 2018, A&A, 617, A117 Safronov, V. 1972, Evolution of the protoplanetary cloud and formation of the earth and planets. Stone, J., Gardiner, T., Teuben, P., Hawley, J., & Simon, J. 2008, ApJS, 178, 137 Stone, J., & Norman, M. 1992, ApJS, 80, 753 Stone, J. M. 1997, ApJ, 487, 271 Stoyanovskaya, O. P., Glushko, T. A., Snytnikov, N. V., & Snytnikov, V. N. 2018, Astronomy and Computing, 25, 25 Stoyanovskaya, O. P., Vorobyov, E. I., & Snytnikov, V. N. 2018, Astronomy Reports, 62, 455 Vorobyov, E. I., Akimkin, V., Stoyanovskaya, O., Pavlyuchenkov, Y., & Liu, H. B. 2018, A&A, 614, A98 MULTISPECIES MOMENTUM TRANSFER 23 Walt, S. v. d., Colbert, S. C., & Varoquaux, G. 2011, Computing in Science and Engg., 13, 22 Weber, P., Benítez-Llambay, P., Gressel, O., Krapp, L., & Pessah, M. 2018, ApJ, 854, 153 Weidenschilling, S. J. 1977, MNRAS, 180, 57 Whipple, F. L. 1972, in From Plasma to Planet, ed. A. Elvius, 211 Yang, C.-C., & Johansen, A. 2016, ApJS, 224, 39 Youdin, A., & Johansen, A. 2007, ApJ, 662, 613 Youdin, A. N., & Goodman, J. 2005, ApJ, 620, 459 Zhu, Z., & Stone, J. M. 2014, ApJ, 795, 53 24 BENÍTEZ-LLAMBAY, P., KRAPP, L. & PESSAH, M. E. APPENDIX A. SOURCE TERMS IN THE CONTINUITY EQUATION Important physical processes can be modeled by means of source terms in the continuity equation. Some examples are dust fragmentation/growth, dust diffusion, and chemical reactions, among others (see e.g. Weber et al. 2018, for an example on dust diffusion). The continuity equation with a source term (possibly depending on other species) is _<u>∂ρi</u>_ _∂t_ <sup>+</sup> <sup>_∇·_</sup> <sup>(</sup> <sup>_ρi_</sup> <sup>v</sup> <sup>_i_</sup> <sup>) =</sup> <sup>_Si ._</sup> (A1) It is important to note that the source terms in the continuity equation must appear as the source terms _Si_ v _i_ in the conservative form of the momentum equation for each species. To account for the source terms in both the continuity and momenta equations, the transport step can be split into two sub-steps applying the operator splitting technique. B. STABILITY AND CONVERGENCE OF THE IMPLICIT SCHEME In Section 2 we addressed the stability and convergence of the implicit scheme based on the fact that T <sup>−1</sup> exist, it is diagonalizable, strictly positive, and right stochastic. In this appendix we demonstrate these properties. B.1. T _is nonsingular_ To show that T is nonsingular, it is enough to prove that zero is not an eigenvalue of it. We first note that, if _λT_ is an eigenvalue of T = I + ∆ _t_ M, then _λM_ = ( _λT_ - 1) _/_ ∆ _t_ is an eigenvalue of M . Upper and lower bounds for _λM_ can be found by means of the Gershgorin circle theorem which, from Eq. (11), implies 0 _≤_ _λM_ _≤_ 2 max _k_ =1 _,...,N_ Hence, all the eigenvalues of M are real and non-negative. Since _N_  _j̸_ = _k_  _αk j_ (B2)   _._ _N_ _k_ =1 M _ik_ = 0 for every _i_ = 1 _,...,_ _N ._ (B3) _λM_ = 0 is an eigenvalue and M is singular. We then conclude that _λT_ _≥_ 1 provided ∆ _t >_ 0. B.2. T <sup>−1</sup> _is diagonalizable_ Since M and T commute they are simultaneously diagonalizable. Therefore, to prove that T <sup>−1</sup> is diagonalizable, it is enough to show that M is similar to a (real) symmetric matrix, i.e., S = D <sup>−1</sup> MD with S = S <sup>T</sup> . We demonstrate this as follows. Defining the diagonal matrix, R, with elements _Rij_ = _ρi/ρ_ 0 _δij_, for any arbitrary _ρ_ 0 and _i, j_ = 1 _,..._ _N_, Eq. (4) implies _RikMk j_ = _R_ _jkMki_, i.e., RM = ( RM ) <sup>T</sup> is symmetric. Because R is diagonal it follows that RM = M <sup>T</sup> R . Multiplying this last equality, to both left and right, by the matrix R <sup>−1</sup> <sup>_/_</sup> <sup>2</sup>, we obtain R <sup>1</sup> <sup>_/_</sup> <sup>2</sup> MR <sup>−1</sup> <sup>_/_</sup> <sup>2</sup> = R <sup>−1</sup> <sup>_/_</sup> <sup>2</sup> M <sup>T</sup> R <sup>1</sup> <sup>_/_</sup> <sup>2</sup> = ( R <sup>1</sup> <sup>_/_</sup> <sup>2</sup> MR <sup>−1</sup> <sup>_/_</sup> <sup>2</sup> ) <sup>T</sup> . This demonstrates that the matrix S = D <sup>−1</sup> MD with D = R <sup>−1</sup> <sup>_/_</sup> <sup>2</sup> is symmetric. B.3. T <sup>−1</sup> _is right stochastic_ A right stochastic matrix is defined as a matrix whose entries are non-negative and with each row summing to one. From Eq. (11), it is clear that T _i j_ = 1 + ∆ _t_ _N_ M _i j_ = 1 _,_ (B4) _j_ =1 _j_ and because <sup>�</sup> <sup>−1</sup> _k j_ <sup>= �</sup> _j_ <sup>_δij_</sup> <sup>, �</sup> _N_ _j_ =1 _k_ <sup>_TikT_</sup> <sup>−1</sup> _j_ <sup>T</sup> _ij_ <sup>−1</sup> <sup>= 1.</sup> <sup>Furthermore,</sup> T _i j <_ 0 _,_ for _i̸_ = _j_ _,_ (B5) so T belongs to the group of matrices Z <sup>_n×n_</sup> . In addition, since the eigenvalues of T are real and positive (see Appendix B.1), T is a non-singular M-matrix (see Theorem 2.3, chapter 6 Berman & Plemmons 1979) and T has a non-negative inverse. MULTISPECIES MOMENTUM TRANSFER 25 B.4. T <sup>−1</sup> _is strictly positive_ The inverse, T <sup>−1</sup>, of an irreducible non-singular M-matrix is strictly positive (see Theorem 2.7, chapter 6 Berman & Plemmons 1979), i.e., T <sup>−</sup> _i,_ <sup>1</sup> _j_ <sup>_>_</sup> <sup>0 for all</sup> <sup>_i, j ∈_</sup> <sup>1</sup> <sup>_..._</sup> <sup>_N_</sup> <sup>. Since</sup> <sup>T</sup> <sup>is a nonsingular M-matrix (see Appendix B.3), it only remains to be demonstrated</sup> that T is irreducible. Theorem 2.7 (chapter 2) from Berman & Plemmons (1979), states that a matrix T is irreducible if and only if its direct graph, _G_ ( T ), is strongly connected. _G_ ( T ) consists of _n_ vertices _P_ 1 _,...,_ _Pn_, where an edge leads from _Pi_ to _Pj_ if and only if _Ti j̸_ = 0. Furthermore, it is strongly connected if for any ordered pair ( _Pi,_ _Pj_ ) of vertices, there exist a path that leads from _Pi_ to _Pj_ . Clearly, if all the species collide with each other, then _Tij̸_ = 0 for all _i, j_ and _G_ ( T ) is strongly connected. This statement holds, even when neglecting direct collisions between species _i_ and _j_, provided that each species collides with another (proxy) species _k_ . This is because the path from _Pi_ to _Pj_ is defined through _Pk_ . C. NON-LINEAR DRAG FORCE The collision rate might depend on the relative velocity between species, ∆ _v_, and Eqs. (5) become non-linear in the velocities. Since the implicit scheme described by Eq. (6) assumes a linear system, in principle, it cannot be used to find the solution in such a non-linear regime. In this appendix, we present simple tests of an approximation that allows us to circumvent this issue, which consists in assuming the system to be linear in ∆ _v_ <sup>_n_</sup> <sup>+1</sup>, and the collision rate, _α_ <sup>_n_</sup>, to be dependent on ∆ _v_ <sup>_n_</sup> . This approximation makes it possible for all the properties of the implicit scheme hold even in the non-linear drag regime. By mean of a simple example, we show that this method is good enough to recover the solution of Eqs. (5) in the non-linear regime. For this test we adopt the three different collision rates presented in the Table 6. Table 6. Collision rate _α_, for the different non-linear drag force laws showed in Fig 12. The coefficients _γ_, _γq_, _γp_, _γm_ and _bm_ are all fixed to one for the purpose of this test. <u>Linear</u> <u>Quadratic</u> <u>Power-law</u> <u>Mixed</u> _<u>γ</u>_ _<u>γq|</u>_ <u>∆</u> _<u>v|</u>_ _<u>γp|</u>_ <u>∆</u> _<u>v|</u>_ <sup>1</sup> <sup>_/p_</sup> _<u>γm</u>_ ~~<u>�</u>~~ <u>1</u> <u>+</u> _<u>bm|</u>_ <u>∆</u> _<u>v|</u>_ <sup>2</sup> We consider two species with initial densities and velocities, _ρ_ 1 = _ρ_ 2 = 1 and _v_ 1 = 20, _v_ 2 = 10, respectively, and obtain numerical solutions following Section 3.1. For the power-law regime, we set the index _p_ = 2. 20 18 16 14 12 10 Quadratic Gas1 Gas2 Linear drag 0 _._ 0 0 _._ 5 1 _._ 0 1 _._ 5 2 _._ 0 Time 20 18 16 14 12 10 Power-law 0 _._ 0 0 _._ 5 1 _._ 0 1 _._ 5 2 _._ 0 Time 20 18 16 14 12 10 Mixed 0 _._ 0 0 _._ 5 1 _._ 0 1 _._ 5 2 _._ 0 Time Figure 12. Analytical (solid lines) and numerical (open circles) solutions for a quadratic (left panel), power law with _p_ = 2 (center panel) and mixed (right panel) drag forces. The dashed line is the solution for a linear drag force. In each panel of Fig. 12 we show the analytical and numerical solutions, with solid lines and open circles, respectively. The dashed lines correspond to the solution obtained for a linear drag force. In all the non-linear drag regimes, the agreement between the analytical and numerical solutions is excellent. 26 BENÍTEZ-LLAMBAY, P., KRAPP, L. & PESSAH, M. E. D. EIGENVALUES FOR THE SOUND WAVE TEST PROBLEM To solve the dispersion relation (45), we write it as the polynomial equation _P_ ( _ω_ ) = _ω_ <sup>_N_</sup> <sup>+1</sup> + _aNω_ <sup>_N_</sup> + _..._ + _a_ 0 = 0 _._ (D6) The _N_ + 1 roots of (D6) are the eigenvalues of the problem. The polynomial _P_ has at least _N_ - 1 real positive roots. This is proved by first noticing that _F_ is positive for _ω <_ min _t_ s <sup>−</sup> _m_ <sup>1</sup> . Since _t_ s _m >_ 0, no real root exists for _ω <_ 0. In addition, the one-sided limits The _N_ + 1 roots of (D6) are the eigenvalues of the problem. The polynomial _P_ has at least _N_ - 1 real positive roots. This is proved by first noticing that _F_ is positive for _ω <_ min _t_ s <sup>−</sup> _m_ <sup>1</sup> . Since _t_ s _m >_ 0, no real root exists for _ω <_ 0. In addition, the one-sided limits of _F_ satisfy - _t_ s <sup>−</sup> _m_ <sup>1</sup> s _m_ lim _ω→t_ s <sup>−</sup> _m_ <sup>1</sup> <sup>_±_</sup> _F_ ( _ω,ω_ s) = _±∞_ _,_ (D7) i.e., the function changes sign at each side of the singular points, from which we conclude that there is at least one real positive root between two adjacent singular points, giving _N_ - 2 positive roots. Furthermore, since _ω_ lim _→∞_ <sup>_F_</sup> <sup>(</sup> <sup>_ω,ω_</sup> <sup>s) =</sup> <sup>_∞_</sup> <sup>_,_</sup> (D8) there is at least one more positive root beyond the last singular point. All of these roots correspond to pure damping solutions. An upper bound for the largest real root can found. Defining _t_ s <sup>−</sup> _N_ <sup>1</sup> _t_ s <sup>−</sup> _N_ <sup>1</sup> −1 <sup>as the largest singular point, for</sup> <sup>_ω ≫_</sup> <sup>_t_</sup> s <sup>−</sup> _N_ <sup>1</sup> s <sup>−</sup> _N_ <sup>1</sup> −1 <sup>,</sup> <sup>_f_</sup> <sup>_>_</sup> <sup>0 if</sup> _N_ −2 _m_ =1 _<u>ϵm</u>_ _t_ s _m_ _<u>ϵN</u>_ <u>−1</u> + _>_ 0 _._ (D9) 1 - _ωt_ s _N_ −1 1 + _N_ −1 _m_ =1 _<u>ϵm</u>_ _≃_ 1 - <sup><u>1</u></sup> 1 - _ωt_ s _m_ _ω_ This expression is equivalent to the quadratic inequality _<u>ϵm</u>_ _t_ s _m_ - _t_ s _N_ −1 _ω_ <sup>2</sup> + 1 + _ϵN_ −1 + _t_ s _N_ −1 _N_ −2 _m_ =1 _ω_ _N_ −2 _m_ =1 _<u>ϵm</u>_ _t_ s _m_ _>_ 0 _,_ (D10) from which we find that the largest positive root of _P_ is smaller than the largest root of (D10). Having found the _N_ - 1 roots of _P_, _{ω_ 1 _,...,ωN_ −1 _}_, we can use Vieta’s formulae to find the remaining roots _ωN_ and _ωN_ +1 _ωNωN_ +1 = (−1) <sup>_N_</sup> <sup>+1</sup> _a_ 0 _ω_ <sup>−</sup> _j_ <sup>1</sup> <sup>_,_</sup> (D11) _N_ −1 _j_ =1 _ωN_ + _ωN_ +1 = − _aN_ _N_ −1 _j_ =1 _ω_ _j ._ (D12) where _a_ 0 _,_ _aN_ are _a_ 0 = (−1) <sup>_N_</sup> <sup>−1</sup> _ω_ s <sup>2</sup> _a_ 0 = (−1) <sup>_N_</sup> <sup>−1</sup> _ω_ s <sup>2</sup> _t_ s <sup>−</sup> _j_ <sup>1</sup> <sup>_,_</sup> (D13) _t_ s <sup>−</sup> _j_ <sup>1</sup> _N_ −1 _j_ =1 1 + _ϵ_ _j_ _._ (D14) - _aN_ = − _N_ −1 _j_ =1 _t_ s <sup>−</sup> _j_ <sup>1</sup> _t_ s <sup>−</sup> _j_ <sup>1</sup> Eqs. (D11)-(D12) can be written as a second order polynomial equation, from which we obtain the final two roots, which are, in general, complex, and are the most interesting ones. MULTISPECIES MOMENTUM TRANSFER 27 E. EQUATIONS FOR THE STREAMING INSTABILITY We linearize Eqs. (75)-(78) around the background solution (81)-(84). Without loss of generality, we assume perturbations of the form _δ f_ = _δ_ _fe_ <sup>ˆ</sup> <sup>_i_</sup> <sup>(</sup> <sup>_kxx_</sup> <sup>+</sup> <sup>_kzz_</sup> <sup>)−</sup> <sup>_ωt_</sup> . Defining the dimensionless densities _δ_ ˜ _ρ_ = _δρ/ρ_ ˆ <sup>0</sup> g <sup>,</sup> <sup>_ϵ_</sup> <sup>0</sup> _k_ <sup>=</sup> <sup>_ρ_</sup> _k_ <sup>0</sup> <sup>_/ρ_</sup> g <sup>0, velocities</sup> <sup>_v_</sup> <sup>˜ = ˆ</sup> <sup>_v/_</sup> <sup>(</sup> <sup>_h_</sup> <sup>2</sup> 0 <sup>_v_</sup> <sup>K0), wavenumber</sup> _K_ = _kh_ <sup>2</sup> 0 <sup>_v_</sup> <sup>K0</sup> <sup>_/_</sup> <sup>Ω0,</sup> <sup>eigenvalue</sup> <sup>_ω_</sup> <sup>˜</sup> <sup>=</sup> <sup>_ω/_</sup> <sup>Ω0,</sup> <sup>and relative velocities ∆0</sup> _kx_ <sup>=</sup> <sup>_v_</sup> <sup>˜</sup> g <sup>0</sup> _x_ <sup>−</sup> <sup>_v_</sup> <sup>˜</sup> _kx_ <sup>0</sup> <sup>,</sup> <sup>∆0</sup> _ky_ <sup>=</sup> <sup>_v_</sup> <sup>˜</sup> g <sup>0</sup> _y_ <sup>−</sup> <sup>_v_</sup> <sup>˜</sup> _ky_ <sup>0</sup> <sup>,</sup> <sup>the equations describing the linear</sup> evolution of the system are g <sup>0, velocities</sup> <sup>_v_</sup> <sup>˜ = ˆ</sup> <sup>_v/_</sup> <sup>(</sup> <sup>_h_</sup> <sup>2</sup> 0 <sup>0</sup> g <sup>,</sup> <sup>_ϵ_</sup> <sup>0</sup> _k_ _k_ <sup>0</sup> <sup>_/ρ_</sup> g <sup>0</sup> <sup>2</sup> 0 <sup>_v_</sup> <sup>K0</sup> <sup>_/_</sup> <sup>Ω0,</sup> <sup>eigenvalue</sup> <sup>_ω_</sup> <sup>˜</sup> <sup>=</sup> <sup>_ω/_</sup> <sup>Ω0,</sup> <sup>and relative velocities ∆0</sup> _kx_ <sup>=</sup> <sup>_v_</sup> <sup>˜</sup> g <sup>0</sup> g <sup>0</sup> _x_ <sup>−</sup> <sup>_v_</sup> <sup>˜</sup> _kx_ <sup>0</sup> _kx_ <sup>0</sup> <sup>,</sup> <sup>∆0</sup> _ky_ <sup>0</sup> _k_ <sup>=</sup> <sup>_ρ_</sup> _k_ <sup>0</sup> <sup>0</sup> _ky_ <sup>=</sup> <sup>_v_</sup> <sup>˜</sup> g <sup>0</sup> <sup>˜</sup> g <sup>0</sup> _y_ <sup>−</sup> <sup>_v_</sup> <sup>˜</sup> _ky_ <sup>0</sup> _iKx_ ˜ _v_ <sup>0</sup> g _x_ <sup>_δ_</sup> <sup>˜</sup> <sup>_ρ_</sup> <sup>g</sup> <sup>+</sup> <sup>_iKxδ_</sup> <sup>˜</sup> <sup>_v_</sup> <sup>g</sup> <sup>_x_</sup> <sup>+</sup> <sup>_iKzδ_</sup> <sup>˜</sup> <sup>_v_</sup> <sup>g</sup> <sup>_z_</sup> <sup>=</sup> <sup>_ωδ_</sup> <sup>˜</sup> <sup>˜</sup> <sup>_ρ_</sup> <sup>g</sup> (E15) _iKxh_ <sup>−</sup> 0 <sup>2</sup> <sup>−</sup> _N_ _<u>ϵ</u>_ <sup>0</sup> _<u>k</u>_ <sup><u>∆</u></sup> _<u>kx</u>_ <sup>0</sup> _δ_ ˜ _ρ_ g + _iKx_ ˜ _v_ <sup>0</sup> g _x_ <sup>+</sup> _N_ _<u>ϵ</u>_ <sup>0</sup> _<u>k</u>_ _δ_ ˜ _v_ g _x_ - 2 _δ_ ˜ _v_ g _y_ + _N_ <u>∆</u> <sup>0</sup> _<u>kx</u>_ _δ_ ˜ _ρk_ - _N_ _<u>ϵ</u>_ <sup>0</sup> _<u>k</u>_ _δ_ ˜ _vkx_ = _ωδ_ ˜ ˜ _v_ g _x_ (E16) - _k_ =1 _T_ s _k_ - - _k_ =1 _T_ s _k_ - _k_ =1 _T_ s _k_ _k_ =1 _T_ s _k_ <u>�</u> - - _iKx_ ˜ _v_ <sup>0</sup> g _δ_ ˜ _ρ_ g + _δ_ ˜ _v_ g _x_ - 2 _δ_ ˜ _v_ g _y_ + _iKxh_ <sup>−</sup> 0 <sup>2</sup> _N_ _k_ =1 _iKx_ ˜ _v_ <sup>0</sup> g <sup>0</sup> g _x_ <sup>+</sup> _δ_ ˜ _ρk_ _N_ _k_ =1 _δ_ ˜ _vkx_ = _ωδ_ ˜ ˜ _v_ g _x_ (E16) <sup>−</sup> 0 <sup>2</sup> <sup>−</sup> _N_ _k_ =1 <u>�</u> _<u>ϵ</u>_ <sup>0</sup> _<u>k</u>_ _<u>k</u>_ _T_ s _k_ _<u>ϵ</u>_ <sup>0</sup> _<u>k</u>_ <sup>0</sup> _<u>k</u>_ <sup><u>∆</u></sup> _<u>kx</u>_ <sup>0</sup> _T_ s _k_ _k_ =1 _k_ =1 _N_ _k_ =1 _N_ _k_ =1 <u>�</u> _k_ =1 _k_ =1 _ϵ_ <sup>0</sup> _<u>k</u>_ _δ_ ˜ _ρ_ g + (2 - _q_ ) _δ_ ˜ _v_ g _x_ + _δ_ ˜ _v_ g _y_ + _iKx_ ˜ _v_ <sup>0</sup> g <sup>0</sup> g _x_ <sup>+</sup> ∆ <sup>0</sup> _<u>ky</u>_ _δ_ ˜ _ρk_ _k_ =1 _N_ _k_ =1 _<u>ϵ</u>_ <sup>0</sup> _<u>k</u>_ _T_ s _k_ _<u>ϵ</u>_ <sup>0</sup> _<u>k</u>_ _T_ s _k_ _<u>ϵ</u>_ <sup>0</sup> _<u>k</u>_ - _kN_ =1 _N_ _k_ =1 _<u>ϵ</u>_ <sup>0</sup> _<u>k</u>_ _T_ s _k_ _<u>ϵ</u>_ <sup>0</sup> _<u>k</u>_ _k_ =1 <sup>0</sup> _<u>k</u>_ <sup>∆</sup> _<u>ky</u>_ <sup>0</sup> _T_ s _k_ <u>∆</u> <sup>0</sup> _<u>kx</u>_ _T_ s _k_ ∆ <sup>0</sup> _<u>ky</u>_ _T_ s _k_ _δ_ ˜ _vky_ = _ωδ_ ˜ ˜ _v_ g _y_ (E17) _δ_ ˜ _vkz_ = _ωδ_ ˜ ˜ _v_ g _z_ (E18) <sup>0</sup> _j_ <sup>_δ_</sup> <sup>˜</sup> <sup>_v_</sup> <sup>_jz_</sup> <sup>=</sup> <sup>_ωδ_</sup> <sup>˜</sup> <sup>˜</sup> <sup>_ρ j_</sup> (E19) _k_ =1 _k_ =1 _N_ _k_ =1 _k_ =1 _δ_ ˜ _v_ g _z_ _<u>ϵ</u>_ <sup>0</sup> _<u>k</u>_ _iKzh_ <sup>−</sup> 0 <sup>2</sup> <sup>_δ_</sup> <sup>˜</sup> <sup>_ρ_</sup> <sup>g</sup> <sup>+</sup> _iKzh_ <sup>−</sup> 0 <sup>2</sup> _iKx_ ˜ _v_ <sup>0</sup> g <sup>0</sup> g _x_ <sup>+</sup> _N_ _k_ =1 _<u>ϵ</u>_ <sup>0</sup> _<u>k</u>_ _T_ s _k_ _<u>ϵ</u>_ <sup>0</sup> _<u>k</u>_ _T_ s _k_ _iKx_ ˜ _v_ <sup>0</sup> <sup>0</sup> _jx_ <sup>_δ_</sup> <sup>˜</sup> <sup>_ρ j_</sup> <sup>+</sup> <sup>_iKxϵ_</sup> <sup>0</sup> _j_ <sup>_δ_</sup> _iKx_ ˜ _v_ <sup>0</sup> _jx_ _iKx_ ˜ _v_ <sup>0</sup> _jx_ <sup>0</sup> _j_ <sup>_δ_</sup> <sup>˜</sup> <sup>_v jx_</sup> <sup>+</sup> <sup>_iKzϵ_</sup> <sup>0</sup> _j_ <sup>0</sup> _jx_ <sup>+</sup> <sup><u>1</u></sup> _T_ s _j_ <sup>0</sup> _jx_ <sup>+</sup> <sup><u>1</u></sup> - <sup><u>1</u></sup> _T_ s _j_ - <sup><u>1</u></sup> _iKx_ ˜ _v_ <sup>0</sup> _δ_ ˜ _v_ g _x_ + <sup>0</sup> _jx_ <sup>+</sup> <sup><u>1</u></sup> _T_ s _j_ _δ_ ˜ _v_ _jx_ - 2 _δ_ ˜ _v jy_ = _ωδ_ ˜ ˜ _v jx_ (E20) - <sup><u>1</u></sup> _T_ s _j_ - <sup><u>1</u></sup> _δ_ ˜ _v_ g _y_ + (2 - _q_ ) _δ_ ˜ _v jx_ + _T_ s _j_ - <sup><u>1</u></sup> _δ_ ˜ _v_ g _z_ + _T_ s _j_ _T_ s _j_ _δ_ ˜ _v jy_ = _ωδ_ ˜ ˜ _v jy_ (E21) _δ_ ˜ _v_ _jz_ = _ωδ_ ˜ ˜ _v jz_ (E22)

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.