-
Notifications
You must be signed in to change notification settings - Fork 2
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
base: main
Are you sure you want to change the base?
Conversation
…r now while debug root find failure
…racket root when executing driver
Real rho1 = rho0 * W0 * (vr0 / vr1); | ||
|
||
v(irho, k, j, i) = rho1; | ||
v(ieng, k, j, i) = (W0 - 1. + epsND * (gamma - 1.)) / (gamma); |
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.
v(ieng, k, j, i)
is internal energy by volume and formula from Radice is specific. Need to multiply by rho.
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.
Need to solve Radice's shock equations for EOS without assuming gamma
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.
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.
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: