args[0]=message
args[1]=DB::DB::Message=HASH(0x43812d0)
Re[2]: Voprosy prepodavaniya astronomii
21.07.2007 21:28 | Dmitrii Docenko
Napisanie takoi programmy s nulya - slozhnaya i neblagodarnaya zadacha, k tomu zhe v nei mnogo podvodnyh kamnei. S hodu programme verit' nel'zya.
Bol'shinstvo shem integrirovaniya orbit ili ochen' medlennye, ili imeyut slishkom maluyu tochnost'. Pervaya oshibka, kotoruyu dopuskayut mnogie - ispol'zovanie chislennyh shem integrirovaniya, ne sohranyayushih energiyu. Nuzhno ispol'zovat' tu, kotoraya strogo ee sohranyaet. Krome togo, takaya programma trebuet mnogo testov pered ee primeneniem k iskomoi zadache. K primeru,
Test 1: Tochechnaya massa + bezmassovaya chastica vokrug nee na krugovoi orbite. V konce (naprimer, >>1000 orbit) izmerit' parametry orbity (6 shtuk) i sravnit' s nachal'nymi znacheniyami. Esli pomenyalas' energiya - menyaite shemu integrirovaniya. Esli orbita bol'she ne sfericheskaya - to zhe ili chto-to s koordinatami. Esli orbita menyaet svoyu ploskost' - chto-to s preobrazovaniyami koordinat. I t.d.
Test 2: Dve tochechnye massy (Zvezda + planeta). V privedennyh koordinatah dolzhno byt' to zhe samoe. Tak kak otnoshenie mass poryadka 10^10 (a mozhno postavit' i bol'she), to nachinaet igrat' rol' konechnaya tochnost' vychislenii. Esli vse OK, sdelaite orbitu vytyanutoi i povtorite.
Test 3. Vzyat' bolee slozhnuyu zadachu i sravnit' rezul'tat s priznannoi programmoi (naprimer, Mercury: http://star.arm.ac.uk/~jec/home.html). Ob'yasnit' vse nesovpadeniya.
Uvy, takie testy zanimayut obychno bol'she vremeni, chem napisanie programmy (ya sam cherez eto prohodil), no bez nih rezul'tatam programmy nel'zya doveryat'.
Konkretno v vashem sluchae blagodarya nalichiyu analiticheskih reshenii est' dva pryamolineinyh testa.
a) Uberite vse planety, krome Merkuriya, "vyklyuchite" OTO i posmotrite, kakoi stala orbita. Dolzhna byt' zamknutoi i sledovat' zakonam Keplera.
b) "Vklyuchite" OTO (esli v programme ona est' v vide korrekcii k zakonu prityazheniya). Vosproizvodite li vy analiticheskoe reshenie uravnenii OTO?
Esli vse v poryadke, pishite (kakie testy proveli, kakie rezul'taty, kakie otkloneniya ot teorii), prodolzhim diskussiyu.
Teper' po vashemu voprosu. Naskol'ko mne izvestno, sil'nyh periodicheskih vozmushenii orbity Merkuriya net. Ih prosto nekomu vyzvat'.
Opishite to, chto vydaet programma, bolee podrobno - na skol'ko i kakie parametry menyayutsya i na kakih masshtabah vremeni eto proishodit. Parametry mogut menyatsya i bystree, chem orbital'noe vremya, togda vam nuzhno izmeryat' mgnovennye parametry orbity iz 3-5 tochek.
- Re: Voprosy prepodavaniya astronomii
(P. B. Kac,
20.07.2007 10:14, 461 Bait, otvetov: 10)
Na odnom iz forumov obsuzhdaetsya problema vekovogo smesheniya perigeliya Merkuriya.... - >> Re[2]: Voprosy prepodavaniya astronomii
(Dmitrii Docenko,
21.07.2007 21:28, 2.5 KBait, otvetov: 6)
Napisanie takoi programmy... - Re[3]: Voprosy prepodavaniya astronomii
(P. B. Kac,
23.07.2007 11:48, 2.5 KBait, otvetov: 5)
> Test 2: Dve tochechnye massy (Zvezda + planeta).... - Re[4]: Voprosy prepodavaniya astronomii
(Dmitrii Docenko,
23.07.2007 16:00, 1.5 KBait, otvetov: 4)
Hm. Vot zdes':http://en.wikipedia.org/wiki/Tests_of_general_relativity#Perihelion_precession_of_Mercury... - Re[5]: Voprosy prepodavaniya astronomii
(V. V. Chazov,
23.07.2007 19:40, 197 Bait, otvetov: 3)
Dorogie druz'ya, spasibo Vam za obsuzhdenie stol' vazhnyh voprosov.... - Re[6]: Voprosy prepodavaniya astronomii
(Dmitrii Docenko,
23.07.2007 19:59, 255 Bait, otvetov: 2)
Vadim, vy zhe zanimaetes' nebesnoi mehanikoi.... - Re[7]: Voprosy prepodavaniya astronomii
(V. V. Chazov,
24.07.2007 16:35, 416 Bait, otvetov: 1)
Uvazhaemyi Dmitrii. Konechno, mogu poschitat'... - Re[8]: Voprosy prepodavaniya astronomii
(V. V. Chazov,
24.07.2007 18:17, 1.8 KBait)
Dorogie druz'ya, poschital, chto nekrasivo otvechat' obshimi slovami.... - Re[2]: Voprosy prepodavaniya astronomii
(P. B. Kac,
24.07.2007 23:07, 1.2 KBait, otvetov: 1)
Zdravstvuite, Dmitrii. Naskol'ko ya ponimayu... - Re[3]: Voprosy prepodavaniya astronomii
(V. V. Chazov,
25.07.2007 14:20, 1.4 KBait)
Uvazhaemyi kollega, dorogie druz'ya.... - Novyi resurs!!!
(Vladimir Usichenko,
16.09.2007 16:14, 211 Bait)
O prohozhdenii asteroidov po disku...