We investigate the numerical performance of a Discontinuous Galerkin (DG) hydrodynamics implementation when applied to the problem of driven, isothermal supersonic turbulence. While the high-order element-based spectral approach of DG is known to efficiently produce accurate results for smooth problems (exponential convergence with expansion order), physical discontinuities in solutions, like shocks, prove challenging and may significantly diminish DG's applicability to practical astrophysical applications. We consider whether DG is able to retain its accuracy and stability for highly supersonic turbulence, characterized by a network of shocks. We find that our new implementation, which regularizes shocks at sub-cell resolution with artificial viscosity, still performs well compared to standard second-order schemes for moderately high Mach number turbulence, provided we also employ an additional projection of the primitive variables onto the polynomial basis to regularize the extrapolated values at cell interfaces. However, the accuracy advantage of DG diminishes significantly in the highly supersonic regime. Nevertheless, in turbulence simulations with a wide dynamic range that start with supersonic Mach numbers and can resolve the sonic point, the low numerical dissipation of DG schemes still proves advantageous in the subsonic regime. Our results thus support the practical applicability of DG schemes for demanding astrophysical problems that involve strong shocks and turbulence, such as star formation in the interstellar medium. We also discuss the substantial computational cost of DG when going to high order, which needs to be weighted against the resulting accuracy gain. For problems containing shocks, this favours the use of comparatively low DG order.
We present an analysis of the cold gas phase in a low-metallicity starburst generated in a high-resolution hydrodynamical simulation of a gas-rich dwarf galaxy merger as part of the griffin project. The simulations resolve (4 M-circle dot gas phase mass resolution, similar to 0.1 pc spatial resolution) the multiphase interstellar medium with a non-equilibrium chemical heating/cooling network at temperatures below 10(4) K. Massive stars are sampled individually and interact with the interstellar medium (ISM) through the formation of H ii regions and supernova explosions. In the extended starburst phase, the ISM is dominated by cold (T-gas < 300 K) filamentary clouds with self-similar internal structures. The clouds have masses of 10(2.6)-10(5.6) M-circle dot with a power-law mass function, dN/dM proportional to M-alpha with alpha = -1.78 (+/- 0.08). They also follow the Larson relations, in good agreement with observations. We trace the lifecycle of the cold clouds and find that they follow an exponential lifetime distribution and an e-folding time of similar to 3.5 Myr. Clouds with peak masses below 10(4)M(circle dot) follow a power-law relation with their average lifetime tau(life) proportional to M-max(0.3) which flattens out for higher cloud masses at < 10 Myr. A similar relation exists between cloud size at peak mass and lifetime. This simulation of the evolution of a realistic galactic cold cloud population supports the rapid formation and disruption of star-forming clouds by stellar radiation and supernovae on a time-scale less than 10 Myr.
Hydrodynamical numerical methods that converge with high-order hold particular promise for astrophysical studies, as they can in principle reach prescribed accuracy goals with higher computational efficiency than standard second- or third-order approaches. Here we consider the performance and accuracy benefits of Discontinuous Galerkin (DG) methods, which offer a particularly straightforward approach to reach extremely high order. Also, their computational stencil maps well to modern GPU devices, further raising the attractiveness of this approach. However, a traditional weakness of this method lies in the treatment of physical discontinuities such as shocks. We address this by invoking an artificial viscosity field to supply required dissipation where needed, and which can be augmented, if desired, with physical viscosity and thermal conductivity, yielding a high-order treatment of the Navier-Stokes equations for compressible fluids. We show that our approach results in sub-cell shock capturing ability, unlike traditional limiting schemes that tend to defeat the benefits of going to high order in DG in problems featuring many shocks. We demonstrate exponential convergence of our solver as a function of order when applied to smooth flows, such as the Kelvin-Helmholtz reference problem of arXiv:1509.03630. We also demonstrate excellent scalability of our GPU implementation up to hundreds of GPUs distributed on different compute nodes. In a first application to driven, sub-sonic turbulence, we highlight the accuracy advantages of high-order DG compared to traditional second-order accurate methods, and we stress the importance of physical viscosity for obtaining accurate velocity power spectra.
Modeling of stellar radiative intensities in various spectral passbands plays an important role in stellar physics. At the same time, direct calculation of the high-resolution spectrum and then integration of it over the given spectral passband is computationally demanding due to the vast number of atomic and molecular lines. This is particularly so when employing three-dimensional (3D) models of stellar atmospheres. To accelerate the calculations, one can employ approximate methods, e.g., the use of opacity distribution functions (ODFs). Generally, ODFs provide a good approximation of traditional spectral synthesis, i.e., computation of intensities through filters with strictly rectangular transmission functions. However, their performance strongly deteriorates when the filter transmission noticeably changes within its passband, which is the case for almost all filters routinely used in stellar physics. In this context, the aims of this paper are (a) to generalize the ODFs method for calculating intensities through filters with arbitrary transmission functions, and (b) to study the performance of the standard and generalized ODFs methods for calculating intensities emergent from 3D models of stellar atmospheres. For this purpose we use the newly developed MPS-ATLAS radiative transfer code to compute intensities emergent from 3D cubes simulated with the radiative magnetohydrodynamics code MURaM. The calculations are performed in the 1.5D regime, i.e., along many parallel rays passing through the simulated cube. We demonstrate that the generalized ODFs method allows accurate and fast syntheses of spectral intensities and their center-to-limb variations.
Context. Stellar spectral synthesis is essential for various applications, ranging from determining stellar parameters to comprehensive stellar variability calculations. New observational resources as well as advanced stellar atmosphere modelling, taking three dimensional effects from radiative magnetohydrodynamics calculations into account, require a more efficient radiative transfer. Aims. For accurate, fast and flexible calculations of opacity distribution functions (ODFs), stellar atmospheres, and stellar spectra, we developed an efficient code building on the well-established ATLAS9 code. The new code also paves the way for easy and fast access to different elemental compositions in stellar calculations. Methods. For the generation of ODF tables, we further developed the well-established DFSYNTHE code by implementing additional functionality and a speed-up by employing a parallel computation scheme. In addition, the line lists used can be changed from Kurucz’s recent lists. In particular, we implemented the VALD3 line list. Results. A new code, the Merged Parallelised Simplified ATLAS, is presented. It combines the efficient generation of ODF, atmosphere modelling, and spectral synthesis in local thermodynamic equilibrium, therefore being an all-in-one code. This all-in-one code provides more numerical functionality and is substantially faster compared to other available codes. The fully portable MPS-ATLAS code is validated against previous ATLAS9 calculations, the PHOENIX code calculations, and high-quality observations.
ABSTRACT We present an analysis of the origin and properties of the circumgalactic medium (CGM) in a suite of 11 cosmological zoom simulations resembling present-day spiral galaxies. On average the galaxies retain about 50 per cent of the cosmic fraction in baryons, almost equally divided into disc (interstellar medium) gas, cool CGM gas and warm-hot CGM gas. At radii smaller than 50 kpc the CGM is dominated by recycled warm-hot gas injected from the central galaxy, while at larger radii it is dominated by cool gas accreted on to the halo. The recycled gas typically accounts for one-third of the CGM mass. We introduce the novel publicly available analysis tool pygad to compute ion abundances and mock absorption spectra. For Lyman α absorption, we find good agreement of the simulated equivalent width (EW) distribution and observations out to large radii. Disc galaxies with quiescent assembly histories show significantly more absorption along the disc major axis. By comparing the EW and H i column densities, we find that CGM Lyman α absorbers are best represented by an effective line width b ≈ 50–70 km s−1 that increases mildly with halo mass, larger than typically assumed.
Context. Stellar spectra synthesis is essential for the characterization of potential planetary hosts. In addition, comprehensive stellar variability calculations with fast radiative transfer are needed to disentangle planetary transits from stellar magnetically driven variability. The planet-hunting space telescopes, such as CoRoT, Kepler, and TESS, bring vast quantities of data, rekindling the interest in fast calculations of the radiative transfer. Aims. We revisit the opacity distribution functions (ODF) approach routinely applied to speed up stellar spectral synthesis. To achieve a considerable speedup relative to the state of the art, we further optimize the approach and search for the best ODF configuration. Furthermore, we generalize the ODF approach for fast calculations of flux in various filters often used in stellar observations. Methods. In a parameter-sweep fashion, we generated ODF in the spectral range from UV to IR with different setups. The most accurate ODF configuration for each spectral interval was determined. We adapted the wavelength grid based on the transmission curve for calculations of the radiative fluxes through filters before performing the normal ODF procedure. Results. Our optimum ODF configuration allows for a three-fold speedup, compared to the previously used ODF configurations. The ODF generalization to calculate fluxes through filters results in a speedup of more than two orders of magnitude.