Description of Excel programs: Circ11.xls, Circ12.xls, Circ13.xls, Circ14.xls and Circ15.xls

The purpose of the Excel programs is to calculate the densite profile of a disc in order to simulate flat galaxy rotation curves as a function of mass (density) distribution. Each galaxy consist of a bulge, a disc and an halo of dark matter. This halo is an option
There is also an Excel program which only calculates a rotation curve: grotc.xls and grotcexp.xls. For more details See: grotc.xls and grotcexp.xls
The examples of Circ11.xls and Circ15.xls are used to demonstrate rotation curves without dark matter.
The examples of Circ12.xls, Circ13.xls and Circ14.xls are used to demonstrate flat rotation curves with dark matter with two profiles: NFW and Hernquist
For a copy of the programs in zip format select circ11.xls, circ12.xls or circ.zip. The last one contains all the five programs.
All the programs are identical. The difference lies in the parameters of the tests performed. The main physical assumption is that visible matter and darkmatter behave similar. In this simulation this is Newton's Law for both.
The main problem or chalenge is not to include to much darkmatter, at least such that the darkmatter density should not be higher than the visible matter, because otherwise it will become visible.

The radius of each rotation curve is 100 units.
The shape of the standard "target" rotation curve (v sel = 1) is such that over the first 3 units (rbulge = 3) the speed of the rotation curve increases lineair. There after the speed is constant.
Each program consists of 5 or 6 tests: Test1, Test2, Test3, Test4, Test5 and Test6
Each test has 9 parameters: "NFW", "r bulge", "r disc", "r disp", "v sel", "rs" , "rhos", "a" and "Mh"

In order to start the simulation select START button.

Each simulation consists of 4 phases or passes. When no dark matter is involved (rhos = 0 when NFW = 1 or Mh = 0 when hernquist = 1) the simulation proceeds as follows:

  1. In pass 1, First the density and the mass of the bulge is calculated as a function of r (within "r bulge") in order to match the rotation curve. The result is stored in column E under "rho bulge" and in column F under "m bulge".
    Second the force F1 of the bulge and a test mass as a function of r is calculated.
    The disc is divided in a set of rings
    Third the force F2 of test mass at distance r for each of the rings at distance rcnt is calculated assuming that density of the disc is 1. The result is stored in a matrix of 100 by 100 as a function of r and rcnt. The solution of this matrix is the density curve of the disc
    Fourth a target Force F3 function is calculated. This target Force is equal to a rotating mass at distance xx and is equal to m1 * v *v / xx with v equal to the rotation curve. Finally a delta Force is calcuted as a function of r. This force is equal to F3 - F1. The result is stored in vsave.
  2. In pass 2 The matrix is solved with vsave. The result is stored in column D under "rho calc" and in vsave.
  3. In pass 3 a high order lineair equation is calculated to represent the density curve of the disc. The result is stored in column J under "rho disc".
  4. In pass 4 first again the force F of the bulge and a test mass as a function of r is calculated. Secondly the force F of each of the rings of the disc mass and a test mass is calculated as a function of r, but now using the density curve. Finally the rotation curve of the whole galaxy is calculated. The result is stored in column I under "v disc".
When dark matter is included in the simulation in the case of NFW = 1 then the parameters rs and rhos are non zero. Dark matter is assumed outside the radius "r bulge".In the case of Hernquist = 1 then the parameters Mh and a are non zero.
In pass 1 the density of the dark matter is calculated using the following formula:
  1. In the case of NFW = 1:
    rhoNFW = rhos/(r/rs*(1+r/rs)^2)
  2. In the case of hernquist = 1:
    rho = (Mh/a) * a/(r+a)^3)
In pass 1 the dark matter mass is calculated. The result is stored in column E under "rho dark m" and in column F under "m dark m"
For readers not familiar with rotation curves select this overview article by Stephen M. Kent: http://adsbit.harvard.edu/cgi-bin/nph-iarticle_query?bibcode=1987AJ.....93..816K
There is also a PDF version available from that link. Rememember that Andromeda galaxy, M31 and N224 are one and the same.

Test1 of Circ11.xls

Test1 shows a flat rotation curve where the length of the bulge is maximum. In this case there is no disc.
The variabele v sel = 1, r bulge = 100.

Test2 of Circ11.xls

Test2 shows a flat rotation curve where the length of the bulge is zero. In this case the density of the disc is at maximum in order to simulate the flat rotation curve. It is important to remember that the total height of the disc is 1 unit. That means 0.5 units in both positive and negative directions.
The total mass of the disc is approx. 6500. THe density of the disc is almost equal as the density of the bulge.
The variabele "r bulge" = 0.
Column J shows the density of the disc. The first value is almost 10 units. This is the maximum density possible. The density at a distance of 4 units is close to 5. This is an important value for the next two tests.

Test3, Test4 and Test6 of Circ11.xls

Those three test are almost identical

Test4 and Test5 of Circ11.xls

Test5 is almost identical as Test4.

Parameters of Excel program Circ11.xls - No darkmatter

Parameter Test1 Test2 Test3 Test4 Test5 Test6
1 NFW 1 1 1 1 1 1
2 rbulge 100 0 3 6 6 10
3 disc 100 100 100 100 100 100
4 rdisp 120 120 120 120 120 120
5 Vsel 1 1 1 1 3 1
6 NFW rs 0 0 0 0 0 0
7 NFW rhos 0 0 0 0 0 0
8 Hq a 0 0 0 0 0 0
9 Hq MHalo 0 0 0 0 0 0
10 tot m bulge 10000 0 300 600 600 1000
11 tot m disc 0.0 6509,8 6222,9 5924,4 3947,0 5544,6
12 tot m dm 0.0 0.0 0.0 0.0 0.0 0.0
13 max r dm 0.0 0.0 0.0 0.0 0.0 0.0

Test1 to Test5 of Circ12.xls

The 5 tests are used to demonstrate the influence of darkmatter with the NFW profile. The difference between the 5 test is only in the values of the two parameters rs and rhos.
The strategy for the tests 2-5 is to study the influence of different values for rs. The value for rhos is so selected that the maximum value for "v dark matter" is approximate the same and equal to 8
  1. In Test1 the values of rs and rhos are both zero. At r = 4 Rho dark matter = 0 and "rho disc" = 2.8. This is the target curve.
  2. In Test2 rs = 6 and rhos = 0.9. At r = 4 Rho dark matter = 0.49 and "rho disc" = 0.6. The density is almost the same. THis raises the question if the name dark matter is correct.
  3. In Test3 rs = 10 and rhos = 0.28. At r = 4 Rho dark matter = 0.36 and "rho disc = 0.9
  4. In Test4 rs = 28 and rhos = 0.035. At r = 4 Rho dark matter = 0.19 and "rho disc" = 1.42
  5. In Test5 rs = 70 and rhos = 0.0057. At r = 4 Rho dark matter = 0.09 and "rho disc" = 1.96. The dark matter density is much smaller.
  6. The mass of the disc in all the five Tests is almost the same and half that of the target curve of Test1
  7. Total mass of the dark matter is much larger as that of the visible matter. For Test4 and Test5 much more than a factor 10.

Parameters of Excel program Circ12.xls - NFW model

Parameter Test1 Test2 Test3 Test4 Test5 Test6
1 NFW 1 1 1 1 1
2 rbulge 3 3 3 3 3
3 disc 100 100 100 100 100
4 rdisp 120 120 120 120 120
5 Vsel 1 1 1 1 1
6 NFW rs 0 6 10 28 70
7 NFW rhos 0 0,9 0,28 0,031 0,0048
8 Hq a 0 10 20 40 80
9 Hq MHalo 0 3800 5500 11000 20000
10 tot m bulge 300 300 300 300 300
11 tot m disc 6222,9 3082,4 2750,6 2269,8 2620,9
12 tot m dm 0.0 17391 24817 59745 144346
13 max r dm 0.0 24417 35165 85459 206752

Test1 to Test5 of Circ13.xls

The 5 tests are used to demonstrate the influence of darkmatter with the Hernquist profile. The difference between the 5 test is only in the values of the two parameters a and Mh (Mass Halo).
The strategy for the tests 2-5 is to study the influence of different values for a. The value for Mh is so selected that the maximum value for "v dark matter" is approximate the same and equal to 8
  1. In Test1 the values of rs and rhos are both zero. At r = 4 Rho dark matter = 0 and "rho disc" = 2.8. This is the target curve.
  2. In Test2 a = 10 and Mh = 3800. At r = 4 Rho dark matter = 0.55 and "rho disc" = 0.52 The density of darkmatter is higher. This raises the question if the name dark matter is correct.
  3. In Test3 a = 20 and Mh = 5500 At r = 4 Rho dark matter = 0.31 and "rho disc = 1.1
  4. In Test4 a = 40 and Mh = 11000 At r = 4 Rho dark matter = 0.2 and "rho disc" = 1.4
  5. In Test5 a = 80 and Mh = 20000 At r = 4 Rho dark matter = 0.1 and "rho disc" = 1.8 The dark matter density is much smaller.
  6. The mass of the disc in all the five Tests is rougly the same and half that of the target curve of Test1
  7. Total mass of the dark matter in the case of the Hernquist profile is much larger as that of the visible matter but not so much as in the case of the NFW profile.

Parameters of Excel program Circ13.xls - Hernquist model

Parameter Test1 Test2 Test3 Test4 Test5 Test6
1 NFW 0 0 0 0 0
2 rbulge 3 3 3 3 3
3 disc 100 100 100 100 100
4 rdisp 120 120 120 120 120
5 Vsel 1 1 1 1 1
6 NFW rs 0 6 10 28 70
7 NFW rhos 0 0,9 0,28 0,031 0,0048
8 Hq a 0 10 20 40 80
9 Hq MHalo 0 3800 5500 11000 20000
10 tot m bulge 300 300 300 300 300
11 tot m disc 6222,9 4035,0 3564,5 2526,3 2440,4
12 tot m dm 0.0 3258 5037 10405 19174
13 max r dm 0.0 857 1453 2906 5536

Test1 to Test5 of Circ14.xls

The 5 tests are used to demonstrate the influence of darkmatter with the Hernquist profile.

Parameters of Excel program Circ14.xls - Hernquist model - Mh var

Parameter Test1 Test2 Test3 Test4 Test5 Test6
1 NFW 0 0 0 0 0 0
2 rbulge 3 3 3 3 3 3
3 disc 100 100 100 100 100 100
4 rdisp 120 120 120 120 120 120
5 Vsel 1 1 1 1 1 1
6 NFW rs 0 0 0 0 0 0
7 NFW rhos 0 0 0 0 0 0
8 Hq a 10 10 10 10 10 10
9 Hq MHalo 0 800 1500 2200 3000 3800
10 tot m bulge 300 300 300 300 300 300
11 tot m disc 6222,9 5759,5 5354,6 4953,0 4494,0 4035,0
12 tot m dm 0,0 586,8 1100,2 1613,7 2200,4 2787,2
13 max r dm 0.0 0.0 0.0 0.0 0.0 0.0

Test1 to Test6 of Circ15.xls

The purpose of this program is to test different galaxy rotation curves. See Page V SEL for the different curves. The curves are calculated via the button INITIAL. The parameter rbulge of page "V SEL" should be the same as the Test if "V SEL" = 2 or greater
  1. For Test1 "V SEL" = 1. For Test2 "V SEL" = 2 etc. For Test6 "V SEL" = 6.
  2. The total mass disc value is resp: 6118, 5079, 4140, 3302, 2565 and 1995. What this means is that, if you want to straigten the rotation curve (Starting from "V SEL" = 6) not so much visible matter is required. At least much less mass compared to dark metter in the case of the Hernquist profile and the NFW profile (which is the worst).

Parameters of Excel program Circ15.xls - No Dark Matter - Vsel

Parameter Test1 Test2 Test3 Test4 Test5 Test6
1 NFW 1 1 1 1 1 1
2 rbulge 3 3 0 3 3 3
3 disc 100 100 100 100 100 100
4 rdisp 120 120 120 120 120 120
5 Vsel 1 2 3 4 5 6
6 NFW rs 0 0 0 0 0 0
7 NFW rhos 0 0 0 0 0 0
8 Hq a 0 0 0 0 0 0
9 Hq MHalo 0 0 0 0 0 0
10 tot m bulge 300 300 0 300 300 300
11 tot m disc 6223 3864 3489 2741 2328 2002
12 tot m dm 0.0 0.0 0.0 0.0 0.0 0.0
13 max r dm 0.0 0.0 0.0 0.0 0.0 0.0

Additional Tests

In the program itself, in the subroutine "main", you can change the variabele vrc(V rotation curve) from 10 to 100 and Select START. The result is that all speed variables increase with a factor 10 and all density (rho) and all mass variables increase with a factor 100. The "net" result is no change. Undo this change.

In the program itself, in the subroutine "main", you can also change the variabele G from 1 to 10 and Select START. The result is that all density (rho) and all mass variables decrease with a factor 10. The "net" result is no change. Undo this change.

Page V SEL

Page "V SEL" shows:
  1. 4 columns "VSEL = 2", "VSEL = 3", "VSEL = 4" and "VSEL = 5".
    Each of those colums shows a user defined target rotation curves for r going from 0 to 100.
  2. A button INITIAL. This button is used to calculate the 4 target rotation curves. In order to calculate select INITIAL.
  3. 2 columns "rho bulge" and "mass b".
    The first shows the Rho density of the bulge and the second column shows mass of the bulge. Each for r going from 0 to 200.
  4. 2 columns "rho dm" and "mass d m".
    The first shows the Rho dark matter values of a dark matter profile as a function of rs and rhos for r going from 0 to 200 (IF NFW = 1). The second shows the total dark matter mass.
  5. A button NFW. In order to calculate a new profile select NFW.
  6. Input parameters for the NFW profile are "NFW" = 1, "rs" and "rhos".
  7. Input parameters for the Hernquist profile are "NFW" = 0, "a" and "Mh". When "NFW" = 0 the description changes into "Hernquist" = 1.

Discussion

  1. One of the simulations discussed above "Test2 of Circ11.xls" is a galaxy with only a flat disc. This simulation is not realistic. On the other hand it gives information how much mass there should be in the bulge if you squeeze the bulge to the same height of the disc i.e. 0.5 units.
  2. The document "General Relativity Resolves Galactic Rotation Without Exotic Darkmatter by F.I. Cooperstock and S. Tieu http://lanl.arXiv.org/pdf/astro-ph/0507619 does exactly the same. If you compare the density functies of page 9 and 12 of that document with the density functions Test2 of Circ11.xls and Test3 of Circ15.xls you will see that they match. This will start you thinking: Maybe there is no dark matter required at all to simulate flat galaxy rotation curves.
  3. One of the simulations discussed above "Test1 of Circ11.xls" is a galaxy which consists only of a bulge and has darkmatter. This simulation is very realistic because it reflects an elliptical galaxy which supposedly does not contain darkmatter. For more information See: http://universe.gsfc.nasa.gov/press/2003/030409d.html
  4. All the other galaxies are mixtures of those two extremes.
    The three main questions to answer are:
    • what is the size of the visible bulge, including planet size objects.
    • what is the minimal density of the visible bulge, including planet size objects.
    • what is the maximum density of dark matter.

The bulge consists of three sections.

  1. The consequence of the first section of the bulge is that the speed of the rotation curve increases lineair.
  2. The consequence of the second section of the bulge is that this increase levels off and finally stops.
    The most important question to ask is how large is (i.e. what is the radius of) this section. The longer this section the less mass is required for the disc. You can see the significance by comparing Test3 (r bulge=3) with Test4 (r bulge = 6)
  3. You can argue that section 3 with the globular clusters does not belong to the bulge. That is true. But this is not so important. The true question to ask is how many small stars are there in the sphere outside the bulge and the disc, which are not individual visible. This number can be relative small, but its significance can be large. The maximum situation is demonstrated in Test1 when there is no disc.

There are three problems with the Dark Matter simulations of Circ12.xls:

  1. When rs is small the rhoNFW dark matter values for small values of r are only slightly smaller as the "rho disc" values. That means the dark matter halo is visible, which it should not.
    This implies that the supposed dark matter halo becomes an extension of the bulge.
  2. When rs is large in Test5 at r = 4 "rho dm" is 0.09 (0.0) and "rho disc" is 1.95 (2.8). The values in brackets are for Test1
    At r = 20 "rho dm" is 0.014 (0.0) and "rho disc" is 0.25 (0.68).
    At r = 35 "rho dm" is 0.005 (0.0) and "rho disc" is 0.09 (0.36).
    At r = 50 "rho dm" is 0.0027 (0.0)) and "rho disc" is 0.056 (0.23)
    That means only for larger values of r "rho disc" decreases.
  3. The most important question to answer is which density is still visible en which density value is invisible.
    In the above "rho dm" at r=4 is identical as "rho disc" at r=35. The first density should be invisible and the second density should be visible. This is difficult to understand.
    The same problem is also mentioned in Test4a above.

One more general remark.

Technical Information


Created: 30 August 2003
Updated: 10 September 2003
Updated: 30 November 2005

Back to my home page Contents of This Document