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

Total pressure not set generally #1

Open
BigTailWolfLSL opened this issue Apr 7, 2024 · 0 comments
Open

Total pressure not set generally #1

BigTailWolfLSL opened this issue Apr 7, 2024 · 0 comments

Comments

@BigTailWolfLSL
Copy link

BigTailWolfLSL commented Apr 7, 2024

In lecture 7 "HLLC_Flux.f90", "PtotR" and "PtotL" variables may be set problem based (only for that example problem).

I guass the Ptot stands for "total pressure" which Ptot=P(from ideal plasma EoS)+0.5*\mathbf{B}^2. In our case, take "PtotR = gamma1*(ER - 0.5d0rhoR(u1R2 + u2R2 + u3R**2))" for example. PtotR=gamma1*(\rho*\epsilon+0.5*\mathbf{B}^2)=P+gamma1 (1/2) \mathbf{B}^2≠Ptot.

However, in shock tube test (our example), gamma=2.0 and gamma1=1.0 just make it works in this case PtotR=Ptot. But it is not general.

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

1 participant