Skip to content

Commit

Permalink
Merge branch 'add-warm-bubble-test-case' of github.com:trixi-framewor…
Browse files Browse the repository at this point in the history
…k/Trixi.jl into add-warm-bubble-test-case
  • Loading branch information
benegee committed Jan 10, 2024
2 parents 54d7de0 + 854eefd commit 53c5d2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/equations/compressible_euler_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ end
p = 0.5 * (p_ll + p_rr) - 0.5 * c * rho * (v_rr - v_ll)
v = 0.5 * (v_ll + v_rr) - 1 / (2 * c * rho) * (p_rr - p_ll)

# We treat the energy term in analogy to the potential temperature term in the paper by
# We treat the energy term analogous to the potential temperature term in the paper by
# Chen et al., i.e. we use p_ll and p_rr, and not p
if v >= 0
f1, f2, f3, f4 = v * u_ll
Expand Down Expand Up @@ -885,7 +885,7 @@ end
p = 0.5 * (p_ll + p_rr) - 0.5 * c * rho * (v_rr - v_ll) / norm_
v = 0.5 * (v_ll + v_rr) - 1 / (2 * c * rho) * (p_rr - p_ll) * norm_

# We treat the energy term in analogy to the potential temperature term in the paper by
# We treat the energy term analogous to the potential temperature term in the paper by
# Chen et al., i.e. we use p_ll and p_rr, and not p
if v >= 0
f1, f2, f3, f4 = u_ll * v
Expand Down
4 changes: 2 additions & 2 deletions src/equations/compressible_euler_3d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ References:
p = 0.5 * (p_ll + p_rr) - 0.5 * c * rho * (v_rr - v_ll)
v = 0.5 * (v_ll + v_rr) - 1 / (2 * c * rho) * (p_rr - p_ll)

# We treat the energy term in analogy to the potential temperature term in the paper by
# We treat the energy term analogous to the potential temperature term in the paper by
# Chen et al., i.e. we use p_ll and p_rr, and not p
if v >= 0
f1, f2, f3, f4, f5 = v * u_ll
Expand Down Expand Up @@ -1009,7 +1009,7 @@ end
p = 0.5 * (p_ll + p_rr) - 0.5 * c * rho * (v_rr - v_ll) / norm_
v = 0.5 * (v_ll + v_rr) - 1 / (2 * c * rho) * (p_rr - p_ll) * norm_

# We treat the energy term in analogy to the potential temperature term in the paper by
# We treat the energy term analogous to the potential temperature term in the paper by
# Chen et al., i.e. we use p_ll and p_rr, and not p
if v >= 0
f1, f2, f3, f4, f5 = v * u_ll
Expand Down

0 comments on commit 53c5d2b

Please sign in to comment.