Questions about absoluteMag, bolometricMag and star masses.

General discussion about Celestia that doesn't fit into other forums.
Topic author
marc
Posts: 426
Joined: 13.03.2002
With us: 22 years 6 months
Location: Outback Australia

Questions about absoluteMag, bolometricMag and star masses.

Post #1by marc » 09.06.2003, 09:08

I am writing some code to generate systems based on the mass and luminosity of stars. I have the option of calculating the luminosity on either the absolute or bolometric magnitude. Which would be more suitable? What is the difference?

Also I am currently using the below table to find the mass given the spectralClass of a star.
I want to make this as accurate as I can so if anyone has any comments or links to similar tables that I could compare this to it would be much appreciated.

Code: Select all

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#ifdef USE_GRAVITY
//star mass info for main sequence stars from tables found on the internet
//http://curriculum.calstatela.edu/courses/builders/lessons/less/les1/StarTables.html
//in units of sols 

static float massO[10] =
{  //guessed the first 4 entries
    210, 180, 150, 120, 90, 60, 37, 30, 23, 23.3f
};
static float massB[10] =
{
    17.5f, 14.2f, 10.9f, 7.6f, 6.5f, 5.9f, 5.2f, 4.5f, 3.8f, 3.35f
};
static float massA[10] =
{
    2.9f, 2.72f, 2.54f, 2.36f, 2.2f, 2.0f, 1.92f, 1.84f, 1.76f, 1.65f
};
static float massF[10] =
{
    1.6f, 1.56f, 1.52f, 1.48f, 1.44f, 1.4f, 1.34f, 1.26f, 1.19f, 1.10f
};
static float massG[10] =
{                 //sol
    1.05f, 1.025f, 1.0f, 0.97f, 0.95f, 0.92f, 0.89f, 0.87f, 0.842f, 0.82f
};
static float massK[10] =
{
    0.79f, 0.766f, 0.742f, 0.718f, 0.694f, 0.670f, 0.64f   ,0.606f, 0.575f, 0.55f
};
static float massM[10] =
{
    0.510f, 0.445f, 0.400f, 0.350f, 0.300f, 0.250f, 0.207f, 0.163f, 0.120f, 0.100f
};
#endif //USE_GRAVITY
//`````````````````````````````````````````````````````````````````````````````````````````````````

granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 21 years 10 months

Re: Questions about absoluteMag, bolometricMag and star mass

Post #2by granthutchison » 09.06.2003, 09:58

marc wrote:I have the option of calculating the luminosity on either the absolute or bolometric magnitude. Which would be more suitable? What is the difference?
They're two different concepts.
Bolometric magnitude is a measure of a star's total energy output - it contrasts with visual magnitude, which is a measure of its brightness in the visible spectrum only.
Absolute magnitude is a measure of a star's intrinsic brightness (given by its calculated brightness when viewed from a standard distance) - it contrasts with apparent magnitude, which is the brightness of the star as seen from its present distance. Apparent magnitude may be greater or less than absolute magnitude, depending on whether the star is closer or farther away than the standard distance.

So you can have absolute bolometric magnitude, absolute visual magnitude, apparent bolometric magnitude and apparent visual magnitude.

Celestia uses absolute and apparent visual magnitudes, and makes an internal conversion to bolometric magnitude when it calculates stellar radii.

(I apologize if some of the above is already familiar to you.)

Grant

Topic author
marc
Posts: 426
Joined: 13.03.2002
With us: 22 years 6 months
Location: Outback Australia

Re: Questions about absoluteMag, bolometricMag and star mass

Post #3by marc » 09.06.2003, 10:27

Thanks Grant.
I was referring to absolute values, I didnt know about the visual part of it.

So is intrisic brightness just based on the visible spectrum?

granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 21 years 10 months

Re: Questions about absoluteMag, bolometricMag and star mass

Post #4by granthutchison » 09.06.2003, 12:55

marc wrote:So is intrisic brightness just based on the visible spectrum?
Sorry, I was using "brightness" in a way that was probably misleading. In common English usage, I guess "bright" would refer to just visible light, but astronomers talk about objects being, for instance, "radio bright" too, meaning that they have a high radiation output in that part of the spectrum. So by "bright" I intended to convey "radiating lots of energy" (so I probably should have just said that :oops:).

So a low absolute magnitude indicates a high output of electromagnetic radiation - the adjective "bolometric" or "visual" is then required in order to specify whether you're talking about the overall radiation output, or just in the visual band.

Grant

High Dark Templar
Posts: 30
Joined: 30.05.2002
With us: 22 years 3 months
Location: Madrid (Spain)

Planetary System system project

Post #5by High Dark Templar » 09.06.2003, 19:55

You can use my excel table to generate random ( but real an accurate ) stars for the planetary systems

Here you will finf it in the astrotech section:

http://usuarios.lycos.es/darktemplars/Index.html


The project is much more advanced and now is capble to generate planets with mass, radius, axistilt, magnetic field, density and almost all physical paramemeter according to the last planetary formation theories, I am implementing binary and trinary systems in the planet generations and the Celestia code to make de scc file, I hope this will be usseful for you, if you want the planetary generator asl me:

j_omar7@hotmail.com

Avatar
selden
Developer
Posts: 10190
Joined: 04.09.2002
With us: 22 years
Location: NY, USA

Post #6by selden » 09.06.2003, 20:42

Unfortunately lycos.es is generating a "404: file not found" when I try to access the Excel and Celestia pages.
Selden

High Dark Templar
Posts: 30
Joined: 30.05.2002
With us: 22 years 3 months
Location: Madrid (Spain)

DarkTemplars is Up!

Post #7by High Dark Templar » 10.06.2003, 00:54

I have checked my page a minute ago and it is there, the files can be downloadand the images can be seen, if you still have thsi same problem please told me, if persist and you are interested I will send you the files

Image

Image

these are some screenshots, I hope you can see them

Avatar
selden
Developer
Posts: 10190
Joined: 04.09.2002
With us: 22 years
Location: NY, USA

Re: DarkTemplars is Up!

Post #8by selden » 10.06.2003, 01:56

It seems to be working fine now.

Thanks!
Selden

Topic author
marc
Posts: 426
Joined: 13.03.2002
With us: 22 years 6 months
Location: Outback Australia

Post #9by marc » 10.06.2003, 04:30

Hi High Dark Templar, :?
I have already created a system generator which would create ssc files for all the stars in Celestia. It is based on a program called stargen, the theories behind it are somewhat old but it outputs a lot of information. (even what gases make up the atmosphere).
Here is the old thread on it, if you want to try it out download the version on the second page.
http://www.celestiaproject.net/forum/viewtopic ... sc&start=0
Because of the size problems with creating so many ssc files I have been learning some database programming and have been converting Celestia so it will read stars and planets from the database rather than from stars.dat and ssc files. Im working on this new system generator now.
I havn't had a close look at your spreadsheet yet, but if i find any useful formula would you mind if i used them?
Is it possible to make excel output to and format textfiles (ie create stc files)?

High Dark Templar
Posts: 30
Joined: 30.05.2002
With us: 22 years 3 months
Location: Madrid (Spain)

Yes excel can be used to make scc files

Post #10by High Dark Templar » 10.06.2003, 20:15

Excel can be used to make scc files using a curious method that i will explain in other post;I remember you that this spreadshets is only the begining, I have much more advenced it now but have a few problems with multiple orbits in binary systems.


Return to “Celestia Users”