Porting the grid-based 3D+3V hybrid-Vlasov kinetic plasma simulation Vlasiator to heterogeneous GPU architectures
Authors:
Markus Battarbee,
Konstantinos Papadakis,
Urs Ganse,
Jaro Hokkanen,
Leo Kotipalo,
Yann Pfau-Kempf,
Markku Alho,
Minna Palmroth
Abstract:
Vlasiator is a space plasma simulation code which models near-Earth ion-kinetic dynamics in three spatial and three velocity dimensions. It is highly parallelized, modeling the Vlasov equation directly through the distribution function, discretized on a Cartesian grid, instead of the more common particle-in-cell approach. Modeling near-Earth space, plasma properties span several orders of magnitud…
▽ More
Vlasiator is a space plasma simulation code which models near-Earth ion-kinetic dynamics in three spatial and three velocity dimensions. It is highly parallelized, modeling the Vlasov equation directly through the distribution function, discretized on a Cartesian grid, instead of the more common particle-in-cell approach. Modeling near-Earth space, plasma properties span several orders of magnitude in temperature, density, and magnetic field strength. In order to fit the required six-dimensional grids in memory, Vlasiator utilizes a sparse block-based velocity mesh, where chunks of velocity space are added or deleted based on the advection requirements of the Vlasov solver. In addition, the spatial mesh is adaptively refined through cell-based octree refinement. In this paper, we describe the design choices of porting Vlasiator to heterogeneous CPU/GPU architectures. We detail the memory management, algorithmic changes, and kernel construction as well as our unified codebase approach, resulting in portability to both NVIDIA and AMD hardware (CUDA and HIP languages, respectively). In particular, we showcase a highly parallel block adjustment approach allowing efficient re-ordering of a sparse velocity mesh. We detail pitfalls we have overcome and lay out a plan for optimization to facilitate future exascale simulations using multi-node GPU supercomputing.
△ Less
Submitted 4 June, 2024;
originally announced June 2024.
Modelling aerosol transport and virus exposure with numerical simulations in relation to SARS-CoV-2 transmission by inhalation indoors
Authors:
Ville Vuorinen,
Mia Aarnio,
Mikko Alava,
Ville Alopaeus,
Nina Atanasova,
Mikko Auvinen,
Nallannan Balasubramanian,
Hadi Bordbar,
Panu Erästö,
Rafael Grande,
Nick Hayward,
Antti Hellsten,
Simo Hostikka,
Jyrki Hokkanen,
Ossi Kaario,
Aku Karvinen,
Ilkka Kivistö,
Marko Korhonen,
Risto Kosonen,
Janne Kuusela,
Sami Lestinen,
Erkki Laurila,
Heikki Nieminen,
Petteri Peltonen,
Juho Pokki
, et al. (5 additional authors not shown)
Abstract:
We provide research findings on the physics of aerosol dispersion relevant to the hypothesized aerosol transmission of SARS-CoV-2. We utilize physics-based modeling at different levels of complexity, and literature on coronaviruses, to investigate the possibility of airborne transmission. The previous literature, our 0D-3D simulations by various physics-based models, and theoretical calculations,…
▽ More
We provide research findings on the physics of aerosol dispersion relevant to the hypothesized aerosol transmission of SARS-CoV-2. We utilize physics-based modeling at different levels of complexity, and literature on coronaviruses, to investigate the possibility of airborne transmission. The previous literature, our 0D-3D simulations by various physics-based models, and theoretical calculations, indicate that the typical size range of speech and cough originated droplets (d < 20microns) allows lingering in the air for O(1h) so that they could be inhaled. Consistent with the previous literature, numerical evidence on the rapid drying process of even large droplets, up to sizes O(100microns), into droplet nuclei/aerosols is provided. Based on the literature and the public media sources, we provide evidence that the infected individuals could have been exposed to aerosols/droplet nuclei by inhaling them in significant numbers e.g. O(100). By 3D computational fluid dynamics (CFD) simulations, we give examples on the transport and dilution of aerosols (d<20microns) over distances O(10m) in generic environments. We study susceptible and infected individuals in generic public places by Monte-Carlo modeling. The model accounts for the locally varying aerosol concentration levels which the susceptible accumulate via inhalation. The introduced concept, 'exposure time' to virus containing aerosols is proposed to complement the traditional 'safety distance' thinking. We show that the exposure time to inhale O(100) aerosols could range from O(1s) to O(1min) or even to O(1h) depending on the situation. The Monte Carlo analysis provides clear quantitative insight to the exposure time in different public indoor environments.
△ Less
Submitted 26 May, 2020;
originally announced May 2020.