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

WIP: implement relativistic standing accretion shock test problem #173

Open
wants to merge 57 commits into
base: main
Choose a base branch
from

Conversation

carlnotsagan
Copy link
Collaborator

@carlnotsagan carlnotsagan commented May 15, 2023

PR Summary

We want to implement the relativistic standing accretion shock test case to explore high resolution turbulent convection.

References:

https://iopscience.iop.org/article/10.3847/0004-637X/820/1/76/pdf
Eq 4. + ...

https://iopscience.iop.org/article/10.1088/2041-8205/813/1/L6/pdf
https://iopscience.iop.org/article/10.1086/508443/pdf

Issues:

  • fails to bracket root when executing driver, setup executing completes however and values seem reasonable

@carlnotsagan carlnotsagan added the enhancement New feature or request label May 15, 2023
@carlnotsagan carlnotsagan self-assigned this May 15, 2023
Real rho1 = rho0 * W0 * (vr0 / vr1);

v(irho, k, j, i) = rho1;
v(ieng, k, j, i) = (W0 - 1. + epsND * (gamma - 1.)) / (gamma);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v(ieng, k, j, i) is internal energy by volume and formula from Radice is specific. Need to multiply by rho.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to solve Radice's shock equations for EOS without assuming gamma

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the issue I have run into is needing to choose a variable that we know to solve the rest. I settled on using the equation for velocity in the preshock region assuming ideal gas: const Real vr1 = (vr0 + std::sqrt(vr0 * vr0 - 4. * psi)) / 2.;

Then the density follows from the Rankine–Hugoniot jump conditions (no ideal gas assumption).

Then I solve the remaining equations without ideal gas assumption using vr1,vr0,rho0,rho1.

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

Successfully merging this pull request may close these issues.

3 participants