Abstract
Smoothed particle magnetohydrodynamics has reached a level of maturity that enables the study of a wide range of astrophysical problems. In this review, the numerical details of the modern SPMHD method are described. The three fundamental components of SPMHD are methods to evolve the magnetic field in time, calculate accelerations from the magnetic field, and maintain the divergence-free constraint on the magnetic field (no monopoles). The connection between these three requirements in SPMHD will be highlighted throughout. The focus of this review is on the methods that work well in practice, with discussion on why they work well and other approaches do not. Numerical instabilities will be discussed, as well as strategies to overcome them. The inclusion of non-ideal MHD effects will be presented. A prospective outlook on possible avenues for further improvements will be discussed.
1 Introduction
Smoothed particle magnetohydrodynamics (SPMHD) is a robust numerical method for solving the equations of magnetohydrodynamics (MHD). It is a Lagrangian, mesh-free method that builds upon the smoothed particle hydrodynamics (SPH) framework (; ). The general picture of SPH is to solve the equations of hydrodynamics by discretising a fluid into a collection of particles that mimic fluid behaviour. Recent reviews of the fundamentals of SPH include Rosswog (2009), Springel (2010) and Price (2012).
SPH, and by extension SPMHD, has many advantages for astrophysics. One, the resolution is tied to the mass. Regions of higher mass have more particles, thus more resolution, which is advantageous as the densest areas are typically the most interesting (e.g., stars forming in a molecular cloud). Two, it is trivial to incorporate gravitational N-body methods since SPH is a particle-based scheme. Three, advection is done perfectly, that is, without any dissipation, since it is a Lagrangian method. Four, it can easily handle complex geometries. Five, the Courant timestep does not depend upon the fluid velocity, thus allowing larger timesteps. And six, perhaps its strongest attribute, it has exact simultaneous conservation of mass, momentum, angular momentum, energy, and entropy to the precision of the time-stepping algorithm. This makes SPH significantly robust and stable since it reflects the conservation properties of nature.
Over the past decade, SPMHD has been used to simulate the evolution and impact of magnetic fields in a wide variety of astrophysical problems, such as the study of single and binary star formation (; ; Price et al., 2012; ; Tsukamoto et al., 2015a; Tsukamoto et al., 2015b; ; Wurster et al., 2016; Wurster et al., 2017; ; Wurster et al., 2018a; Wurster et al., 2018b; Tsukamoto et al., 2018; Tsukamoto et al., 2020; Wurster et al., 2021; Wurster et al., 2022), star cluster formation (Wurster et al., 2019; ), star formation rates in spiral galaxies (), accretion discs (), tidal disruption events (), the magnetic field structure of spiral galaxies (; Wissing and Shen, 2023), and galaxy cluster formation (; ). It has been shown to yield correct behaviour for the small-scale dynamo amplification of magnetic fields (Tricco et al., 2016b), and can sustain turbulence incited by the magnetorotational instability (MRI) (; Wissing et al., 2022). SPMHD has also found use outside of astrophysics, where it has been employed to study pinch plasmas and fusion (Vela Vela et al., 2019; Thompson and Cassibry, 2020; Park et al., 2023).
The minimum requirements for incorporating MHD into SPH are three-fold: 1) an approach for evolving the magnetic field forward in time, 2) calculation of the accelerations deriving from the Lorentz force, and 3) an approach to uphold the divergence-free constraint of the magnetic field. These need not be independent. Adhering to the divergence-free constraint is strongly connected to the choice of how the magnetic field is numerically evolved, for instance.
The modern SPMHD method solves the set of continuum equations given bywhere the stress Sij is defined asand ρ is the density, v is the velocity, B is the magnetic field, P is the pressure, and μ0 is the permeability of free space. This system of equations is closed by a suitable equation of state. Note that the continuum equations are written with Lagrangian derivatives, d/dt ≡ ∂/∂t + vj∂/∂xj, since SPMHD is a Lagrangian method.
The first attempts to include magnetic fields in SPH were performed by who considered magnetic polytropes, though in a form which did not conserve momentum or angular momentum. The modern SPMHD method has its roots in the work by Phillips and Monaghan (1985), who formulated equations of motion that conserve momentum by using the stress tensor, and applied the method to three-dimensional simulations of gravitationally collapsing gas clouds (Phillips, 1986a; Phillips, 1986b).
The challenge with the conservative approach is that it is numerically unstable when the magnetic pressure exceeds the thermodynamic pressure, that is, for plasma β < 1 where β ≡ P/(B2/2μ0). Though the onset of instability is described by this criterion, the fundamental nature of the instability is linked to magnetic accelerations which are not perpendicular to the magnetic field, that is, that originate from magnetic monopoles. Solutions to this instability invariably incur some penalty to the conservation of momentum (Meglicki et al., 1995; ; ), though at a cost related to the magnitude of divergence errors in the magnetic field. Again, the linkage between calculating the accelerations deriving from the magnetic field and the approach used to uphold the divergence-free constraint of the magnetic field should be noted.
Carefully evolving the magnetic field in such a way as to avoid divergence errors altogether would be ideal. For grid codes, this can be accomplished with, for example, constrained transport (), but a significant impediment to do this in SPMHD is the lack of any well-defined surfaces. To date, no satisfactory approach to ensure a truly divergence-free magnetic field has yet to be found for SPMHD (; Price, 2010). Instead, modern SPMHD straightforwardly discretises the induction equation, with the recognition that divergence errors may be generated as there is no intrinsic divergence control. The magnetic field must be corrected through some other procedure. In practice, “divergence cleaning” (Tricco and Price, 2012; Tricco et al., 2016a) works well to remove divergence errors and is the method used in many modern SPMHD calculations.
Other pieces of the SPMHD puzzle that had to be solved include construction of the fully conservative equations incorporating varying resolution and magnetic discontinuity capturing terms (Price and Monaghan, 2004a; Price and Monaghan, 2004b; Price and Monaghan, 2005). It worthy to note that modern SPMHD is equivalent in formulation to the eight-wave approach of Powell (1994); Powell et al. (1999), in that the SPMHD equations have source terms related to the divergence of the magnetic field, such that divergence errors are advected with the fluid flow. Additionally, non-ideal MHD formulations for Ohmic dissipation, ambipolar diffusion, and the Hall effect have been constructed (Wurster et al., 2014; Wurster et al., 2016). SPMHD has also been adapted for 2D axisymmetric geometry, promising computational efficiency for phenomena involving magnetic fields with axial geometries ().
The outline of this review is as follows. A brief reminder of the fundamental SPH equations is provided first (Section 2). The ingredients comprising modern SPMHD are subsequently discussed, focusing on the three main requirements of approaches to evolve the magnetic field (Section 3), to calculate accelerations from the magnetic field (Section 4), and to maintain the divergence-free constraint of the magnetic field (Section 5). Non-ideal extensions are described in Section 6, and a prospective outlook is given in Section 7.
2 Smoothed particle hydrodynamics
In this review, a standard form of SPH is assumed whereby the density of an SPH particle is calculated by mass-weighted summation. A number of SPH variants and implementations have been proposed over time (Ritchie and Thomas, 2001; ; Saitoh and Makino, 2013; ), but here we focus on traditional mass-weighted SPH. The mass-weighted density summation is given bywith h the smoothing length, m the mass, and summation is over neighbouring particles within the support radius of the smoothing kernel, Wab(ha) ≡ W(|ra − rb|, ha), where r is the particle coordinates. One could discretise Eq. 1 directly, though a benefit of Eq. 6 is that the density can then be computed at any location at any time. There is no need to time integrate the density. This also avoids assumptions about the differentiability of the density. See also Price (2012) for a nuanced presentation on the trickle down effects of using this SPH density estimate.
Smoothing lengths that are individual per particle can be obtained by simultaneously solving the density summation (Eq. 6) with an expression for density given bywhere ndim is the number of dimensions and nh is a dimensionless quantity specifying the ratio of smoothing length to particle spacing. The smoothing length that yields agreement between Eqs 6, 7 can be obtained via a root-finding procedure.
The conservative equations of motion derived from the Lagrangian for the discretised system need only specify the density summation in Eq. 6 (; Springel and Hernquist, 2002). Doing so yieldswhere factorsare present to account for spatially varying smoothing lengths. Obtaining ∂ha/∂ρa may be done through Eq. 7. See ; Springel (2010); Price (2012) for detailed derivations of the SPH equations of motion from the Lagrangian.
If the pressure is a function of internal energy, u, then a suitable equation must be used to evolve the internal energy forward in time. This can be derived from the first law of thermodynamics, yieldingThe time derivative of ρ can be obtained by taking the time derivative of the density summation, Eq. 6. Using this, the discretised internal energy equation isNote that the total specific energy or entropy of each particle could be evolved instead. The differences between these choices are minimal (see Price, 2012).
The choice of smoothing kernel has many considerations. In practice, the two families of kernels that are most widely used for astrophysical SPMHD calculations are the bell-shaped B-splines and the Wendland kernels. The kernel function can be written in functional form according towhere σ is the normalisation and q = rab/ha. The cubic spline is given bywith σ = 1/π in 3D, the quintic spline bywith σ = 1/(120π) in 3D and Wendland C4 kernel, scaled to a radius of 2h, defined aswith σ = 495/(256π). The cubic spline has a long history within SPH since it is the lowest order spline that has a continuous first derivative. The quintic spline (or other higher order splines) may be used when higher accuracy is required and the kernel bias needs to be reduced. The B-splines cannot be scaled to arbitrarily large radii because doing so will lead to the formation of close particle pairs. The Wendland kernels are attractive because they are stable against particle pairing for all neighbour numbers owing to their positive definite Fourier transform (). The price they pay for this is that they yield larger density errors than the B-splines at lower neighbour numbers. The choice of kernel plays a role in numerical convergence and the reduction of “E0” errors from the pressure gradient (Read et al., 2010; ; ; ), but this is dependent upon the particular details of a calculation. In the context of SPMHD, both the cubic spline and Wendland C4 kernel have been used successfully within a variety of dynamo and astrophysical applications, so the choice of kernel seems less important than other numerical details.
3 Evolving the magnetic field
The approach that works best for evolving the magnetic field forward in time is to directly discretise the induction equation. This is also the most straightforward. Once the time derivative of the magnetic field has been calculated, it can be used within standard time integration schemes. A popular option is a kick-drift-kick leapfrog scheme owing to its efficiency, simplicity and conservation properties (Springel, 2005; Wadsley et al., 2017; Price et al., 2018).
3.1 Induction equation
Discretising the induction equation is as simple as applying standard differencing operators to Eq. 3. Each particle evolves B/ρ according towhere vab = va − vb. The magnetic field, when needed, can simply be reconstructed by multiplying the evolved quantity by the density.
One could evolve B directly instead of B/ρ. Expanding the left-hand side of Eq. 3 yieldsand by making use of Eq. 3 and the continuity equation (Eq. 1),The corresponding discretisation isNumerically, any difference between Eqs 16, 19 should arise solely by the addition of the dρ/dt term when evolving B directly. The differential form of the continuity equation is baked into the evolution of B, whereas evolving B/ρ uses the integral formulation of the continuity equation (i.e., the density summation) to reconstruct B. In theory, evolving B/ρ should thus be preferable over B in situations where a discontinuity is present in the density as it avoids assumptions about the differentiability of the density (see also Price, 2008). In practice, however, no substantive evidence has been found of any meaningful difference between evolving B/ρ and B (e.g., ).
An advantageous property of the above discretisations, aside from their simplicity, is that they are Galilean invariant. That is, the addition of any constant background velocity does not introduce numerical error.
The most significant disadvantage of these discretisations is that they do not place any guarantee on the divergence of the magnetic field. Even with an initially divergence-free magnetic field, numerical errors will lead to divergence errors that can grow over time. A secondary approach is required to treat these errors. The most effective approach to accomplish this at present seems to be mixed hyperbolic/parabolic divergence cleaning (Tricco and Price, 2012; Tricco et al., 2016a), as is discussed further in Section 5.
Additionally, it can be seen that the induction equation solved in SPMHD mimics the source term approach of Powell (1994); Powell et al. (1999). Consider the conservative formulation of the induction equation given byThe vector calculus identity ∇ × (v ×B) ≡ (B ⋅∇)v − (∇ ⋅v)B − (v ⋅∇)B + (∇ ⋅B)v can be used to rewrite Eq. 20 in terms of a Lagrangian derivative, yieldingThis is identical to Eq. 18 except for the term proportional to ∇ ⋅B. In SPMHD, this term is ignored, in essence evolving the magnetic field under the assumption that the divergence of the magnetic field is zero. This treatment of monopoles is equivalent to how monopoles are treated by the eight-wave formulation.
The inclusion or absence of the ∇ ⋅B term consequently means that divergence errors are either, respectively, advected or dispersed. Taking the divergence of Eq. 21 yields,whereby the constraint for the divergence of the magnetic field only appears as an initial condition. This preserves the volume integral of B. By contrast, the divergence of Eq. 18 yieldsIn this case, the divergence of the magnetic field is treated in the same manner as density via the continuity equation, in that the volume integral of ∇ ⋅B is conserved. The implication is that divergence errors are advected with the fluid flow. For the previous case, divergence errors are dispersed, and it has been shown that including the term proportional to ∇ ⋅B leads to a poorer treatment of divergence errors in SPMHD (Price and Monaghan, 2005).
3.1.1 Example: Source term in the induction equation
The advection of a divergence ‘blob’ illustrates the difference between solving Eqs 18, 21, that is, whether the term proportional to the divergence of the magnetic field is included or not. These results mimic those presented by Price and Monaghan (2005), with the divergence advection test originating from . The test is set up using 50 × 50 particles on a square lattice set within x, y ∈ [−0.5, 1.5]. The density is uniformly ρ = 1, with p = 6 and γ = 5/3. The initial velocity field is v = [1, 1], such that the fluid flows from the bottom left towards the top right. The initial magnetic field is , with a perturbation for r < r0, with . The perturbation to the magnetic field artificially introduces a non-zero divergence to the magnetic field.
Figure 1 shows the transport of the divergence error between the source term (Eq. 18) and volume conservative (Eq. 21) approaches. When the term related to the divergence of the magnetic field is excluded (equivalent to the source term approach of the eight-wave solver), the divergence error is passively advected with the fluid flow. The formulation remains consistent in the presence of divergence errors. By contrast, with this term included, the volume conservative form spreads the divergence error throughout the domain.
FIGURE 1
3.2 Artificial resistivity
The discretised induction equation assumes that the magnetic field is differentiable, which would not be true at discontinuities since the magnetic field would be multi-valued. An artificial resistivity is applied to the magnetic field to smooth discontinuities over the resolution scale so that the magnetic field remains single valued. Developed by Price and Monaghan (2004a), Price and Monaghan (2005), artificial resistivity adds dissipation to the magnetic field according towhere and . The signal velocity, vsig,B, represents the speed of information propagation between two particles.
Energy dissipated from the magnetic field may be added to the internal energy, u, throughImportantly, the deposition of dissipated magnetic energy into the internal energy is guaranteed to be positive definite. Unlike artificial viscosity, artificial resistivity is applied to both approaching and receding particles, since discontinuities in the magnetic field can occur during both compression and rarefaction, and to all components of the magnetic field (rather than just along the line of sight like artificial viscosity), since magnetic discontinuities can occur oblique to the motion (Price and Monaghan, 2004a; Price and Monaghan, 2005).
One option for the signal velocity iswhich uses the averaged fast magnetosonic wave speed, vmhd. A dimensionless parameter, αB, may be included per particle to switch dissipation off in regions that are not discontinuous, with . Price and Monaghan (2005) created a switch for αB based on analogy to the Morris and Monaghan (1997) switch for artificial viscosity. In this case,such that dissipation increases in the presence of strong gradients of the magnetic field. found that αB,0 = 0 leads to satisfactory results in their shock tube and other two-dimensional MHD tests.
However, Tricco and Price (2013) noted that the Price and Monaghan (2005) switch will not apply sufficient dissipation to capture discontinuities if strong shocks are present and the magnetic field is very weak (i.e., plasma β ∼ 106–1010), leading to numerical noise in the magnetic field and spurious growth of magnetic energy. In such a regime, using the Alfven speed instead of fast magnetosonic speed in the signal velocity is similarly problematic if shocks are present. They recommend a new switch, settingNote that this does not require the time evolution of αB. On test problems, this switch led to less overall magnetic energy dissipation than the Price and Monaghan (2005) switch. However, found that the Tricco and Price (2013) switch was too dissipative in cosmological simulations of galaxy cluster formation.
Price et al. (2018) advocated setting the signal velocity toNo tunable dissipation parameter in the form of αB is required. It is noteworthy to realize that this switch is not dependent upon the magnetic field at all. Yet, despite this, the switch in Eq. 29 appears to provide less dissipation and work robustly in a variety of real applications, for example, within simulations of the MRI (Wissing et al., 2022) or the collapse of molecular cloud cores to stellar densities (Wurster et al., 2022).
Though numerical stability is the purpose of including artificial resistivity in simulations, its implementation is equivalent to a (resolution-dependent) physical dissipation term η∇2B with magnetic diffusivityThis is analogous to the translation of artificial viscosity to a physical viscosity (; ). Keep in mind that advection in SPMHD is dissipationless since it is a Lagrangian scheme. This means that, for ideal MHD calculations with only numerical dissipation, it is possible to estimate the magnetic Reynolds number or magnetic Prandtl number directly from the artificial dissipation terms (e.g., Wissing et al., 2022).
Measurements of the magnetic Prandtl number, Pm = ν/η, where ν is the kinematic viscosity, typically range between Pm ∼ 0.1–2 when the only sources of dissipation are artificial viscosity and resistivity. There is slight dependence upon the numerical resolution as given by the particle smoothing lengths, but of more importance seems to be the specific problem under consideration. Tricco et al. (2016b) found Pm ≈ 1 in simulations of supersonic, magnetized turbulence, and Wissing et al. (2022) found Pm ≈ 1.5 in stratified, net-flux shearing box simulations. Wissing and Shen (2023) performed simulations of the galactic dynamo in spiral galaxies, measuring Pm ≈ 0.1 in the inner radius of the galaxy and Pm ≈ 0.7 in the outer regions.
Overall, artificial resistivity works well to treat magnetic discontinuities. However, it is a crude tool for this purpose as it is difficult to reliably detect magnetic discontinuities, and it does not distinguish between Alfvén waves and compressive waves. use a Godunov scheme instead of artificial resistivity to address these issues. This offers reduced numerical dissipation, but brings additional computational expense, whereas artificial resistivity is computationally inexpensive as it does not introduce additional time constraints or extra loops over the particles.
3.2.1 Example: Brio-Wu shock tube
The accuracy of the artificial resistivity switch given by Eq. 29 can be demonstrated with the shocktube from (), which also corresponds to shocktube 5A from Ryu and Jones (1995). This test is a magnetic extension of the Sod (1978) shocktube. The results of this particular shocktube configuration have been presented multiple times for SPMHD, for example, amongst others, ; Price and Monaghan (2004a),Price and Monaghan (2004b); ; Tricco and Price (2013); ; Tricco et al. (2016a); Price et al. (2018); Wissing and Shen (2020). Other shocktube configurations have been tested with SPMHD, some of which are in the preceding references.
The initial conditions are given by [ρ, P] = [1, 1] for the left state, and [ρ, P] = [0.125, 0.1] for the right state. The equation of state uses γ = 5/3, as in Ryu and Jones (1995), which is in contrast to γ = 2 in . The test is calculated in full 3D, with 800 × 20×20 particles for the left state and 400 × 10×10 particles for the right state, initially arranged on cubic lattices. The velocity is zero for both the left and right states. The magnetic field vector is [Bx, By, Bz]L = [0.75, 1, 0] for the left state and [Bx, By, Bz]R = [0.75, −1, 0] for the right state. There is no smoothing of the initial conditions.
Figure 2 shows the results at t = 0.1. The black circles represent the values on the particles, with the red line a reference solution given by the grid-based code Athena (Stone et al., 2008) using 104 grid cells. This shocktube contains a slow compound structure, which is notably absent from the Riemann solver solution given by Ryu and Jones (1995). SPMHD captures all of the shock structures. For the magnetic field components in particular, By agrees with the reference solution, with the discontinuities at x ∼ − 0.03 and x ∼ 0.13 represented over 4–8 particle spacings. In the analytic solution, the other magnetic field components remain constant over time, with Bx = 0.75 and Bz = 0. This is maintained in the SPMHD solution, except for small deviations due to the initial contact discontinuity near x ∼ 0.06 that introduce noise into the particle arrangement. The absolute max deviations in Bx and Bz are on the order of .
FIGURE 2
3.3 Euler potentials
Alternative formulations to evolve the magnetic field have been investigated, though with little success. One approach that appeared promising on the surface was defining the magnetic field in terms of the Euler potentials, B = ∇αE ×∇βE, where αE and βE are scalar potentials. This upholds ∇ ⋅B = 0 by construction. The scalar potentials themselves are simply advected with the fluid flow. This is trivial to implement into a Lagrangian scheme, as the scalars become just constant, passive values attached to each particle. The re-construction of the magnetic field is thus dependent solely upon the configuration of the potentials.
Calculating the gradient of each potential may be done with standard SPH derivative operators, such as the differencing derivative operator,
Plugging the re-constructed magnetic field into the conservative, Lagrangian equations of motion (see Section 4) yields a numerically stable scheme, and numerical formulations of this type have been used in several astrophysical applications, such as star formation (Price and Bate, 2007; Price and Bate, 2008; Price and Bate, 2009), neutron star mergers (Price and Rosswog, 2006) and the magnetic fields of galaxies (; ).
However, the Euler potentials are incapable of correctly capturing the full range of magnetic field topologies (). Since the potentials are passively advected, there is a one-to-one mapping from the initial magnetic field topology to any evolved field. This is problematic for rotating discs, for example, as the magnetic field would be essentially reset with each turn once the particles return to their initial positions. Even worse is that the Euler potentials are incapable of modelling dynamos, and are incompatible with linear diffusion operators ().
Star formation calculations highlight the preceding limitations. SPMHD calculations that evolve the magnetic field via the induction equation produce magnetically-driven jets and outflows (e.g., ; Price et al., 2012; ; Tsukamoto et al., 2015b; ; ; Wurster et al., 2018a; Tsukamoto et al., 2018; Wissing and Shen, 2020; ). However, no such outflows are produced when similar calculations are performed using the Euler potentials (Price and Bate, 2007). At present, it seems there is little use for the Euler potentials in astrophysical simulation, except perhaps as a secondary check for numerical artefacts ().
3.4 Vector potential
Defining the magnetic field in terms of the vector potential, B = ∇ ×A, would seem an ideal choice. Doing so would guarantee a divergence-free magnetic field, without any of the topological restrictions associated with the Euler potentials. However, SPMHD implementations of the vector potential appear to be plagued with numerical instabilities (Price, 2010).
An evolution equation for the vector potential can be obtained by combining B = ∇ ×A with the induction equation (i.e., Eq. 22), which yieldswhere ∇ϕ represents the gauge choice, arising as a constant of integration. Price (2010) used the gauge ϕ = −v ⋅A, yieldingThis has the effect of moving the derivative onto v instead of A, which makes the discretisation Galilean invariant. In spite of this, using the same approach to calculate the Lorentz force as employed with the Euler potentials, whereby the re-constructed magnetic field is used within the equations of motion (see Section 4), will lead to numerical instability and runaway energy growth (Price, 2010). That this occurs for the vector potential and not the Euler potentials is understandable because the Euler potentials are held constant.
Numerical instability and runaway energy growth occur due to the mismatch of variables between the evolution of the magnetic energy (evolving A) and kinetic energy (equations of motion using B), such that the total energy in this hybrid formulism is not conserved. In theory, this is solved by deriving the consistent, conservative equations of motion from the Lagrangian that directly use the vector potential. Unfortunately, this only seems to lead to a different set of numerical issues. The resultant equations of motion contain three terms, with the first term acting like a negative magnetic pressure, the second term involving second derivatives of the kernel (which are known to be highly sensitive to particle disorder), and the third term nested low-order derivative estimates (Price, 2010). These equations do fundamentally represent the MHD equations of motion in the continuum limit, such that, for example, the second and third terms partially encode the magnetic pressure to offset the negative pressure of the first term, but the inherent numerical issues mean that this is not realized in practice.
Stasyszyn and Elstner (2015) explored options to revive the hybrid formulism, such as smoothing the re-constructed magnetic field, adding numerical dissipation of the vector potential, and choosing the Coulomb gauge, ϕ = ∇ ⋅A, which is upheld through mixed hyperbolic/parabolic divergence cleaning (more on this in Section 5.1). Tu et al. (2022) also smoothed the re-constructed magnetic field, with the Weyl gauge, ϕ = 0, albeit within a meshless finite mass (MFM) scheme. Further testing is required on the robustness of these approaches. Tricco and Price (2023) derived a novel discretisation for the evolution equation of A in terms of a volume integral, but which also failed to produce a valid numerical solution. At present, it remains to be demonstrated that there is a formulation of the vector potential in SPMHD that is viable for general astrophysical application.
4 Accelerations from the magnetic field
The equations of motion for SPMHD are derived from the Lagrangian. The implication of doing this is that the discretised equations of motion are the physical equations governing the system of discrete particles. This imparts a number of desirable properties, such as exact conservation of momentum, energy and entropy. Some early work directly discretised the Lorentz force, J ×B, where J = ∇ ×B/μ0 is the current density, but these formulations do not provide the conservation properties of the Lagrangian approach (; Meglicki et al., 1995) and are poor at capturing shocks ().
4.1 Conservative equations of motion
The SPMHD Lagrangian isThe SPMHD equations of motion can be derived by using a variational approach (Price and Monaghan, 2004b; Price, 2012). The only ingredients necessary are the prescription for density (via the density summation in Eq. 6) and the specification on how the magnetic field is evolved. The induction equation given by Eq. 16 is assumed (or equivalently Eq. 19).
The resultant equations of motion from the Lagrangian areThe second term in Eq. 36 represents an isotropic magnetic pressure and the third term an anistropic magnetic tension. The correspondence between the SPMHD momentum equation and the stress tensor is clear upon examination of Eq. 36 with Eqs 2, 5, and, indeed, Eq. 36 could be written in terms of the stress tensor as
Note, however, that while these equations of motion exactly conserve momentum, energy and entropy (provided they are used in conjunction with the density summation and the induction equation prescribed in their derivation), they do not conserve angular momentum. The anisotropic magnetic tension is not invariant to rotation. Notably, this term is derived solely from the numerical choice for the induction equation.
Wissing and Shen (2020) investigated switching the gradient operator in the momentum equation to one based on geometric density averaging, given byThis type of gradient operator is used for the (thermodynamic) pressure gradient in the Gasoline2 code (Wadsley et al., 2017), and promises to reduce artificial surface tension type effects (). For SPMHD, Wissing and Shen (2020) find that the geometric density average formulism has a lower numerical resolution requirement to produce magnetically-driven outflows from the gravitational collapse of magnetised molecular cloud cores. This is promising and warrants further examination.
Writing the momentum equation in terms of the stress tensor creates a complication in that the anisotropic tension contains a component due to monopole moments. The third term in Eq. 36 is equivalent to (B ⋅∇)B/μ0ρ + (∇ ⋅B)B/μ0ρ in the continuum limit. The force contributions proportional to ∇ ⋅B are present in order to be momentum conserving in the presence of monopoles. The issue of monopole forces in SPMHD is complicated, in that even for a magnetic field that is constant and uniform (i.e., ∇ ⋅B = 0), the discretisation used in the momentum equation may produce monopole forces. This is related to the “E0” errors often discussed in relation to the pressure gradient (Read et al., 2010; ; ; ).
The real challenge with monopole accelerations is not related to the discretisation, however, but arise from any non-zero divergence errors that may be present in the magnetic field. The induction equation in SPMHD makes no guarantee of a divergence-free magnetic field. The detrimental effect of (∇ ⋅B)B/μ0ρ is most strongly connected to the severity of non-zero divergence errors.
Compounding the considerations of monopole accelerations is that the conservative equations of motion themselves are tensile unstable. The anisotropic magnetic tension is an attractive force, and if it exceeds the isotropic pressure, then the particles will unphysically clump. For Eq. 36, this occurs for plasma β < 1 (Phillips and Monaghan, 1985; ; ). Importantly, this criterion is only based upon the magnitude of the magnetic field. Fortunately, removing the tensile instability is not difficult.
4.2 Removing the tensile instability
The approach that seems to work best to counteract the tensile instability is to explicitly subtract the non-physical force arising from the monopole contribution (). This aligns with the source-term approach of the eight-wave solver (Powell, 1994; Powell et al., 1999). Importantly, the removal of monopole accelerations must use the same discretisation for ∇ ⋅B as in the momentum equation, that is,where used to regulate the strength of the applied correction, with corresponding to a full correction of the force term. Adding Eq. 39 to the conservative momentum equation (Eq. 36) yields a numerically stable solution.
The consequence of removing monopole accelerations is that the conservative equations of momentum no longer conserve momentum. The severity of this non-conservation of momentum is dependent upon the magnitude of divergence errors. In the worst case, this can corrupt the obtained solution (for a dramatic example of this, see Tricco and Price, 2012). Thus, controlling the magnitude and growth of divergence errors will improve momentum conservation.
showed that the tensile instability can be corrected with , thereby subtracting only . In theory, this provides a factor of two improvement on the non-conservation of momentum. recommended this for general SPMHD calculations, though Tricco and Price (2012) found that this might cause numerical artefacts as, while technically sufficient to prevent instability, it may leave particles in a near-pressureless state. Compounding this is that subtracting the full strength term causes dispersive errors in slow magnetosonic waves. The half strength term does not introduce these type of errors (see Section 4.2.1, c.f. ).
Since the tensile instability only manifests for plasma β < 1, , Price et al. (2018) and Wissing and Shen (2020) have proposed schemes where the tensile instability correction is switched off in pressure-dominated regimes, suggesting, respectively,andBoth provide a linear transition from full correction to no correction once plasma β is above a critical threshold. This provides exact momentum conservation when possible.
An alternative approach to deal with the tensile instability is to use a more accurate derivative estimate for the anisotropic term . This uses the conservative form for the isotropic hydrodynamic and magnetic pressure (first and second terms in Eq. 36), but replaces the anisotropic force (third term in Eq. 36) withThis is not momentum conserving, but yields a numerically stable solution. A disadvantage is that the approach cannot be switched off, and also has dispersive errors in slow magnetosonic waves ().
4.2.1 Example: Propagation of an isolated wave
The tensile instability correction term, depending upon its implementation, can introduce dispersive errors to slow MHD waves. Here, this is demonstrated using the test from of the propagation of an isolated wave. The initial density is ρ = 1, with 320 × 160 particles arranged on a square lattice in the domain x ∈ [−2, 2] and y ∈ [−1, 1]. An isothermal equation of state is used, with p = 1 and sound speed, cs = 1. The magnetic field is uniform along the x-direction with plasma β = 0.1. The test is performed using the cubic and quintic spline kernels.
Figure 3 shows the rightward propagating wave at t = 0.5 for (top panel) and (bottom panel), where is the leading term in the tensile instability correction term given by Eq. 39. The location of the expected peak of the wave at t = 0.5 is given by the vertical dashed line (x = 0.5). For , dispersive errors cause supersonic velocities preceding the wave. In this case, the quality of the kernel affects the result, with the cubic spline showing a larger phase velocity than the quintic spline. For , there are no dispersive errors and the wave propagates (mostly) as expected.
FIGURE 3
5 Divergence-free constraint of the magnetic field
Upholding the divergence-free constraint on the magnetic field is critical. In one respect, real magnetic fields are purely solenoidal, so modelling magnetic fields that preserve this topological constraint is only logical. From a theoretical perspective, magnetic fields within simulation should avoid unphysical configurations. In another respect, there are numerical justifications for minimizing divergence errors. Doing so avoids numerical artefacts in the momentum equation and the overall conservation of momentum and energy.
An important question is: how does one define a “divergence-free magnetic field” numerically? One such definition has already been used in Eq. 39, wherebyInstead of this symmetric gradient estimate, one could instead measure the divergence of the magnetic field with a difference gradient estimate according toMeasuring zero divergence of the magnetic field in one metric does not guarantee zero in another. As a case in point, neither of the above discretisations are zero when the magnetic field is specified in terms of the Euler potentials, even though it intrinsically guarantees a divergence-free magnetic field (Tricco and Price, 2012). Nonetheless, minimizing divergence error in one discretisation will often reduce divergence error in another discretisation. This is important for SPMHD, as it means the detrimental side effects of the tensile instability correction will benefit from divergence control in a different discretisation.
At present, there are no robust methods in SPMHD for exactly preserving the divergence-free constraint on the magnetic field. The challenges faced with the Euler potentials and vector potential implementations are discussed in Section 3.3 and Section 3.4. Instead, it would appear that the best option currently is to only approximately uphold this constraint.
5.1 Hyperbolic/parabolic divergence cleaning
introduced a divergence cleaning approach that transports divergence errors away from their source and damps them through a set of coupled hyperbolic and parabolic equations. In essence, divergence errors are propagated through a damped wave equation. A new, scalar field, ψ, is coupled to the magnetic field to facilitate this.
Tricco and Price (2012) adapted the divergence cleaning scheme for SPMHD, with later improvements by Tricco et al. (2016a). The cleaning equations, in continuum form, are given byThis formulation differs from , in that Eqs 45, 46 use Lagrangian derivatives, use ψ/ch for the evolved variable, and account for compression and rarefaction of the fluid. Also accounted for are wave cleaning speed, ch, and parabolic damping, τ, that vary in time. Tricco et al. (2016a) showed that the above system of equations can be combined to create a generalised wave equation of the formIf ch, τ, ρ and the fluid velocity are held constant, this reduces to the usual damped wave equation, specified in the original formulation,
The SPMHD discretised cleaning equations areNote that the difference estimate is used for ∇ ⋅B (Eq. 44). These ‘constrained’ hyperbolic/parabolic divergence cleaning equations have formal guarantees about numerical stability. The discretised cleaning equations were derived by considering the energy content of the ψ field, , ensuring that any change in the magnetic energy is conserved by an equal but opposite change in ψ energy so that total energy is conserved. Imposing this constraint further ensures that the parabolic damping will only ever siphon energy from the magnetic field.
The hyperbolic wave speed, ch, is typically taken to be the fast magnetosonic wave speed, so that propagation is at the fastest rate permissible within the Courant timestep condition. This is given, per particle, by Δta = Cha/ch,a where C ∼ 0.3 is the Courant factor. Since the hydrodynamical timestep is already constrained by the fast magnetosonic speed, this does not impose any additional timestep constraint. It is possible to use a faster speed, so long as the timestep is commensurately decreased (). The rate of damping is set bywith σ = 1 an optimal choice (Tricco and Price, 2012; ).
The divergence error within a calculation can be measured by the dimensionless quantityTypically, ‘constrained’ divergence cleaning keeps the mean ϵdivB in a simulation around ∼1%. This is sufficient for practical applications, and, generally, reduces average divergence error by about an order of magnitude for most test problems and astrophysical applications. Divergence cleaning can subsequently yield multiple orders of magnitude improvement in momentum conservation through the connection of the tensile instability correction with the divergence of the magnetic field. An example of this is shown in Figure 4, which showcases the gravitational collapse of a molecular cloud core from Tricco and Price (2012) (their Figure 21). Without divergence cleaning, material is ejected out of the plane of the disc due to spurious momentum gain from the tensile instability correction arising from divergence errors. With divergence cleaning, the disc remains stable over long-term evolution. Figure 5 shows the corresponding total momentum change. A sink particle is introduced around one free-fall time. Divergence cleaning improves momentum conservation by approximately two orders of magnitude, which is sufficient to keep the sink particle within the disc.
FIGURE 4
FIGURE 5
Importantly, the ‘constrained’ divergence cleaning scheme is stable in the presence of free boundaries or sharp density contrasts (Tricco and Price, 2012). Price and Monaghan (2005) tested a non-conservative scheme on the Orszag-Tang vortex (), finding that it gives, at best, a factor two reduction in average divergence error, but could potentially increase overall divergence error through spurious energy creation (a “divergence creating” scheme). Stasyszyn et al. (2013) demonstrate that a non-conservative scheme can corrupt shocktube solutions with sharp density jumps.
Although divergence cleaning uses the difference derivative estimate for ∇ ⋅B, as given by Eq. 44, it is possible in principle to use other discretisations. As an example, Tricco and Price (2012) constructed “constrained” divergence cleaning equations that used the symmetric derivative estimate (Eq. 43). Though numerically stable, this low-order estimate was found to be overly dissipative and could introduce artefacts into the physical portions of the magnetic field since this estimate is sensitive to particle disorder.
5.1.1 Example: 3D Orszag-Tang vortex
The Orszag-Tang vortex () is a widely used test that consists of interacting vortices that incite magnetized turbulence, and is used here to demonstrate the efficacy of mixed hyperbolic/parabolic divergence cleaning. Results for this test have been shown for SPMHD many times, for example, Price and Monaghan (2005); ; Rosswog and Price (2007); ; ; Tricco and Price (2012), Tricco and Price (2013); Price et al. (2018); Wissing and Shen (2020). Originally a 2D test, it is extended to 3D for this test by adding a small thickness in z. The simulation domain is x, y ∈ [0, 1] and z ∈ [0, 3/128], with 512 × 512×12 particles arranged on a cubic lattice. The initial conditions are ρ = 25/(36 π), p = 5/(12π), v = [-sin(2πy), sin(2πx), 0] and B = [-sin(2πy), sin(4πx), 0] with γ = 5/3. The calculations use the artificial resistivity switch given by Eq. 29.
Figure 6 shows the density cross-sections at t = 0.5 and t = 1 for the calculation with divergence cleaning. The divergence error can be measured by the dimensionless quantity ϵdivB = h|∇⋅B|/|B|, which provides a standard metric for comparison. Figure 7 shows the median ϵdivB over time for calculations of the 3D Orszag-Tang vortex with and without divergence cleaning. The shaded regions represent the inter-quartile range, that is, the 25th to 75th percentiles. There is a significant reduction in divergence error when divergence cleaning is applied. The median ϵdivB with divergence cleaning is (the average ϵdivB is also ). This is below the 25th percentile without divergence cleaning.
FIGURE 6
FIGURE 7
5.2 Alternative divergence control approaches
SPMHD calculations enjoy a minor level of divergence control through artificial resistivity. As discussed in Section 3.2, the explicitly added dissipation from artificial resistivity is equivalent to a (resolution-dependent) physical dissipation, ηAR∇2B = ηAR∇(∇ ⋅B) − ηAR∇ × (∇ ×B). Though artificial resistivity is intended to treat discontinuities in the magnetic field, it may help dissipate magnetic monopoles. The caveat is that dissipation is also applied to physical portions of the field, so using artificial resistivity primarily as a divergence control measure has its drawback.
Periodically smoothing the magnetic field to remove small-scale noise has occasionally been suggested (; ; Stasyszyn and Elstner, 2015; Tu et al., 2022). However, the frequency of the smoothing procedure needs to remove small-scale noise without overly smoothing the field. Smoothing procedures are adhoc without any formal guarantees.
Formulations that yield a truly divergence-free magnetic field would be ideal. SPMHD appears to be far from achieving this currently (see discussion on the Euler potentials and vector potential in Section 3.3 and Section 3.4). One avenue that is under-explored are projection methods (; Tóth, 2000). Considering an “unclean” magnetic field, B*, it can be written in terms of its physical and unphysical components according to B* = ∇ ×A + ∇ϕ, where A is the vector potential and is the physical portion of the field (since the divergence of the curl is zero). From this, it can be stated that ∇ ⋅B* = ∇2ϕ, and then by solving for ϕ, the divergence-free magnetic field can be obtained from B = B* − ∇ϕ. It is noteworthy to consider that projection methods are commonly used to obtain divergence-free velocity fields for the simulation of incompressible fluids in SPH (; ; ).
Price and Monaghan (2005) tested projection methods in SPMHD, finding that they worked well for simple test problems. The most significant disadvantage is the computational cost in solving the elliptic set of equations. Using a tree may help improve efficiency, but would still be similar in cost to tree-based gravity solvers. Individual particle timesteps add further complication. It may be worth revisiting projection methods and testing further.
6 Non-ideal MHD
Non-ideal MHD concerns plasmas that are only partially ionized. A population of neutral particles can introduce important deviations from the flux freezing condition of ideal MHD. In the context of star formation, these non-ideal effects may play a role in molecular cloud formation, disc fragmentation and braking, and the seeded magnetic field strength inside protostars (see reviews by Pudritz and Ray, 2019; ; ).
Consider a partially ionized plasma consisting of electrons, ions, and neutrally charged particles. Ohmic resistivity refers to the impediment of free electron flow in conducting plasmas. Ambipolar diffusion is the process of neutral particles drifting through ions. The magnetic field is tied to the electrons and ions, thus there is a movement of mass that does not result in transport of the magnetic field. Both Ohmic resistivity and ambipolar diffusion are dissipative processes. The Hall effect, on the other hand, is not dissipative, but rather dispersive. For the Hall effect, ions or charged dust grains are collisionally coupled to the neutral species, but the electrons are not. The magnetic field is only transported by the electrons. See, for example, Wardle and Ng (1999); , ; Pudritz and Ray (2019); Tsukamoto et al. (2022) for discussion on non-ideal effects in the context of star formation.
The three non-ideal effects of Ohmic dissipation, ambipolar diffusion, and the Hall effect have all been implemented into SPMHD (Tsukamoto et al., 2013; Wurster et al., 2014) and have been used for a variety of simulations related to star formation (e.g., Tsukamoto et al., 2015a; Wurster et al., 2016; Wurster et al., 2019). Generally speaking, the context in which non-ideal effects would be expected to play a substantial role is when the ionization rate is sufficiently low. For this reason, Wurster et al. (2014) implement non-ideal effects using a single species of SPMHD particles using the strong coupling approximation, though it is possible to model using two species of particles, e.g., ambipolar diffusion ().
The continuum equations for the non-ideal MHD effects are given bywhere , that is, the unit vector in the direction of the magnetic field, and ηO, ηA, and ηH are the coefficients for Ohmic resistivity, ambipolar diffusion, and the Hall effect, respectively.
Non-ideal MHD effects introduce additional timestep constraints for numerical stability. This is given bywhich is calculated for each non-ideal effect. Price et al. (2018) use Cη = 1/(2π). This timestep constraint can become dominant for large η, and additionally note that it scales ∝ h2, whereas the Courant condition is only ∝ h. Super-time-stepping may be of some benefit to alleviate pressure from the non-ideal MHD timestep constraints (; Tsukamoto et al., 2013; Wurster et al., 2016), though this is only applicable for Ohmic dissipation and ambipolar diffusion.
6.1 Ohmic dissipation
Tsukamoto et al. (2013) and Wurster et al. (2014) implemented Ohmic resistivity in SPMHD using a “two-first derivatives” approach (also for ambipolar diffusion and the Hall effect). This approach makes including non-constant resistivity coefficients straightforward. The discretised equations are given byThe curl of B is calculated first using a difference derivative estimate, then the curl of the result with a symmetric derivative estimate. This conjugate pair of derivative operators appear in many contexts (e.g., ; Price, 2010; Tricco and Price, 2012). The Ohmic dissipation yields a positive-definite increase in thermal energy according to
Note that artificial resistivity is equivalent to an Ohmic dissipation (see Section 3.2). In this case, it is calculated using a second derivative directly in a manner equivalent to and , rather than with two first derivatives as above. Ohmic resistivity implemented with a direct second derivative does work well, provided the resistivity coefficient is spatially constant (; ).
6.2 Ambipolar diffusion
Ambipolar diffusion can be implemented using a two-first derivatives approach, with the inner derivative, (∇ ×B)a, calculated using a difference derivative estimate (Eq. 55). The second derivative is estimated with a symmetric derivative, according towithA positive-definite increase in thermal energy is ensured (Wurster et al., 2014), with
6.3 Hall effect
The Hall effect calculates (∇ ×B)a in the same manner as Ohmic resistivity and ambipolar diffusion, that is, according to the difference derivative estimate in Eq. 55. The outer derivative is calculated using a symmetric derivative estimate according to Eq. 58, but within place of DA.
As the Hall effect is dispersive, and not dissipative, it only leads to the re-distribution of magnetic energy. There is no deposition into thermal energy.
The Hall effect introduces an additional wave type known as whistler modes (Sano and Stone, 2002; ; ). The left and right polarizations of Alfvén waves become asymmetric in the presence of the Hall effect, that is, they have different phase velocities. The right-handed polarization is called the whistler wave. The introduction of an additional wave type can be generally understood in that the Hall effect is hyperbolic in nature rather than parabolic.
7 Prospective outlook
If there is any indication on the future potential of SPMHD as a tool to study astrophysical problems, one only needs to look at the large bodies of work that have been conducted over the past decade in a variety of astrophysical contexts. It may taken decades for SPMHD to reach its current level of maturity, but all major roadblocks have been cleared. SPMHD is finally a method that is generally applicable for the study of astrophysics. This is not to say that there is no room to improve the method further. Far from it.
With respect to grid-based codes, SPMHD possesses a number of advantages, such as its conservation properties, adaptive resolution with respect to the density, and absence of dissipation due to advection. On the other hand, the numerical dissipation arising from artificial viscosity and resistivity is typically greater than that stemming from Reimann-based solvers in grid codes. SPMHD is also typically more computationally expensive than grid-based codes, owing to the number of neighbours under the kernel (–200) and the need for a nearest neighbour search. The inherent particle “re-meshing” motions additionally incur a level of background noise in the velocity field, though this can be addressed by using more neighbours or better kernels, but at increased computational expense (e.g., Tricco, 2019). For magnetic fields, SPMHD can only approximately uphold the divergence-free constraint at present, whereas grid-based codes can utilize approaches such as constrained transport to exactly solve for a divergence-free magnetic field. Furthermore, the magnetic field can only be specified where there is mass present (i.e., particles).
One area that deserves more study is the MRI. found that SPMHD adequately simulates the MRI in unstratified shearing boxes with net flux, but have decaying solutions for zero-net flux. They also found that SPMHD produces unphysical behaviour for stratified shearing boxes, though the calculations of Wissing et al. (2022) were able to sustain MRI-induced turbulence in stratified shearing boxes for over 100 orbits, seemingly due to the geometric density average formulism (see Figure 8). Wissing et al. (2022) were also able to sustain turbulence in zero-nut flux unstratified shearing boxes, provided the magnetic Prandtl number was above a critical threshold. Part of the complication of studying the MRI is the breadth of initial configurations and parameters. One avenue worth exploring is the inclusion of physical dissipation to set the Reynolds and magnetic Reynolds numbers, along with the magnetic Prandtl number. Another avenue that seems ripe is global disc simulations. SPH has a rich history of simulating accretion discs owing to its conservation properties, and applying SPMHD in this direction would appear sensible.
FIGURE 8
There is also need to explore the properties of SPMHD on other fundamental MHD phenomena and to validate correctness of obtained solutions. Dynamos are one class of problem deserving more attention. To date, there has only been limited exploration of the small-scale dynamo (Tricco et al., 2016b) and galactic dynamos (Wissing and Shen, 2023). And only the surface has yet been scratched on the properties of magnetised turbulence in SPMHD.
There should be continued effort to improve the fundamental accuracy or convergence of SPMHD. There are discussions and advancements within hydrodynamical schemes for Lagrangian, particle-based methods that may be relevant for SPMHD. developed an SPH scheme that has higher-order gradient estimates through matrix inversion, and use Riemann solvers inside their Godunov-SPH scheme.
Meshless finite mass (MFM) (; ) is another Godunov-type scheme that uses a least-squares matrix gradient operator and Riemann solvers with slope limiters. Like SPMHD, MFM uses mixed hyperbolic/parabolic divergence cleaning to uphold the divergence-free constraint on the magnetic field, but also employs a constrained-gradient method for further reduction of divergence errors in the magnetic field (). At present, it is difficult the quantify how important is the choice of numerical scheme as there is a lack of overlap in astrophysical simulations between MFM and SPMHD, with use of MFM focused primarily on galaxy formation (e.g., the FIRE simulations ; ; ) and SPMHD on star formation calculations. Perhaps there may be lessons from these numerical methods, or even others, in regards to improvements for SPMHD.
Coupling magnetic fields with charged dust is a perfect opportunity to extend SPMHD in new directions. Non-ideal MHD effects and dust are tied together, as dust grains can adsorb electrons or ions. There are already robust solvers for gas-dust mixtures in SPH (; ; Price and Laibe, 2015), and there is nothing in principle preventing creation of algorithms to couple magnetic fields and dust together in a unified solver. Tsukamoto et al. (2021), Tsukamoto et al. (2023) have made initial steps in this direction, expanding upon the one-fluid dust approach of to include magnetic fields. They make a number of simplifications, and better treatment on the differences between neutral and charged dust are still required (depending upon the physical regime).
Finally, it is worth noting that adapting existing SPH codes to include magnetic fields is straightforward. At its core, this involves evolving another variable (the magnetic field), adding magnetic dissipation terms, calculating accelerations from the magnetic field, and solving the divergence cleaning equations alongside the evolution of the magnetic field. While there are improvements that can still be made to the method, recent advancements and achievements with SPMHD suggest that it is capable of general theoretical studies of astrophysics, providing a complementary approach to grid-based methods.
Statements
Author contributions
TT: Writing–original draft.
Funding
The author(s) declare financial support was received for the research, authorship, and/or publication of this article. TT was supported by a Discovery Grant from the Natural Sciences and Engineering Research Council (NSERC) of Canada. This research was enabled in part by support provided by ACENET and the Digital Research Alliance of Canada.
Acknowledgments
TT thanks Daniel Price for many conversations over the years that has refined his understanding of, and appreciation for, SPH. TT thanks Robert Wissing for permission to reproduce the MRI figures. Figures and analysis in this review made use of Sarracen, a Python package for the analysis and visualization of SPH data ().
Conflict of interest
The author declares that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
References
1
AgertzO.MooreB.StadelJ.PotterD.MiniatiF.ReadJ.et al (2007). Fundamental differences between SPH and grid methods. MNRAS380, 963–978. 10.1111/j.1365-2966.2007.12183.x
2
AlexiadesV.AmiezG.GremaudP.-A. (1996). Super-time-stepping acceleration of explicit schemes for parabolic problems. Commun. Numer. Methods Eng.12, 31–42. 10.1002/(SICI)1099-0887(199601)12:1⟨31::AID-CNM950⟩3.0.CO;2-5
3
ArtymowiczP.LubowS. H. (1994). Dynamics of binary-disk interaction. 1: resonances and disk gap sizes. ApJ421, 651. 10.1086/173679
4
BaiX.-N. (2014). Hall-effect-Controlled gas dynamics in protoplanetary disks. I. Wind solutions at the inner disk. ApJ791, 137. 10.1088/0004-637X/791/2/137
5
BarnesD. J.KawataD.WuK. (2012). Cosmological simulations using GCMHD+. MNRAS420, 3195–3212. 10.1111/j.1365-2966.2011.20247.x
6
BarnesD. J.OnA. Y. L.WuK.KawataD. (2018). SPMHD simulations of structure formation. MNRAS476, 2890–2904. 10.1093/mnras/sty400
7
BateM. R.TriccoT. S.PriceD. J. (2014). Collapse of a molecular cloud core to stellar densities: stellar-core and outflow formation in radiation magnetohydrodynamic simulations. MNRAS437, 77–95. 10.1093/mnras/stt1865
8
BiriukovS.PriceD. J. (2019). Stable anisotropic heat conduction in smoothed particle hydrodynamics. MNRAS483, 4901–4909. 10.1093/mnras/sty3413
9
BonafedeA.DolagK.StasyszynF.MuranteG.BorganiS. (2011). A non-ideal magnetohydrodynamic GADGET: simulating massive galaxy clusters. MNRAS418, 2234–2250. 10.1111/j.1365-2966.2011.19523.x
10
BonnerotC.PriceD. J.LodatoG.RossiE. M. (2017). Magnetic field evolution in tidal disruption events. MNRAS469, 4879–4888. 10.1093/mnras/stx1210
11
BørveS.OmangM.TrulsenJ. (2001). Regularized smoothed particle hydrodynamics: a new approach to simulating magnetohydrodynamic shocks. ApJ561, 82–93. 10.1086/323228
12
BørveS.OmangM.TrulsenJ. (2004). Two-dimensional MHD smoothed particle hydrodynamics stability analysis. ApJS153, 447–462. 10.1086/421520
13
BørveS.OmangM.TrulsenJ. (2006). Multidimensional MHD shock tests of regularized smoothed particle hydrodynamics. ApJ652, 1306–1317. 10.1086/508454
14
BrackbillJ. U.BarnesD. C. (1980). The Effect of Nonzero ∇ ⋅ B on the numerical solution of the magnetohydrodynamic equations. J. Comput. Phys.35, 426–430. 10.1016/0021-9991(80)90079-0
15
BraidingC. R.WardleM. (2012a). The Hall effect in accretion flows. MNRAS427, 3188–3195. 10.1111/j.1365-2966.2012.22001.x
16
BraidingC. R.WardleM. (2012b). The Hall effect in star formation. MNRAS422, 261–281. 10.1111/j.1365-2966.2012.20601.x
17
BrandenburgA. (2010). Magnetic field evolution in simulations with Euler potentials. MNRAS401, 347–354. 10.1111/j.1365-2966.2009.15640.x
18
BrioM.WuC. C. (1988). An upwind differencing scheme for the equations of ideal magnetohydrodynamics. J. Comput. Phys.75, 400–422. 10.1016/0021-9991(88)90120-9
19
BrookshawL. (1985). A method of calculating radiative heat diffusion in particle simulations. PASA6, 207–210. 10.1017/S1323358000018117
20
BürzleF.ClarkP. C.StasyszynF.DolagK.KlessenR. S. (2011a). Protostellar outflows with smoothed particle magnetohydrodynamics. MNRAS417, L61–L65. 10.1111/j.1745-3933.2011.01120.x
21
BürzleF.ClarkP. C.StasyszynF.GreifT.DolagK.KlessenR. S.et al (2011b). Protostellar collapse and fragmentation using an MHD GADGET. MNRAS412, 171–186. 10.1111/j.1365-2966.2010.17896.x
22
ClearyP. W.MonaghanJ. J. (1999). Conduction modelling using smoothed particle hydrodynamics. J. Comput. Phys.148, 227–264. 10.1006/jcph.1998.6118
23
CumminsS. J.RudmanM. (1999). An SPH projection method. J. Comput. Phys.152, 584–607. 10.1006/jcph.1999.6246
24
DednerA.KemmF.KrönerD.MunzC. D.SchnitzerT.WesenbergM. (2002). Hyperbolic divergence cleaning for the MHD equations. J. Comput. Phys.175, 645–673. 10.1006/jcph.2001.6961
25
DehnenW.AlyH. (2012). Improving convergence in smoothed particle hydrodynamics simulations without pairing instability. MNRAS425, 1068–1082. 10.1111/j.1365-2966.2012.21439.x
26
DengH.MayerL.LatterH.HopkinsP. F.BaiX.-N. (2019). Local simulations of MRI turbulence with meshless methods. ApJS241, 26. 10.3847/1538-4365/ab0957
27
DobbsC. L.PriceD. J. (2008). Magnetic fields and the dynamics of spiral galaxies. MNRAS383, 497–512. 10.1111/j.1365-2966.2007.12591.x
28
DobbsC. L.PriceD. J.PettittA. R.BateM. R.TriccoT. S. (2016). Magnetic field evolution and reversals in spiral galaxies. MNRAS461, 4482–4495. 10.1093/mnras/stw1625
29
DobbsC. L.WursterJ. (2021). The properties of clusters, and the orientation of magnetic fields relative to filaments, in magnetohydrodynamic simulations of colliding clouds. MNRAS502, 2285–2295. 10.1093/mnras/stab150
30
DolagK.StasyszynF. (2009). An MHD GADGET for cosmological simulations. MNRAS398, 1678–1697. 10.1111/j.1365-2966.2009.15181.x
31
EvansC. R.HawleyJ. F. (1988). Simulation of magnetohydrodynamic flows: a constrained transport model. ApJ332, 659. 10.1086/166684
32
ForganD.PriceD. J.BonnellI. (2017). On the fragmentation boundary in magnetized self-gravitating discs. MNRAS466, 3406–3416. 10.1093/mnras/stw3314
33
García-SenzD.CabezónR. M.EscartínJ. A. (2012). Improving smoothed particle hydrodynamics with an integral approach to calculating gradients. A&A538, A9. 10.1051/0004-6361/201117939
34
García-SenzD.CabezónR. M.EscartínJ. A. (2022). Conservative, density-based smoothed particle hydrodynamics with improved partition of the unity and better estimation of gradients. A&A659, A175. 10.1051/0004-6361/202141877
35
García-SenzD.WissingR.CabezónR. M.VurgunE.LinaresM. (2023). Axisymmetric smoothed particle magnetohydrodynamics. MNRAS518, 4115–4131. 10.1093/mnras/stac3328
36
GingoldR. A.MonaghanJ. J. (1977). Smoothed particle hydrodynamics: theory and application to non-spherical stars. MNRAS181, 375–389. 10.1093/mnras/181.3.375
37
HarrisA.TriccoT. (2023). Sarracen: a Python package for analysis and visualization of smoothed particle hydrodynamics data. J. Open Source Softw.8, 5263. 10.21105/joss.05263
38
HennebelleP.InutsukaS.-i. (2019). The role of magnetic field in molecular cloud formation and evolution. Front. Astronomy Space Sci.6, 5. 10.3389/fspas.2019.00005
39
HerringtonN. P.DobbsC. L.BendingT. J. R. (2023). The role of previous generations of stars in triggering star formation and driving gas dynamics. MNRAS521, 5712–5723. 10.1093/mnras/stad923
40
HopkinsP. F. (2013). A general class of Lagrangian smoothed particle hydrodynamics methods and implications for fluid mixing problems. MNRAS428, 2840–2856. 10.1093/mnras/sts210
41
HopkinsP. F. (2015). A new class of accurate, mesh-free hydrodynamic simulation methods. MNRAS450, 53–110. 10.1093/mnras/stv195
42
HopkinsP. F. (2016). A constrained-gradient method to control divergence errors in numerical MHD. MNRAS462, 576–587. 10.1093/mnras/stw1578
43
HopkinsP. F.KerešD.OñorbeJ.Faucher-GiguèreC.-A.QuataertE.MurrayN.et al (2014). Galaxies on FIRE (Feedback in Realistic Environments): stellar feedback explains cosmologically inefficient star formation. MNRAS445, 581–603. 10.1093/mnras/stu1738
44
HopkinsP. F.RaivesM. J. (2016). Accurate, meshless methods for magnetohydrodynamics. MNRAS455, 51–88. 10.1093/mnras/stv2180
45
HopkinsP. F.WetzelA.KerešD.Faucher-GiguèreC.-A.QuataertE.Boylan-KolchinM.et al (2018). FIRE-2 simulations: physics versus numerics in galaxy formation. MNRAS480, 800–863. 10.1093/mnras/sty1690
46
HopkinsP. F.WetzelA.WheelerC.SandersonR.GrudićM. Y.SameieO.et al (2023). FIRE-3: updated stellar evolution models, yields, and microphysics and fitting functions for applications in galaxy simulations. MNRAS519, 3154–3181. 10.1093/mnras/stac3489
47
HoskingJ. G.WhitworthA. P. (2004). Modelling ambipolar diffusion with two-fluid smoothed particle hydrodynamics. MNRAS347, 994–1000. 10.1111/j.1365-2966.2004.07273.x
48
HuX. Y.AdamsN. A. (2007). An incompressible multi-phase SPH method. J. Comput. Phys.227, 264–278. 10.1016/j.jcp.2007.07.013
49
IwasakiK. (2015). Minimizing dispersive errors in smoothed particle magnetohydrodynamics for strongly magnetized medium. J. Comput. Phys.302, 359–373. 10.1016/j.jcp.2015.09.022
50
IwasakiK.InutsukaS.-I. (2011). Smoothed particle magnetohydrodynamics with a Riemann solver and the method of characteristics. MNRAS418, 1668–1688. 10.1111/j.1365-2966.2011.19588.x
51
KotarbaH.LeschH.DolagK.NaabT.JohanssonP. H.StasyszynF. A. (2009). Magnetic field structure due to the global velocity field in spiral galaxies. MNRAS397, 733–747. 10.1111/j.1365-2966.2009.15030.x
52
LaibeG.PriceD. J. (2012a). Dusty gas with smoothed particle hydrodynamics - I. Algorithm and test suite. MNRAS420, 2345–2364. 10.1111/j.1365-2966.2011.20202.x
53
LaibeG.PriceD. J. (2012b). Dusty gas with smoothed particle hydrodynamics - II. Implicit timestepping and astrophysical drag regimes. MNRAS420, 2365–2376. 10.1111/j.1365-2966.2011.20201.x
54
LaibeG.PriceD. J. (2014). Dusty gas with one fluid in smoothed particle hydrodynamics. MNRAS440, 2147–2163. 10.1093/mnras/stu359
55
LewisB. T.BateM. R. (2017). The dependence of protostar formation on the geometry and strength of the initial magnetic field. MNRAS467, 3324–3337. 10.1093/mnras/stx271
56
LewisB. T.BateM. R.PriceD. J. (2015). Smoothed particle magnetohydrodynamic simulations of protostellar outflows with misaligned magnetic field and rotation axes. MNRAS451, 288–299. 10.1093/mnras/stv957
57
LindS. J.RogersB. D.StansbyP. K. (2020). Review of smoothed particle hydrodynamics: towards converged Lagrangian flow modelling. Proc. R. Soc. Lond. Ser. A476, 20190801. 10.1098/rspa.2019.0801
58
LodatoG.PriceD. J. (2010). On the diffusive propagation of warps in thin accretion discs. MNRAS405, 1212–1226. 10.1111/j.1365-2966.2010.16526.x
59
LucyL. B. (1977). A numerical approach to the testing of the fission hypothesis. AJ82, 1013–1024. 10.1086/112164
60
MauryA.HennebelleP.GirartJ. M. (2022). Recent progress with observations and models to characterize the magnetic fields from star-forming cores to protostellar disks. Front. Astronomy Space Sci.9, 949223. 10.3389/fspas.2022.949223
61
McNallyC. P.LyraW.PassyJ.-C. (2012). A well-posed kelvin-helmholtz instability test and comparison. ApJS201, 18. 10.1088/0067-0049/201/2/18
62
MeglickiZ.WickramasingheD.DewarR. L. (1995). Gravitational collapse of a magnetized vortex: application to the Galactic Centre. MNRAS272, 717–729. 10.1093/mnras/272.4.717
63
MonaghanJ. J. (2002). SPH compressible turbulence. MNRAS335, 843–852. 10.1046/j.1365-8711.2002.05678.x
64
MonaghanJ. J. (2005). Smoothed particle hydrodynamics. Rep. Prog. Phys.68, 1703–1759. 10.1088/0034-4885/68/8/R01
65
MorrisJ. P. (1996). Analysis of smoothed particle hydrodynamics with applications. Ph.D. thesis. Melbourne, Australia: Monash University.
66
MorrisJ. P.MonaghanJ. J. (1997). A switch to reduce SPH viscosity. J. Comput. Phys.136, 41–50. 10.1006/jcph.1997.5690
67
OrszagS. A.TangC. M. (1979). Small-scale structure of two-dimensional magnetohydrodynamic turbulence. J. Fluid Mech.90, 129–143. 10.1017/S002211207900210X
68
PandeyB. P.WardleM. (2008). Hall magnetohydrodynamics of partially ionized plasmas. MNRAS385, 2269–2278. 10.1111/j.1365-2966.2008.12998.x
69
ParkS.-S.KimD.-K.KimJ.-H.KimE. S. (2023). Smoothed particle hydrodynamics method for pinch plasma simulation with non-ideal MHD model. Phys. Plasmas30, 053901. 10.1063/5.0138221
70
PhillipsG. J. (1986a). Three-dimensional numerical simulations of collapsing, isothermal magnetic gas clouds. MNRAS221, 571–587. 10.1093/mnras/221.3.571
71
PhillipsG. J. (1986b). Three-dimensional numerical simulations of collapsing isothermal magnetic gas clouds - non-uniform initial fields. MNRAS222, 111–119. 10.1093/mnras/222.1.111
72
PhillipsG. J.MonaghanJ. J. (1985). A numerical method for three-dimensional simulations of collapsing, isothermal, magnetic gas clouds. MNRAS216, 883–895. 10.1093/mnras/216.4.883
73
PowellK. G. (1994). Approximate Riemann solver for magnetohydrodynamics (that works in more than one dimension).
74
PowellK. G.RoeP. L.LindeT. J.GombosiT. I.De ZeeuwD. L. (1999). A solution-adaptive upwind scheme for ideal magnetohydrodynamics. J. Comput. Phys.154, 284–309. 10.1006/jcph.1999.6299
75
PriceD. J. (2008). Modelling discontinuities and kelvin helmholtz instabilities in SPH. J. Comput. Phys.227, 10040–10057. 10.1016/j.jcp.2008.08.011
76
PriceD. J. (2010). Smoothed particle magnetohydrodynamics - IV. Using the vector potential. MNRAS401, 1475–1499. 10.1111/j.1365-2966.2009.15763.x
77
PriceD. J. (2012). Smoothed particle hydrodynamics and magnetohydrodynamics. J. Comput. Phys.231, 759–794. 10.1016/j.jcp.2010.12.011
78
PriceD. J.BateM. R. (2007). The impact of magnetic fields on single and binary star formation. MNRAS377, 77–90. 10.1111/j.1365-2966.2007.11621.x
79
PriceD. J.BateM. R. (2008). The effect of magnetic fields on star cluster formation. MNRAS385, 1820–1834. 10.1111/j.1365-2966.2008.12976.x
80
PriceD. J.BateM. R. (2009). Inefficient star formation: the combined effects of magnetic fields and radiative feedback. MNRAS398, 33–46. 10.1111/j.1365-2966.2009.14969.x
81
PriceD. J.LaibeG. (2015). A fast and explicit algorithm for simulating the dynamics of small dust grains with smoothed particle hydrodynamics. MNRAS451, 813–826. 10.1093/mnras/stv996
82
PriceD. J.MonaghanJ. J. (2004a). Smoothed Particle Magnetohydrodynamics - I. Algorithm and tests in one dimension. MNRAS348, 123–138. 10.1111/j.1365-2966.2004.07345.x
83
PriceD. J.MonaghanJ. J. (2004b). Smoothed Particle Magnetohydrodynamics - II. Variational principles and variable smoothing-length terms. MNRAS348, 139–152. 10.1111/j.1365-2966.2004.07346.x
84
PriceD. J.MonaghanJ. J. (2005). Smoothed particle magnetohydrodynamics — III. Multidimensional tests and the ∇·B= 0 constraint. MNRAS364, 384–406. 10.1111/j.1365-2966.2005.09576.x
85
PriceD. J.RosswogS. (2006). Producing ultrastrong magnetic fields in neutron star mergers. Science312, 719–722. 10.1126/science.1125201
86
PriceD. J.TriccoT. S.BateM. R. (2012). Collimated jets from the first core. MNRAS423, L45–L49. 10.1111/j.1745-3933.2012.01254.x
87
PriceD. J.WursterJ.TriccoT. S.NixonC.ToupinS.PettittA.et al (2018). Phantom: a smoothed particle hydrodynamics and magnetohydrodynamics code for astrophysics. PASA35, e031. 10.1017/pasa.2018.25
88
PudritzR. E.RayT. P. (2019). The role of magnetic fields in protostellar outflows and star formation. Front. Astronomy Space Sci.6, 54. 10.3389/fspas.2019.00054
89
ReadJ. I.HayfieldT.AgertzO. (2010). Resolving mixing in smoothed particle hydrodynamics. MNRAS405, 1513–1530. 10.1111/j.1365-2966.2010.16577.x
90
RitchieB. W.ThomasP. A. (2001). Multiphase smoothed-particle hydrodynamics. MNRAS323, 743–756. 10.1046/j.1365-8711.2001.04268.x
91
RosswogS. (2009). Astrophysical smooth particle hydrodynamics. New A Rev.53, 78–104. 10.1016/j.newar.2009.08.007
92
RosswogS.PriceD. (2007). MAGMA: a three-dimensional, Lagrangian magnetohydrodynamics code for merger applications. MNRAS379, 915–931. 10.1111/j.1365-2966.2007.11984.x
93
RyuD.JonesT. W. (1995). Numerical magetohydrodynamics in astrophysics: algorithm and tests for one-dimensional flow`. ApJ442, 228. 10.1086/175437
94
SaitohT. R.MakinoJ. (2013). A density-independent formulation of smoothed particle hydrodynamics. ApJ768, 44. 10.1088/0004-637X/768/1/44
95
SanoT.StoneJ. M. (2002). The effect of the Hall term on the nonlinear evolution of the magnetorotational instability. I. Local axisymmetric simulations. ApJ570, 314–328. 10.1086/339504
96
SodG. A. (1978). A survey of several finite difference methods for systems of nonlinear hyperbolic conservation laws. J. Comput. Phys.27, 1–31. 10.1016/0021-9991(78)90023-2
97
SpringelV. (2005). The cosmological simulation code GADGET-2. MNRAS364, 1105–1134. 10.1111/j.1365-2966.2005.09655.x
98
SpringelV. (2010). Smoothed particle hydrodynamics in astrophysics. ARA&A48, 391–430. 10.1146/annurev-astro-081309-130914
99
SpringelV.HernquistL. (2002). Cosmological smoothed particle hydrodynamics simulations: the entropy equation. MNRAS333, 649–664. 10.1046/j.1365-8711.2002.05445.x
100
StasyszynF. A.DolagK.BeckA. M. (2013). A divergence-cleaning scheme for cosmological SPMHD simulations. MNRAS428, 13–27. 10.1093/mnras/sts018
101
StasyszynF. A.ElstnerD. (2015). A vector potential implementation for smoothed particle magnetohydrodynamics. J. Comput. Phys.282, 148–156. 10.1016/j.jcp.2014.11.011
102
StoneJ. M.GardinerT. A.TeubenP.HawleyJ. F.SimonJ. B. (2008). Athena: a new code for astrophysical mhd. ApJS178, 137–177. 10.1086/588755
103
ThompsonS.CassibryJ. (2020). 2D modeling of fusion ignition conditions for a multilayer plasma liner magneto-inertial fusion target in a cylindrical configuration. Phys. Plasmas27, 022701. 10.1063/1.5132336
104
TóthG. (2000). The ∇·B=0 constraint in shock-capturing magnetohydrodynamics codes. J. Comput. Phys.161, 605–652. 10.1006/jcph.2000.6519
105
TriccoT. S. (2019). The Kelvin-Helmholtz instability and smoothed particle hydrodynamics. MNRAS488, 5210–5224. 10.1093/mnras/stz2042
106
TriccoT. S.PriceD. J. (2012). Constrained hyperbolic divergence cleaning for smoothed particle magnetohydrodynamics. J. Comput. Phys.231, 7214–7236. 10.1016/j.jcp.2012.06.039
107
TriccoT. S.PriceD. J. (2013). A switch to reduce resistivity in smoothed particle magnetohydrodynamics. MNRAS436, 2810–2817. 10.1093/mnras/stt1776
108
TriccoT. S.PriceD. J. (2023). An integral-based approach for the vector potential in smoothed particle magnetohydrodynamics. arXiv e-prints , arXiv:2306.15039. 10.48550/arXiv.2306.15039
109
TriccoT. S.PriceD. J.BateM. R. (2016a). Constrained hyperbolic divergence cleaning in smoothed particle magnetohydrodynamics with variable cleaning speeds. J. Comput. Phys.322, 326–344. 10.1016/j.jcp.2016.06.053
110
TriccoT. S.PriceD. J.FederrathC. (2016b). A comparison between grid and particle methods on the small-scale dynamo in magnetized supersonic turbulence. MNRAS461, 1260–1275. 10.1093/mnras/stw1280
111
TsukamotoY.IwasakiK.InutsukaS.-i. (2013). An explicit scheme for ohmic dissipation with smoothed particle magnetohydrodynamics. MNRAS434, 2593–2599. 10.1093/mnras/stt1205
112
TsukamotoY.IwasakiK.OkuzumiS.MachidaM. N.InutsukaS. (2015a). Bimodality of circumstellar disk evolution induced by the Hall current. ApJ810, L26. 10.1088/2041-8205/810/2/L26
113
TsukamotoY.IwasakiK.OkuzumiS.MachidaM. N.InutsukaS. (2015b). Effects of Ohmic and ambipolar diffusion on formation and evolution of first cores, protostars, and circumstellar discs. MNRAS452, 278–288. 10.1093/mnras/stv1290
114
TsukamotoY.MachidaM. N.InutsukaS. (2021). Conditions for justifying single-fluid approximation for charged and neutral dust fluids and a smoothed particle magnetohydrodynamics method for dust-gas mixture. ApJ913, 148. 10.3847/1538-4357/abf5db
115
TsukamotoY.MachidaM. N.InutsukaS.-i. (2023). Co-evolution of dust grains and protoplanetary disks. PASJ75, 835–852. 10.1093/pasj/psad040
116
TsukamotoY.MachidaM. N.SusaH.NomuraH.InutsukaS. (2020). Early evolution of disk, outflow, and magnetic field of young stellar objects: impact of dust model. ApJ896, 158. 10.3847/1538-4357/ab93d0
117
TsukamotoY.MauryA.CommerçonB.AlvesF. O.CoxE. G.SakaiN.et al (2022). The role of magnetic fields in the formation of protostars, disks, and outflows. arXiv e-prints , arXiv:2209.13765. 10.48550/arXiv.2209.13765
118
TsukamotoY.OkuzumiS.IwasakiK.MachidaM. N.InutsukaS. (2018). Does misalignment between magnetic field and angular momentum enhance or suppress circumstellar disk formation?ApJ868, 22. 10.3847/1538-4357/aae4dc
119
TuX.WangQ.ZhengH.GaoL. (2022). Meshless methods for magnetohydrodynamics with vector potential. J. Comput. Phys.470, 111596. 10.1016/j.jcp.2022.111596
120
Vela VelaL.SánchezR.Reynolds-BarredoJ. M.GeigerJ. (2019). Magneto-hydrodynamical nonlinear simulations of magnetically confined plasmas using smooth particle hydrodynamics (SPH). Phys. Plasmas26, 012511. 10.1063/1.5078451
121
WadsleyJ. W.KellerB. W.QuinnT. R. (2017). Gasoline2: a modern smoothed particle hydrodynamics code. MNRAS471, 2357–2369. 10.1093/mnras/stx1643
122
WardleM.NgC. (1999). The conductivity of dense molecular gas. MNRAS303, 239–246. 10.1046/j.1365-8711.1999.02211.x
123
WissingR.ShenS. (2020). Smoothed particle magnetohydrodynamics with the geometric density average force expression. A&A638, A140. 10.1051/0004-6361/201936739
124
WissingR.ShenS. (2023). Numerical dependencies of the galactic dynamo in isolated galaxies with SPH. A&A673, A47. 10.1051/0004-6361/202244753
125
WissingR.ShenS.WadsleyJ.QuinnT. (2022). Magnetorotational instability with smoothed particle hydrodynamics. A&A659, A91. 10.1051/0004-6361/202141206
126
WursterJ.BateM. R.BonnellI. A. (2021). The impact of non-ideal magnetohydrodynamic processes on discs, outflows, counter-rotation, and magnetic walls during the early stages of star formation. MNRAS507, 2354–2372. 10.1093/mnras/stab2296
127
WursterJ.BateM. R.PriceD. J. (2018a). The collapse of a molecular cloud core to stellar densities using radiation non-ideal magnetohydrodynamics. MNRAS475, 1859–1880. 10.1093/mnras/stx3339
128
WursterJ.BateM. R.PriceD. J. (2018b). The effect of extreme ionization rates during the initial collapse of a molecular cloud core. MNRAS476, 2063–2074. 10.1093/mnras/sty392
129
WursterJ.BateM. R.PriceD. J. (2019). There is no magnetic braking catastrophe: low-mass star cluster and protostellar disc formation with non-ideal magnetohydrodynamics. MNRAS489, 1719–1741. 10.1093/mnras/stz2215
130
WursterJ.BateM. R.PriceD. J.BonnellI. A. (2022). On the origin of magnetic fields in stars - II. The effect of numerical resolution. MNRAS511, 746–764. 10.1093/mnras/stac123
131
WursterJ.PriceD.AyliffeB. (2014). Ambipolar diffusion in smoothed particle magnetohydrodynamics. MNRAS444, 1104–1112. 10.1093/mnras/stu1524
132
WursterJ.PriceD. J.BateM. R. (2016). Can non-ideal magnetohydrodynamics solve the magnetic braking catastrophe?MNRAS457, 1037–1061. 10.1093/mnras/stw013
133
WursterJ.PriceD. J.BateM. R. (2017). The impact of non-ideal magnetohydrodynamics on binary star formation. MNRAS466, 1788–1804. 10.1093/mnras/stw3181
Summary
Keywords
smoothed particle magnetohydrodynamics, smoothed particle hydrodynamics, magnetohydrodynamics (MHD), Lagrangian particle methods, non-ideal MHD, divergence cleaning, astrophysics
Citation
Tricco TS (2023) Smoothed particle magnetohydrodynamics. Front. Astron. Space Sci. 10:1288219. doi: 10.3389/fspas.2023.1288219
Received
04 September 2023
Accepted
21 November 2023
Published
19 December 2023
Volume
10 - 2023
Edited by
Kengo Tomida, Tohoku University, Japan
Reviewed by
Kazunari Iwasaki, National Astronomical Observatory of Japan (NAOJ), Japan
José Juan González-Avilés, National Autonomous University of Mexico, Mexico
Updates
Copyright
© 2023 Tricco.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Terrence S. Tricco, tstricco@mun.ca
Disclaimer
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.