원시데이터 수집 시스템
선정목록으로

A domain-decomposition method to implement electrostatic free boundary conditions in the radial direction for electric discharges

관련 수소연료전지 · (6) PEM(고분자전해질막)

기본 정보

저자
  1. Alejandro Malagón‐Romero — IAA-CSIC, P.O. Box 3004, 18080 Granada, Spain
  2. Alejandro Luque — IAA-CSIC, P.O. Box 3004, 18080 Granada, Spain
DOI
10.1016/j.cpc.2018.01.003
저널
Computer Physics Communications
발행년도
2018
발행기관
Elsevier BV
피인용수
11
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.cpc.2018.01.003
토픽
High voltage insulation and dielectric phenomena
OpenAlex ID
W2788720243

평가 내용

관련도
관련
사업분야
수소연료전지 · (6) PEM(고분자전해질막)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > PEM(고분자전해질막)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

초록이 없습니다.

본문 48,703자

본문 펼치기
#### A domain-decomposition method to implement electrostatic free boundary conditions in the radial direction for electric discharges A. Malag´on-Romero _IAA-CSIC, P.O. Box 3004, 18080 Granada, Spain_ A. Luque _IAA-CSIC, P.O. Box 3004, 18080 Granada, Spain_ Abstract At high pressure electric discharges typically grow as thin, elongated filaments. In a numerical simulation this large aspect ratio should ideally translate into a narrow, cylindrical computational domain that envelops the discharge as closely as possible. However, the development of the discharge is driven by electrostatic interactions and, if the computational domain is not wide enough, the boundary conditions imposed to the electrostatic potential on the external boundary have a strong effect on the discharge. Most numerical codes circumvent this problem by either using a wide computational domain or by calculating the boundary conditions by integrating the Green’s function of an infinite domain. Here we describe an accurate and efficient method to impose free boundary conditions in the radial direction for an elongated electric discharge. To facilitate the use of our method we provide a sample implementation. Finally, we apply the method to solve Poisson’s equation in cylindrical coordinates with free boundary conditions in both radial and longitudinal directions. This case is of particular interest for the initial stages of discharges in long gaps or natural discharges in the atmosphere, where it is not practical to extend the simulation volume to be bounded by two electrodes. _Keywords:_ Electric discharge, Streamer, Domain Decomposition, Poisson equation. _Email address:_ `amaro@iaa.es` (A. Malag´on-Romero) _Preprint submitted to Computer Physics Communications_ _May 24, 2022_ PROGRAM SUMMARY _Program Title:_ `poisson_sparse_fft.py` _Licensing provisions:_ CC By 4.0 _Programming language:_ Python _Nature_ _of_ _problem:_ Electric discharges are typically elongated and their optimal computational domain has a large aspect ratio. However, the electrostatic interactions within the discharge volume may be affected by the boundary conditions imposed to the Poisson equation. Computing these boundary conditions using a direct integration of Green’s function involves either heavy computations or a loss of accuracy. _Solution_ _method:_ We use a Domain Decomposition Method to efficiently impose free boundary conditions to the Poisson equation. This code provides a stand-alone example implementation. ©2018. This manuscript version is made available under the CC-BY-NC-ND 4.0 license http://creativecommons.org/licenses/by-nc-nd/4.0/ 1. Introduction Despite their prevalence in industry and in nature, electric discharges still hold many unknowns. For example, we do not yet understand precisely how a lightning channel starts, how it advances in its way to the ground or how exactly are bursts of X-rays produced as it progresses [1]. This is partly due to the short time and length scales involved in such processes which, combined with their jittery behaviour, prevents the use of many diagnostic techniques. Due to these limitations, much of what we know about electric discharges comes from computer models which, at least within a simulation, are predictable and reveal arbitrarily small scales. Consider streamer simulations. Streamers are thin filaments of ionized air that precede most electric discharges in long gaps at atmospheric pressure. The main challenge for simulating streamers is the wide separation between length scales: whereas the total length of the streamer channel at atmospheric pressure ranges from about one to some tens of centimeters, the ionization of air molecules is mostly confined to a layer thinner than one millimeter. Despite this difficulty, there are many numerical codes that explain most of the observed properties of streamers [2–7]. In the past decades these models have gradually improved and successfully overcome many of the challenges posed by streamer physics. However, they are still computationally intensive and often require days of runtime to produce meaningful simulations. In this work we look at one of the problems behind these long running times: the large aspect ratio of a single-channel discharge. Whereas the width of an atmospheric-pressure streamer is at most about one centimeter, its length spans 2 many times this extension. In order to minimize the amount of work performed in a simulation, one strives to adapt the computational domain to the dimensions of the streamer, which means using a narrow cylindrical domain with a diameter only slightly larger than the streamer width. However, in such a narrow domain the electrostatic interaction between separate points in the channel is strongly affected by the boundary conditions imposed on the electric potential at the outer boundaries. One approach to avoid this artifact while keeping a narrow domain around the streamer is to calculate the boundary values of the potential by direct integration of the electrostatic Green’s function in free space [3, 8–11]. These values are then imposed as inhomogeneous Dirichlet boundary conditions in the solution of the Poisson equation. In a cartesian grid with _M_ cells in the radial direction and _N_ cells in the axial direction the direct integration of the Green’s function at each of the _N_ nodes in the external boundary requires about _MN_ <sup>2</sup> operations. Since the work employed by fast Poisson solvers scales as _MN_ log( _MN_ ) ( _MN_ for multigrid solvers), the computation of boundary values by direct integration may easily dominate the work employed in the electrostatic calculations. This is mitigated in part by using a coarse-grained charge distribution in the integration. However, in that case there is a tradeoff between the degree of coarsening and the minimal radial extension of the domain required for a tolerable error. Beyond this common approach used to solve Poisson’s equation in electric discharges, some other methods have been developed. A family of these methods has been built upon the idea of the decoupling of local and far-field effects [12] and the computation of the boundary potential by means of a potential generated by a set of screening charges located in the outer surface of the computational domain [13]. Based on these two methods mentioned above, reference [14] uses a domain decomposition approach to exploit parallel computing capabilities; first, Poisson’s equation subject to unbounded boundary conditions is solved in a set of disjoint patches. As a second step a coarse-grid representation of the space charge is obtained and Poisson’s equation is again solved in a global coarse-grid whose solution is used to communicate far-field effects to local patches. Finally, Poisson’s equation is solved in a fine grid using boundary conditions computed from the coarse-grid solution corrected with local field information. A different family of methods uses the convolution with Green’s function subject to free boundary conditions. They manage the singular behaviour of Green’s function by either regularizing it [15], or by replacing the singular component to the integrand of the convolution by an analytical contribution [16]. These methods have achieved an order of convergence greater than two. Here we adapt to the cylindrical geometry of electric discharges the domaindecomposition method described by Anderson [17] (see also [18] for a review of similar techniques). As we discuss below, this method requires two calls to the 3 Poisson solver but otherwise the leading term in its algorithmic complexity follows the scaling of the Poisson solver itself. Therefore for large grid sizes our approach is more efficient than the direct integration method. Furthermore, as we do not reduce the resolution, we do not introduce any numerical error in addition to the discretization error of the Poisson equation. We believe that the method we present is simple enough that it can be easily implemented on top of any existing streamer simulation code. To aid in this task we provide a standalone example in Python. Some applications may also require free boundary conditions for the _z_ -direction: for example, when the discharge develops far from the electrodes. In those cases one may also reduce the computational domain in the longitudinal direction while the core of the simulation remains inside the computational domain. We have considered this topic of interest in Appendix A where we have applied the domain decomposition method to obtain free boundary conditions also in the longitudinal direction. This extension requires an extra solution of Poisson’s equation. Note that streamers are not the only type of discharge that typically exhibits a large aspect ratio and that therefore our scheme is also applicable to other processes such as leaders and arcs. 2. Description of the method _2.1._ _Domain decomposition_ The most convenient decomposition of the domain strongly depends on the problem at hand. The decomposition we present here is suitable for elongated discharges and probably some other applications but the procedure and the highlighted ideas are not restricted to this particular scheme. We consider the geometry sketched in figure 1, where an elongated, cylindrically symmetrical streamer propagates between two planar electrodes. With minimal changes, our scheme can be extended to more complex geometries commonly employed in streamer simulations, such as protrusion-plane, protrusion-protrusion and sphere-plane. The electrostatic potential φ satisfies the Poisson equation with appropriate boundary conditions: ∆φ = _f_ in Ω, (1) φ = _g_ on ∂Ω, where _f_ = - _q_ /ϵ0, with _q_ being the charge density and ϵ0 the vacuum permittivity. In principle an arbitrary boundary condition, here denoted by _g_, can be applied to the upper and lower electrodes. However, to simplify our discussion we limit ourselves to the most common case where _g_ = 0, meaning φ = 0 at _z_ = 0 and _z_ = _L_ (to impose a potential difference _V_ between the two electrodes we simply 4 ### Ω L <u>R</u> Γ O Ω1 Ω2 Figure 1: Geometry of the discharge considered in this work. An elongated channel propagates between two conducting electrodes. The space between these electrodes, Ω is divided into two domains: the inner domain Ω1 is our computational domain and contains all the space charge. The outer domain Ω2 extends indefinitely outwards from the external boundary of Ω1 and does not contain any space charge. The cylindrical surface Γ is the common boundary between Ω1 and Ω2. add φinhom = _zV_ / _L_ to the solution of the homogeneous problem). The domain Ω is the space between the two electrodes, formally defined as - . (2) Ω= - _x_ ≡ <sup>�</sup> ρ, θ, _z_ <sup>�</sup> ∈ R <sup>3</sup> /0 ≤ ρ, 0 ≤ θ < 2π, 0 ≤ _z_ ≤ _L_ Since our geometry is cylindrically symmetrical, we will henceforth omit the variable θ and consider the two-dimensional domain spanned by the variables (ρ, _z_ ). Our purpose is to decompose the physical domain Ω into two, which we name Ω1 and Ω2, such that Ω= Ω1 ∪ Ω2 (Ω _i_ is the closure of the set Ω _i_ ), Ω1 ∩ Ω2 = ∅ and supp( _f_ ) ⊂ Ω1, i.e. all the space charge is contained in Ω1. The inner domain Ω1, extending up to a given radius _R_, is our computational domain and therefore must be selected to be as narrow as possible. Under this domain decomposition the problem (1) turns into two coupled problems: ∆φ _i_ = _f_ in Ω _i_, φ _i_ = 0 on ∂Ω _i_ \ Γ, φ _i_ = φΓ on ∂Γ, (3) where _i_ = 1, 2 and Γ = ∂Ω1 ∩ ∂Ω2 is the cylindrical surface at ρ = _R_ that separates the two domains. 5 Since at the interface Γ both, φ1 and φ2, are equal to the boundary value φΓ, they fulfill φ1 = φ2. But besides this condition, in order for φ1 and φ2 to be consistent with the solution φ of the original problem (1), they must also satisfy <u>∂φ∂ρ1</u> <sup>=</sup> <sup><u>∂φ</u></sup> ∂ρ <sup><u>2</u></sup> <u>∂φ1</u> (4) <sup><u>∂φ</u></sup> ∂ρ <sup><u>2</u></sup> <sup>on Γ.</sup> _2.2._ _Linearity_ The linearity of the Poisson problems (3) with respect to their sources _f_ allows us to decompose the potentials as φ _i_ = φ <sup>¯</sup> _i_ [φΓ] + φ <sup>˜</sup> _i_ [ _fi_ ], (5) where φ <sup>¯</sup> _i_ [φΓ] results from the boundary values φΓ at the interface Γ and φ <sup>˜</sup> _i_ [ _fi_ ] results from the original sources _f_ restricted to Ω _i_ (we use [·] to denote a functional dependence). The precise definitions read and ∆φ <sup>¯</sup> _i_ = 0 in Ω _i_, φ¯ _i_ = 0 on ∂Ω _i_ \ Γ, φ¯ _i_ = φΓ on ∂Γ, ∆φ <sup>˜</sup> _i_ = _f_ in Ω _i_, φ˜ _i_ = 0 on ∂Ω _i_ \ Γ, φ˜ _i_ = 0 on ∂Γ. In terms of these components the flux equation (4) can be expressed as (6) (7) <u>∂φ</u> <sup>¯</sup> <u>1</u> ∂ρ �φΓ� - <u>∂φ</u> <sup>¯</sup> <u>2</u> ∂ρ �φΓ� = − <u>∂φ</u> <sup>˜</sup> <u>1</u> ∂ρ - _f_ - on Γ, (8) where on the right hand side we have made use of φ <sup>˜</sup> 2 = 0, since f=0 in Ω2. _2.3._ _Expansion in orthonormal solutions of the Laplace equation_ The potentials φ <sup>¯</sup> _i_ in (6) are solutions of the Laplace equation in cylindrical geometry and they can be expanded using an orthogonal basis of solutions (see e.g. [19]): φ¯ 1 = φ¯ 2 = ∞ _m_ =1 ∞ _m_ =1 α _mI_ 0 β _mK_ 0 - _km_ ρ� sin ( _kmz_ ), (9a) - _km_ ρ� sin ( _kmz_ ), (9b) 6 where α _m_ and β _m_ are expansion coefficients, _km_ = _m_ π/ _L_ and _In_ ( _x_ ) and _Kn_ ( _x_ ) are the modified _n_ -order Bessel functions of the first and second kind respectively. Note that the set _S_ = <sup>�</sup> sin ( _kmz_ ) <sup>�∞</sup> _m_ =0 <sup>is an orthogonal basis of</sup> ���� _f_ ( _z_ )��� ² _dz_ < ∞, (10) L <sup>2</sup> ([0, _L_ ]) = _f_ : [0, _L_ ] �→ R : therefore, φΓ can be expanded as: φΓ ( _z_ ) = ∞ _am_ sin ( _kmz_ ) . (11) _m_ =1 If φΓ is continuous and piecewise differentiable on [0, _L_ ], φ <sup>′</sup> Γ <sup>∈L2 ([0,</sup> <sup>_L_</sup> <sup>])</sup> <sup>and</sup> φΓ satisfies homogeneous Dirichlet boundary conditions, then the sine series converges to φΓ uniformly on [0, _L_ ]. Note that the term with _m_ = 0 vanishes due to the homogeneous boundary conditions at _z_ = 0 and _z_ = _L_ . The boundary conditions at _z_ = 0 and _z_ = _L_ restrict the basis of solutions. Homogeneous Dirichlet boundary conditions are simpler because there is only need for sine functions. However, if we had some other boundary conditions such as homogeneous Neumann, the convenient basis should also include cosine functions to allow for non-zero values of the potential at _z_ = 0 and _z_ = _L_ . Nevertheless, this basis is not orthogonal and this would make things slightly more complicated. _2.4._ _Continuity of the normal derivative_ Imposing that φ <sup>¯</sup> 1 = φ <sup>¯</sup> 2 = φΓ at ρ = _R_ we solve for α _m_ and β _m_ and write (9) as φ¯ 1 = φ¯ 2 = ∞ _m_ =1 ∞ _m_ =1 _K_ 0 ( _kmR_ ) <sup>sin (</sup> <sup>_kmz_</sup> <sup>) .</sup> (12b) _am_ _<u>I</u>_ <u>0</u> _I_ 0 ( _kmR_ ) <sup>sin (</sup> <sup>_kmz_</sup> <sup>),</sup> (12a) - _<u>km</u>_ <u>ρ�</u> _<u>K</u>_ <u>0</u> _am_ - _<u>km</u>_ <u>ρ�</u> Using these expressions into the equation for the normal derivatives (8) we obtain ∞ _amkm_ _m_ =1 - _<u>II</u>_ <u>10 ( (</u> _<u>kkmmRR</u>_ <u>))</u> <sup>+</sup> <sup>_<u>K</u>_</sup> _K_ <sup><u>1</u></sup> 0 <sup><u>(</u></sup> ( <sup>_<u>k</u>_</sup> _k_ <sup>_<u>m</u>_</sup> _m_ <sup>_<u>R</u>_</sup> _R_ <sup><u>)</u></sup> ) - sin( _kmz_ ) = − <sup><u>∂φ˜</u></sup> <sup><u>1</u></sup> ∂ρ - sin( _kmz_ ) = − <sup><u>∂φ˜</u></sup> <sup><u>1</u></sup> , (13) ������ρ= _R_ where we have made use of the identities _I_ 0 <sup>′</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>=</sup> <sup>_I_</sup> <sup>1(</sup> <sup>_x_</sup> <sup>),</sup> <sup>_K_</sup> 0 <sup>′</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>=</sup> <sup>−</sup> <sup>_K_</sup> <sup>1(</sup> <sup>_x_</sup> <sup>).</sup> <sup>Using</sup> now the orthogonality of the basis _S_ we obtain equations for the coefficients _am_ : _<u>L</u>_ - _<u>I</u>_ <u>1 (</u> _<u>kmR</u>_ <u>)</u> 2 <sup>_kmam_</sup> _I_ 0 ( _kmR_ ) <sup>+</sup> <sup>_<u>K</u>_</sup> _K_ <sup><u>1</u></sup> 0 <sup><u>(</u></sup> ( <sup>_<u>k</u>_</sup> _k_ <sup>_<u>m</u>_</sup> _m_ <sup>_<u>R</u>_</sup> _R_ <sup><u>)</u></sup> ) = − 7 - _L_ _L_ d _z_ sin ( _kmz_ ) <sup><u>∂φ˜</u></sup> <sup><u>1</u></sup> 0 ∂ρ ∂ρ . (14) ������ρ= _R_ In a space discretization based on a cartesian grid the integral in the latest expression is approximated by a finite sum with the form of a Discrete Sine Transform (DST). This leads to this final expression for the coefficients _am_ + O( _h_ <sup>2</sup> ), (15) ������ρ= _R_, _z_ = _zi_ �−1 _N_ _i_ =1 _h_ sin ( _kmzi_ ) <sup><u>∂φ˜</u></sup> <sup><u>1</u></sup> ∂ρ _am_ = − <sup><u>2</u></sup> _m_ π - _<u>II</u>_ <u>10 ( (</u> _<u>kkmmRR</u>_ <u>))</u> <sup>+</sup> <sup>_<u>K</u>_</sup> _K_ <sup><u>1</u></sup> 0 <sup><u>(</u></sup> ( <sup>_<u>k</u>_</sup> _k_ <sup>_<u>m</u>_</sup> _m_ <sup>_<u>R</u>_</sup> _R_ <sup><u>)</u></sup> ) where _h_ is the grid size and { _zi_ } _i_ <sup>_N_</sup> =1 <sup>are</sup> <sup>the</sup> <sup>solution</sup> <sup>nodes</sup> <sup>in</sup> <sup>the</sup> <sup>_z_</sup> <sup>-direction.</sup> <sup>In</sup> <sup>a</sup> discrete problem the series in (11) is also truncated above _m_ = _N_ . _2.5._ _Algorithm_ We are now ready to detail the domain-decomposition algorithm that allows us to solve the Poisson equation in the reduced computational domain Ω1 with free boundary conditions: 1. Solve the Poisson equation in Ω1 with the source term _f_ and homogeneous Dirichlet boundary conditions at the boundary Γ. Call the result φ <sup>˜</sup> 1. 2. Calculate the normal derivative of φ <sup>˜</sup> 1 at Γ. Apply a DST and use expression (15) to obtain the coefficients _am_ . 3. Use these coefficients to obtain the boundary values φΓ by means of a second DST and expression (11). 4. Solve again the Poisson equation in Ω1 but now use φΓ as inhomogeneous Dirichlet boundary condition at Γ. The result, φ1 is the solution of the Poisson equation with free boundary conditions. To this algorithm we add the following remarks: 1. After obtaining the coefficients _am_ one is tempted to use (12a) together with φ1 = φ <sup>¯</sup> 1 + φ <sup>˜</sup> 1 to avoid solving the Poisson equation a second time. However, in a grid of _M_ × _N_ cells this procedure takes about _MN_ <sup>2</sup> operations whereas solving the Poisson equation requires only _MN_ log( _MN_ ) or _MN_ operations. 2. The computational domain Ω1 has to be as narrow as possible in order to reduce the computational cost of the simulation. Of course this narrowing is limited by the constraint that Ω1 contains the support of the space charge density. In an electrostatic discharge the charge density typically decays smoothly away from the channel so in some cases one has to decide at which level it is safe to truncate the charge density with an acceptable error. Nevertheless, given the fast decay of the charge away from the channel, this is probably not a serious concern in most cases. 8 3. Tests and sample implementation _3.1._ _Tests_ In order to test our scheme we consider now a simple setup where the Poisson equation has a closed-form solution. An example of such a configuration is a uniformly charged sphere located between two grounded, infinite planar electrodes. The electrostatic potential in this setup can be calculated by the method of images (see e.g. [19]) and equals the potential created in free space by an infinite series of spheres with alternating charges. Suppose a sphere centred at (ρ, _z_ ) = (0, _z_ 0) with radius _a_ < min( _z_ 0, _L_ - _z_ 0) and total charge _Q_ . At a point with cylindrical coordinates (ρ, _z_ ) the potential reads _<u>Q</u>_ φ(ρ, _z_ ) = φ0(ρ, _z_ ) + 4πϵ0 ∞ _k_ =−∞ _k_ �0 <u>(−1)</u> <sup>_k_</sup> (16a) <u>�</u> ρ <sup>2</sup> + <sup><u>�</u></sup> _z_ - _z_ 0 − 2 _k_ ( _L_ - _z_ 0) <sup><u>�2�1/2</u></sup> <sup>,</sup> with <u>1</u> <u>�ρ</u> <sup>2</sup> +( _z_ - _z_ 0) <sup>2�1/2</sup> if ρ <sup>2</sup> + ( _z_ - _z_ 0) <sup>2</sup> - _a_ <sup>2</sup>, <u>3</u> _<u>a</u>_ <sup>2</sup> <u>−ρ</u> <sup>2</sup> 2− _a_ <sup>3</sup> <u>(</u> _<u>z</u>_ <u>−</u> _<u>z</u>_ <u>0)</u> <sup>2</sup> if ρ <sup>2</sup> + ( _z_ - _z_ 0) <sup>2</sup> ≤ _a_ <sup>2</sup> . _<u>Q</u>_ φ0(ρ, _z_ ) = 4πϵ0  (16b) Figure 2 shows a comparison between the electric fields computed using expression (16) and using the approach described in section 2. Here we took _a_ = 3 mm, _L_ = 10 mm, _Q_ = 10 <sup>13</sup> e (e is the elementary charge), _z_ 0 = _L_ /2. For the discretized solution we used ∆ _r_ = ∆ _z_ = 10 <sup>−2</sup> mm and a radial extension of the computational domain _R_ = 5 mm. We also include the electrostatic potential calculated by imposing homogeneous Neumann boundary conditions at the external boundary. We see that the field calculated with the approach presented here is indistinguishable from the field from the method of images. The homogeneous Neumann conditions, on the other hand, produce an electric field that at the surface of the sphere deviates by about 15% from the other two in the worst case, i.e. with _R_ = 5 mm. To investigate the convergence of the homogeneous Neumann solution we extended the computational domain by computing the field also for _R_ = 10 mm and _R_ = 20 mm. As we move the external boundary away, the solution with Neumann conditions approaches our reference solution (Method of Images). Essentially, bringing the external boundary closer to the charged sphere shields the electric field before so the Neumann condition is fulfilled. As we will see, applied to streamer simulations, this leads to slightly lower values of the electric field in the streamer head and therefore less ionization. 9 Figure 2: Comparison between electric fields created by a uniformly charged sphere between two planar infinite electrodes calculated by the approach presented in this work, by the method of images and by imposing homogeneous Neumann boundary conditions at the external boundary of the computational domain. Note the overlap between the lines corresponding to free boundary conditions and to the method of images. _3.2._ _Order of accuracy_ We have checked that the method described above does not change the order of accuracy of the discretization of the Poisson equation by constructing a closedform solution of the Poisson equation that satisfies homogeneous Dirichlet boundary conditions in the upper and lower electrodes. We have used the potential σ <sup>2</sup>, (17) 2 _e_ <sup>−</sup> σ <sup>_<u>r</u>_</sup> <sup>22</sup> σ <sup>_<u>r</u>_</sup> <sup>22</sup> <sup>−</sup> <sup><u>(</u></sup> <sup>_z_</sup> <sup>−</sup> σ <sup>_z_</sup> <sup>20)</sup> 2 φ = sin whose Laplacian has the form �π <sup>_<u>z</u>_</sup> _L_ <u>1</u> ∆φ = _L_ <sup>2</sup> σ <sup>4</sup> × sin �4 _L_ πσ <sup>2</sup> ( _z_ - _z_ 0) cos �π <sup>_<u>z</u>_</sup> _L_ �π <sup>_<u>z</u>_</sup> _L_ + �π <sup>2</sup> σ <sup>4</sup> + _L_ <sup>2 �</sup> −4 _r_ <sup>2</sup> + 6σ <sup>2</sup> - 4 ( _z_ - _z_ 0) <sup>2���</sup> 2 _e_ <sup>−</sup> σ <sup>_<u>r</u>_</sup> <sup>22</sup> σ <sup>_<u>r</u>_</sup> <sup>22</sup> <sup>−</sup> <sup><u>(</u></sup> <sup>_z_</sup> <sup>−</sup> σ <sup>_z_</sup> <sup>20)</sup> 2 σ <sup>2</sup> . (18) Although this charge density is not strictly bounded, the contribution of charges excluded from the domain decays super-exponentially as the domain becomes wider and can thus be neglected as long as the external radius of the computational domain is significantly longer than σ. 10 We have solved the Poisson equation corresponding to the Laplacian (18) with _L_ = 1 m, σ = 0.1 m and _z_ 0 = 0.5 m within a cylindrical domain with a radius _R_ = 0.5 m, where we imposed free boundary conditions with the method described above. In this manner we checked that the convergence in the ℓ <sup>2</sup> -norm is of second order, the same as that of the finite difference scheme. This is as expected because φ <sup>˜</sup> 1, its derivative in the radial direction and the Fourier coefficients (15) retain convergence of order O - _h_ <sup>2�</sup> . We are also interested in the convergence as we move the outer boundary. Following the example of the previous section, this time we change the radius of the sphere to 0.1 mm and the mesh spacing to 1 µm. Errors are presented in Table 1, and the convergence is as expected of second order. Therefore, the decomposition method does not cause errors of order less than two. <u>∥ϵ∥2</u> Outer radius (mm) ∥ϵ∥2 <u>∥φ</u> _<u>exact</u>_ <u>∥2</u> 0.2 5.919 × 10 <sup><u>−7</u></sup> 5.037 × 10 <sup><u>−6</u></sup> 0.5 4.735 × 10 <sup>−8</sup> 3.812 × 10 <sup>−7</sup> 1 1.227 × 10 <sup>−8</sup> 9.838 × 10 <sup>−8</sup> Table 1: Error obtained with change in outer radius _3.3._ _Sample implementation_ A computer code that produces a figure similar to figure 2 is included with this work. The code is implemented in Python and to be executed it requires only the widely available scientific libraries NumPy and SciPy. To solve the discrete Poisson equation the code constructs a sparse matrix for the discrete Laplacian operator and invokes UMFPACK [20] (via SciPy) to solve the resulting linear system. The code consists of a single file `poisson_sparse_fft.py` and contains the following methods: `compute_matrix` : Calculates the sparse matrix for the discrete Laplacian opera tor in a given cartesian grid and boundary conditions. `apply_inhom_bc` : Modifies the right-hand-side of the linear system in order to apply inhomogeneous Dirichlet boundary conditions. `DDM` : Applies the domain decomposition method described in section 2 to solve the Poisson equation with free boundary conditions. `MOI` : Calculates the electrostatic potential by means of the method of images, using (16). `main` : This is the entry-point of the code: it uses the above methods to produce the output figure. 11 Figure 3: Streamer simulations using free boundary conditions (left column) and homogeneous Neumann boundary conditions (right column) in the external boundary of the computational domain. For each selection of the boundary conditions we show three simulations where the computational domain extends to a radius _R_ = 0.5 cm (top), _R_ = 1 cm (middle) and _R_ = 2 cm (bottom). 4. Streamer simulations In elongated electric discharges, Neumann boundary conditions are often considered more appropriate than Dirichlet to be applied at _rmax_ because there is not a physical electrode in the radial direction, and therefore there is no reason to keep constant the potential there. The development of electric discharges is driven by long range interactions and therefore boundary conditions certainly affect the solution inside the computational domain. These effects can be reduced by enlarging the domain in the radial direction in exchange of a higher computational cost. The procedure we have described allows us to keep the boundary _rmax_ close to the core of the simulation without noticeable numerical effects on the electric discharge. The following simulations clearly illustrate the features mentioned. We simulated the propagation of streamer discharges between two planar electrodes with a model that includes electron drift, impact ionization and dissociative attachment and is implemented using the CLAWPACK/PetClaw library [21, 22]. The Poisson equation is solved using the Improved Stabilized version of BiConjugate Gradient solver from the PETSc numerical library [23, 24]. For more details about the physical model see e.g. references [4, 25, 26]. 12 We selected an inter-electrode gap of _L_ = 2 cm and a background electric field of 27 kV/cm. The streamer is initiated by a neutral ionization seed attached to the electrode on the central axis and centred at _z_ = _L_ . The peak electron density in this seed is 10 <sup>14</sup> cm <sup>−3</sup> and the _e_ -folding length is 0.7 mm. As we are interested in the effect of the external boundary conditions, we run simulations both with free boundary conditions, implemented as described above, and with homogeneous Neumann conditions for the electrostatic potential (as mentioned above, it is generally assumed that Neumann boundary conditions introduce slightly smaller artifacts). We also use different radii of the computational domain, _R_ = 0.5 cm, _R_ = 1 cm and _R_ = 2 cm. In figure 3 we show snapshots of the electric field resulting from these simulations at time _t_ = 30 ns, shortly after the streamer branches in the simulations with free boundary conditions. Note however that the cylindrical symmetry of the simulations prevents proper branching. MovieS1 (available online) shows the complete evolution of the streamers. In the plots we see that the simulations with free boundary conditions are essentially identical regardless of the lateral extension of the computational domain. The simulations with homogeneous Neumann conditions on the other hand depend artificially on the radius of the computational domain. The streamer barely develops with _R_ = 0.5 cm and only the simulation with _R_ = 2 cm reproduces accurately the branching time of the simulations with free boundary conditions. We conclude that, even in this case where the aspect ratio of the discharge is not extremely high, the computational gain from reducing the domain size (roughly a factor 4) more than compensates for the cost of solving twice the Poisson equation, resulting in an overall improvement of about a factor 2. 5. Discussion and conclusions When they are not laterally constrained, most electrical discharges develop as elongated channels. Despite different physical conditions and ionization mechanisms this feature is common to streamers, leaders and arcs. The underlying reason for this shared property is that all these processes are affected by a Laplacian instability [27, 28], whereby small bumps in a discharge front enhance the electric field ahead and thus grow faster than the surrounding regions. This prevents the formation of wide, smooth discharges and creates branched discharge trees of many filaments [29]. Since this is the preferred shape of a discharge, it is reasonable to optimize our numerical models for elongated channels, selecting high-aspect-ratio computational domains. The method and the code that we have presented here can be used to achieve this efficiently and without losing accuracy. 13 We mention several possible extensions and refinements of this method. The first one, which is described in the appendix, consists in extending the free boundary conditions also to the upper and lower simulation boundaries. This can be useful for the investigation of discharges not attached to any electrode or, with appropriate modifications, attached to a single electrode. A second extension is to adapt the method to run in parallel in several processors. If we parallelize the Poisson solver by vertically decomposing the domain, the application of the method described above requires collecting information about the initial solution around the external boundary and then performing a one-dimensional Fourier transform. The overhead of these steps is small compared to the operations required for the solution of the Poisson equation so the method can be efficiently parallelized. Finally, one may ask about the suitability of this method for non-uniform meshes and, in particular, for adaptively refined meshes. Although the application of the method is in principle straightforward, a careful analysis is required to understand the error incurred due to a possibly coarser resolution around the boundary than around a localized charge density. This analysis, however, falls out of the scope of the present paper. Note that although we have focused on the solution of the Poisson equation, this method can be easily generalized to other elliptic partial differential equations. This can then applied to other components of streamer simulation codes such as the speeding-up of photoionization calculations by approximating the interaction integral by combining solutions of a set of partial differential equations, as proposed in references [11, 30, 31]. Appendix A. Full free boundary conditions The focus in this paper is the implementation of free boundary conditions in the outer boundary of a discharge confined between two parallel plates but the method described above can also be extended to implement free boundary conditions in all boundaries of a simulation with cylindrical symmetry. In this appendix we describe this extension. _Appendix_ _A.1._ _Domain decomposition_ The method described above allows us to solve the Poisson equation in the space between two infinite, parallel planes. To build upon this procedure we decompose now the full-space domain Ω into three disjoint subdomains, which we name Ω0, Ω1 and Ω2 (see figure A.4). We assume now that the support of the charge 14 distribution _f_ is contained in Ω0 and thus arrive at the three coupled problems ∆φ0 = _f_ in Ω0, (A.1a) φ0 = φΓ0 _i_ on ∂Γ0 _i_, _i_ = 1, 2, and ∆φ _i_ = _f_ in Ω _i_, (A.1b) φ _i_ = φΓ0 _i_ on ∂Γ0 _i_, where _i_ = 1, 2 and Γ0 _i_ = ∂Ω0 ∩ ∂Ω _i_ are the surfaces _z_ = 0 and _z_ = _L_ respectively. Since there are two interfaces, there are also two conditions for the continuity of the normal derivative: <u>∂φ∂</u> _z_ <u>0</u> <sup>=</sup> <sup><u>∂φ</u></sup> ∂ _z_ <sup>_<u>i</u>_</sup> <u>∂φ0</u> (A.2) <sup><u>∂φ</u></sup> ∂ _z_ <sup>_<u>i</u>_</sup> <sup>on Γ</sup> <sup>_i_</sup> <sup>,</sup> <sup>_i_</sup> <sup>= 1, 2.</sup> #### Γ2 Γ1 #### Ω2 # L Ω0 #### Ω1 Figure A.4: Geometry of the problem. Ω is divided into three subdomains: Ω0, Ω1 and Ω2. The three extend indefinitely outwards and the latter two also downwards and upwards respectively. _Appendix_ _A.2._ _Linearity_ Linearity allows us to split the problem into ∆φ <sup>¯</sup> 0 = 0 in Ω0, (A.3a) φ¯ 0 = φΓ0 _i_ on ∂Γ0 _i_, _i_ = 1, 2, 15 and for _i_ = 1, 2, ∆φ <sup>˜</sup> 0 = _f_ in Ω0, (A.3b) φ˜ 0 = 0 on ∂Γ0 _i_, _i_ = 1, 2 ∆φ <sup>¯</sup> _i_ = 0 in Ω _i_, (A.4a) φ¯ _i_ = φΓ0 _i_ on ∂Γ0 _i_, ∆φ <sup>˜</sup> _i_ = _f_ in Ω _i_, (A.4b) φ˜ _i_ = 0 on ∂Γ0 _i_ . Since there is no charge outside the computational domain, φ <sup>˜</sup> _i_ = 0 for _i_ = 1, 2. These equations are naturally subject to the condition that the potential vanishes at - _z_, _z_, ρ →∞. Note now that the problem (A.3b) can be solved by the procedure described in the main text, since φ <sup>˜</sup> 0 is the union of the solutions to the problems at (3). In terms of these components, the flux equation (4) can be expressed as <u>∂φ</u> <sup>¯</sup> <u>0</u> ∂ _z_ - φΓ0 _i_ - <sup><u>∂φ¯</u></sup> <sup>_<u>i</u>_</sup> ∂ _z_ �φΓ0 _i_ = − <sup><u>∂φ˜</u></sup> <sup><u>0</u></sup> ∂ _z_ - _f_ - on Γ, ∀ _i_ . (A.5) _Appendix_ _A.3._ _Expansion in solutions of the Laplace equation_ The potentials φ <sup>¯</sup> _i_ in (A.4a) are solutions of the Laplace equation in cylindrical coordinates and they can be expanded using a set of solutions (see e.g. [19]). Since the domain is unbounded in the radial direction, instead of a series expansion we obtain an integral transform, which we can write in terms of the zero-order Hankel transform, which reads: _J_ 0 φ¯ 0 = - ∞ _k_ d _k_ 0 - _A_ ( _k_ ) _e_ <sup>_kz_</sup> + _B_ ( _k_ ) _e_ <sup>−</sup> <sup>_kz_</sup> <sup>�</sup> - _k_ ρ�, (A.6a) φ¯ 1 = φ¯ 2 = - ∞ _k_ d _k C_ ( _k_ ) _e_ <sup>_kz_</sup> _J_ 0 - _k_ ρ�, (A.6b) 0 - ∞ _k_ d _k D_ ( _k_ ) _e_ <sup>−</sup> <sup>_kz_</sup> _J_ 0 - _k_ ρ�, (A.6c) 0 where _J_ 0 ( _x_ ) is the zero-order Bessel function of the first kind and the functions _A_, _B_, _C_, _D_ weight the independent solutions to the Laplace equation. Note that, although the factor _k_ can be absorbed into these functions, it appears explicitly in order to show the Hankel transform structure. The function φΓ0 _i_ can also be transformed as: φΓ0 _i_ - ∞ �ρ� = _k_ d _kEi_ ( _k_ ) _J_ 0 0 16 - _k_ ρ� . (A.7) Casting these equations in the form of a Hankel transform is important because as the Hankel transform can be inverted (it is its own inverse) we can use the fact that, subject to some regularity assumptions, - ∞ _k_ d _k F_ ( _k_ ) _J_ 0 0 - _k_ ρ� = 0 ⇐⇒ _F_ ( _k_ ) = 0. (A.8) _Appendix_ _A.4._ _Continuity of the normal derivative_ Imposing that φ <sup>¯</sup> 0 = φ <sup>¯</sup> _i_ = φΓ0 _i_ at _z_ = 0 and _L_, we solve for _A_, _B_, _C_, _D_ using (A.8) and write (A.6) as �− _E_ 2 + _E_ 1 _e_ <sup>_kL_</sup> <sup>�</sup> _J_ 0 _e_ <sup>−</sup> <sup>_k_</sup> <sup>(</sup> <sup>_z_</sup> <sup>−</sup> <sup>_L_</sup> <sup>)�</sup> φ¯ 0 = - ∞ 0 _<u>k</u>_ <u>d</u> _<u>k</u>_ _e_ <sup>2</sup> <sup>_kL_</sup> - 1 �� _E_ 2 _e_ <sup>_kL_</sup> - _E_ 1� _e_ <sup>_kz_</sup> + - _k_ ρ�, (A.9a) φ¯ 1 = - ∞ _k_ d _k E_ 1 _e_ <sup>_kz_</sup> _J_ 0 0 - _k_ ρ�, (A.9b) φ¯ 2 = - ∞ _k_ d _k E_ 2 _e_ <sup>−</sup> <sup>_k_</sup> <sup>(</sup> <sup>_z_</sup> <sup>−</sup> <sup>_L_</sup> <sup>)</sup> _J_ 0 - _k_ ρ� . (A.9c) 0 Using these expressions into the equation for the normal derivative (A.5) we obtain - ∞ <u>2</u> _<u>e</u>_ <sup>_kL_</sup> _<u>k</u>_ <sup>2</sup> <u>d</u> _<u>k</u>_ , (A.10a) ������ _z_ =0 - _E_ 2 − _E_ 1 _e_ <sup>_kL_</sup> <sup>�</sup> _J_ 0 - _k_ ρ� = − <u>∂φ</u> <sup>˜</sup> <u>0</u> ∂ _z_ 0 - ∞ 0 <u>2</u> _<u>e</u>_ <sup>_kL_</sup> _<u>k</u>_ <sup>2</sup> <u>d</u> _<u>k</u>_ _e_ <sup>2</sup> <sup>_kL_</sup> - 1 _<u>e</u>_ <sup>_kL_</sup> _<u>k</u>_ <sup>2</sup> <u>d</u> _<u>k</u>_ _e_ <sup>2</sup> <sup>_kL_</sup> - 1 . (A.10b) ������ _z_ = _L_ - _E_ 2 _e_ <sup>_kL_</sup> - _E_ 1 _J_ 0 - _k_ ρ� = − <u>∂φ</u> <sup>˜</sup> <u>0</u> ∂ _z_ We can obtain the coefficients _E_ 1 and _E_ 2 going back to the _k_ -space by means of the Hankel transform: _E_ 1 ( _k_ ) = <sup><u>1</u></sup> 2 _E_ 2 ( _k_ ) = <sup><u>1</u></sup> 2 - _e_ <sup>−</sup> <sup>_kL_</sup> _IL_ - _I_ 0�, (A.11a) - _IL_ - _e_ <sup>−</sup> <sup>_kL_</sup> _I_ 0�, (A.11b) where _I_ 0, _L_ ( _k_ ) = − <sup><u>1</u></sup> _k_ - ∞ ∞ ρ dρ <sup><u>∂φ˜</u></sup> <sup><u>0</u></sup> 0 ∂ _z_ ∂ _z_ _J_ 0 ������ _z_ =0, _L_ - _k_ ρ� . (A.12) In this expression φ <sup>˜</sup> 0 and its normal derivative are known from the algorithm described in 2.5. Therefore we can compute _I_ 0, _L_ and, using (A.11) _E_ 1,2. These functions in turn can be inserted in (A.7) to yield the boundary condition to impose on Γ1,2. 17 Supplementary Data The Supplementary Data include a movie (MovieS1) showing the development of several streamer discharges within domains of different radial extent as described in section 4. Among a total of six cases, three of them show the development of the discharge for Poisson’s equation subject to Neumann boundary conditions whereas the remaining three correspond to the solution of Poisson’s equation with free radial boundary conditions. Figure 3 is a frame extracted from this movie. Acknowledgement This work was supported by the European Research Council (ERC) under the European Union H2020 programme/ERC grant agreement 681257. References [1] J. R. Dwyer, M. A. Uman, The physics of lightning, Phys. Rep.534 (2014) 147. `[doi:10.1016/j.physrep.2013.09.004](http://dx.doi.org/10.1016/j.physrep.2013.09.004)` . 1 [2] U. Ebert, C. Montijn, T. M. P. Briels, W. Hundsdorfer, B. Meulenbroek, A. Rocco, E. M. van Veldhuizen, The multiscale nature of streamers, Plasma Sour. Sci. Technol. 15 (2006) S118. `[arXiv:physics/0604023](http://arxiv.org/abs/physics/0604023)`, `[doi:10.](http://dx.doi.org/10.1088/0963-0252/15/2/S14)` `[1088/0963-0252/15/2/S14](http://dx.doi.org/10.1088/0963-0252/15/2/S14)` . 1 [3] N. Liu, V. P. Pasko, Effects of photoionization on similarity properties of streamers at various pressures in air, J. Phys. D 39 (2006) 327. `[doi:10.](http://dx.doi.org/10.1088/0022-3727/39/2/013)` `[1088/0022-3727/39/2/013](http://dx.doi.org/10.1088/0022-3727/39/2/013)` . 1 [4] A. Luque, U. Ebert, Density models for streamer discharges: Beyond cylin drical symmetry and homogeneous media, J. Comput. Phys. 231 (2012) 904. `[doi:10.1016/j.jcp.2011.04.019](http://dx.doi.org/10.1016/j.jcp.2011.04.019)` . 4 [5] N. Liu, J. R. Dwyer, H. C. Stenbaek-Nielsen, M. G. McHarg, Sprite streamer initiation from natural mesospheric structures, Nature Communications 6 (2015) 7540. `[doi:10.1038/ncomms8540](http://dx.doi.org/10.1038/ncomms8540)` . [6] J. Qin, V. P. Pasko, Dynamics of sprite streamers in varying air density, Geo phys. Res. Lett. 42 (2015) 2031. `[doi:10.1002/2015GL063269](http://dx.doi.org/10.1002/2015GL063269)` . [7] J. Teunissen, U. Ebert, Afivo: a framework for quadtree/octree AMR with shared-memory parallelization and geometric multigrid methods `[arXiv:](http://arxiv.org/abs/1701.04329)` `[1701.04329](http://arxiv.org/abs/1701.04329)` . 1 18 [8] N. Y. Babaeva, G. V. Naidis, Two-dimensional modelling of positive streamer dynamics in non-uniform electric fields in air, J. Phys. D 29 (1996) 2423. `[doi:10.1088/0022-3727/29/9/029](http://dx.doi.org/10.1088/0022-3727/29/9/029)` . 1 [9] N. Y. Babaeva, G. V. Naidis, Modeling of streamer propagation, in: E. M. van Veldhuizen (Ed.), Electrical discharges for environmental purposes: fundamentals and applications, Nova Science, New York, United States, 2000. [10] N. Liu, V. P. Pasko, Effects of photoionization on propagation and branching of positive and negative streamers in sprites, J. Geophys. Res. (Space Phys) 109 (2004) A04301. `[doi:10.1029/2003JA010064](http://dx.doi.org/10.1029/2003JA010064)` . [11] A. Bourdon, V. P. Pasko, N. Y. Liu, S. C´elestin, P. S´egur, E. Marode, Efficient models for photoionization produced by non-thermal gas discharges in air based on radiative transfer and the Helmholtz equations, Plasma Sour. Sci. Technol. 16 (2007) 656. `[doi:10.1088/0963-0252/16/3/026](http://dx.doi.org/10.1088/0963-0252/16/3/026)` . 1, 5 [12] C. R. Anderson, A method of local corrections for computing the velocity field due to a distribution of vortex blobs, J. Comput. Phys. 62, 111 (1986). `[doi:10.1016/0021-9991(86)90102-6](https://doi.org/10.1016/0021-9991%0x2886%0x2990102-6)` . 1 [13] R. J. James, The solution of Poisson’s equation for isolated source distribu tions, J. Comput. Phys. 25 (1977) 71-93. `[doi:10.1016/0021-9991(77)](http://doi.org/10.1016/0021-9991%0x2877%0x2990013-4)` `[90013-4](http://doi.org/10.1016/0021-9991%0x2877%0x2990013-4)` . 1 [14] Gregory T. Balls, Phillip Colella, A Finite Difference Domain Decomposition Methods Using Local Corrections for the Solution of Poisson’s Equation, J. Comput. Phys. 180, 25-53 (2002). `[doi:10.1006/jcph.2002.7068](https://doi.org/10.1006/jcph.2002.7068)` . 1 [15] Mads Mølholm Hejlesen, Johannes Tophøj Rasmussen, Philippe Chatelain Jens Honor´e Walther, A high order solver for the unbounded Poisson equation, J. Comput. Phys. 252 (1) (2013) 458-467. `[doi:10.1016/j.jcp.2013.](https://doi.org/10.1016/j.jcp.2013.05.050)` `[05.050](https://doi.org/10.1016/j.jcp.2013.05.050)` . 1 [16] Christopher R. Anderson, High order expanding domain methods for the so lution of Poisson’s equation in infinite domains, J. Comput. Phys. 314 (2016) 194-205. `[doi:10.1016/j.jcp.2016.02.074](http://dx.doi.org/10.1016/j.jcp.2016.02.074)` . 1 [17] [C. R. Anderson, Domain decomposition techniques and the solution of pois-](http://www.ddm.org/DD02/Proc-2.php) sons’s equation [in](http://www.ddm.org/DD02/Proc-2.php) infinite domains, in: T. Chan, R. Glowinski, J. P´eriaux, O. Widlund (Eds.), Domain Decomposition Methods, Proceedings in Applied Mathematics, SIAM, 1989. URL `[http://www.ddm.org/DD02/Proc-2.php](http://www.ddm.org/DD02/Proc-2.php)` 1 19 [18] A. Bayliss, M. Gunzburger, E. Turkel, Boundary conditions for the numerical solution of elliptic equations in exterior regions, SIAM J. App. Math 42 (2) (1982) 430–451. `[doi:10.1137/0142032](http://dx.doi.org/10.1137/0142032)` . 1 [19] J. Jackson, Classical electrodynamics, John Wiley and sons, New York, USA, 1975. 2.3, 3.1, Appendix A.3 [20] T. A. Davis, Algorithm 832: Umfpack [v4.3—an](http://doi.acm.org/10.1145/992200.992206) unsymmetric-pattern mul tifrontal method, ACM Trans. Math. Softw. 30 (2) (2004) 196–199. `[doi:](http://dx.doi.org/10.1145/992200.992206)` `[10.1145/992200.992206](http://dx.doi.org/10.1145/992200.992206)` . URL `[http://doi.acm.org/10.1145/992200.992206](http://doi.acm.org/10.1145/992200.992206)` 3.3 [21] R. LeVeque, Finite Volume Methods for Hyperbolic Problems, Cambridge Texts in Applied Mathematics, Cambridge University Press, 2002. 4 [22] A. Alghamdi, A. Ahmadia, D. I. Ketcheson, M. G. Knepley, K. T. Mandli, [L. Dalcin, Petclaw: A scalable parallel nonlinear wave propagation solver for](http://dl.acm.org/citation.cfm?id=2048577.2048590) [python, in: Proceedings of the 19th High Performance Computing Symposia,](http://dl.acm.org/citation.cfm?id=2048577.2048590) HPC ’11, Society for Computer Simulation International, San Diego, CA, USA, 2011, pp. 96–103. URL `[http://dl.acm.org/citation.cfm?id=2048577.2048590](http://dl.acm.org/citation.cfm?id=2048577.2048590)` 4 [23] S. Balay, S. Abhyankar, M. F. Adams, J. Brown, P. Brune, K. Buschelman, L. Dalcin, V. Eijkhout, W. D. Gropp, D. Kaushik, M. G. Knepley, L. C. McInnes, K. Rupp, B. F. Smith, S. Zampini, H. Zhang, H. Zhang, [PETSc](http://www.mcs.anl.gov/petsc) [Web page,](http://www.mcs.anl.gov/petsc) `[http://www.mcs.anl.gov/petsc](http://www.mcs.anl.gov/petsc)` (2016). URL `[http://www.mcs.anl.gov/petsc](http://www.mcs.anl.gov/petsc)` 4 [24] S. Balay, S. Abhyankar, M. F. Adams, J. Brown, P. Brune, K. Buschelman, L. Dalcin, V. Eijkhout, W. D. Gropp, D. Kaushik, M. G. Knepley, L. C. McInnes, K. Rupp, B. F. Smith, S. Zampini, H. Zhang, H. Zhang, [PETSc](http://www.mcs.anl.gov/petsc) [users manual, Tech. Rep. ANL-95/11 - Revision 3.7, Argonne National Lab-](http://www.mcs.anl.gov/petsc) oratory (2016). URL `[http://www.mcs.anl.gov/petsc](http://www.mcs.anl.gov/petsc)` 4 [25] C. Montijn, W. Hundsdorfer, U. Ebert, An adaptive grid refinement strategy for the simulation of negative streamers, J. Comput. Phys. 219 (2006) 801. `[arXiv:physics/0603070](http://arxiv.org/abs/physics/0603070)`, `[doi:10.1016/j.jcp.2006.04.017](http://dx.doi.org/10.1016/j.jcp.2006.04.017)` . 4 [26] U. Ebert, S. Nijdam, C. Li, A. Luque, T. Briels, E. van Veldhuizen, Review of recent results on streamer discharges and discussion of their relevance for sprites and lightning, J. Geophys. Res. (Space Phys) 115 (2010) A00E43. `[arXiv:1002.0070](http://arxiv.org/abs/1002.0070)`, `[doi:10.1029/2009JA014867](http://dx.doi.org/10.1029/2009JA014867)` . 4 20 [27] M. Array´as, U. Ebert, W. Hundsdorfer, Spontaneous Branching of Anode Directed Streamers between Planar Electrodes, Phys. Rev. Lett. 88 (17) (2002) 174502. `[arXiv:nlin/0111043](http://arxiv.org/abs/nlin/0111043)`, `[doi:10.1103/PhysRevLett.88.](http://dx.doi.org/10.1103/PhysRevLett.88.174502)` `[174502](http://dx.doi.org/10.1103/PhysRevLett.88.174502)` . 5 [28] G. Derks, U. Ebert, B. Meulenbroek, Laplacian Instability of Planar Streamer Ionization Fronts—An Example of Pulled Front Analysis, Journal of NonLinear Science 18 (2008) 551. `[doi:10.1007/s00332-008-9023-0](http://dx.doi.org/10.1007/s00332-008-9023-0)` . 5 [29] A. Luque, U. Ebert, Growing discharge trees with self-consistent charge transport: the collective dynamics of streamers, New Journal of Physics 16 (1) (2014) 013039. `[arXiv:1307.2378](http://arxiv.org/abs/1307.2378)`, `[doi:10.1088/1367-2630/16/](http://dx.doi.org/10.1088/1367-2630/16/1/013039)` `[1/013039](http://dx.doi.org/10.1088/1367-2630/16/1/013039)` . 5 [30] P. S´egur, A. Bourdon, E. Marode, D. Bessieres, J. H. Paillol, The use of an improved Eddington approximation to facilitate the calculation of photoionization in streamer discharges, Plasma Sour. Sci. Technol. 15 (2006) 648. `[doi:10.1088/0963-0252/15/4/009](http://dx.doi.org/10.1088/0963-0252/15/4/009)` . 5 [31] A. Luque, U. Ebert, C. Montijn, W. Hundsdorfer, Photoionization in nega tive streamers: Fast computations and two propagation modes, Appl. Phys. Lett. 90 (8) (2007) 081501. `[arXiv:physics/0609247](http://arxiv.org/abs/physics/0609247)`, `[doi:10.1063/1.](http://dx.doi.org/10.1063/1.2435934)` `[2435934](http://dx.doi.org/10.1063/1.2435934)` . 5 21

섹션 본문 74문단 · 25,880자

(제목 없음)

1At high pressure electric discharges typically grow as thin, elongated filaments.In a numerical simulation this large aspect ratio should ideally translate into a narrow, cylindrical computational domain that envelops the discharge as closely as possible.However, the development of the discharge is driven by electrostatic interactions and, if the computational domain is not wide enough, the boundary conditions imposed to the electrostatic potential on the external boundary have a strong effect on the discharge.Most numerical codes circumvent this problem by either using a wide computational domain or by calculating the boundary conditions by integrating the Green's function of an infinite domain.Here we describe an accurate and efficient method to impose free boundary conditions in the radial direction for an elongated electric discharge.To facilitate the use of our method we provide a sample implementation.Finally, we apply the method to solve Poisson's equation in cylindrical coordinates with free boundary conditions in both radial and longitudinal directions.This case is of particular interest for the initial stages of discharges in long gaps or natural discharges in the atmosphere, where it is not practical to extend the simulation volume to be bounded by two electrodes.

Introduction

2Despite their prevalence in industry and in nature, electric discharges still hold many unknowns.For example, we do not yet understand precisely how a lightning channel starts, how it advances in its way to the ground or how exactly are bursts of X-rays produced as it progresses [1].This is partly due to the short time and length scales involved in such processes which, combined with their jittery behaviour, prevents the use of many diagnostic techniques.Due to these limitations, much of what we know about electric discharges comes from computer models which, at least within a simulation, are predictable and reveal arbitrarily small scales.

3Consider streamer simulations.Streamers are thin filaments of ionized air that precede most electric discharges in long gaps at atmospheric pressure.The main challenge for simulating streamers is the wide separation between length scales: whereas the total length of the streamer channel at atmospheric pressure ranges from about one to some tens of centimeters, the ionization of air molecules is mostly confined to a layer thinner than one millimeter.Despite this difficulty, there are many numerical codes that explain most of the observed properties of streamers [2][3][4][5][6][7].In the past decades these models have gradually improved and successfully overcome many of the challenges posed by streamer physics.However, they are still computationally intensive and often require days of runtime to produce meaningful simulations.

4In this work we look at one of the problems behind these long running times: the large aspect ratio of a single-channel discharge.Whereas the width of an atmospheric-pressure streamer is at most about one centimeter, its length spans many times this extension.In order to minimize the amount of work performed in a simulation, one strives to adapt the computational domain to the dimensions of the streamer, which means using a narrow cylindrical domain with a diameter only slightly larger than the streamer width.However, in such a narrow domain the electrostatic interaction between separate points in the channel is strongly affected by the boundary conditions imposed on the electric potential at the outer boundaries.

5One approach to avoid this artifact while keeping a narrow domain around the streamer is to calculate the boundary values of the potential by direct integration of the electrostatic Green's function in free space [3,[8][9][10][11].These values are then imposed as inhomogeneous Dirichlet boundary conditions in the solution of the Poisson equation.In a cartesian grid with M cells in the radial direction and N cells in the axial direction the direct integration of the Green's function at each of the N nodes in the external boundary requires about MN 2 operations.Since the work employed by fast Poisson solvers scales as MN log(MN) (MN for multigrid solvers), the computation of boundary values by direct integration may easily dominate the work employed in the electrostatic calculations.This is mitigated in part by using a coarse-grained charge distribution in the integration.However, in that case there is a tradeoff between the degree of coarsening and the minimal radial extension of the domain required for a tolerable error.

6Beyond this common approach used to solve Poisson's equation in electric discharges, some other methods have been developed.A family of these methods has been built upon the idea of the decoupling of local and far-field effects [12] and the computation of the boundary potential by means of a potential generated by a set of screening charges located in the outer surface of the computational domain [13].Based on these two methods mentioned above, reference [14] uses a domain decomposition approach to exploit parallel computing capabilities; first, Poisson's equation subject to unbounded boundary conditions is solved in a set of disjoint patches.As a second step a coarse-grid representation of the space charge is obtained and Poisson's equation is again solved in a global coarse-grid whose solution is used to communicate far-field effects to local patches.Finally, Poisson's equation is solved in a fine grid using boundary conditions computed from the coarse-grid solution corrected with local field information.

7A different family of methods uses the convolution with Green's function subject to free boundary conditions.They manage the singular behaviour of Green's function by either regularizing it [15], or by replacing the singular component to the integrand of the convolution by an analytical contribution [16].These methods have achieved an order of convergence greater than two.

8Here we adapt to the cylindrical geometry of electric discharges the domaindecomposition method described by Anderson [17] (see also [18] for a review of similar techniques).As we discuss below, this method requires two calls to the Poisson solver but otherwise the leading term in its algorithmic complexity follows the scaling of the Poisson solver itself.Therefore for large grid sizes our approach is more efficient than the direct integration method.Furthermore, as we do not reduce the resolution, we do not introduce any numerical error in addition to the discretization error of the Poisson equation.We believe that the method we present is simple enough that it can be easily implemented on top of any existing streamer simulation code.To aid in this task we provide a standalone example in Python.

9Some applications may also require free boundary conditions for the z-direction: for example, when the discharge develops far from the electrodes.In those cases one may also reduce the computational domain in the longitudinal direction while the core of the simulation remains inside the computational domain.We have considered this topic of interest in Appendix A where we have applied the domain decomposition method to obtain free boundary conditions also in the longitudinal direction.This extension requires an extra solution of Poisson's equation.

10Note that streamers are not the only type of discharge that typically exhibits a large aspect ratio and that therefore our scheme is also applicable to other processes such as leaders and arcs.

Domain decomposition

11The most convenient decomposition of the domain strongly depends on the problem at hand.The decomposition we present here is suitable for elongated discharges and probably some other applications but the procedure and the highlighted ideas are not restricted to this particular scheme.

12We consider the geometry sketched in figure 1, where an elongated, cylindrically symmetrical streamer propagates between two planar electrodes.With minimal changes, our scheme can be extended to more complex geometries commonly employed in streamer simulations, such as protrusion-plane, protrusion-protrusion and sphere-plane.The electrostatic potential φ satisfies the Poisson equation with appropriate boundary conditions:

13where f = −q/ 0 , with q being the charge density and 0 the vacuum permittivity.

14In principle an arbitrary boundary condition, here denoted by g, can be applied to the upper and lower electrodes.However, to simplify our discussion we limit ourselves to the most common case where g = 0, meaning φ = 0 at z = 0 and z = L (to impose a potential difference V between the two electrodes we simply

15Geometry of the discharge considered in this work.An elongated channel propagates between two conducting electrodes.The space between these electrodes, Ω is divided into two domains: the inner domain Ω 1 is our computational domain and contains all the space charge.The outer domain Ω 2 extends indefinitely outwards from the external boundary of Ω 1 and does not contain any space charge.The cylindrical surface Γ is the common boundary between Ω 1 and Ω 2 .

16add φ inhom = zV/L to the solution of the homogeneous problem).The domain Ω is the space between the two electrodes, formally defined as

17Since our geometry is cylindrically symmetrical, we will henceforth omit the variable θ and consider the two-dimensional domain spanned by the variables (ρ, z).

18Our purpose is to decompose the physical domain Ω into two, which we name

19all the space charge is contained in Ω 1 .The inner domain Ω 1 , extending up to a given radius R, is our computational domain and therefore must be selected to be as narrow as possible.

20Under this domain decomposition the problem (1) turns into two coupled problems:

21where i = 1, 2 and Γ = ∂Ω 1 ∩ ∂Ω 2 is the cylindrical surface at ρ = R that separates the two domains.

22Since at the interface Γ both, φ 1 and φ 2 , are equal to the boundary value φ Γ , they fulfill φ 1 = φ 2 .But besides this condition, in order for φ 1 and φ 2 to be consistent with the solution φ of the original problem (1), they must also satisfy

Linearity

23The linearity of the Poisson problems (3) with respect to their sources f allows us to decompose the potentials as

24where φi [φ Γ ] results from the boundary values φ Γ at the interface Γ and φi [ f i ] results from the original sources f restricted to Ω i (we use [•] to denote a functional dependence).The precise definitions read

25and

26In terms of these components the flux equation ( 4) can be expressed as

27where on the right hand side we have made use of φ2 = 0, since f=0 in Ω 2 .

Expansion in orthonormal solutions of the Laplace equation

28The potentials φi in ( 6) are solutions of the Laplace equation in cylindrical geometry and they can be expanded using an orthogonal basis of solutions (see e.g.[19]):

29where α m and β m are expansion coefficients, k m = mπ/L and I n (x) and K n (x) are the modified n-order Bessel functions of the first and second kind respectively.Note that the set S = sin (k m z) ∞ m=0 is an orthogonal basis of

30therefore, φ Γ can be expanded as:

31If φ Γ is continuous and piecewise differentiable on [0, L], φ Γ ∈ L 2 ([0, L]) and φ Γ satisfies homogeneous Dirichlet boundary conditions, then the sine series converges to φ Γ uniformly on [0, L].Note that the term with m = 0 vanishes due to the homogeneous boundary conditions at z = 0 and z = L.

32The boundary conditions at z = 0 and z = L restrict the basis of solutions.Homogeneous Dirichlet boundary conditions are simpler because there is only need for sine functions.However, if we had some other boundary conditions such as homogeneous Neumann, the convenient basis should also include cosine functions to allow for non-zero values of the potential at z = 0 and z = L. Nevertheless, this basis is not orthogonal and this would make things slightly more complicated.

Continuity of the normal derivative

33Imposing that φ1 = φ2 = φ Γ at ρ = R we solve for α m and β m and write (9) as

34Using these expressions into the equation for the normal derivatives (8) we obtain

35where we have made use of the identities I 0 (x) = I 1 (x), K 0 (x) = −K 1 (x).Using now the orthogonality of the basis S we obtain equations for the coefficients a m :

36In a space discretization based on a cartesian grid the integral in the latest expression is approximated by a finite sum with the form of a Discrete Sine Transform (DST).This leads to this final expression for the coefficients a m a m = − 2 mπ

37where h is the grid size and {z i } N i=1 are the solution nodes in the z-direction.In a discrete problem the series in ( 11) is also truncated above m = N.

Algorithm

38We are now ready to detail the domain-decomposition algorithm that allows us to solve the Poisson equation in the reduced computational domain Ω 1 with free boundary conditions: To this algorithm we add the following remarks:

391.After obtaining the coefficients a m one is tempted to use (12a) together with φ 1 = φ1 + φ1 to avoid solving the Poisson equation a second time.However, in a grid of M × N cells this procedure takes about MN 2 operations whereas solving the Poisson equation requires only MN log(MN) or MN operations.2. The computational domain Ω 1 has to be as narrow as possible in order to reduce the computational cost of the simulation.Of course this narrowing is limited by the constraint that Ω 1 contains the support of the space charge density.In an electrostatic discharge the charge density typically decays smoothly away from the channel so in some cases one has to decide at which level it is safe to truncate the charge density with an acceptable error.Nevertheless, given the fast decay of the charge away from the channel, this is probably not a serious concern in most cases.

Tests

40In order to test our scheme we consider now a simple setup where the Poisson equation has a closed-form solution.An example of such a configuration is a uniformly charged sphere located between two grounded, infinite planar electrodes.The electrostatic potential in this setup can be calculated by the method of images (see e.g.[19]) and equals the potential created in free space by an infinite series of spheres with alternating charges.

41Suppose a sphere centred at (ρ, z) = (0, z 0 ) with radius a < min(z 0 , L − z 0 ) and total charge Q.At a point with cylindrical coordinates (ρ, z) the potential reads

42with

43Figure 2 shows a comparison between the electric fields computed using expression (16) and using the approach described in section 2.Here we took a = 3 mm, L = 10 mm, Q = 10 13 e (e is the elementary charge), z 0 = L/2.For the discretized solution we used ∆r = ∆z = 10 −2 mm and a radial extension of the computational domain R = 5 mm.We also include the electrostatic potential calculated by imposing homogeneous Neumann boundary conditions at the external boundary.

44We see that the field calculated with the approach presented here is indistinguishable from the field from the method of images.The homogeneous Neumann conditions, on the other hand, produce an electric field that at the surface of the sphere deviates by about 15% from the other two in the worst case, i.e. with R = 5 mm.To investigate the convergence of the homogeneous Neumann solution we extended the computational domain by computing the field also for R = 10 mm and R = 20 mm.As we move the external boundary away, the solution with Neumann conditions approaches our reference solution (Method of Images).Essentially, bringing the external boundary closer to the charged sphere shields the electric field before so the Neumann condition is fulfilled.As we will see, applied to streamer simulations, this leads to slightly lower values of the electric field in the streamer head and therefore less ionization.

Order of accuracy

45We have checked that the method described above does not change the order of accuracy of the discretization of the Poisson equation by constructing a closedform solution of the Poisson equation that satisfies homogeneous Dirichlet boundary conditions in the upper and lower electrodes.We have used the potential

46whose Laplacian has the form

47Although this charge density is not strictly bounded, the contribution of charges excluded from the domain decays super-exponentially as the domain becomes wider and can thus be neglected as long as the external radius of the computational domain is significantly longer than σ.

48We have solved the Poisson equation corresponding to the Laplacian (18) with L = 1 m, σ = 0.1 m and z 0 = 0.5 m within a cylindrical domain with a radius R = 0.5 m, where we imposed free boundary conditions with the method described above.In this manner we checked that the convergence in the 2 -norm is of second order, the same as that of the finite difference scheme.This is as expected because φ1 , its derivative in the radial direction and the Fourier coefficients (15) retain convergence of order O h 2 .

49We are also interested in the convergence as we move the outer boundary.Following the example of the previous section, this time we change the radius of the sphere to 0.1 mm and the mesh spacing to 1 µm.Errors are presented in Table 1, and the convergence is as expected of second order.Therefore, the decomposition method does not cause errors of order less than two.

50Outer radius (mm)

Sample implementation

51A computer code that produces a figure similar to figure 2 is included with this work.The code is implemented in Python and to be executed it requires only the widely available scientific libraries NumPy and SciPy.To solve the discrete Poisson equation the code constructs a sparse matrix for the discrete Laplacian operator and invokes UMFPACK [20] (via SciPy) to solve the resulting linear system.

52The code consists of a single file poisson_sparse_fft.pyand contains the following methods: compute_matrix: Calculates the sparse matrix for the discrete Laplacian operator in a given cartesian grid and boundary conditions.

53apply_inhom_bc: Modifies the right-hand-side of the linear system in order to apply inhomogeneous Dirichlet boundary conditions.

54DDM: Applies the domain decomposition method described in section 2 to solve the Poisson equation with free boundary conditions.

55MOI: Calculates the electrostatic potential by means of the method of images, using (16).

56main: This is the entry-point of the code: it uses the above methods to produce the output figure.

Streamer simulations

57In elongated electric discharges, Neumann boundary conditions are often considered more appropriate than Dirichlet to be applied at r max because there is not a physical electrode in the radial direction, and therefore there is no reason to keep constant the potential there.The development of electric discharges is driven by long range interactions and therefore boundary conditions certainly affect the solution inside the computational domain.These effects can be reduced by enlarging the domain in the radial direction in exchange of a higher computational cost.The procedure we have described allows us to keep the boundary r max close to the core of the simulation without noticeable numerical effects on the electric discharge.The following simulations clearly illustrate the features mentioned.

58We simulated the propagation of streamer discharges between two planar electrodes with a model that includes electron drift, impact ionization and dissociative attachment and is implemented using the CLAWPACK/PetClaw library [21,22].The Poisson equation is solved using the Improved Stabilized version of BiConjugate Gradient solver from the PETSc numerical library [23,24].For more details about the physical model see e.g.references [4,25,26].

59We selected an inter-electrode gap of L = 2 cm and a background electric field of 27 kV/cm.The streamer is initiated by a neutral ionization seed attached to the electrode on the central axis and centred at z = L.The peak electron density in this seed is 10 14 cm −3 and the e-folding length is 0.7 mm.

60As we are interested in the effect of the external boundary conditions, we run simulations both with free boundary conditions, implemented as described above, and with homogeneous Neumann conditions for the electrostatic potential (as mentioned above, it is generally assumed that Neumann boundary conditions introduce slightly smaller artifacts).We also use different radii of the computational domain, R = 0.5 cm, R = 1 cm and R = 2 cm.In figure 3 we show snapshots of the electric field resulting from these simulations at time t = 30 ns, shortly after the streamer branches in the simulations with free boundary conditions.Note however that the cylindrical symmetry of the simulations prevents proper branching.MovieS1 (available online) shows the complete evolution of the streamers.

61In the plots we see that the simulations with free boundary conditions are essentially identical regardless of the lateral extension of the computational domain.The simulations with homogeneous Neumann conditions on the other hand depend artificially on the radius of the computational domain.The streamer barely develops with R = 0.5 cm and only the simulation with R = 2 cm reproduces accurately the branching time of the simulations with free boundary conditions.We conclude that, even in this case where the aspect ratio of the discharge is not extremely high, the computational gain from reducing the domain size (roughly a factor 4) more than compensates for the cost of solving twice the Poisson equation, resulting in an overall improvement of about a factor 2.

Discussion and conclusions

62When they are not laterally constrained, most electrical discharges develop as elongated channels.Despite different physical conditions and ionization mechanisms this feature is common to streamers, leaders and arcs.The underlying reason for this shared property is that all these processes are affected by a Laplacian instability [27,28], whereby small bumps in a discharge front enhance the electric field ahead and thus grow faster than the surrounding regions.This prevents the formation of wide, smooth discharges and creates branched discharge trees of many filaments [29].

63Since this is the preferred shape of a discharge, it is reasonable to optimize our numerical models for elongated channels, selecting high-aspect-ratio computational domains.The method and the code that we have presented here can be used to achieve this efficiently and without losing accuracy.

64We mention several possible extensions and refinements of this method.The first one, which is described in the appendix, consists in extending the free boundary conditions also to the upper and lower simulation boundaries.This can be useful for the investigation of discharges not attached to any electrode or, with appropriate modifications, attached to a single electrode.

65A second extension is to adapt the method to run in parallel in several processors.If we parallelize the Poisson solver by vertically decomposing the domain, the application of the method described above requires collecting information about the initial solution around the external boundary and then performing a one-dimensional Fourier transform.The overhead of these steps is small compared to the operations required for the solution of the Poisson equation so the method can be efficiently parallelized.

66Finally, one may ask about the suitability of this method for non-uniform meshes and, in particular, for adaptively refined meshes.Although the application of the method is in principle straightforward, a careful analysis is required to understand the error incurred due to a possibly coarser resolution around the boundary than around a localized charge density.This analysis, however, falls out of the scope of the present paper.

67Note that although we have focused on the solution of the Poisson equation, this method can be easily generalized to other elliptic partial differential equations.This can then applied to other components of streamer simulation codes such as the speeding-up of photoionization calculations by approximating the interaction integral by combining solutions of a set of partial differential equations, as proposed in references [11,30,31].distribution f is contained in Ω 0 and thus arrive at the three coupled problems ∆φ 0 = f in Ω 0 , φ 0 = φ Γ 0i on ∂Γ 0i , i = 1, 2, (A.1a) and ∆φ i = f in Ω i , φ i = φ Γ 0i on ∂Γ 0i , (A.1b)

68where i = 1, 2 and Γ 0i = ∂Ω 0 ∩ ∂Ω i are the surfaces z = 0 and z = L respectively.Since there are two interfaces, there are also two conditions for the continuity of the normal derivative:

1 .

69Solve the Poisson equation in Ω 1 with the source term f and homogeneous Dirichlet boundary conditions at the boundary Γ.Call the result φ1 .2. Calculate the normal derivative of φ1 at Γ. Apply a DST and use expression (15) to obtain the coefficients a m .3. Use these coefficients to obtain the boundary values φ Γ by means of a second DST and expression (11).4. Solve again the Poisson equation in Ω 1 but now use φ Γ as inhomogeneous Dirichlet boundary condition at Γ.The result, φ 1 is the solution of the Poisson equation with free boundary conditions.

Figure 2 :

70Figure 2: Comparison between electric fields created by a uniformly charged sphere between two planar infinite electrodes calculated by the approach presented in this work, by the method of images and by imposing homogeneous Neumann boundary conditions at the external boundary of the computational domain.Note the overlap between the lines corresponding to free boundary conditions and to the method of images.

71× 10 −7 5.037 × 10 −6 0.5 4.735 × 10 −8 3.812 × 10 −7 1 1.227 × 10 −8 9.838 × 10 −8

Figure 3 :

72Figure 3: Streamer simulations using free boundary conditions (left column) and homogeneous Neumann boundary conditions (right column) in the external boundary of the computational domain.For each selection of the boundary conditions we show three simulations where the computational domain extends to a radius R = 0.5 cm (top), R = 1 cm (middle) and R = 2 cm (bottom).

Figure A. 4 :

73Figure A.4: Geometry of the problem.Ω is divided into three subdomains: Ω 0 , Ω 1 and Ω 2 .The three extend indefinitely outwards and the latter two also downwards and upwards respectively.

Table 1 :

74Error obtained with change in outer radius

참고문헌 32건

  1. PETSc Users Manual 2019
  2. PetClaw: a scalable parallel nonlinear wave propagation solver for Python IEEE International Conference on High Performance Computing, Data, and Analytics · 2011 10.5555/2048577.2048590
  3. Finite Volume Methods for Hyperbolic Problems 2002 10.1017/cbo9780511791253
  4. The use of an improved Eddington approximation to facilitate the calculation of photoionization in streamer discharges Plasma Sources Science and Technology · IOP Publishing · 2006 10.1088/0963-0252/15/4/009
  5. An adaptive grid refinement strategy for the simulation of negative streamers Journal of Computational Physics · Elsevier BV · 2006 10.1016/j.jcp.2006.04.017
  6. A Finite Difference Domain Decomposition Method Using Local Corrections for the Solution of Poisson's Equation Journal of Computational Physics · Elsevier BV · 2002 10.1006/jcph.2002.7068
  7. Boundary Conditions for the Numerical Solution of Elliptic Equations in Exterior Regions SIAM Journal on Applied Mathematics · Society for Industrial and Applied Mathematics · 1982 10.1137/0142032
  8. Algorithm 832 ACM Transactions on Mathematical Software · Association for Computing Machinery · 2004 10.1145/992200.992206
  9. A method of local corrections for computing the velocity field due to a distribution of vortex blobs Journal of Computational Physics · Elsevier BV · 1986 10.1016/0021-9991(86)90102-6
  10. Effects of photoionization on similarity properties of streamers at various pressures in air Journal of Physics D Applied Physics · Institute of Physics · 2006 10.1088/0022-3727/39/2/013
  11. A high order solver for the unbounded Poisson equation Journal of Computational Physics · Elsevier BV · 2013 10.1016/j.jcp.2013.05.050
  12. The physics of lightning Physics Reports · Elsevier BV · 2013 10.1016/j.physrep.2013.09.004
  13. Effects of photoionization on propagation and branching of positive and negative streamers in sprites Journal of Geophysical Research Atmospheres · American Geophysical Union · 2004 10.1029/2003ja010064
  14. Density models for streamer discharges: Beyond cylindrical symmetry and homogeneous media Journal of Computational Physics · Elsevier BV · 2011 10.1016/j.jcp.2011.04.019
  15. Photoionization in negative streamers: Fast computations and two propagation modes Applied Physics Letters · American Institute of Physics · 2007 10.1063/1.2435934
  16. Two-dimensional modelling of positive streamer dynamics in non-uniform electric fields in air Journal of Physics D Applied Physics · Institute of Physics · 1996 10.1088/0022-3727/29/9/029
  17. Spontaneous Branching of Anode-Directed Streamers between Planar Electrodes arXiv (Cornell University) · Cornell University · 2001 10.1103/physrevlett.88.174502
  18. Dynamics of sprite streamers in varying air density Geophysical Research Letters · American Geophysical Union · 2015 10.1002/2015gl063269
  19. Growing discharge trees with self-consistent charge transport: the collective dynamics of streamers New Journal of Physics · IOP Publishing · 2014 10.1088/1367-2630/16/1/013039
  20. Laplacian Instability of Planar Streamer Ionization Fronts—An Example of Pulled Front Analysis Journal of Nonlinear Science · Springer Science+Business Media · 2008 10.1007/s00332-008-9023-0
  21. The multiscale nature of streamers Plasma Sources Science and Technology · IOP Publishing · 2006 10.1088/0963-0252/15/2/s14
  22. The solution of poisson's equation for isolated source distributions Journal of Computational Physics · Elsevier BV · 1977 10.1016/0021-9991(77)90013-4
  23. Electrical discharges for environmental purposes : fundamentals and applications 2000
  24. Efficient models for photoionization produced by non-thermal gas discharges in air based on radiative transfer and the Helmholtz equations Plasma Sources Science and Technology · IOP Publishing · 2007 10.1088/0963-0252/16/3/026
  25. Sprite streamer initiation from natural mesospheric structures Nature Communications · Nature Portfolio · 2015 10.1038/ncomms8540
  26. High order expanding domain methods for the solution of Poisson's equation in infinite domains Journal of Computational Physics · Elsevier BV · 2016 10.1016/j.jcp.2016.02.074
  27. PETSc Users Manual Revision 3.7 2016 10.2172/1255238
  28. Afivo: A framework for quadtree/octree AMR with shared-memory parallelization and geometric multigrid methods Computer Physics Communications · Elsevier BV · 2018 10.1016/j.cpc.2018.06.018
  29. Review of recent results on streamer discharges and discussion of their relevance for sprites and lightning Journal of Geophysical Research Atmospheres · American Geophysical Union · 2010 10.1029/2009ja014867
  30. The multiscale nature of streamers Plasma Sources Science and Technology · IOP Publishing · 2006 10.1088/0963-0252/15/2/s14
  31. Growing discharge trees with self-consistent charge transport: the collective dynamics of streamers New Journal of Physics · IOP Publishing · 2014 10.1088/1367-2630/16/1/013039
  32. Classical Electrodynamics UNITEXT for physics · Springer International Publishing · 2018 10.1007/978-3-319-91809-9