SearcharxivSearch

arXiv subjects

Jannis Teunissen

Publications and source records attributed to Jannis Teunissen.

At least 19 recordsLinked to original sources

Astrophysics on GPUs: introducing AGILE 1.0

We present AGILE, a GPU-enabled adaptive mesh refinement (AMR) framework for the solution of (near-) conservation laws which occur in astro- and solar-physical applications. AGILE is written in modern fortran 2003, inherits a part of its modules and mesh handling from MPI-AMRVAC, and achieves excellent GPU performance via OpenACC offloading. We here discuss the design decisions which enable AGILE to perform cost-efficient and scalable deeply nested AMR simulations with moderate block sizes of e.g. $16^3$ cells. AGILE currently implements several physics modules, ie. hydrodynamics, frozen-field hydrodynamics, magnetohydrodynamics and special-relativistic hydrodynamics and can easily be extended further through its modular design. Besides strong scaling tests to up to 2048 GPUs and standard benchmarks which show consistent performance across a large range of devices and problem sizes, we demonstrate AGILE's capabilities by means of state-of-the art science applications with all currently available physics modules.

astro-ph.IM

Stochastic simulation of partial discharge inception

We present a Monte Carlo method for simulating the inception of electric discharges in gases. The input consists of an unstructured grid containing the electrostatic field. The output of the model is the estimated probability of discharge inception per initial electron position, as well as the estimated time lag between the appearance of the initial electron and discharge inception. To obtain these quantities electron avalanches are simulated for initial electron positions throughout the whole domain, also including regions below the critical electric field. Avalanches are assumed to propagate along field lines, and they can produce additional avalanches due to photon and ion feedback. If the number of avalanches keeps increasing over time we assume that an electric discharge will eventually form. A statistical distribution for the electron avalanche size is used, which is also valid for gases with strong electron attachment. We compare this distribution against the results of particle simulations. Furthermore, we demonstrate examples of inception simulations in 2D Cartesian, 2D axisymmetric and 3D electrode geometries.

physics.plasm-ph

foap4: Adaptive mesh refinement with OpenACC, MPI, and p4est

GPUs and other accelerators are increasingly used for scientific computing. In the future, we want to add GPU support to parallel adaptive mesh refinement (AMR) codes written in Fortran. To understand which changes are necessary to obtain good performance we have developed foap4, an AMR framework implemented in Fortran that uses OpenACC, MPI, and the p4est library. We discuss the design and implementation of the framework. Several benchmark problems are considered, in which Euler's equations of gas dynamics are solved using explicit time integration. These benchmarks are performed in both 2D and 3D, using static and adaptive meshes, for varying problem sizes on different hardware. Our results show that AMR simulations can be carried out efficiently on GPUs with OpenACC and MPI, even when using relatively small grid blocks of $8^3$ or $16^3$ cells.

physics.comp-ph

3D simulations of negative streamers in CO$_2$ with admixtures of C$_4$F$_7$N

CO$_2$ with an admixture of C$_4$F$_7$N could serve as an eco-friendly alternative to the extreme greenhouse gas SF$_6$ in high-voltage insulation. Streamer discharges in such gases are different from those in air due to the rapid conductivity decay in the streamer channels. Furthermore, since no effective photoionisation mechanism is known, we expect discharge growth to be more stochastic than in air. In this paper we investigate whether conventional fluid models can be used to simulate streamers in CO$_2$ with admixtures of C$_4$F$_7$N of 1 or 10%. We focus on 3D simulations of negative streamers. First we review cross section databases for C$_4$F$_7$N and CO$_2$. Then we compare a two-term Boltzmann solver with a Monte Carlo method to compute reaction and transport coefficients from the cross sections. Afterwards we compare 3D fluid simulations with the local field (LFA) or local energy approximation (LEA) against particle simulations. In general, we find that the results of particle and fluid models are quite similar. One difference we observe is that particle simulations are intrinsically stochastic, leading to more branching. Furthermore, the LEA model does not show better agreement with the particle simulations than the LFA model. We also discuss the effect and choice of different boundary conditions on the negative rod electrode.

physics.plasm-ph

Data-driven reduced modeling of streamer discharges in air

We present a computational framework for simulating filamentary electric discharges, in which channels are represented as conducting cylindrical segments. The framework requires a model that predicts the position, radius, and line conductivity of channels at a next time step. Using this information, the electric conductivity on a numerical mesh is updated, and the new electric potential is computed by solving a variable-coefficient Poisson equation. A parallel field solver with support for adaptive mesh refinement is used, and the framework provides a Python interface for easy experimentation. We demonstrate how the framework can be used to simulate positive streamer discharges in air. First, a dataset of 1000 axisymmetric positive streamer simulations is generated, in which the applied voltage and the electrode geometry are varied. Fit expressions for the streamer radius, velocity, and line conductivity are derived from this dataset, taking as input the size of the high-field region ahead of the streamers. We then construct a reduced model for positive streamers in air, which includes a stochastic branching model. The reduced model compares well with the axisymmetric simulations from the dataset, while allowing spatial and temporal step sizes that are several orders of magnitude larger. 3D simulations with the reduced model resemble experimentally observed discharge morphologies. The model runs efficiently, with 3D simulations with 20+ streamers taking 4-8 minutes on a desktop computer.

physics.plasm-ph

Macroscopic parameterization of positive streamer heads in air

The growth of streamer discharges is determined at their heads, for individual streamers as well as in collective phenomena, such as streamer trees or coronas or streamer bursts ahead of lightning leaders. Some properties of the streamer heads, such as velocity $v$ and radius $R$ now can be measured quite well, but this is very challenging for others such as the maximal electric field, the charge content of the streamer head and the degree of chemical excitation and ionization in the streamer channel. Here we develop, test and evaluate a macroscopic approximation for positive streamer heads in air that relates macroscopic streamer head properties to each other. In particular, we find that velocity $v$, radius $R$ and background field $E_{\rm bg}$ determine the complete profile of streamer heads with photoionization, if they propagate steadily. We also review Naidis' approximate relation between $v$, $R$ and the maximal field $E_{\rm max}$. The approximate head model developed in the present paper consists of three first-order ordinary differential equations along the streamer axis. It is derived from the classical fluid model for streamer discharges by assuming axisymmetry, steady streamer propagation (i.e. with constant velocity and shape), and a spherical shape of the charge layer around the streamer head. The new reduced model agrees well with full solutions of the classical fluid model, even when it is applied to accelerating streamers. Therefore the model can be used for evaluations of experiments, like for the determination of the maximal electric field from radius and velocity of the streamer. It is also a step towards constructing reduced models for the collective dynamics of multi-streamer discharges.

physics.plasm-ph

Positive streamer discharge simulations in humid air: uncertainty in input data and sensitivity analysis

We study how the choice of input data affects simulations of positive streamers in humid air, focusing on H2O cross sections, photoionization models, and chemistry sets. Simulations are performed in air with a mole fraction of 0%, 3% or 10% H2O using an axisymmetric fluid model. Five H2O cross section sets are considered, which lead to significant differences in the resulting electron attachment coefficient. As a result, the streamer velocity can vary by up to about 50% with 10% H2O. We compare results with three photoionization models: the Naidis model for humid air, the Aints model for humid air, and the standard Zheleznyak model for dry air. With the Naidis and in particular the Aints model, there is a significant reduction in photoionization with higher humidities. This results in higher streamer velocities and maximal electric fields, and it can also cause streamer branching in our axisymmetric simulations. Three humid air chemistry sets are considered. Differences between these sets, particularly in the formation of water clusters around positive ions, cause the streamer velocity to vary by up to about 50% with 10% H2O. A sensitivity analysis is performed to identify the most important chemical reactions in these chemistries.

physics.plasm-ph

Investigation of positive streamers in CO$_2$: experiments and 3D particle-in-cell simulations

We investigate the propagation of positive streamers in CO$_2$ through 3D particle-in-cell simulations, which are qualitatively compared against experimental results at 50 mbar. The experiments show that CO$_2$ streamers are much more stochastic than air streamers at the same applied voltage, indicating that few electrons are available in front of the streamer head. In the simulations, we include a photoionization model for CO$_2$. The computational results show that even a small amount of photoionization can sustain positive streamer propagation, but this requires a background electric field close to the critical field. When we compare streamers in CO$_2$ and in air at the same applied voltage, the electric field at the streamer head and the electron density in the streamer channel are higher in CO$_2$. We discuss the uncertainties in CO$_2$ photoionization and provide an estimate for the quenching pressure, which is based on the radiative lifetime of emitting states and the collision frequency of the gas. Furthermore, a criterion for self-sustained streamer growth in CO$_2$ is presented and compared against simulation results.

physics.plasm-ph

Measurement of the electric field distribution in streamer discharges

Using electric field induced second harmonic generation (E-FISH), we performed direction-resolved absolute electric field measurements on single-channel streamer discharges in 70 mbar (7 kPa) air with 0.2 mm and 2 ns resolutions. In order to obtain the absolute (local) electric field, we developed a deconvolution method taking into account the phase variations of E-FISH. The acquired field distribution shows good agreement with the simulation results under the same conditions, in direction, magnitude and in shape. This is the first time that E-FISH is applied to streamers of this size (> 0.5cm radius), crossing a large gap. Achieving these high resolution electric field measurements benefits further understanding of streamer discharges and enables future use of E-FISH on cylindrically symmetric (transient) electric field distributions.

physics.plasm-ph

Calculating radio emissions of positive streamer phenomena using 3D simulations

We study radio emissions from positive streamers in air using 3D simulations, from which the radiated electric field is computed by solving Jefimenko's equations. The simulations are performed at 0.5 bar using two photoionization methods: the Helmholtz approximation for a photon density and a Monte Carlo method using discrete photons, with the latter being the most realistic. We consider cases with single streamers, streamer branching, streamers interacting with preionization and streamer-streamer encounters. We do not observe a strong VHF radio signal during or after branching, which is confirmed by lab experiments. This indicates that the current inside a streamer discharges evolves approximately continuously during branching. On the other hand, stochastic fluctuations in streamer propagation due to Monte Carlo photoionization lead to more radio emission being emitted at frequencies of 100 MHz and above. Another process that leads to such high-frequency emission is the interaction of a streamer with a weakly preionized region, which can be present due to a previous discharge. In agreement with previous work, we observe the strongest and highest-frequency emission from streamer encounters. The amount of total energy that is radiated seems to depend primarily on the background electric field, and less on the particular streamer evolution. Finally, we present approximations for the maximal current along a streamer channel and a fit formula for a streamer's current moment.

physics.plasm-ph

3D simulations of positive streamers in air in a strong external magnetic field

We study how external magnetic fields from 0 to 40 T influence positive streamers in atmospheric pressure air, using 3D PIC-MCC (particle-in-cell, Monte Carlo collision) simulations. When a magnetic field $\vec{B}$ is applied perpendicular to the background electric field $\vec{E}$, the streamers deflect towards the $+\vec{B}$ and $-\vec{B}$ directions which results in a branching into two main channels. With a stronger magnetic field the angle between the branches increases, and for the 40 T case the branches grow almost parallel to the magnetic field. Due to the $\vec{E}\times\vec{B}$ drift of electrons we also observe a streamer deviation in the opposite $-\vec{E}\times\vec{B}$ direction, where the minus sign appears because positive streamers propagate opposite to the electron drift velocity. The deviation due to this $\vec{E}\times\vec{B}$ effect is smaller than the deviation parallel to $\vec{B}$. In both cases of $\vec{B}$ perpendicular and parallel to $\vec{E}$, the streamer radius decreases with the magnetic field strength. We relate our observations to the effects of electric and magnetic fields on electron transport and reaction coefficients.

physics.plasm-ph

A model comparison of 2D Cartesian and 2D axisymmetric models for positive streamer discharges in air

Simulating streamer discharges in 3D can computationally be very expensive, which is why 2D Cartesian simulations are sometimes used instead, especially when dealing with complex geometries. Although 2D Cartesian simulations can only be used to obtain qualitative results, it is nevertheless interesting to understand how they differ from their 3D or axisymmetric counterparts. We therefore compare 2D Cartesian and axisymmetric simulations of positive streamers in air, using a drift-diffusion-reaction fluid model with the local field approximation. With the same electrode length and width, inception voltages are found to be about a factor two higher in the 2D Cartesian case. When compared at the same applied voltage, the 2D Cartesian streamers are up to four times thinner and slower, their maximal electric field is about 30% lower and their degree of ionization is about 65% lower, with the largest differences occurring at the start of the discharge. When we compare at a similar ratio of applied voltage over inception voltage, velocities become rather similar, and so do the streamer radii at later propagation times. However, the maximal electric field in the 2D Cartesian case is then about 20-30% lower, and the degree of ionization is about 40-50% lower. Finally, we show that streamer branching cannot qualitatively be modeled in a 2D Cartesian geometry.

physics.plasm-ph

3D particle-in-cell simulations of negative and positive streamers in C4F7N-CO2 mixtures

We investigate negative and positive streamers in C4F7N-CO2 mixtures through simulations. These mixtures are considered to be more environmentally friendly than the insulating gas SF6 that is widely used in high voltage technology. Simulations are performed using a 3D particle-in-cell model. Negative streamers can propagate when the background field is close to the critical field. We relate this to their short conductive channels, due to rapid electron attachment, which limits their field enhancement. Positive streamers also require a background field close to the critical field, and in addition a source of free electrons ahead of them. In our simulations these electrons are provided through an artificial stochastic background ionization process as no efficient photoionization process is known for these gases. In 3D, we can only simulate the early inception stage of positive discharges, due to the extremely high electric fields and electron densities that occur. Qualitative 2D Cartesian simulations show that the growth of these discharges is highly irregular, resulting from incoming negative streamers that connect to existing channels. The inclusion of a stochastic background ionization process also has an interesting effect on negative discharges: new streamers can be generated behind previous ones, thereby forming a chain of negative streamers.

physics.plasm-ph

3D modeling of positive streamers in air with inhomogeneous density

We study the effect of an inhomogeneous gas density on positive streamer discharges in air using a 3D fluid model with stochastic photoionization, generalizing earlier work with a 2D axisymmetric model by Starikovskiy and Aleksandrov (2019 Plasma Sources Sci. Technol. 28 095022). We consider various types of planar and (hemi)spherical gas density gradients. Streamers propagate from a region of density n0 towards a region of higher or lower gas density n1, where n0 corresponds to 300 K and 1 bar. We observe that streamers can always propagate into a region with a lower gas density. When streamers enter a region with a higher gas density, branching can occur at the density gradient, with branches growing in a flower-like pattern over the gradient surface. Depending on the gas density ratio, the gradient width and other factors, narrow branches are able to propagate into the higher-density gas. In a planar geometry, we find that such propagation is possible up to a gas density slope of 3.5n0/mm, although this value depends on a number of conditions, such as the gradient angle. Surprisingly, a higher applied voltage makes it more difficult for streamers to penetrate into the high-density region, due to an increase of the primary streamer's radius.

physics.plasm-ph

Quantitative modeling of streamer discharge branching in air

Streamer discharges are the primary mode of electric breakdown of air in lightning and high voltage technology. Streamer channels branch many times, which determines the developing tree-like discharge structure. Understanding these branched structures is for example important to describe streamer coronas in lightning research. We simulate branching of positive streamers in air using a 3D fluid model where photoionization is included as a discrete and stochastic process. The probability and morphology of branching are in good agreement with dedicated experiments. This demonstrates that photoionization indeed provides the noise that triggers branching, and we show that branching is remarkably sensitive to the amount of photoionization. Our comparison is therefore one of the first sensitive tests for Zheleznyak's photoionization model, confirming its validity.

physics.plasm-ph

A computational study of accelerating, steady and fading negative streamers in ambient air

We study negative streamers in ambient air using a 2D axisymmetric fluid model. Depending on the background electric field, we observe accelerating, steady and fading negative streamers. Fading occurs in low background fields, when negative streamers lose their field enhancement and when their velocities become comparable to their maximal electron drift velocities. Our focus is on the steady propagation mode, during which streamer properties like radius and velocity hardly change. However, this mode is unstable, in the sense that a small change in conditions leads to acceleration or deceleration. We observe steady negative streamers in background fields ranging from 9.19 kV/cm to 15.75 kV/cm, indicating that there is no unique steady propagation field (or stability field). Another finding is that steady negative streamers are able to keep propagating over tens of centimeters, with only a finite conductive length behind their heads, similar to steady positive streamers. Approximately linear relationships are observed between the optical diameter and properties like the streamer velocity and the streamer head potential. From these linear relations, we obtain rough lower bounds of about 0.27 mm to 0.35 mm for the minimal optical diameter of steady negative streamers. The lowest background field in which a steady negative streamer could be obtained is 9.19 kV/cm. In contrast, steady positive streamers have recently been obtained in a background field as low as 4.05 kV/cm. We find that the properties of steady negative and positive streamers differ significantly. For example, for steady negative streamers the ratio between streamer velocity and maximal electron drift velocity ranges from about 2 to 4.5, whereas for steady positive streamers this ratio ranges from about 0.05 to 0.26.

physics.plasm-ph

A computational study on the energy efficiency of species production by single-pulse streamers in air

We study the energy efficiency of species production by streamer discharges with a single voltage pulse in atmospheric dry air, using a 2D axisymmetric fluid model. Sixty different positive streamers are simulated by varying the electrode length, the pulse duration and the applied voltage. Between these cases, the streamer radius and velocity vary by about an order of magnitude, but the variation in the maximal electric field is significantly smaller, about 30%. We find that G-values for the production of N(4S), O(3P), NO and N2O, which have relatively high activation energies, vary by about 30% to 55%. This variation is mainly caused by two factors: differences in the fraction of energy deposited in the streamer head region, and differences in the maximal electric field at the streamer head. When accounting for both factors, our computed G-values are in good agreement with an analytic estimate proposed by Naidis (2012 Plasma Sources Sci. Technol. 21 042001). We also simulate negative streamers and find that their production of N(4S), O(3P) and NO is less energy efficient. The results suggest that energy efficiency can be increased by reducing Joule heating in the streamer channel and by increasing the maximal electric field at the streamer head, for example by using short voltage pulses with a high applied voltage.

physics.plasm-ph

Afivo: a framework for quadtree/octree AMR with shared-memory parallelization and geometric multigrid methods

Afivo is a framework for simulations with adaptive mesh refinement (AMR) on quadtree (2D) and octree (3D) grids. The framework comes with a geometric multigrid solver, shared-memory (OpenMP) parallelism and it supports output in Silo and VTK file formats. Afivo can be used to efficiently simulate AMR problems with up to about $10^{8}$ unknowns on desktops, workstations or single compute nodes. For larger problems, existing distributed-memory frameworks are better suited. The framework has no built-in functionality for specific physics applications, so users have to implement their own numerical methods. The included multigrid solver can be used to efficiently solve elliptic partial differential equations such as Poisson's equation. Afivo's design was kept simple, which in combination with the shared-memory parallelism facilitates modification and experimentation with AMR algorithms. The framework was already used to perform 3D simulations of streamer discharges, which required tens of millions of cells.

physics.comp-ph