-
Couldn't load subscription status.
- Fork 54
Tidal deformation #773
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
base: main
Are you sure you want to change the base?
Tidal deformation #773
Conversation
# Conflicts: # star/private/hydro_rotation.f90
|
Certainly this needs a test_suite. I would love to test it out as well. |
|
As a first test, |
…formation # Conflicts: # docs/source/changelog.rst # star/other/other_eval_fp_ft.f90 # star/private/hydro_rotation.f90 # star/test_suite/ppisn/src/run_star_extras.f90
|
the tests on c79cdd6 all pass! I'll leave it up here for anyone to test/review, but from my end this is ready to merge. |
# Conflicts: # star_data/public/star_data_def.inc
# Conflicts: # binary/test_suite/double_bh/inlist_pgstar # docs/source/changelog.rst
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@matthiasfabry @pmocz this looks fine to merge.
|
ppisn succeeds locally when turning off rotation flags. Testing on testhub now. |
Following on #637, this (rather large) overhaul of
hydro_rotation.f90includes support for computing the stellar structure corrections of tidally distorted stars. This is especially useful when modeling contact binaries.The setup is as follows:
I used procedure hooks (akin to
binary_other_torquefor tidal J_dot calculations) to communicate the binary calculated fp, ft, and i_rot values for the stellar layers.Then these values are "blended" with the single-rotating-star corrections according to the synchronicity of the component to the orbit. I implemented a user hook
binary_other_tidal_deformation_switch_functionif one does not agree with this treatment.The user can still use the
other_fp_ftandother_i_rothooks to bypass all default calculations (and blending).