Skip to content

Commit

Permalink
Update compressible_euler_2d.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDoehring authored Dec 30, 2023
1 parent 19f710a commit dde444d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/equations/compressible_euler_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1307,9 +1307,8 @@ function flux_hllc(u_ll, u_rr, normal_direction::AbstractVector,
f3 = f_rr[3]
f4 = f_rr[4]
else
SStar = (rho_ll * v_dot_n_ll * sMu_L - rho_rr * v_dot_n_rr * sMu_R
+
(p_rr - p_ll) * norm_sq) / (rho_ll * sMu_L - rho_rr * sMu_R)
SStar = (rho_ll * v_dot_n_ll * sMu_L - rho_rr * v_dot_n_rr * sMu_R +
(p_rr - p_ll) * norm_sq) / (rho_ll * sMu_L - rho_rr * sMu_R)
if Ssl <= 0.0 <= SStar
densStar = rho_ll * sMu_L / (Ssl - SStar)
enerStar = e_ll +
Expand Down

0 comments on commit dde444d

Please sign in to comment.