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

Compute total enclosed mass in self-gravitating disc initial conditions #427

Merged
merged 3 commits into from
Jun 6, 2023

Conversation

crislong
Copy link
Contributor

@crislong crislong commented Jun 6, 2023

Type of PR:
Bug fix

Description:
There is a bug when setting up dust in self-gravitating discs where the enclosed mass is not computed correctly.

The new code computes enclosed dust and gas mass to take into account the disc self gravity in the velocity initialisation

Testing:
make SETUP=dustyisosgdisc setup
./phantomsetup disc
check that velocities of gas and dust particles are the same

Did you run the bots? no

Did you update relevant documentation in the docs directory? no

@danieljprice danieljprice merged commit be855a6 into danieljprice:master Jun 6, 2023
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

Successfully merging this pull request may close these issues.

2 participants