Star Orbits

General discussion about Celestia that doesn't fit into other forums.
Topic author
ohms law
Posts: 3
Joined: 13.01.2012
With us: 12 years 10 months

Star Orbits

Post #1by ohms law » 17.01.2012, 21:22

Hello folks, I've got a quick question for you.
Is there any way to give stars orbits, similar to the way that planets have orbits? If so, how?
There are some decent sources for orbital data on stars out there, but I can't figure out if Celestial can deal with adding that information or not.

Thanks!

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Re: Star Orbits

Post #2by ajtribick » 17.01.2012, 21:53

Yes, some stellar orbits are already included in the default distribution (not sure which version they were introduced in, but certainly 1.6.1 has them!)

E.g. Alpha Centauri

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: Star Orbits

Post #3by selden » 17.01.2012, 22:37

Star orbits use many of the same declarations as planet orbits.
For details, see http://en.wikibooks.org/wiki/Celestia/STC_File
Selden

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: Star Orbits

Post #4by John Van Vliet » 18.01.2012, 01:02

--- edit ---
Last edited by John Van Vliet on 19.10.2013, 06:21, edited 1 time in total.

Topic author
ohms law
Posts: 3
Joined: 13.01.2012
With us: 12 years 10 months

Re: Star Orbits

Post #5by ohms law » 18.01.2012, 02:07

I'm not really talking about binary systems though (eg.: Alpha Centauri).
I'm referring to giving the Sun (Sol) and orbit, along with say... Bernard's star, Sirius, 61 Cygni, etc...
I suppose that I'd need to define a barycenter for the galaxy somewhere, as well. ???

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Re: Star Orbits

Post #6by Chuft-Captain » 18.01.2012, 05:25

john Van Vliet wrote:a note for tomorrow
wikipedia will be offline 12:00 midnight tue./wed. to 12:00 midnight wed./thur. EST
in protest of SOPA / PIPA

this might include wikibooks also
Thanks for the "heads up" John.
FYI, Wikipedia just went black about 10 mins ago for me. Wikibooks seems to be still available though.
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

kristoffer
Posts: 271
Joined: 19.02.2011
Age: 30
With us: 13 years 9 months
Location: Bod?, Nordland, Norway

Re: Star Orbits

Post #7by kristoffer » 18.01.2012, 12:30

You all don't need to worry, this does not contain wikibooks. Wikibooks is still working, only Wikipedia is shut down
Computer specs

ASUS CG8350-NR001S
Windows® 8 64-bits
Intel® Core™ i7-3770 3.9GHz
Intel® H67 Express Chipset
12GB DDR3 1333 MHz
1000 GB SATA3 7200 rpm
NVIDIA® GeForce® GTX 660 3072 MB
1 x 8 Channel Audio
1000Mbit/s Ethernet LAN
802.11bgn

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: Star Orbits

Post #8by selden » 18.01.2012, 13:38

ohms law wrote:I'm not really talking about binary systems though (eg.: Alpha Centauri).
I'm referring to giving the Sun (Sol) and orbit, along with say... Bernard's star, Sirius, 61 Cygni, etc...
I suppose that I'd need to define a barycenter for the galaxy somewhere, as well. ???

You could write orbits for all of them. Celestia does not include proper motions, but, in principle, they could be approximated by using a Barycenter at the galactic center. They'd be a little awkward because distance units for orbits are AU.

Bear in mind that stars do not actually follow Keplerian orbits around the galactic center, though. Stars also go up and down relative to the galactic plane, but that's a relatively slow change of direction.
Selden

Topic author
ohms law
Posts: 3
Joined: 13.01.2012
With us: 12 years 10 months

Re: Star Orbits

Post #9by ohms law » 18.01.2012, 19:33

I realize that they're not going to be very correct, but something is better than nothing to me.
I just wanted to know if adding a galactic barycenter and giving a star an orbit would crash the program or something similar before running off and doing all of that annoying data entry, you know?
(actually, I was hoping that someone had already done it, but... such is life)

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: Star Orbits

Post #10by selden » 18.01.2012, 22:58

I'd suggest doing only a few stars to begin with, so you can be sure you're doing the correct coordinate and unit transformations. For ease of debugging, I'd also suggest minimizing the other Addons you have loaded. so Celestia restarts as quickly as possible.

You shouldn't be tentative about trying things just because you think it might crash the program. Celestia's just a display program. Crashing Celestia won't damage anything since all of its catalogs are read-only. The only writing that Celestia does on its own is to record its current settings when it exits cleanly. If it crashes, it simply doesn't write them. Crashing Celestia is quite rare these days, anyhow, unless you're writing Lua code for ScriptedOrbits. Lua is quite unforgiving. Most crashes are caused by buggy graphics drivers, rather than bugs in Celestia's own code. They tend to happen when there are many large, complex Addons loaded, to the extent that the graphics drivers and hardware can't handle them.
Selden


Return to “Celestia Users”