Two-fluid simulations of waves in the solar chromosphere I: numerical code verification
B. Popescu Braileanu, V. S. Lukin, E. Khomenko, and A. de Vicente

TL;DR
This paper presents a new two-fluid numerical code to model waves in the partially ionized solar chromosphere, validating it against analytical solutions and exploring wave behavior across different collisional regimes.
Contribution
The authors developed and verified a semi-implicit two-fluid simulation code for chromospheric waves, addressing numerical stability and collisional effects in a partially ionized plasma.
Findings
The code's results match analytical solutions for wave propagation.
Wave behavior varies with collisional frequency, showing single-fluid and decoupled regimes.
Collisional interactions cause wave damping and frequency modifications.
Abstract
Solar chromosphere consists of a partially ionized plasma, which makes modeling the solar chromosphere a particularly challenging numerical task. Here we numerically model chromospheric waves using a two-fluid approach with a newly developed numerical code. The code solves two-fluid equations of conservation of mass, momentum and energy, together with the induction equation, for the case of the purely hydrogen plasma with collisional coupling between the charged and neutral fluid components. The implementation of a semi-implicit algorithm allows us to overcome the numerical stability constraints due to the stiff collisional terms. We test the code against analytical solutions of acoustic and Alfv\'en wave propagation in uniform medium in several regimes of collisional coupling.The results of our simulations are consistent with the analytical estimates, and with other results described…
| Neutrals | Charges |
|---|---|
| Pa | 0.7 Pa |
| m/s | =2 = 1.53 m/s |
| K | K |
| Acoustic waves | ||
|---|---|---|
| k [m-1] | [s] | [s] |
| 618 | ||
| 7.5 () | ||
| 6.18 | ||
| 2.06 | ||
| Alfvén waves | ||
| k [m-1] | [s] | [s] |
| 61.8 | ||
| 6.18 | ||
| 8.8 () | ||
| 0.135 | ||
| 27.89 | ||
| Acoustic waves | |||
|---|---|---|---|
| a | b | c | |
| 0.5 | |||
| 0.6 | |||
| 1 | |||
| Alfvén waves | |||
|---|---|---|---|
| a | b | c | |
| 0.5 | |||
| 0.6 | |||
| 1 | |||
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSolar and Space Plasma Dynamics · Ionosphere and magnetosphere dynamics · Astro and Planetary Science
11institutetext: Instituto de Astrofísica de Canarias, 38205 La Laguna, Tenerife, Spain 22institutetext: Departamento de Astrofísica, Universidad de La Laguna, 38205, La Laguna, Tenerife, Spain 33institutetext: National Science Foundation††thanks: Any opinion, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation., Alexandria, VA, 22306, USA
Two-fluid simulations of waves in the solar chromosphere I: numerical code verification.
B. Popescu Braileanu 1122 [email protected]
V. S. Lukin 33
E. Khomenko 1122
Á. de Vicente 1122
(Received: August 29, 2018; Accepted: May 7, 2019)
Solar chromosphere consists of a partially ionized plasma, which makes modeling the solar chromosphere a particularly challenging numerical task. Here we numerically model chromospheric waves using a two-fluid approach with a newly developed numerical code. The code solves two-fluid equations of conservation of mass, momentum and energy, together with the induction equation, for the case of the purely hydrogen plasma with collisional coupling between the charged and neutral fluid components. The implementation of a semi-implicit algorithm allows us to overcome the numerical stability constraints due to the stiff collisional terms. We test the code against analytical solutions of acoustic and Alfvén wave propagation in uniform medium in several regimes of collisional coupling.The results of our simulations are consistent with the analytical estimates, and with other results described in the literature. In the limit of a large collisional frequency, the waves propagate with a common speed of a single fluid. In the other limit of a vanishingly small collisional frequency, the Alfvén waves propagate with an Alfvén speed of the charged fluid only, while the perturbation in neutral fluid is very small. The acoustic waves in these limits propagate with the sound speed corresponding to either the charges or the neutrals, while the perturbation in the other fluid component is very small. Otherwise, when the collision frequency is similar to the real part of the wave frequency, the interaction between charges and neutrals through momentum transfer collisions cause alterations of the waves frequencies and damping of the wave amplitudes.
Key Words.:
Sun: chromosphere – Sun: waves – Sun: magnetic field – Sun: numerical simulations
1 Introduction
Solar chromosphere is a transition layer where the properties of plasma change abruptly from gas pressure dominated (as in the photosphere) to magnetic field dominated (in corona), and where the collisional coupling of the plasma weakens with height. Several aspects of chromospheric physics make this region one of the most complex for understanding of the solar atmosphere.
It is well known that the chromosphere is not in local thermodynamic equilibrium. Athay & House (1962) measured and compared intensities in strong emission lines of H, He i, He ii, Ca ii, and the deduced ratios of the populations of various levels indicated a significant departure from a Boltzmann distribution of the levels studied. In the high chromosphere the ratio of neutral atoms to ions exceeds the LTE values by about 107-108 in the case of He i and by about 106-107 in the case of hydrogen, and there is evidence that significant departures from LTE extend well into the photospheric layers. The formation of many photospheric lines is well described using LTE when radiation is fully coupled to the local physical conditions. However, in the chromosphere when collisional rates are lower, the radiation begins to decouple from the local physical conditions, invalidating the LTE assumption.
Plasma in the chromosphere is only partially ionized. As the density decreases with height, the collision frequencies between different particle species decrease and the magnetic field begins to dominate the dynamics. The neutral species do not feel the magnetic field directly and this causes a partial decoupling between charges and neutrals when the collisional time scales between ionized and neutral atomic species become equal or larger than the hydrodynamic time scale. Therefore, classical MHD approach is not the best approximation to treat the plasma processes in the chromosphere. While realistic photospheric models based on the MHD approximation provide results that are practically indistinguishable from observations even in strongly magnetized regions (e.g., Rempel et al., 2009), this is not the case for the chromosphere (see e.g. the discussion in Leenaarts, 2010). This is so because observations do not reach scales where ion-neutral effects can be detected directly in plasma dynamics, (see e.g. Figure 1 in Khomenko et al., 2014) in the photosphere. However, in the chromosphere, these scales become larger and may be possible to reach in some dedicated observations. Indirect ion-neutral decoupling effects, such as heating, are also more pronounced in the chromosphere.
A suitable alternative to the MHD approach is a two-fluid plasma-neutrals model, numerically implemented in this work. This kind of a model is most appropriate for high density plasmas such as in the chromosphere, where kinetic models cannot be efficiently applied. Kinetic models have been successfully applied to the corona and the solar wind, where much lower particle density makes the problem more computationally feasible and the kinetic description more necessary and appropriate. Multi-fluid models preserve a number of important physical effects coming from weak collisional coupling, still allowing for an efficient implementation, as any fluid-based description. While the motivation for multi-fluid modeling comes mainly from theoretical considerations, in the recent years there have been attempts of direct observational detection of multi-fluid effects in the solar plasma through measurements of differences in ion and neutral velocities caused by loss of collisional coupling. By measuring the Doppler shift in ion Fe ii and neutral Fe i lines, simultaneously over the same volume of plasma, differences between ion and neutral velocities of the Evershed flow have been found in sunspot penumbra as deep as the photosphere by Khomenko et al. (2015). Similarly, Khomenko et al. (2016) showed that non-negligible differences in He i and Ca ii velocities exist in solar prominences when observed with sufficiently high cadence. While the measured neutral and ion velocities were the same in most of the spatial locations most of the time, they were observed to decouple in the presence of strong spatial and temporal gradients, such as wave fronts. However, Anan et al. (2017) concluded that the observed small differences in velocities of H i 397 nm, H i 434 nm, Ca ii 397 nm, and Ca ii 854 where indications of motion of different components in the prominence along the line of sight, rather than indications of decoupling. Detection of the decoupling effects directly would require highest spatial and temporal resolution, apart from a careful selection of spectral lines for the analysis. More observational studies in the future will be needed to confirm or discard the detection of the decoupling effects.
Nonetheless, there exist other indirect indications of decoupling such as the those observed by Gilbert et al. (2007). These authors have compared He i 1083 nm and H data in multiple solar prominences in different phases of their lifecycle, and were able to detect the drainage effects across prominence magnetic field with different time scales for helium and hydrogen atoms. Such drainage was predicted earlier by Gilbert et al. (2002) from simplified semi-analytical calculations. Another indirect evidence of ion-neutral decoupling was reported by de la Cruz Rodríguez & Socas-Navarro (2011) who deduced misalignment in the visible direction of chromospheric fibrils and measured magnetic field vector. They noted most of the fibrils aligned with the magnetic field, although there are a few noteworthy cases where significant misalignments occur, well beyond the observational uncertainty.
Misalignment of chromospheric fibrils and magnetic field was confirmed by Martínez-Sykora et al. (2016) who used advanced radiative magnetohydrodynamic simulations, including the effects of ion-neutral interactions in the single-fluid approximation (via ambipolar diffusion). These authors have shown that the magnetic field is indeed often not well aligned with chromospheric features. The misalignment occurs where the ambipolar diffusion is large, i.e., ions and neutral populations decouple as the ion-neutral collision frequency drops, allowing the field to slip through the neutral population. The conditions for misalignment also require currents perpendicular to the field to be strong, and thermodynamic time scales to be longer than or similar to those of ambipolar diffusion.
The vast majority of works studies of ion-neutral effects in solar plasmas address propagation of different types of waves and the development of instabilities in chromospheric and prominence plasma conditions. Zaqarashvili et al. (2011b) and Soler et al. (2013a) studied theoretically the Alfvén waves propagation in a uniform medium composed by protons and hydrogen atoms which interact by collisions. Refinements of this theory were introduced by Zaqarashvili et al. (2011a) by adding helium atoms, by Zaqarashvili et al. (2013) by considering a nonuniform gravitationally stratified atmosphere, and by Soler et al. (2013b) by applying a flux tube model. It was found that in situations when the neutral-ion collisional frequency is much lower than the wave frequency, the propagation properties of the waves only depend on the properties of the ionized fluid. These properties change with height due to stratification, and the Alfvén wave may become evanescent in some regions of the solar atmosphere. The waves can be damped by neutral-ion collisions, and the existence of neutral helium atoms, alongside with neutral hydrogen, significantly enhances the damping. The damping is most efficient when the wave frequency and the collisional frequency are of the same order of magnitude. The overall conclusion from these studies is that the single-fluid approach is suitable for dealing with slow processes in partially ionized plasmas, which happen on time scales longer than the collisional time scale. This approximation fails for time scales comparable to or shorter than the characteristic time scales for interaction between the charged and neutral particle populations.
Only recently, several numerical simulations of solar phenomena using a two-fluid approach have been reported. However, their realism is rather limited. Maneva et al. (2017) modeled magneto-acoustic wave propagation in the solar stratified chromosphere including effects of impact ionization and radiative recombination. These authors found numerous difficulties in constructing an equilibrium model atmosphere for the wave propagation, and in interpreting the results of their simulations in comparisons to more standard, single fluid models. Magnetic reconnection has been studied using a two fluid model by Smith & Sakai (2008); Leake et al. (2012, 2013); Alvarez Laguna et al. (2014); Hillier et al. (2016). Important decoupling between the flows of neutrals and ions where observed in their simulations close to a reconnection site with considerable differences between inflows and outflows. Ni et al. (2018) also found that even in the absence of flow decoupling, dynamics of the ionization and recombination processes can have important consequences for the thermodynamics and observable properties of plasma at chromospheric reconnection sites. Martínez-Gomez et al. (2017) used a five-fluid model with three ionized and two neutral components, which takes into consideration Hall current and Ohm’s diffusion in addition to the friction due to collisions between different species. They apply their model to study the wave propagation in homogeneous plasmas composed of hydrogen and helium, similar to analytical models described above, but allowing time evolution of the ionization fraction. They confirmed the theoretical result that the inclusion of neutral components in the plasma modifies the oscillation periods of the low-frequency Alfvén waves and that collisions produce damping of the perturbations, the damping being more efficient when the collisional frequency is of the order of the oscillation frequency.
From all of the above it is evident that numerical modeling of solar chromospheric plasma including multi-fluid effects is a promising approach, and that a significant effort is required in this direction. Both previous theoretical and observational results suggest the need for such modeling. In the current work we describe the results from the newly developed two-fluid code for purely hydrogen plasma which takes into account the effects of elastic and inelastic interactions between electrons, ions, and neutral atoms. In the current paper, which is the first paper in our study of chromospheric waves and shocks within a multi-fluid approximation, we verify the code against the known analytical solutions for the wave propagation in a homogeneous plasma, and provide results on the numerical convergence of the implemented numerical scheme. In section 5 we describe a test of a fast wave in a gravitationally stratified atmosphere, and test the numerical solution against the analytical solution. The full equations are being provided in this first paper, describing the upgraded code, in order to enable reproducibility, and for future reference in the follow-on papers. In the second paper of the series (Popescu Braileanu et al., 2018), we apply the code to study the non-linear behavior of chromospheric shocks under two-fluid condition.
2 Numerical method
A multicomponent plasma evolution can be described by equations of continuity, momentum and energy of its components which are obtained via momenta (0th, 1st, and 2nd moment) of the Boltzman equation. Typically, ions(i), electrons(e) and neutrals(n) are considered. When treated numerically by an explicit code, the equation of evolution of electrons imposes very small time steps and therefore is numerically restrictive. Because of the large ion-to-electron mass ratio, the electron propagation speed, sound speed and Alfven velocity are also large relative to the corresponding bulk plasma parameters; this restricts the time step in an explicit scheme. However, for the same reason, the electron mass effects can generally be neglected from the electron equation of motion. This relaxes some of the numerical constraints and results in a generalized Ohm’s law used to compute evolution of the electric field. The following assumptions are made in the set of two-fluid equations implemented in this work:
- •
Purely hydrogen plasma. This condition implies than only singly-ionized ions are present and that charge neutrality is fulfilled on scales above the Debye radius scale, as usual. Charge exchange reactions are introduced via elastic collisions, by defining a charge-exchange collisional parameter , added to the elastic collisional parameter . The expression of this term is given in Equation (62), in Appendix A. For such plasma, a constant mean molecular weight for neutrals is =1 g/mole and a constant mean molecular weight for charges is =0.5 g/mole, where the sub-index “c” stands for “charges”.
- •
Same temperatures of ions and electrons, i.e., . Neutrals are allowed to have different temperatures than charges, i.e. generally .
- •
Center of mass velocity of charges is essentially ion velocity, i.e., . This condition implies that .
2.1 Equations
We solve continuity, momentum and energy conservation equations written separately for charges (sub-index “c”) and neutrals (sub-index “n”). The interaction between neutrals and charges is introduced via the different kinds of collisional terms, as follows.
Continuity equations:
[TABLE]
with:
[TABLE]
being the ionization/recombination collisional source term. The variables and are ionization and recombination rates. They are defined in the Appendix A. The variables and are mass density of charges and neutrals, and and are their center of mass velocities.
Momentum equations:
[TABLE]
The elastic collisions between ions and neutrals and between electrons and neutrals can be combined into a single collision frequency between charges and neutrals. By defining the collisional parameter:
[TABLE]
the effective collision frequency between charges and neutrals, and between neutrals and charges becomes, respectively:
[TABLE]
Here, and are the electron-neutral and ion-neutral collision frequency, respectively, with expressions given in Equation 60, in Appendix A. If we take into account the charge-exchange reactions, , as defined in Equation (62), should be added to the elastic collision parameter . The momentum collisional term can be written as:
[TABLE]
Here and are pressure tensors for charged and neutral species, is magnetic field, is current density and is momentum collisional exchange term. The latter takes into account momentum gains/losses due to elastic collisions, with collisional frequencies between ions, electrons and neutrals, and , defined in the Appendix A. It also takes into account momentum gains/losses due to ionization and recombination (the terms proportional to the ionization/recombination rates ).
We consider isotropic pressure, but we include viscosity in the pressure tensor:
[TABLE]
where the elements of the viscosity tensor are:
[TABLE]
The expressions used for the viscosity coefficient for specie , denoted by the symbol are given in Equation (A.2), in Appendix A.
The gravitational acceleration is oriented in the negative z direction.
Energy conservation equations:
[TABLE]
with:
[TABLE]
In these equations, and are charges and neutral internal energy, and and are the corresponding temperatures, and are thermal conductivity coefficients, whose expresions are shown in Equation (A.2). From the four terms of the expression of , the first two are related to ionization/recombination processes, and the last two terms are related to elastic collisions. Terms containing temperatures, the second and the fourth term, represent the thermal exchange between charges and neutrals due to inelastic and elastic collisions, respectively. Because the energy equations evolve kinetic and internal energy, the terms include kinetic energy gains/losses due to the change in the number of particles, and to the work done by the collisional terms. One can write equations of evolution of internal energy alone:
[TABLE]
where:
[TABLE]
is the non-ideal part of the electric field , and
[TABLE]
is the heating due to the viscosity, being a positive quantity. Then, the collisional terms become, for neutrals and charges:
[TABLE]
We observe that the second and the fourth terms remain unchanged, however, the first and the third terms are different, they are positive quantities, so they are related to heating. The neutrals and charges are heated because of recombination and ionization processes, respectively (the first term), and both species are heated at the same rate by elastic collisions (the third term, equal for neutrals and charges, also called ”frictional heating”). Most expressions of the terms related to collisions (including coefficients of viscosities, thermal conductions, and magnetic resisitivity) are derived by Braginskii (1965), but they are also detailed in the descriptions of their models by Meier & Shumlak (2012); Leake et al. (2012, 2013).
The relation between internal energy and pressure, and between the pressure, the number density and the temperature are defined by ideal gas laws:
[TABLE]
Ohm’s law:
In order to obtain the Ohm’s law we operate the ions and electrons momentum equation. For the case of purely hydrogen plasma, and by neglecting terms proportional to , ions and electrons inertia terms, and time variation of currents, see (Khomenko et al., 2014; Ballester et al., 2018), it leads to the following expression:
[TABLE]
where:
[TABLE]
All four terms on the right side of the above equation are the same as in the single fluid approach, and the first three of them represent: the Hall term, the Biermann battery term, and the Ohmic term. The fourth term, proportional to the difference of the velocities of the two species, is usually neglected in both approximations. The ambipolar term, which appears in the single fluid approximation as a consequence of the charged and neutral fluids having different center-of-mass velocities does not appear in the two-fluid approach. The derivation of these terms can be found in Khomenko et al. (2014). The induction equation for the evolution of the magnetic field is obtained using Maxwell equations, in a usual way,
[TABLE]
2.2 Numerical implementation
2.2.1 Mancha3D code
In this work we have extended the Mancha3D code, a single-fluid code, where the effects of partial ionization had been implemented through a generalized Ohm’s law including Ohmic, ambipolar, Hall and Biermann battery terms. The new code solves the two-fluid equations in approximation of purely hydrogen plasma, as described above. Ions and electrons are evolved together through the same continuity, momentum and energy equations, and neutrals are evolved separately. The neutral and charges equations are coupled by collisions. These new developments are described below.
The original Mancha3D code is described elsewhere (Khomenko & Collados, 2006; Felipe et al., 2010; Khomenko & Collados, 2012; González-Morales et al., 2018). The code is fully 3D, written in Fortran 90, parallelized with MPI, and the output files are in HDF5 format. The units used in the equations are SI units. The variables are split into background and perturbation variables, keeping all non-linear terms. The viscous forces and the Ohmic dissipation tend to eliminate high frequency oscillations. However, collisional viscosity: (Eq. 8) and Ohmic: (Eq. 14) coefficients for the parameters of the solar atmosphere are too small to effectively damp non-resolved variations of different parameters at the grid cell size. Therefore, for numerical stability, these coefficients have corresponding numerical analogues, called hyperdiffusive coefficients. The hyperdiffusive coefficients correspond to physical terms: magnetic Ohmic diffusion, conductivity, viscosity, etc. The amplitude of the hyperdiffusive coefficients is a complex function of space coordinates and of gradients of the corresponding variables (for details see Vögler et al. (2005); Felipe et al. (2010)). Since sometimes high numerical diffusion is not desirable, an additional filtering of small wavelengths, following Parchevsky & Kosovichev (2007) is implemented in Mancha3D . In order to avoid reflections at the boundaries, Mancha3D uses the Perfect Matching Layer technique (Felipe et al., 2010). The spatial discretization scheme is fourth order accurate. The original temporal discretization scheme was a fourth order explicit Runge-Kutta, modified to an arbitrary order in the latest version of the code due to implementation of STS and HDS schemes (González-Morales et al., 2018). The two-fluid implementation required further modification of the explicit Runge-Kutta integration. The new implementation is a semi-implicit scheme with up to second order accuracy, as is shown in the numerical tests of the code described below.
2.2.2 Numerical scheme
Since the solar atmosphere is strongly gravitationally stratified, the collisional frequencies change orders of magnitude from the photosphere to the chromosphere. In the deep layers, collisional terms are typically very large and dominate over the hydrodynamical time scales. In the chromosphere this situation may change, since collisional frequencies become significantly smaller. Therefore, the numerical scheme of our two-fluid numerical code has to be able to handle large variations in collision frequencies. In the case of dominant collisional terms the equations become stiff and therefore an explicit integration scheme is unstable. This is because the collisional terms that appear in the equations of continuity, momentum and energy are proportional to the the collision frequency, and the time step should be at most the inverse of the collision frequency in order to ensure stability in an explicit scheme. This imposes very small time steps when the collisions are dominant. A suitable alternative is the use of semi-implicit schemes, similar to that described by Toth et al. (2012), as the one implemented here. Our system of equations Eqs. 1, 3, 2.1 and 14 can be schematically written as follows:
[TABLE]
where is the vector of variables,
[TABLE]
and are the sum of fluxes and collisional terms.
In order to evolve in time this system of equations: we split term into explicit part and implicit part ,
[TABLE]
The explicit part contains fluxes, while the implicit part contains the collisional terms, Eqs. (2), (6) and (10). With being the solution after the explicit part:
[TABLE]
we solve implicit part using the following discretization:
[TABLE]
The value of can vary between 0 and 1, and its influence on the final solution will be discussed below.
The code solves three systems of two coupled equations in the implicit part, with being in the three cases a vector with two components, as defined above by Eq. 18, \@vec{U}$$=\{\{\rho_{n},\rho_{c}\},\{\rho_{n}\@vec{u}_{n},\rho_{c}\@vec{u}_{c}\},\{e_{n}+\frac{1}{2}\rho_{n}u_{n}^{2},e_{c}+\frac{1}{2}\rho_{c}u_{c}^{2}\}\}, so all of the collisional terms, , and defined in Eqs. (2), (6) and (10) can be treated in the same way. Note however, that, depending on the magnitude of the collisional terms in the continuity equations, sometimes it is not worth treating them implicitly. In this case we add these terms into the explicit part (). All the terms on the right hand side of the induction equation, Eq. 14, are treated explicitly.
We linearize around the value of after an explicit update:
[TABLE]
where the Jacobian, , is defined as follows,
[TABLE]
Due to particular symmetry properties of the equations, . This allows the solution for the implicit part to be written explicitly. The update in one sub-step of a two-step Runge-Kutta scheme can then be summarized as:
[TABLE]
where k=2,1; , is the time step used in the substep, and is the complete time step. The scheme parameter can have different value in each substep (subscript ). The magnitude of is limited by the magnetohydrodynamic CFL condition. The explicit part of , , is calculated in each Runge-Kutta sub-step using the variables updated after the previous sub-step. The Jacobian is also calculated after an explicit update, so that .
The elements of the Jacobian can be written in the analytical form. For the momentum equations it fulfills that:
[TABLE]
For the energy equations the same expression becomes
[TABLE]
where and are, correspondingly, the kinetic and internal energy parts of the variable . The and for the energy equation are defined as follows:
[TABLE]
The variable is the difference between after an explicit update, and one Runge-Kutta sub-step of the implicit update, i.e.,
[TABLE]
Overall it means that the energy implicit update is done with variables calculated after the momentum implicit update. The analytical expressions for and are given in the Appendix B. The numerical scheme is stable when we use the time step imposed by the CFL. For and the scheme is formally second order accurate.
3 Analytical model of waves in a uniform plasma
Our newly implemented scheme has been checked using simulations of wave propagation in a uniform plasma. We used two simple analytical cases. In the first case we consider purely acoustic waves propagating in an atmosphere where the background equilibrium temperature of charges and neutrals is different. In this case the difference in behavior between charges and neutrals is created by the different sound speeds of the background atmosphere. In the second case we consider the propagation of Alfvén waves. Here the difference in the behavior of charges and neutrals is produced additionally due to the presence of the magnetic field. In this simple setup the problems have analytical solution that can be obtained by linearizing the two fluid equations and looking for solutions in the form of monochromatic waves. The sections below describe the analytical solution and results for both kinds of simulations, together with the tests of numerical convergence of the scheme.
3.1 Acoustic waves
Acoustic waves are longitudinal waves, therefore their velocity vector and direction of propagation are parallel , i.e. and . We choose the direction of propagation along direction. We neglect the effects of ionization/recombination and thermal exchange, thermal conduction and radiation. Therefore, we only consider the momentum exchange due to elastic collisions. In this simple situations the linearized continuity, momentum and adiabatic energy equations become
[TABLE]
where and are the velocity projections along direction; and are sound speeds of neutral and charges. Variables with subscript “0” refer to the background unperturbed atmosphere, and variables with subscript “1” refer to perturbation. The collisional parameter , defined by Eq. (4) uses the values of the unperturbed mass densities of electrons, ions, neutrals and charges. Since for the simple model assumed here the value of only depends on the homogeneous background variables in the linear approximation, it is kept constant in time and space.
We search for the solutions in the form,
[TABLE]
where are, in general, complex amplitudes for all the perturbed variables. These amplitudes are related through the so-called polarization relation, so one needs to set one of the amplitudes to obtain the rest of them through the following relations:
[TABLE]
The resulting dispersion relation, which relates the frequency and the wavenumber, has the following form:
[TABLE]
Once the background variables are fixed, this also fixes the value of the collisional parameter . It is then convenient to operate in terms of the following parameters: , and . The latter ratio is an effective measure of the collisional strength. The analysis below will be done in terms of the adimensional variables:
[TABLE]
These variables are similar to those used in Soler et al. (2013a). Later on in the paper we represent the solution of the dispersion relation in terms of these adimensional variables, keeping in mind that by “varying the collisional strength ” we understand varying the wavenumber , since the value of is fixed.
Using adimensional variables, the polarization relations, and the dispersion relation become:
[TABLE]
[TABLE]
where:
[TABLE]
Here and are the total density and the sound speed of the whole fluid.
3.2 Alfvén waves
Alfvén waves are transversal and incompresible waves, polarized perpendicularly to the direction of the background magnetic field. The analytical solution for the Alfvén wave propagation in partially ionized plasma used in our work is similar to those developed previously by Soler et al. (2013a). We consider here a simple case of Alfvén waves with propagation only along the background magnetic field. These are frequently called pure Alfvén waves. In our case, . We choose the equilibrium magnetic field along direction and perturbation of magnetic field and velocities along direction.
[TABLE]
Otherwise the assumptions of the equations are similar to the acoustic wave case. The linearized momentum and induction equations become as follows,
[TABLE]
The equations of continuity and energy conservations are not needed in this case since the Alfvén waves are purely incompressible. Similar to acoustic waves we use the solutions of the form:
[TABLE]
where the amplitudes can be complex in general. Plugging this ansatz into Eqs. 3.2, we obtain the following polarization relations:
[TABLE]
and the dispersion relation in the following form:
[TABLE]
For the same reason explained for the acoustic waves, we will vary the collision strength by varying the wavenumber k parameter to study its influence on the propagation properties of the waves. Using the adimensional variables:
[TABLE]
the dispersion relation, and the polarization relations are:
[TABLE]
[TABLE]
3.3 Background atmosphere
The values of the uniform background atmosphere used in this study are given in Table 1. For the Alfvén wave tests, a z-directed magnetic field is also added. The corresponding Alfvén speed, calculated using the density of charges is, m/s. The collisional parameter defined in Equation (4) calculated for the background has the value m3/kg/s. The electrons are not taken into account (), they do not contribute to the pressure of charges, and the effective neutral-charge and charge-neutral collisional frecuencies defined in Equation (2.1) become the neutral-ion and ion-neutral collision frequency, with values s*-1*, and s*-1*, respectivelly.
3.4 Parameters of the perturbation
We have to supply several free parameters to calculate the solution. We have chosen the real wave number , and obtain the complex from the dispersion relations, Eqs. (3.1) and (39). This means that we consider wave damping in time. Additionally, since the perturbations in all the magnitudes are related, we need to supply the amplitude of one of them in order to calculate the others. Generally, since the polarization relations are complex, there will be the phase shift between oscillations of different quantities.
We have selected the wave number to be m*-1*, with being an integer number to adjust the fixed number wavelengths to the size of numerical domain . We vary the wavenumber k by varying the domain length in order to have n = 11 (a random choice) for all the simulations.
For the acoustic waves we will choose the amplitude of the perturbation in density of charges: , and for the Alfvén waves we choose the amplitude of the perturbation in velocity of charges: . We calculate the other amplitudes from Eqs. (30) for the acoustic waves and Eqs. (3.2) for the Alfvén waves. In all the cases, for the numerical solution we have used periodic boundary conditions. For the initial condition of the perturbation we used the analytical solution at t = 0 s in the whole domain.
We run all simulations for a total time so that we have equal to 7447.273 m/s for all the simulations of acoustic waves and equal to 32125.49 m/s for the Alfvén waves simulations. These values are of order of the characteristic speeds: the sound speed and the Alfvén speed.
3.5 Solution of the dispersion relation for acoustic waves
The acoustic wave dispersion relation is a fourth order equation in both and k. If the neutrals and charges have the same background temperature, the dispersion relation has four solutions, with simple expressions, as shown in Equation (3.5). In our case , the values of the coefficients in Equation (34) are: = 5/2 and = 1, and the expressions for the solutions, obtained using Mathematica software, in this case, are:
[TABLE]
We compute the complex frequency, , for the values of k between and m*-1*, for each of the four expressions of the mathematical solutions shown in Equation (3.5), and marked as sol. 1, 2, 3, 4 in Figure 1. The real and imaginary parts of the four solutions are shown in the normalized units, E = f(F), defined in Equation (32), i.e. as a function of , for better visualization. The solutions with positive travel in the positive direction of the axis, and those with negative travel in the negative direction.
Waves corresponding to the solutions 1 and 4 (red and green colors) propagate with a speed () equal to the sound speed of the charges () for small ratio , in the negative and positive direction of the axis, correspondingly. For the large values of /k their propagation speed becomes that of the whole fluid, . The imaginary part of the frequency, is positive meaning wave damping. The imaginary part would be zero if the charges and neutrals had the same background temperature, since in that case the solutions of the dispersion relation, Eq. 34, would simplify to:
[TABLE]
with zero imaginary part for the solutions 1 and 4. Since the only difference between neutrals and charges in this particular model is in their sound speed, it is not surprising that making the sound speed the same the damping disappears since both fluids would oscillate with exactly the same velocity and therefore the frictional damping term would become strictly zero.
The value of damping is the same for solutions 1 and 4. For either very low or very high values of the ratio /k, the damping relative to the wavenumber () is small and approaching zero. The value of the ratio is maximum at a point located on the x axis at , and corresponds to m*-1*. E() = , this gives the value of , which means that the real part of the wave frequency is approximately equal to the ion-neutral collision frequency at the point where the damping relative to wavenumber, the ratio , is maximum ().
Waves corresponding to solutions 2 and 3 (yellow and blue colors) propagate with a speed equal to the sound speed of neutrals () for the small values of /k. For large /k, these solutions have zero propagation speed (zero ). The ratio, , is again small for weak or strong collisional coupling (small or large /k), and has the maximum located on the x axis at a point very close to .
These results are easy to interpret. For small collisional frequencies compared to the real part of the wave frequency, i.e. weak collisional coupling, the propagation of the waves mostly depends only on the properties of either of the fluids. Since the neutrals and the charges have different sound speeds, in the case of weak collisional coupling the waves propagate either at the sound speed of neutrals or of charges. Correspondingly, if one perturbs charges with a certain amplitude, the weak drag forces will translate some of this perturbation to neutrals, but the amplitude of this perturbation will be very small, as indeed follows from the polarization relations, Eqs. 30. The opposite is also true.
For large collision frequencies compared to the real part of the wave frequency, i.e. strong collisional coupling, the charges and the neutrals become coupled and the wave propagates at the sound speed of the whole fluid. Then, the amplitudes of the velocities of neutrals and charges are equal.
For the numerical tests we will only show the results corresponding to the solution 4 (the green lines in Figure 1), i.e. the solution for waves which propagate at the sound speed of the charges for small /k. The results in other cases are similar. We have selected one wavenumber so that is less than , and three values of k, for which this quantity is larger than . These frequencies are marked with symbols in Figure 1. In order to relate the results to observations, Table 2 provides the period, P=, and the damping time, for the waves used in the simulations (the wavenumbers k marked in Figure 1), and for the wave corresponding to the maximum damping relative to the wavenumber (with wavenumber ) in physical units. We can see that the waves have extremely short periods and wavelengths and do not correspond to the waves observed in the chromosphere, which have typical frequencies of 3-5 mHz. This is due, primarily to our use of a uniform, unstratified , background atmosphere which does not correspond to the chromosphere. The temperatures of charges and neutrals are different by a factor of 4, and this situation is also unrealistic. For these reasons, the value of the collisional parameter , corresponding to the background atmosphere, may be unphysical for the chromosphere. Moreover, for the purposes of code verification we wanted to test both uncoupled and strongly coupled cases, and the values of k that we have chosen cover the full range, even if the waves corresponding to the largest values of k have small temporal and spatial scales that cannot be observed.
3.6 Solution of the dispersion relation for Alfvén waves
As in the case of the acoustic waves, we solve the dispersion relation for values of k between and m*-1*, and we plot the real and imaginary part of the wave frequency in Figure 2, as a function of the wavenumber in non-dimensional units, C = f(D), defined in Equation (40), i.e. as function of . The dispersion relation is a third order equation in and there are three solutions. In our case, , and the solutions obtained using Mathematica software, are:
[TABLE]
with:
[TABLE]
They represent one wave which does not propagate (, red color), one wave traveling in the positive direction of axis (green color) and a similar wave traveling in the negative direction (yellow color).
For small values of the collisional frequency compared to the real part of the wave frequency the propagation speed () is the Alfvén speed considering only the density of charges (). For the large values of /k, the value of is the Alfvén speed of the whole plasma considering both neutrals and charges, . Note that . With no collisions between charges and neutrals, the imaginary part of solutions 2 and 3 vanishes,
[TABLE]
meaning that the damping is related to the presence of neutrals. In our case, the imaginary part is positive, and the maximum damping relative to the wavenumber, the ratio , is located at a point on the x axis, correspondig to a value of m*-1*. This gives the value of . As in the case of the acoustic waves, the real part of the wave frequency is almost equal to the ion-neutral collision frequency at the point where the damping relative to wavenumber is maximum. Otherwise, the damping relative to the wavenumber is very small.
For the numerical tests below we will use the solution traveling in the positive direction of the axis (green color in Fig. 2) and for values of the wavenumbers k indicated in the legend of Fig. 2. The period and the damping time for the waves used in the simulations (corresponding to the values of k marked in Figure 2), and for the wave corresponding to the maximum damping relative to the wavenumber (with wavenumber ) are given in Table 3. For the same reasons as the acoustic wave tests, the frequencies and the wavenumbers of the Alfvén waves do not correspond to typically observed waves in the chromosphere.
4 Results of numerical calculations
We have run simulations of acoustic and Alfvén waves using as initial conditions the equilibrium atmosphere and perturbation described in the previous sections: 3.3 and 3.4. We have used several values of the wavenumber k marked in the corresponding panels described in the above section. In order to observe the damping in time we choose a point located at 1/2 of the domain and plot the evolution of the variables at the same point as function of time. The numerical solution is then compared to the analytical solution.
4.1 Temporal damping of acoustic waves
Figure 3 shows the numerical and analytical solutions for the acoustic waves with wavenumber values of k = , , , and m*-1*.
We can observe that for different values of k the amplitude damping and propagation velocity vary in agreement with what is expected from the Figure 1. For the large value of k = m*-1* (panel a of Figure 3) there is a phase shift between the oscillating fluid velocities of neutral and charges, and both are slightly damped. Notice that the amplitude of oscillations of velocity of charges is significantly larger than that of the neutrals. For the intermediate values of k = and m*-1* (panels b and it c of Figure 3), we observe significant damping of both velocity oscillations, but similar amplitudes and a smaller phase shift. For the small k case, k = m*-1* (panel d) the velocities of charges and neutrals are the same, and the wave propagation velocity is the sound speed of the plasma as a whole. This is expected since charges and neutrals are collisionally coupled.
We observe from Figure 3 that numerical and analytical solutions are in very good agreement. For all the panels in the Figure, we have plotted the difference between the numerical and the analytical solution, labelled right below the plots for . It can be observed that the error accumulates in time, but it is nevertheless very small.
The values from Table 2 are consistent with the values deduced from Figure 1. The amplitude of a wave will decrease to a fraction in a period. For example, in the case of the wave with wavenumber k = 6.18 m*-1*, 0.27, and it is consistent with the value observed in panel b of Figure 3.
4.2 Temporal damping of Alfvén waves
Figure 4 shows the numerical and analytical solutions for the Alfvén waves with the wavenumber k set to the following values, k = , , , and m*-1*. These values of k are marked in Figure 2.
We observe that numerical and analytical solutions match exactly and the amplitude damping and wave propagation speed vary with the ratio /k as expected from Figure 2.
For small , the wave propagates at the Alfvén speed of the charges and the velocity of neutrals is almost zero (panel a of Figure 4). For large , the wave propagates at the Alfvén speed of the whole fluid and the neutrals and charges velocities are equal (panel d). Yet again, for intermediate values of , the damping of all perturbations is observed (panels b and c).
For all the panels in the Figure, we show the difference between the numerical and the analytical solution of , labelled , right below the plots for . The error, similarly to the case of the acoustic waves, accumulates in time, and is small. For the Alfvén waves, as well, the values from Table 3 are consistent with the values obtained from the numerical simulations. For example, the wave with wavenumber k = 6.18 m*-1*, should decrease the amplitude to a fraction 0.55 in a period, and this value can also be deduced from panel b in Figure 4.
4.3 Time convergence test
In order to quantify the degree of agreement between the analytical and numerical solutions, we performed a time-step convergence test. We study the normalized error, , between analytical and numerical solutions as a function of the ratio between the integration time step of the simulations normalized, and the time step imposed by the single-fluid CFL condition, . The normalized error is defined as:
[TABLE]
In this expression, and are numerical and analytical solutions, respectively, computed at grid points with i = 1,..N. The analytical solution, , is independent of . The normalized error defined this way was computed independently for all perturbed variables of the simulations. These are for the acoustic waves, and , and for the Alfvén waves. The results for different variables came to be very similar, therefore we only show the error for the velocity of charges, (acoustic waves) and (Alfvén waves). Computations for different wavenumber k also lead to very similar results. In the tests below we used k = m*-1* for acoustic waves and k = m*-1* for Alfvén waves.
Figure 5 shows the results of the convergence tests for both types of waves. The errors are global errors computed after running simulations of acoustic and Alfvén waves until , and the total time corresponds to 15.96 periods for the acoustic waves and to 12.55 periods for the Alfvén waves. The maximum time step, , used for the convergence test is close to the time step imposed by the single-fluid CFL condition. The numerical solutions were computed using time-steps , having the ratio 0.812, 0.406, 0.203, 0.102, 0.051, 0.025 for the acoustic waves and 0.84, 0.42, 0.21, 0.105, 0.053, 0.026 for the Alfvén waves. The convergence tests were carried out for three values of the Toth’s scheme parameter of 0.5, 0.6 and 1.
Figure 5 shows that, as expected, the error between the analytical and the numerical solutions increases with the increase of the integration time step. However, this increase is different for different values of the parameter . This parameter, defined in Eq. 21 determines the fraction of the implicit contribution to the numerical solution. For the scheme is expected to be 1st order accurate in time, and for it is expected to be second order accurate. In order to test if this is the case in our implementation, we performed polynomial fit to the error function using the expression , with the constraint a0. The coefficients resulting from the fit are given in Table 4 for the acoustic waves and in Table 5 for the Alfvén waves. The results confirm that the polynomial fit to the numerical values is dominantly 2nd order for and 1st order for . We also observe that while higher order convergence of numerical schemes is generally desirable, the absolute value of the error for the tests at a practical time-step is of similar magnitude (acoustic waves) or smaller (Alfvén waves) than for the tests.
It must be noted that the numerical solution here uses up to the value dictated by the explicit single-fluid CFL condition. Therefore, we conclude that our implementation allows to efficiently overcome the small time step limitations implied by the stiff collisional terms in the two-fluid model.
5 Waves in a gravitationally stratified atmosphere
In this section we test the capabilities of the code to model waves in a strongly gravitationally stratified solar chromosphere. We assume a model atmosphere with all hydrodynamical parameters and purely horizontal magnetic field, , stratified in the vertical, , direction. The temperature is considered uniform (height-independent), and different for charges and neutrals. If we neglect viscosity, and consider only elastic collisions, adiabatic equation of energy, and ideal Ohm’s law, the linearized equations can be written as:
[TABLE]
We separate the time dependence, assumed to be of form , with constant , and combine the system into the equation of the vertical velocity for the charges: , obtaining a fourth order ODE:
[TABLE]
where:
[TABLE]
The equilibrium variables for neutrals and for charges must fulfill the equations of state: Eqs (2.1), and the hydrostatic (HS) and the magneto-hydrostatic (MHS) equlibrium conditions, respectively, which are:
[TABLE]
Since the temperature is assumed uniform, the pressure for neutrals has an exponential profile with a uniform scale height, and the sound speed of neutrals is constant. If we consider that the magnetic pressure has the same scale height as the charges pressure, after solving HS/MHS equations we obtain:
[TABLE]
with uniform scale heights:
[TABLE]
The densities obtained from the ideal gas laws for neutrals and charges, Eqs. 2.1, also have an exponential profile. In these conditions, the quantities defined in Eq. 5: , n and are uniform, however, there are coefficients that explicitly contain density. We assumed that the scale of the height variation of the non-uniform coefficients in Eq. 5 is large compared to the oscillation wavelength, and therefore we can search for the solution in terms of plane waves, as:
[TABLE]
with being the uniform real amplitude, and k the uniform complex wavenumber. The other variables also have form of plane waves (including the time dependence):
[TABLE]
where are uniform complex amplitudes. The following relations are obtained,
[TABLE]
The dispersion relation is a fourth order equation in :
[TABLE]
In our particular case, the wavenumber obtained from this space dependent dispersion relation results to be almost uniform, and therefore we consider the plane wave solution to be a fair approximation.
5.1 Initial conditions
5.1.1 Equilibrium atmosphere
We choose the temperature for neutrals: = 6000 K. We use for the neutrals and charges number density the values taken from the VALC (Vernazza et al., 1981) model at km: m*-3*, and m*-3*. In this test we take electrons into account, unlike the tests in the uniform atmosphere, they contribute to the pressure of charges (n), and to collisions, in Equation (4). We choose the value of T. In order to have the same scale height for neutrals and charges, we choose the temperature of the charges:
[TABLE]
This gives the value of K, and m. Then, the pressures of charges and neutrals at , and , are obtained from the ideal gal law, Eq. 2.1. In these conditions, the wavenumber k obtained from the dispersion relation Eq. (5) is almost uniform, and has a value m*-1*. Therefore, the wavelength is about 4 times shorter than the density scale height. The densities are calculated afterwards from the ideal gas laws for neutrals and charges, Eqs. 2.1, taking , . We cover the domain = 1.6 Mm with 32000 grid points.
5.1.2 Perturbation
We choose the period of the wave =5 s, and calculate the frequency: , and the wavenumber, k from the dispersion relation Eq. (5). We choose the amplitude of the perturbation of the velocity of charges as a fraction of the background sound speed: , where is the sound speed of the whole fluid, and its value is 9.1 km/s. We calculate the amplitudes of the other perturbations from the polarization relations, Eqs (5). The perturbation is generated by a driver at each time step at the bottom of the atmosphere, in the ghosts points, which makes it the lower boundary condition. The Perfectly Matched Layer (PML) is used as the upper boundary condition. PML is specially designed to absorb waves without reflections. It was first introduced for the first time for electromagnetic waves in Maxwell equation by Berenger (1994), applied to Euler equations by Hu (1996) and to acoustic waves in a strongly stratified solar convection zone by Parchevsky & Kosovichev (2007). The description of the implementation of PML in Mancha code can be found in Felipe et al. (2010). In this test we have used the value of the scheme parameter =1.
5.2 Results
We run the code in two regimes. In the first case, we solved fully-nonlinear equations for perturbations, and in the second case we evolved linearized equations where only the first order terms were kept. The latter was done for comparison purposes, since the analytical solution assumes linear regime. We compare the numerical solutions at time t=215.115 s with the analytical solution. At this time simulations reached the stationary state, since the wave has reached the upper boundary and several periods of the wave have passed through the boundary. The results are shown in Figure 6 and Figure 7.
Figure 6 shows the analytical solution (green, solid line) superposed on the linear numerical solution (red, dashed line) for the vertical velocity of charges () in the first panel, the vertical velocity of neutrals () in the second panel, and for the perturbation in the x component of the magnetic field () in the third panel. Below the panel of we show the difference () between the linear numerical and the analytical solution of . We observe that the numerical linear solution is in very good agreement with the analytical solution for the three quantities considered, and that the error is small (below 2%).
In Figure 7 we show in the first panel the nonlinear effects by plotting, besides the analytical solution (green, solid line) and the linear numerical solution (red, dashed line), the nonlinear numerical solution (blue, dotted line) of , superposed, for the same snapshot taken at t=215.115 s. In the second and third panels we show the decoupling in the vertical velocity () for the analytical and linear solution superposed, and the nonlinear solution, respectively.
We observe that the wave profile steepens at the end of the domain, when the amplitude becomes large, and nonlinear effects are visible in the case of the nonlinear solution. As a consequence, the amplitude of the wave is smaller than in the linear case. (see e.g. Landau & Lifshitz, 1987). Wave amplitude grows with height in a gravitationally stratified atmosphere because of the density decrease. In the case considered here, the damping is not large enough to overcome this growth, therefore the wave evolves into a shock. The amplitude growth is nevertheless below the growth in the MHD limit.
We also observe that the decoupling predicted analytically from the relation between and in Equation (5) agrees with the decoupling obtained from the linear numerical simulation. In order to understand intuitively the reason for the linear decoupling, we show in Figure 8 the relevant frequencies corresponding to this problem. Even though the collisional parameter is uniform because of the uniform background temperature of neutrals and charges, and has the value , the collision frequency also depends on density (Eqs. 2.1), and has an exponential profile. While for the charges, the collision frequency is larger than both the ion-cyclotron frequency () and the wave frequency (which determine the hydrodynamical time scale), for the neutrals, the neutral-charges collision frequency goes from being greater than the wave frequency to being less than the wave frequency at a point located at z 1.4 Mm in the atmosphere. This is the point after which we observe the decoupling for the linear numerical solution and the analytical solution. The code captures well the transition from a coupled to a partially decoupled regime. In the nonlinear case the hydrodynamical time-scale is smaller than in the linear case. The shock front width which determines the hydrodynamical space scale in the nonlinear case is smaller than the wavelength. The nonlinear decoupling appears spatially at the shock front, and is almost five times larger than the linear decoupling.
6 Discussion and conclusions
Strong vertical and horizontal stratification in solar atmospheric plasma parameters makes particularly complicated theoretical modeling of the solar chromosphere, where it is expected that the collisional time scales between charged and neutral plasma components may become similar or longer than hydrodynamical time scale, leading to a breakdown of the single-fluid MHD approximation. In such conditions, neutrals start to decouple from charges, behaving as two independent fluids. This work describes the results of our numerical effort to extend the existing single-fluid non-linear MHD code Mancha3D for modeling of solar plasma dynamics under two-fluid approximation. To this end, we have implemented a semi-implicit numerical scheme following the approach by Toth et al. (2012). Such development is a necessary logical step towards creation of a 3D modeling tool for simulations of multi-component plasma processes in the solar chromosphere.
As discussed in the Introduction, the collisional terms in the upper layers of the solar atmosphere have values similar to the rest of the forces in the momentum equation. In the lower layers (photosphere) their values significantly dominate over the rest of the terms. However, coupling between these layers plays an important role in the energy and momentum transfer from the solar interior to the corona, and therefore, it is necessary to create numerical tools that would be able to treat both extreme situations in a single simulation domain. Classical explicit schemes would be limited by the explicit time step dictated by the CFL condition due to collisional terms, making it very small and slowing significantly the numerical code. A suitable alternative is a semi-implicit implementation, suggested in Toth et al. (2012). This implementation allowed us to keep the advantages of an explicit code (as efficient parallelization, lower memory requirements), but at the same time to overcome the restrictions imposed by small collisional times. We based our implementation on already existing numerical code, Mancha3D , thus being able to keep all its already implemented functionalities such as hyper-diffusivities and noise filtering modules, Perfectly Matched Layer boundary condition, and parallelization.
Several features of our numerical code, such as shock resolving, have been previously thoroughly tested in the past(Khomenko & Collados, 2006; Felipe et al., 2010; Khomenko & Collados, 2012; González-Morales et al., 2018). The particular effort in this work was to verify the performance of the semi-implicit fluid coupling algorithm. For that we have compared the numerical solution with the known analytical solutions for propagation of acoustic and Alfvén waves in a homogeneous plasma with a different degree of collisional coupling.
Our analytical results are similar to those obtained by Zaqarashvili et al. (2011b) and Soler et al. (2013a). When the temperatures of charges and neutrals are initially different, if the ratio /k is small, the acoustic waves in each of the fluids propagate nearly independently of each other with their respective sound speeds. The Alfvén waves propagate with the Alfvén speed of the charged fluid if the collisional coupling is weak. In the opposite limit, when the ratio /k is large, the two fluids become coupled. The acoustic waves propagate with the sound speed of the whole fluid, and the Alfvén waves with the Alfvén speed calculated using the total atom mass density. In this case, the velocities of neutrals and charges are of equal amplitude and in phase. At these two extremes, when the quantity /(k ) is either low or high, the waves have little damping relative to wavenumber, but when the collisional frequency is of order of the wave frequency the damping relative to wavenumber is maximum.
Our numerical solution reproduces the analytical solution for the full range of the values of the wavenumber k. The temporal convergence tests have shown that, as expected, the newly implemented scheme is 1st other accurate when the scheme parameter , and is second order accurate when . However, we note that even if the scheme converges linearly with for the scheme parameter , the overall behavior of the scheme is more stable, and the errors are in fact smaller.
Our current study must be viewed in the context of other similar developments by other groups of authors. There have been several approaches proposed to overcome the limitations introduced by large collisional terms.
Hillier et al. (2016) noticed that, since collisional terms introduce a very different time scale, the solution can be obtained semi-analytically. In their approach, the equations with only collisional terms are solved analytically and then the rest of the terms are evolved numerically using an explicit scheme. When the hydrodynamical and the collisional time scales are similar, only explicit scheme is applied. Such an approach has a drawback since the entire numerical domain has to be placed in one or another regime, and therefore it may cause problems when strong stratification in the atmosphere is present. In our case, there is no need to have a criterion to distinguish between these regimes, the scheme handles well both of them, in the same way. The convergence tests were carried out for the coupled regime, where it shown that the errors are larger. The neutrals and charges are more coupled at larger values of the ratio . We have seen from the convergence test, that the scheme behaves better in the strongly coupled regime for the values of the scheme parameter closer to 1 than to 0.5, and this is the reason for choosing this value for the last test. The last test, the simulation in the gravitationally stratified stmosphere, deals with the situation where the waves passes from a collisionally coupled regime to a decoupled regime, and the numerical results are satisfactory.
Alternatively, Maneva et al. (2017) used a fully implicit scheme which has no restriction for the time-step and is generally more stable. It must be noted that despite the advantage of the stability, implicit schemes are more expensive computationally, because, generally, the matrix inversions needed in the implicit part are usually implemented by iterations, increasing the computational time. However, if one only deals with the collisional terms as , and in equations 2, 6 and 10, there is an important advantage since these terms are linear with respect to the main set of variables and do not contain derivatives. Therefore the matrix inversion can be done fully analytically, improving the precision and the computational capabilities of the implicit code. Such analytical approach is not possible when dealing with physical effects such as thermal conduction or viscosity. In general, semi-implicit implementations such as the one presented here are less computationally expensive, but also less accurate, than fully implicit ones.
Similarly to our method, Smith & Sakai (2008) have implemented the collisional terms following a semi-implicit approach.Smith & Sakai (2008) use a two fluid code, where they consider the plasma composed by ions and neutrals, and they implement most of the collisional terms in a scheme similar to Toth’s scheme with parameter equal to 1. These authors considered ionization/recombination terms in continuity and momentum equations, elastic collisions in momentum equations, and the work done by the collisional terms in the energy equations. However, unlike our implementation, they did not consider the inelastic collision terms, the thermal exchange, and the frictional heating in the energy equations.
Yet another widely used code for multi-fluid simulations is the HiFi code by Lukin et al. (2016), which uses an implicit temporal discretization and spectral element spatial decomposition. This code has been extensively used for simulations of reconnection in partially ionized plasma (Leake et al., 2012, 2013; Ni et al., 2018) and has similar advantages and drawbacks of the implicit implementation discussed above.
All in all, the above implementations have their advantages and disadvantages. In our case, we have chosen a semi-implicit approach because the collisional terms that need to be implemented implicitly, are linear in the variables that evolve in time, and the implicit solve can be done analytically. The tests we have carried out in order to verify the code have shown satisfactory results.
While the present paper only presents calculations in cases where analytical solutions exists and can be compared to the numerical solution, our future work described in Paper II (Popescu Braileanu et al., 2018) demonstrates that our newly implemented algorithm is able to efficiently deal with chromospheric gravitational stratification and to be used for modeling of propagation of chromospheric shock waves under the two-fluid framework.
Acknowledgements.
This work was supported by the Spanish Ministry of Science through the project AYA2014-55078-P and the National Science Foundation. It contributes to the deliverable identified in FP7 European Research Council grant agreement ERC-2017-CoG771310-PI2FA for the project ”Partial Ionization: Two-fluid Approach”. The author(s) wish to acknowledge the contribution of Teide High-Performance Computing facilities to the results of this research. TeideHPC facilities are provided by the Instituto Tecnológico y de Energías Renovables (ITER, SA). URL: http://teidehpc.iter.es
Appendix A Expressions of terms
A.1 Collisions
Expressions for and as functions of and are given in Voronov (1997) and Smirnov (2003):
[TABLE]
[TABLE]
where , is electron temperature in eV, , = 0.39, and = 0.232
The elastic collisional frequency between particles of specie with particles of specie is expressed as (see e.g., Braginskii 1965):
[TABLE]
Notice that , but . In the expression for collisional frequency, is the average temperature, and is the reduced mass of particles and . The elastic collisional parameter defined in Equation (4) has the form:
[TABLE]
The charge-exchange (elastic) collisional parameter between particles of specie (ions) and particles of specie (neutrals), is approximately expressed as (see, e.g. Meier & Shumlak 2012):
[TABLE]
with:
[TABLE]
where , and are the thermal velocity of particles of specie , and the module of the relative velocity between particles of specie and particles of specie , respectively:
[TABLE]
If charge-exchange reactions are taken into account, the effective elastic collisional parameter is:
[TABLE]
A.2 Viscosities and thermal conductivities
(derived by Braginskii 1965):
[TABLE]
Replacing for the collisional frequency, the above equations can be written as:
[TABLE]
This makes the viscosity and thermal conduction coefficient to depend only on the temperature. For the viscosity and thermal conductivity of the charges, only the ions are taken into account.
The collisional cross sections used were: , , where is the elementary charge, and the permitivity of free space, , and .
= is the mass of the hydrogen atom.
Appendix B Analytical expressions of the Jacobian
The analytical expressions of the Jacobian where we use the superscripts D, M, E for the continuity, momentum and energy equations, respectively, are:
B.1 Continuity equations
[TABLE]
B.2 Momentum equations
[TABLE]
B.3 Energy equations
[TABLE]
where A=2 when charges=ions+electrons, and A=1 when electrons are not taken into account.
[TABLE]
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Alvarez Laguna et al. (2014) Alvarez Laguna, A., Lani, A., Poedts, S., Mansour, N. N., & Kosovichev, A. G. 2014, AGU Fall Meeting Abstracts
- 2Anan et al. (2017) Anan, T., Ichimoto, K., & Hillier, A. 2017, A&A, 601, A 103
- 3Athay & House (1962) Athay, R. G. & House, L. L. 1962, Ap J, 135, 500
- 4Ballester et al. (2018) Ballester, J. L., Alexeev, I., Collados, M., et al. 2018, Space Sci. Rev., 214, 58
- 5Berenger (1994) Berenger, J. P. 1994, J. Comp. Phys., 114, 185
- 6Braginskii (1965) Braginskii, S. I. 1965, Reviews of Plasma Physics, 1, 205
- 7de la Cruz Rodríguez & Socas-Navarro (2011) de la Cruz Rodríguez, J. & Socas-Navarro, H. 2011, A&A, 527, L 8
- 8Felipe et al. (2010) Felipe, T., Khomenko, E., & Collados, M. 2010, Ap J, 719, 357
