Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Updated the sundiver test with more massive body to test for angular …
Browse files Browse the repository at this point in the history
…momentum conservation
  • Loading branch information
daminton committed Mar 20, 2023
1 parent 7cb3c0c commit cbece6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/solar_impact/sundiver.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
q = 0.9 * swiftest.RSun * sim.M2DU
a = 0.1
e = 1.0 - q / a
M = 1e-4 * swiftest.MEarth * sim.KG2MU
M = 2e0 * swiftest.MEarth * sim.KG2MU
R = (3 * M / (4 * np.pi * density)) ** (1.0 / 3.0)
rot = 2 * sim.init_cond.sel(name="Earth")['rot']
rot = 4 * sim.init_cond.sel(name="Earth")['rot']
sim.add_body(name="Sundiver", a=a, e=e, inc=0.0, capom=0.0, omega=0.0, capm=180.0, mass=M, radius=R, Ip=[0.4,0.4,0.4], rot=rot)
sim.get_parameter()

Expand Down

0 comments on commit cbece6c

Please sign in to comment.