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

Add HLLC flux for non-cartesian meshes to CompressibleEulerEquations{2,3}D #1790

Merged
merged 16 commits into from
Dec 30, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update src/equations/compressible_euler_2d.jl
Co-authored-by: Hendrik Ranocha <ranocha@users.noreply.github.com>
  • Loading branch information
DanielDoehring and ranocha authored Dec 28, 2023
commit a58b799d3967f947ae45c2b35f0d69cea189922b
2 changes: 1 addition & 1 deletion src/equations/compressible_euler_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1263,7 +1263,7 @@ function flux_hllc(u_ll, u_rr, normal_direction::AbstractVector,

norm_ = norm(normal_direction)
norm_sq = norm_ * norm_
inv_norm_sq = 1.0 / norm_sq
inv_norm_sq = inv(norm_sq)

c_ll = sqrt(equations.gamma * p_ll / rho_ll) * norm_
c_rr = sqrt(equations.gamma * p_rr / rho_rr) * norm_
Expand Down
Loading