Ciencias Básicas

Numerical Solutions of the Klein-Gordon Equation with Adaptive Mesh Refinement

Y. A. Galeano
Universidad Industrial de Santander, Colombia
Anamaría Navarro
Universidad Industrial de Santander, Colombia
F. D. Lora-Clavijo
Universidad Industrial de Santander, Colombia

Numerical Solutions of the Klein-Gordon Equation with Adaptive Mesh Refinement

Scientia Et Technica, vol. 23, no. 2, pp. 273-277, 2018

Universidad Tecnológica de Pereira

Received: 07 December 2017

Accepted: 21 June 2018

Abstract: In this paper we present the numerical evolution of a test scalar field on a Minkowski background using adaptive mesh refinement techniques (AMR). The Dynamics of the scalar field is given by the Klein Gordon equation with an exponential potential, which has been used as a model of quintessence scalar fields. As a first step in this work a description of the AMR algorithm is presented. Then we perform an analysis related to the convergence of the numerical simulations, founding convergence of second order, which is consistent with the second order finite difference scheme used.

Keywords: Klein Gordon Equation, Adaptive mesh refinement, scalar field, algorithm, numerical simulations.

Resumen: Se presenta la evolución numérica de un campo escalar de prueba en el espacio de Minkowski, utilizando la técnica de mallas refinadas adaptativas (AMR). La dinámica del campo escalar está dada por la ecuación de Klein Gordon con un potencial exponencial, el cual es usado como un modelo de campos escalares tipo quintaesencia. Primero se realizará la descripción del algoritmo AMR. Luego se realizará un análisis relacionado con la convergencia de las simulaciones numéricas, encontrando convergencia de segundo orden, las cuales son consistentes con el esquema de diferencias finitas de segundo orden usado.

Palabras clave: Ecuación de Klein Gordon, mallas refinadas adaptativas, campo escalar, algoritmo, simulaciones numéricas.

I. INTRODUCTION

Scalar fields have been of great interest since them have played an important role in general relativity and cosmology. For instance, scalar fields have been used in cosmology to give a possible solution to the horizon and flatness problems, by assuming a mechanism that provides an exponential cosmological growth [1]. Moreover, in [2], by considering the supernovae redshift observations, the authors explored the possibility of a cosmic scalar field to play the role of dark energy. Scalar fields have been also proposed as a model of dark matter, either to galactic [3] or cosmological scales [4]. On the other hand, AMR methods are important because they allow studying complex problems with a high accuracy, without increasing the computational cost too much. This is because when we solve the problems numerically these methods are adapted to the dynamics of the problem, using meshes that have different resolutions in different regions and that also adapt over time. In our case, an algorithm based on the work of Berger and Oliger [5], Berger and Colella [6] and Guzmán [7] was implemented with the aim of adapting the numerical solution to a specific one-dimensional problem as a first step to advance in the development of this type of algorithms.

In this work, we explore the evolution of a scalar field on a Minkowski space-time by using adaptive mesh refinement techniques. Specifically, in this first article, we focus the attention in the implementation of the AMR methods in our codes, in order to solve the Klein-Gordon equation with exponential potential, which is written as a first order system of equations by using the 3+1 formulation of the general relativity. It should be mentioned that the way this system of equations is written will allow us, in future works, to evolve the scalar field in a curve background and so be able to do a full 3D numerical study of the accretion of scalar field dark matter on to a Kerr black hole with AMR techniques, which is very useful at the time of giving high resolution close to the black hole. It should be noted that exponential potential has been used in a great variety of works. For instance, this potential is considered as a possible model for quintessence, see [8]. Moreover, this potential arises naturally in the context of Kaluza-Klein theories, as well as in a variety of supergravity models [9].

The paper is organized as follows, in section 2 we show the Klein Gordon equation in the 3+1 formulation of the general relativity as well as the potential and initial profile for the scalar field. In section 3, we describe the adaptive mesh refinement method used to solve the Klein-Gordon on the Minkowski space-time. In section 4, we present the evolution in time of the scalar field and show the self convergence test in order to validate our results. Finally in section 5, we present some conclusions. It is worth mentioning that the units we assume in the paper are such that

II. KLEIN GORDON EQUATION

In this paper we consider the classical nature of the scalar field, as assumed in SFDM and quintessence models, from an effective Lagrangian

(1)

where is the Ricci scalar of the space-time, the scalar field and its potential. The variation of such Lagrangian with respect to reduces to the Klein-Gordon (KG) equation, which rules the evolution of the scalar field.

(2)

where the D'Alambertian operator for a general space-time is . Since we work on a fixed background space-time there is no need to vary the Lagrangian with respect to the metric, which would imply Einstein's equations. In terms of the variables of the splitting approach of general relativity [10], the KG equation can be written as a first order system of equations as follows

(3)

(4 )

(5 )

Where and are new first order variables, is the lapse function, the shift vector, are the components of the spatial induced metric and . It is worth mentioning that in this work, we restrict our AMR numerical calculations to the Minkowski space time. However in the way these equations are written allow us to run simulations in a curve fixed background [11].

In this work, we will consider the exponential potential, which is given by the expression

(6 )

Where and are positive constants. Here we work in units for which . On the other hand, in order to solve the first order KG system of equations (5), we provide a scalar field initial profile similar to that described in [12] , which corresponds to a time-symmetric wave modulated by a Gaussian profile

(7 )

where and are the amplitude and width of this initial profile.

III. ADAPTIVE MESH REFINEMENT

In numerical analysis, the AMR method adapts the grid resolution according to the dynamics of the specific problem to be solved, building refined meshes in determined regions of the domain, which can appear and disappear as it becomes necessary. Those grids also can move in regards of a physical criterion. In this work, we have built a refined grid that displaces with the maximum value of the numerical error (for instance, sensitive regions or that present turbulence). At the beginning of the simulations, the algorithm creates a regular Cartesian grid that covers the whole domain, which is called base-grid. In the case of the Klein Gordon equation, the regions that present the maximum numerical error displace with a constant velocity, which makes easier to adapt the movement of the refined grids. In other cases is normally based on the estimation of the numerical error or in proper parameters of the system.

A. Coupled Evolution.

A very important aspect in the AMR methods is that the adaptive meshes have a coupled evolution, which consists in a singular grid with different resolutions in some parts of the domain, and no different grids evolving independently. In order to do this, is necessary to consider two aspects: the first one is that the values of the base-grid are replaced with the values of the son-grid for each time step. This guarantees that the base-grid does not evolve to the next step with its numerical error (which is bigger). The second aspect is that the border points of the son-grid need to be calculated from the interpolation of the points in the base-grid at each time of the simulation. These can be better explained with Figure 1.

Evolution of a one-dimensional grid
with a sub-domain refined by
Figure 1
Evolution of a one-dimensional grid with a sub-domain refined by

In this figure we represent the evolution of a single base-grid time step, where the circled violet points correspond to the base grid, the orange squares to the refined grid and the violet squares are calculated by using the interpolation of the base-grid in the shaded region. When the orange squares are inside the violet circles means that the values of the refined grid are replaced with the values of the grid-base. The time step of the base-grid is , and the time step of the son-grid is

and so on for more refined levels.

Autor

The algorithm discretizes the partial differential equations with the method of finite differences, integrating in time with the Runge Kutta schemes, and for the boundary calculations we impose out-going wave conditions, interpolating them with the Lagrange method. Finally, to adapt the grids with the dynamics of the problem, we displace them each certain amount of time steps, depending on the required velocity.

IV. NUMERICAL RESULTS

After carrying out the implementation of the AMR algorithm with the characteristics specified in the previous section, we solve the Klein Gordon equation (2) with an exponential potential as shown in equation ((6). In Figure 2 and Figure 3, we plot the complete evolution for a time interval, where the base-grid and the refined-grid are displayed, the latter moving at the same speed as one of the propagated pulses, since the region near the pick of the pulse is the one that presents the maximum numerical error. Later, the numerical error associated with this solution is calculated, and it is shown in Figure 4, where it can be seen that the pulse traveling with a refined mesh presents a considerable decrease in the error. Finally, tests are carried out to verify the accuracy of the implemented algorithm, which in this case are the self-convergence and are presented in Figure 5.

Evolution of the numerical solution for a
complete time interval using AMR. The time range is  , the refined subdomain   moves
at the same speed of one of the pulses within the base domain  .
Figure 2
Evolution of the numerical solution for a complete time interval using AMR. The time range is , the refined subdomain moves at the same speed of one of the pulses within the base domain .
Autor

 Captures for different instants of time for the
evolution shown in Figure 2, ,  ,   y   respectively.
Figure 3
Captures for different instants of time for the evolution shown in Figure 2, , , y respectively.
Autor

Evolution of the numerical error associated with
each of the plots in Figure 3. The error is calculated by
subtracting two numerical solutions with different base resolution.
Figure 4
Evolution of the numerical error associated with each of the plots in Figure 3. The error is calculated by subtracting two numerical solutions with different base resolution.
Autor

Convergence factor for each time step in evolution
shown in Figure 2. This factor is calculated using
three numerical solutions for three different base resolutions.
Figure 5
Convergence factor for each time step in evolution shown in Figure 2. This factor is calculated using three numerical solutions for three different base resolutions.
Autor

V. CONCLUSION

The same postulates used to develop this algorithm are extensible without problem to two and three dimensions, which are algorithms in process of development with favorable results. It was found that numerical error in a specific region can be reduced by refining only such region, reducing the computational cost. Moreover there is an adequate convergence by the AMR code, which is consistent with the second order finite differences used. Finally, we note that is not convenient to perform an abrupt refinement when improving the resolution considerably, it is better to do it by levels.

ACKNOWLEDGMENTS

F.D.L-C gratefully acknowledges the financial support from Universidad Industrial de Santander under grant number 1822 and by COLCIENCIAS, Colombia, under Grant No. 8840. A. N wants to thanks the financial support from COLCIENCIAS, Colombia, under the program “Becas Doctorados Nacionales 647” and Universidad Industrial de Santander.

REFERENCES

A. H. Guth, "Inflationary universe: A possible solution to the horizon and flatness problems.," Phys. Rev. D, vol. 23, p. 347–356, January 1981.

R. R. Caldwel, R. Dave and P. J. Steinhardt, "Cosmological Imprint of an Energy Componentwith General Equation of State," Physical Review Letters, vol. 80, p. 1582–1585, February 1998.

F. S. Guzmán, T. Matos and H. B. Villegas, "Scalar fields as dark matter in spiral galaxies:comparison with experiments.," Astronomische Nachrichten, pp. 320-97, 1999.

V. Sahni and L. Wang, "New cosmological model of quintessence and dark matter," Phys. Rev. D, vol. 62, no. 10, p. 103517, November 2000.

dark matter," Phys. Rev. D, vol. 62, no. 10, p. 103517, November 2000. [5] M. J. Berger and J. Oliger, " Adaptive mesh refinement for hyperbolic partial differential equations," Journal of computational Physics, p. 484–512, 1984.

M. J. Berger and P. Colella, " Local adaptive mesh refinement for shock hydrodynamics," Journal of computational physics, p. 64–84, 1989.

F. S. Guzmán, "Solución de la ecuación de onda como un problema de valores iniciales," Revista mexicana de física E, p. 51–68, 2010.

E. J. Copeland, M. Sami and S. Tsujikawa, "Dynamics of Dark Energy," International Journal of Modern Physics D, p. 1753–1935, 2006.

P. G. Ferreira and M. Joyce, "Cosmology with a primordial scaling field," Phys. Rev. D, July 1998.

M. Alcubierre, "Introduction to 3+1 Numerical Relativity," Oxford University Press, 2008.

A. Cruz-Osorio, F. S. Guzmán and F. D. Lora-Clavijo, " Scalar field dark matter: behavior around black holes," J. Cosmology Astropart. Phys., June 2011.

F. S. Guzmán and F. D. Lora-Clavijo, " Spherical nonlinear absorption of cosmological scalar fields onto a black holes," Phys. Rev. D, January 2012.

HTML generated from XML JATS4R by