Skip to content

Commit 8a7037a

Browse files
committed
Add general relativity test scenario
1 parent 2a33838 commit 8a7037a

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

scenarios/4Dance.obf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
delta_t 0.05
2+
solver_type 3
3+
move_cam_by 0 45000 -5000
4+
rotate_cam_by x -90
5+
show grid

scenarios/4Dance.osf

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
; 4DANCE.OSF
2+
; Author: arda-guler
3+
;
4+
; Some satellites dancing around super-dense Earth, (or a white dwarf?)
5+
; in a region of spacetime where general relativity
6+
; is relevant. Some, however, have anti-Einsteinian
7+
; shields which render them immune to relativity.
8+
; (So you can compare their orbits.)
9+
;
10+
11+
; Celestial bodies
12+
13+
B|Endo|data/models/miniearth.obj|5.972e30|6371000|[0.0,0.25,1.0]|[0,0,0]|[0,0,0]|[[1,0,0],[0,1,0],[0,0,1]]|86400|[0,1,0]|0|0|0|0
14+
15+
;Vessels
16+
17+
V|Mira|data/models/minisat.obj|[0.0,1.0,0.0]|[42164000,0,0]|[0,0,-2255904]
18+
V|Ao|data/models/minisat.obj|[1.0,0.1,0.1]|[-42164000,0,0]|[0,0,1755904]
19+
V|Megu|data/models/minisat.obj|[0.0,1.0,0.0]|[42164000,0,0]|[0,0,-2255904]
20+
V|Ino|data/models/minisat.obj|[1.0,0.1,0.1]|[-42164000,0,0]|[0,0,1755904]
21+
22+
; GR effects
23+
GR0|ms|Endo|Mira
24+
GR0|as|Endo|Ao
25+
GR1|mlt|Endo|Mira|[0,1180509042e6,0]
26+
GR1|alt|Endo|Ao|[0,1180509042e6,0]

0 commit comments

Comments
 (0)