Abstract
This thorn solves the Tolman-Oppenheimer-Volkov equations of hydrostatic equilibrium for a spherically symmetric static star.
The Tolman-Oppenheimer-Volkoff solution is a static perfect fluid “star”. It is frequently used as a test of relativistic hydro codes. Here it is intended for use without evolving the matter terms. This provides a compact strong field solution which is static but does not contain singularities.
The equations for a TOV star [1, 2, 3] are usually derived in Schwarzschild coordinates. In these coordinates, the metric can be brought into the form
(1) |
This thorn is based on the notes of Thomas Baumgarte [4] that have been partially included in this documentation. However the notation for the fluid quantities follows [5]. Here we are assuming that the stress energy tensor is given by
(2) |
where is the total energy, the pressure, the fluid four velocity, the rest-mass density, the specific internal energy, and
This enforces a polytropic equation of state. We note that in Cactus the units are .
The equations to give the initial data are solved (as usual) in the Schwarzschild-like coordinates with the areal radius labelled . The equations of the relativistic hydrostatic equilibrium are
Here is the gravitational mass inside the sphere radius , and the logarithm of the lapse. Once the integration is done for the interior of the star we match to the exterior (see below). In the exterior we have
In order to impose initial data in cartesian coordinates, we want to transform this solution to isotropic coordinates, in which the metric takes the form
(13) |
Here denotes the isotropic radius. Matching the two metrics, one obviously finds
As a result, we have an additional differential equation to solve in order to have , that is
(16) |
Given such a solution, the missing metric potential is simply given by
(17) |
In the following section we concentrate on solving Eq. (16) in the exterior and in the interior of the star.
Then, given these one-dimensional data we interpolate to get data on the three-dimensional Cactus grid; that is, we interpolate on the three dimensional r given by the x, y, z variables the physical hydro and spacetime quantities that are function of the isotropic radius computed above. Only linear interpolation is used. This avoids problems at the surface of the star, and does not cause problems if the number of points in the one dimensional array is sufficient ( is the default, which should be sufficient for medium-sized grids).
In the exterior of the star, , the mass is constant, and Eq. (16) can be solved analytically up to a constant of integration. Fixing this constant such that and agree at infinity, we find
(18) |
or, solving for [cfr. Exercise 31.7 of MTW [3]]
(19) |
The metric potential as a function of is obviously
(20) |
In the interior, Eq, (16) can not be integrated analytically, because is now a function of . Instead, we have to integrate
(21) |
The left hand side can be integrated analytically, and has a singular point at . The right hand side cannot be integrated analytically, but will also be singular at , which poses problems when trying to integrate the equation numerically. We therefore rewrite the right hand side by adding and subracting a term , which yields
(22) |
Since close to the origin, the first term on the right hand side is now regular and the second one can be integrated analytically. As a result, we find
(23) |
Replacing the lower limits () temporarily with and , we can integrate the right hand side and find
(24) |
or
(25) |
Here the constant of integration is related to the ratio evaluated at the origin (which is perfectly regular). It can be chosen such that the interior solution matches the exterior solution at the surface of the star. This requirement implies
(26) |
In this respect, let us recall how we do initial data for the system of equations at . Given a value of the central density (in Cactus units) we pose , , and , . The TOV_Tiny number is hardwired into the code to avoid divide by zero errors; it is . Also the default parameters will give the TOV star used for the long term evolutions in [6]. That is, a nonrotating () polytropic star with gravitational mass , circumferential radius km, central rest-mass density and .
To use this thorn to provide initial data for the ADMBase variables , , and just activate the thorn and set ADMBase:initial_data = ‘‘TOV’’.
There are two ways of coupling the matter sources to the thorn that evolves the Einstein equations. One is to use the CalcTmunu interface. This will give the components of the stress energy tensor pointwise across the grid. For an example of this, see thorn ADM in CactusEinstein.
To use the CalcTmunu interface you should
in your interface.ccl
As an alternative you can use the grid functions StressEnergytt, StressEnergytx, etc. directly to have the stress energy tensor over the entire grid. To do this you just need the line friend: ADMCoupling in your interface.ccl. Although this seems much simpler, you will now only get the contributions from the TOVSolver thorn. If you want to use other matter sources, most of the current thorns (CosmologicalConstant, the hydro code, the scalar field code) all use the CalcTmunu interface.
You also have the possibility to use a parameter GRHydrotovsolver::TOV_Separation to obtain a spacetime consisting of one
TOV-system for and a
second (similar) for .
This parameter sets the separation of the centers of two neutron stars, has to be positive and should be larger
than twice the radius of one star.
Be aware that the spacetime obtained by this is no physical spacetime and no solution of Einsteins Equations
and therefore an IVP-run has to follow. This parameter was only introduced for testing purposes of the
IVP-Solver and should only be considered as such. There would be better (and also easy) ways to obtain initial
data for two TOVs than that.