-
Exploring the Formation of Resistive Pseudodisks with the GPU Code Astaroth
Authors:
Miikka S. Väisälä,
Hsien Shang,
Daniele Galli,
Susana Lizano,
Ruben Krasnopolsky
Abstract:
Pseudodisks are dense structures formed perpendicular to the direction of the magnetic field during the gravitational collapse of a molecular cloud core. Numerical simulations of the formation of pseudodisks are usually computationally expensive with conventional CPU codes. To demonstrate the proof-of-concept of a fast computing method for this numerically costly problem, we explore the GPU-powere…
▽ More
Pseudodisks are dense structures formed perpendicular to the direction of the magnetic field during the gravitational collapse of a molecular cloud core. Numerical simulations of the formation of pseudodisks are usually computationally expensive with conventional CPU codes. To demonstrate the proof-of-concept of a fast computing method for this numerically costly problem, we explore the GPU-powered MHD code Astaroth, a 6th-order finite difference method with low adjustable finite resistivity implemented with sink particles. The formation of pseudodisks is physically and numerically robust and can be achieved with a simple and clean setup for this newly adopted numerical approach for science verification. The method's potential is illustrated by evidencing the dependence on the initial magnetic field strength of specific physical features accompanying the formation of pseudodisks, e.g. the occurrence of infall shocks and the variable behavior of the mass and magnetic flux accreted on the central object. As a performance test, we measure both weak and strong scaling of our implementation to find most efficient way to use the code on a multi-GPU system. Once suitable physics and problem-specific implementations are realized, the GPU-accelerated code is an efficient option for 3-D magnetized collapse problems.
△ Less
Submitted 25 October, 2023;
originally announced October 2023.
-
Magnetic Spirals in Accretion Flows Originated from Misaligned Magnetic Field
Authors:
Weixiao Wang,
Miikka S. Väisälä,
Hsien Shang,
Ruben Krasnopolsky,
Zhi-Yun Li,
Ka Ho Lam,
Feng Yuan
Abstract:
Misalignment between rotation and magnetic field has been suggested to be one type of physical mechanisms which can easen the effects of magnetic braking during collapse of cloud cores leading to formation of protostellar disks. However, its essential factors are poorly understood. Therefore, we perform a more detailed analysis of the physics involved. We analyze existing simulation data to measur…
▽ More
Misalignment between rotation and magnetic field has been suggested to be one type of physical mechanisms which can easen the effects of magnetic braking during collapse of cloud cores leading to formation of protostellar disks. However, its essential factors are poorly understood. Therefore, we perform a more detailed analysis of the physics involved. We analyze existing simulation data to measure the system torques, mass accretion rates and Toomre Q parameters. We also examine the presence of shocks in the system. While advective torques are generally the strongest, we find that magnetic and gravitational torques can play substantial roles in how angular momentum is transferred during the disk formation process. Magnetic torques can shape the accretion flows, creating two-armed magnetized inflow spirals aligned with the magnetic field. We find evidence of an accretion shock that is aligned according to the spiral structure of the system. Inclusion of ambipolar diffusion as explored in this work has shown a slight influence in the small scale structures but not in the main morphology. We discuss potential candidate systems where some of these phenomena could be present.
△ Less
Submitted 22 January, 2022;
originally announced January 2022.
-
Characterization of dense Planck clumps observed with Herschel and SCUBA-2
Authors:
E. Mannfors,
M. Juvela,
L. Bronfman,
D. J. Eden,
**hua He,
Gwanjeon Kim,
Kee-Tae Kim,
H. Kirppu,
T. Liu,
J. Montillaud,
H. Parsons,
Patricio Sanhueza,
Hsien Shang,
A. Soam,
K. Tatematsu,
A. Traficante,
M. S. Väisälä,
Chang Won Lee
Abstract:
We aim to characterize a diverse selection of dense, potentially star-forming cores, clumps, and clouds within the Milky Way in terms of their dust emission and SF activity. We studied 53 fields that have been observed in the JCMT SCUBA-2 continuum survey SCOPE and have been mapped with Herschel. We estimated dust properties by fitting Herschel observations with modified blackbody functions, studi…
▽ More
We aim to characterize a diverse selection of dense, potentially star-forming cores, clumps, and clouds within the Milky Way in terms of their dust emission and SF activity. We studied 53 fields that have been observed in the JCMT SCUBA-2 continuum survey SCOPE and have been mapped with Herschel. We estimated dust properties by fitting Herschel observations with modified blackbody functions, studied the relationship between dust temperature and dust opacity spectral index $β$, and estimated column densities. We extracted clumps from the SCUBA-2 850 $μ$m maps with the FellWalker algorithm and examined their masses and sizes. Clumps are associated with young stellar objects found in several catalogs. We estimated the gravitational stability of the clumps with virial analysis. The clumps are categorized as unbound starless, prestellar, or protostellar. We find 529 dense clumps, typically with high column densities from (0.3-4.8)$\times 10^{22}$ cm$^{-2}$, with a mean of (1.5$\pm$0.04)$\times10^{22}$ cm$^{-2}$, low temperatures ($T\sim $10-20 K), and estimated submillimeter $β$ =1.7$\pm$0.1. We detect a slight increase in opacity spectral index toward millimeter wavelengths. Masses of the sources range from 0.04 $M_\odot$ to 4259 $M_\odot$. Mass, linear size, and temperature are correlated with distance. Furthermore, the estimated gravitational stability is dependent on distance, and more distant clumps appear more virially bound. Finally, we present a catalog of properties of the clumps.Our sources present a large array of SF regions, from high-latitude, nearby diffuse clouds to large SF complexes near the Galactic center. Analysis of these regions will continue with the addition of molecular line data, which will allow us to study the densest regions of the clumps in more detail.
△ Less
Submitted 18 June, 2021;
originally announced June 2021.
-
Scalable communication for high-order stencil computations using CUDA-aware MPI
Authors:
Johannes Pekkilä,
Miikka S. Väisälä,
Maarit J. Käpylä,
Matthias Rheinhardt,
Oskar Lappi
Abstract:
Modern compute nodes in high-performance computing provide a tremendous level of parallelism and processing power. However, as arithmetic performance has been observed to increase at a faster rate relative to memory and network bandwidths, optimizing data movement has become critical for achieving strong scaling in many communication-heavy applications. This performance gap has been further accent…
▽ More
Modern compute nodes in high-performance computing provide a tremendous level of parallelism and processing power. However, as arithmetic performance has been observed to increase at a faster rate relative to memory and network bandwidths, optimizing data movement has become critical for achieving strong scaling in many communication-heavy applications. This performance gap has been further accentuated with the introduction of graphics processing units, which can provide by multiple factors higher throughput in data-parallel tasks than central processing units. In this work, we explore the computational aspects of iterative stencil loops and implement a generic communication scheme using CUDA-aware MPI, which we use to accelerate magnetohydrodynamics simulations based on high-order finite differences and third-order Runge-Kutta integration. We put particular focus on improving intra-node locality of workloads. Our GPU implementation scales strongly from one to $64$ devices at $50\%$--$87\%$ of the expected efficiency based on a theoretical performance model. Compared with a multi-core CPU solver, our implementation exhibits $20$--$60\times$ speedup and $9$--$12\times$ improved energy efficiency in compute-bound benchmarks on $16$ nodes.
△ Less
Submitted 10 May, 2022; v1 submitted 2 March, 2021;
originally announced March 2021.
-
Interaction of large- and small-scale dynamos in isotropic turbulent flows from GPU-accelerated simulations
Authors:
Miikka S. Väisälä,
Johannes Pekkilä,
Maarit J. Käpylä,
Matthias Rheinhardt,
Hsien Shang,
Ruben Krasnopolsky
Abstract:
Magnetohydrodynamical (MHD) dynamos emerge in many different astrophysical situations where turbulence is present, but the interaction between large-scale (LSD) and small-scale dynamos (SSD) is not fully understood. We performed a systematic study of turbulent dynamos driven by isotropic forcing in isothermal MHD with magnetic Prandtl number of unity, focusing on the exponential growth stage. Both…
▽ More
Magnetohydrodynamical (MHD) dynamos emerge in many different astrophysical situations where turbulence is present, but the interaction between large-scale (LSD) and small-scale dynamos (SSD) is not fully understood. We performed a systematic study of turbulent dynamos driven by isotropic forcing in isothermal MHD with magnetic Prandtl number of unity, focusing on the exponential growth stage. Both helical and non-helical forcing was employed to separate the effects of LSD and SSD in a periodic domain. Reynolds numbers (Rm) up to $\approx 250$ were examined and multiple resolutions used for convergence checks. We ran our simulations with the Astaroth code, designed to accelerate 3D stencil computations on graphics processing units (GPUs) and to employ multiple GPUs with peer-to-peer communication. We observed a speedup of $\approx 35$ in single-node performance compared to the widely used multi-CPU MHD solver Pencil Code. We estimated the growth rates both from the averaged magnetic fields and their power spectra. At low Rm, LSD growth dominates, but at high Rm SSD appears to dominate in both helically and non-helically forced cases. Pure SSD growth rates follow a logarithmic scaling as a function of Rm. Probability density functions of the magnetic field from the growth stage exhibit SSD behaviour in helically forced cases even at intermediate Rm. We estimated mean-field turbulence transport coefficients using closures like the second-order correlation approximation (SOCA). They yield growth rates similar to the directly measured ones and provide evidence of $α$ quenching. Our results are consistent with the SSD inhibiting the growth of the LSD at moderate Rm, while the dynamo growth is enhanced at higher Rm.
△ Less
Submitted 16 December, 2020;
originally announced December 2020.
-
Time Evolution of 3D Disk Formation with Misaligned Magnetic Field and Rotation Axes
Authors:
Miikka S. Väisälä,
Hsien Shang,
Ruben Krasnopolsky,
Sheng-Yuan Liu,
Ka Ho Lam,
Zhi-Yun Li
Abstract:
Distinguishing diagnostic observational signatures produced by MHD models is essential in understanding the physics for the formation of protostellar disks in the ALMA era. Develo** suitable tools along with time evolution will facilitate better identification of diagnostic features. With a ray-tracing based radiative transfer code Perspective, we explore time evolution of MHD models carried out…
▽ More
Distinguishing diagnostic observational signatures produced by MHD models is essential in understanding the physics for the formation of protostellar disks in the ALMA era. Develo** suitable tools along with time evolution will facilitate better identification of diagnostic features. With a ray-tracing based radiative transfer code Perspective, we explore time evolution of MHD models carried out in Li, Krasnopolsky & Shang (2013) - most of which have $90^\circ$ misalignment between the rotational axis and the magnetic field. Four visible object types can be characterized, origins of which are dependent on the initial conditions. Our results show complex spiraling density, velocity and polarization structures. The systems are under constant change, but many of those distinctive features are present already early on, and they grow more visible in time, but most could not be identified from the data without examining their change in time. The results suggest that spiraling pseudodisk structures could function as an effective observation signature of the formation process, and we witness accretion in the disk with eccentric orbits which appear as spiral-like perturbation from simple circular Keplerian orbits. Magnetically aligned polarization appears purely azimuthal in the disk and magnetic field can lead to precession of the disk.
△ Less
Submitted 30 December, 2018;
originally announced December 2018.
-
Methods for compressible fluid simulation on GPUs using high-order finite differences
Authors:
Johannes Pekkilä,
Miikka S. Väisälä,
Maarit J. Käpylä,
Petri J. Käpylä,
Omer Anjum
Abstract:
We focus on implementing and optimizing a sixth-order finite-difference solver for simulating compressible fluids on a GPU using third-order Runge-Kutta integration. Since graphics processing units perform well in data-parallel tasks, this makes them an attractive platform for fluid simulation. However, high-order stencil computation is memory-intensive with respect to both main memory and the cac…
▽ More
We focus on implementing and optimizing a sixth-order finite-difference solver for simulating compressible fluids on a GPU using third-order Runge-Kutta integration. Since graphics processing units perform well in data-parallel tasks, this makes them an attractive platform for fluid simulation. However, high-order stencil computation is memory-intensive with respect to both main memory and the caches of the GPU. We present two approaches for simulating compressible fluids using 55-point and 19-point stencils. We seek to reduce the requirements for memory bandwidth and cache size in our methods by using cache blocking and decomposing a latency-bound kernel into several bandwidth-bound kernels. Our fastest implementation is bandwidth-bound and integrates $343$ million grid points per second on a Tesla K40t GPU, achieving a $3.6 \times$ speedup over a comparable hydrodynamics solver benchmarked on two Intel Xeon E5-2690v3 processors. Our alternative GPU implementation is latency-bound and achieves the rate of $168$ million updates per second.
△ Less
Submitted 27 July, 2017;
originally announced July 2017.
-
The supernova-regulated ISM. III. Generation of vorticity, helicity and mean flows
Authors:
Maarit J. Käpylä,
Frederick A. Gent,
Miikka S. Väisälä,
Graeme R. Sarson
Abstract:
The forcing of interstellar turbulence, driven mainly by supernova explosions, is irrotational in nature, but the development of significant amounts of vorticity and helicity, accompanied by large-scale dynamo action, has been reported. Several earlier investigations examined vorticity production in simpler systems; here all the relevant processes can be considered simultaneously. We also investig…
▽ More
The forcing of interstellar turbulence, driven mainly by supernova explosions, is irrotational in nature, but the development of significant amounts of vorticity and helicity, accompanied by large-scale dynamo action, has been reported. Several earlier investigations examined vorticity production in simpler systems; here all the relevant processes can be considered simultaneously. We also investigate the mechanisms for the generation of net helicity and large-scale flow in the system. We use a three-dimensional, stratified, rotating and shearing local simulation domain of the size 1x1x2 kpc$^3$, forced with SN explosions occurring at the rate typical of the solar neighbourhood in the Milky Way. In addition to the nominal simulation run with realistic Milky Way parameters, we vary the rotation and shear rates, but keep the absolute value of their ratio fixed. Reversing the sign of shear vs. rotation allows us to separate the rotation- and shear-generated contributions. As in earlier studies, we find the generation of significant amounts of vorticity, with on average 65% of the kinetic energy being in the rotational modes. The vorticity production can be related to the baroclinicity of the flow, especially in the regions of hot, dilute clustered supernova bubbles. In these regions, the vortex stretching acts as a sink of vorticity. The net helicities produced by rotation and shear are of opposite signs for physically motivated rotation laws, with the solar neighbourhood parameters resulting in the near cancellation of the total net helicity. We also find the excitation of oscillatory mean flows, the strength and oscillation period of which depend on the Coriolis and shear parameters; we interpret these as signatures of the anisotropic kinetic (AKA) effect. We use the method of moments to fit for the turbulent transport coeffcients, and find $α_{\rm AKA}$ values of the order 3-5 km/s.
△ Less
Submitted 19 October, 2017; v1 submitted 24 May, 2017;
originally announced May 2017.
-
The supernova-regulated ISM. IV. A comparison of simulated polarization with Planck observations
Authors:
Miikka S. Väisälä,
Frederick A. Gent,
Mika Juvela,
Maarit J. Käpylä
Abstract:
The efforts for comparing dust polarization measurements with synthetic observations from MHD models have previously concentrated on the scale of molecular clouds. Here we extend the model comparisons to kiloparsec scales, taking into account hot shocked gas generated by supernovae, and a non-uniform dynamo-generated magnetic field at both large and small scales down to 4 pc spatial resolution. Ra…
▽ More
The efforts for comparing dust polarization measurements with synthetic observations from MHD models have previously concentrated on the scale of molecular clouds. Here we extend the model comparisons to kiloparsec scales, taking into account hot shocked gas generated by supernovae, and a non-uniform dynamo-generated magnetic field at both large and small scales down to 4 pc spatial resolution. Radiative transfer calculations are used to model dust emission and polarization on the top of MHD simulations. We compute synthetic maps of column density $N_H$, polarization fraction $p$, and polarization angle dispersion $S$, and study their dependencies on the important properties of the MHD simulations. These include the large-scale magnetic field and its orientation, the small-scale magnetic field, and supernova-driven shocks. Similar filament-like structures of $S$ as seen in the Planck all-sky maps are visible in our synthetic results, although the smallest scale structures are absent from our maps. Supernova-driven shock fronts and $S$ do not show significant correlation. Instead, $S$ can clearly be attributed to the distribution of the small-scale magnetic field. We also find that the large-scale magnetic field influences the polarization properties, such that, for a given strength of magnetic fluctuation, a strong plane-of-the-sky mean field weakens the observed $S$, while strengthening $p$. The anticorrelation of $p$ and $S$, and decreasing $p$ as a function of $N_H$ are consistent across all synthetic observations. The magnetic fluctuations follow an exponential distribution, rather than Gaussian, characteristic of flows with intermittent repetitive shocks. The observed polarization properties and column densities are sensitive to the line of sight distance over which the emission is integrated.
△ Less
Submitted 13 June, 2018; v1 submitted 21 March, 2017;
originally announced March 2017.
-
High-resolution ammonia map** of the very young protostellar core Chamaeleon-MMS1
Authors:
M. S. Väisälä,
J. Harju,
M. J. Mantere,
O. Miettinen,
R. S. Sault,
C. M. Walmsley,
J. B. Whiteoak
Abstract:
Cha-MMS1 was mapped in the NH_3(1,1) line and the 1.2 cm continuum using the Australia Telescope Compact Array, ATCA. The angular resolution of the ATCA observations is 7'' (~ 1000 AU), and the velocity resolution is 50 m s^{-1}. The core was also mapped with the 64-m Parkes telesope in the NH_3(1,1) and (2,2) lines. Observations from Herschel Space Observatory and Spitzer Space telescope were use…
▽ More
Cha-MMS1 was mapped in the NH_3(1,1) line and the 1.2 cm continuum using the Australia Telescope Compact Array, ATCA. The angular resolution of the ATCA observations is 7'' (~ 1000 AU), and the velocity resolution is 50 m s^{-1}. The core was also mapped with the 64-m Parkes telesope in the NH_3(1,1) and (2,2) lines. Observations from Herschel Space Observatory and Spitzer Space telescope were used to help interpretation. A compact high column density core with a steep velocity gradient is detected in ammonia, with a fractional ammonia abundance compatible with determinations towards other dense cores. The direction of the velocity gradient agrees with previous single-dish observations, and the overall velocity distribution can be interpreted as rotation. The rotation axis goes through the position of a compact far-infrared source detected by Spitzer and Herschel. The specific angular momentum of the core is typical for protostellar envelopes. A string of 1.2 cm continuum sources is tentatively detected near the rotation axis. The ammonia spectra suggest the presence of warm embedded gas in its vicinity. An hourglass-shaped structure is seen in ammonia at the cloud's average LSR velocity, also aligned with the rotation axis. Although this structure resembles a pair of outflow lobes the ammonia spectra show no indications of shocked gas. The observed ammonia structure mainly delineates the inner envelope around the central source. The velocity gradient is likely to originate in the angular momentum of the contracting core, although influence of the outflow from the neighbouring young star IRS4 is possibly visible on one side of the core. The tentative continuum detection and the indications of a warm background component near the rotation axis suggest that the core contains a deeply embedded outflow which may have been missed in previous single-dish CO surveys owing to beam dilution.
△ Less
Submitted 29 November, 2013;
originally announced November 2013.
-
Quantifying the effect of turbulent magnetic diffusion on the growth rate of the magneto-rotational instability
Authors:
M. S. Väisälä,
A. Brandenburg,
Dhrubaditya Mitra,
P. J. Käpylä,
M. J. Mantere
Abstract:
In astrophysics, turbulent diffusion is often used in place of microphysical diffusion to avoid resolving the small scales. However, we expect this approach to break down when time and length scales of the turbulence become comparable with other relevant time and length scales in the system. Turbulent diffusion has previously been applied to the magneto-rotational instability (MRI), but no quantit…
▽ More
In astrophysics, turbulent diffusion is often used in place of microphysical diffusion to avoid resolving the small scales. However, we expect this approach to break down when time and length scales of the turbulence become comparable with other relevant time and length scales in the system. Turbulent diffusion has previously been applied to the magneto-rotational instability (MRI), but no quantitative comparison of growth rates at different turbulent intensities has been performed. We investigate to what extent turbulent diffusion can be used to model the effects of small-scale turbulence on the kinematic growth rates of the MRI, and how this depends on angular velocity and magnetic field strength. We use direct numerical simulations in three-dimensional shearing boxes with periodic boundary conditions in the spanwise direction and additional random plane-wave volume forcing to drive a turbulent flow at a given length scale. We estimate the turbulent diffusivity using a mixing length formula and compare with results obtained with the test-field method. It turns out that the concept of turbulent diffusion is remarkably accurate in describing the effect of turbulence on the growth rate of the MRI. No noticeable breakdown of turbulent diffusion has been found, even when time and length scales of the turbulence become comparable with those imposed by the MRI itself. On the other hand, quenching of turbulent magnetic diffusivity by the magnetic field is found to be absent. Turbulence reduces the growth rate of the MRI in a way that is the same as microphysical magnetic diffusion.
△ Less
Submitted 11 October, 2013;
originally announced October 2013.
-
Influence of Ohmic diffusion on the excitation and dynamics of MRI
Authors:
Maarit J. Korpi,
Petri J. Käpylä,
Miikka S. Väisälä
Abstract:
In this paper we make an effort to understand the interaction of turbulence generated by the magnetorotational instability (MRI) with turbulence from other sources, such as supernova explosions (SNe) in galactic disks. First we perform a linear stability analysis (LSA) of non-ideal MRI to derive the limiting value of Ohmic diffusion that is needed to inhibit the growth of the instability for dif…
▽ More
In this paper we make an effort to understand the interaction of turbulence generated by the magnetorotational instability (MRI) with turbulence from other sources, such as supernova explosions (SNe) in galactic disks. First we perform a linear stability analysis (LSA) of non-ideal MRI to derive the limiting value of Ohmic diffusion that is needed to inhibit the growth of the instability for different types of rotation laws. With the help of a simple analytical expression derived under first-order smoothing approximation (FOSA), an estimate of the limiting turbulence level and hence the turbulent diffusion needed to damp the MRI is derived. Secondly, we perform numerical simulations in local cubes of isothermal nonstratified gas with external forcing of varying strength to see whether the linear result holds for more complex systems. Purely hydrodynamic calculations with forcing, rotation and shear are made for reference purposes, and as expected, non-zero Reynolds stresses are found. In the magnetohydrodynamic calculations, therefore, the total stresses generated are a sum of the forcing and MRI contributions. To separate these contributions, we perform reference runs with MRI-stable shear profiles (angular velocity increasing outwards), which suggest that the MRI-generated stresses indeed become strongly suppressed as function of the forcing. The Maxwell to Reynolds stress ratio is observed to decrease by an order of magnitude as the turbulence level due to external forcing exceeds the predicted limiting value, which we interpret as a sign of MRI suppression. Finally, we apply these results to estimate the limiting radius inside of which the SN activity can suppress the MRI, arriving at a value of 14 kpc.
△ Less
Submitted 1 December, 2009; v1 submitted 9 September, 2009;
originally announced September 2009.