Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set initial position in grtde and grstar #576

Open
Shigaharuki3012 opened this issue Jul 16, 2024 · 1 comment
Open

Set initial position in grtde and grstar #576

Shigaharuki3012 opened this issue Jul 16, 2024 · 1 comment

Comments

@Shigaharuki3012
Copy link

It seems that we can not set the initial position of the star in grtde or grstar setup.That is , star will be initially setted at the apocenter.
Can we just call set_binary in the moddump_tidal.f90? Or just add "binary" setup and moddump file in the Makefile_setup? (Just like when we use SETUP=star,where "binary" setup and moddump used)

@danieljprice
Copy link
Owner

it would be possible to do this by adding an extra parameter to the setup specifying the true anomaly, since the star is setup using set_binary, it is straightforward to send the full orbital elements to this routine

I also started work on a new general set_orbit module which could be used here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants