Skip to content

Commit ce5dee6

Browse files
authored
Fix reference link to flash code's sedov blast (#2646)
* Fix reference link to flash code's sedov blast * Link to user's guide
1 parent 6f478bc commit ce5dee6

17 files changed

+67
-67
lines changed

examples/p4est_2d_dgsem/elixir_euler_sedov.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ equations = CompressibleEulerEquations2D(1.4)
99
"""
1010
initial_condition_sedov_blast_wave(x, t, equations::CompressibleEulerEquations2D)
1111
12-
The Sedov blast wave setup based on Flash
13-
- https://flash.rochester.edu/site/flashcode/user_support/flash_ug_devel/node187.html#SECTION010114000000000000000
12+
The Sedov blast wave setup based on example 35.1.4 from Flash
13+
- https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p8.pdf
1414
"""
1515
function initial_condition_sedov_blast_wave(x, t, equations::CompressibleEulerEquations2D)
1616
# Set up polar coordinates
@@ -19,7 +19,7 @@ function initial_condition_sedov_blast_wave(x, t, equations::CompressibleEulerEq
1919
y_norm = x[2] - inicenter[2]
2020
r = sqrt(x_norm^2 + y_norm^2)
2121

22-
# Setup based on https://flash.rochester.edu/site/flashcode/user_support/flash_ug_devel/node187.html#SECTION010114000000000000000
22+
# Setup based on example 35.1.4 in https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p8.pdf
2323
r0 = 0.21875 # = 3.5 * smallest dx (for domain length=4 and max-ref=6)
2424
E = 1.0
2525
p0_inner = 3 * (equations.gamma - 1) * E / (3 * pi * r0^2)
@@ -43,7 +43,7 @@ initial_condition = initial_condition_sedov_blast_wave
4343
# In the `StepsizeCallback`, though, the less diffusive `max_abs_speeds` is employed which is consistent with `max_abs_speed`.
4444
# Thus, we exchanged in PR#2458 the default wave speed used in the LLF flux to `max_abs_speed`.
4545
# To ensure that every example still runs we specify explicitly `FluxLaxFriedrichs(max_abs_speed_naive)`.
46-
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
46+
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
4747
# `StepsizeCallback` (CFL-Condition) and less diffusion.
4848
surface_flux = FluxLaxFriedrichs(max_abs_speed_naive)
4949
volume_flux = flux_ranocha

examples/p4est_2d_dgsem/elixir_euler_sedov_blast_wave_sc_subcell.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ equations = CompressibleEulerEquations2D(1.4)
88
"""
99
initial_condition_sedov_blast_wave(x, t, equations::CompressibleEulerEquations2D)
1010
11-
The Sedov blast wave setup based on Flash
12-
- https://flash.rochester.edu/site/flashcode/user_support/flash_ug_devel/node187.html#SECTION010114000000000000000
11+
The Sedov blast wave setup based on example 35.1.4 from Flash
12+
- https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p8.pdf
1313
"""
1414
function initial_condition_sedov_blast_wave(x, t, equations::CompressibleEulerEquations2D)
1515
# Set up polar coordinates
@@ -18,7 +18,7 @@ function initial_condition_sedov_blast_wave(x, t, equations::CompressibleEulerEq
1818
y_norm = x[2] - inicenter[2]
1919
r = sqrt(x_norm^2 + y_norm^2)
2020

21-
# Setup based on https://flash.rochester.edu/site/flashcode/user_support/flash_ug_devel/node187.html#SECTION010114000000000000000
21+
# Setup based on example 35.1.4 in https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p8.pdf
2222
r0 = 0.21875 # = 3.5 * smallest dx (for domain length=4 and max-ref=6)
2323
E = 1.0
2424
p0_inner = 3 * (equations.gamma - 1) * E / (3 * pi * r0^2)
@@ -42,7 +42,7 @@ initial_condition = initial_condition_sedov_blast_wave
4242
# In the `StepsizeCallback`, though, the less diffusive `max_abs_speeds` is employed which is consistent with `max_abs_speed`.
4343
# Thus, we exchanged in PR#2458 the default wave speed used in the LLF flux to `max_abs_speed`.
4444
# To ensure that every example still runs we specify explicitly `FluxLaxFriedrichs(max_abs_speed_naive)`.
45-
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
45+
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
4646
# `StepsizeCallback` (CFL-Condition) and less diffusion.
4747
surface_flux = FluxLaxFriedrichs(max_abs_speed_naive)
4848
volume_flux = flux_ranocha

examples/p4est_3d_dgsem/elixir_euler_sedov.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ equations = CompressibleEulerEquations3D(1.4)
99
"""
1010
initial_condition_medium_sedov_blast_wave(x, t, equations::CompressibleEulerEquations3D)
1111
12-
The Sedov blast wave setup based on Flash
13-
- https://flash.rochester.edu/site/flashcode/user_support/flash_ug_devel/node187.html#SECTION010114000000000000000
12+
The Sedov blast wave setup based on example 35.1.4 from Flash
13+
- https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p8.pdf
1414
with smaller strength of the initial discontinuity.
1515
"""
1616
function initial_condition_medium_sedov_blast_wave(x, t,
@@ -22,7 +22,7 @@ function initial_condition_medium_sedov_blast_wave(x, t,
2222
z_norm = x[3] - inicenter[3]
2323
r = sqrt(x_norm^2 + y_norm^2 + z_norm^2)
2424

25-
# Setup based on https://flash.rochester.edu/site/flashcode/user_support/flash_ug_devel/node187.html#SECTION010114000000000000000
25+
# Setup based on example 35.1.4 in https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p8.pdf
2626
r0 = 0.21875 # = 3.5 * smallest dx (for domain length=4 and max-ref=6)
2727
E = 1.0
2828
p0_inner = 3 * (equations.gamma - 1) * E / (4 * pi * r0^2)
@@ -45,7 +45,7 @@ initial_condition = initial_condition_medium_sedov_blast_wave
4545
# In the `StepsizeCallback`, though, the less diffusive `max_abs_speeds` is employed which is consistent with `max_abs_speed`.
4646
# Thus, we exchanged in PR#2458 the default wave speed used in the LLF flux to `max_abs_speed`.
4747
# To ensure that every example still runs we specify explicitly `FluxLaxFriedrichs(max_abs_speed_naive)`.
48-
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
48+
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
4949
# `StepsizeCallback` (CFL-Condition) and less diffusion.
5050
surface_flux = FluxLaxFriedrichs(max_abs_speed_naive)
5151
volume_flux = flux_ranocha

examples/p4est_3d_dgsem/elixir_euler_sedov_sc_subcell.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ equations = CompressibleEulerEquations3D(1.4)
88
"""
99
initial_condition_sedov_blast_wave(x, t, equations::CompressibleEulerEquations3D)
1010
11-
The Sedov blast wave setup based on Flash
12-
- https://flash.rochester.edu/site/flashcode/user_support/flash_ug_devel/node191.html#SECTION010114000000000000000
11+
The Sedov blast wave setup based on example 35.1.4 from Flash
12+
- https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p8.pdf
1313
with smaller strength of the initial discontinuity.
1414
"""
1515
function initial_condition_sedov_blast_wave(x, t,
@@ -21,7 +21,7 @@ function initial_condition_sedov_blast_wave(x, t,
2121
z_norm = x[3] - inicenter[3]
2222
r = sqrt(x_norm^2 + y_norm^2 + z_norm^2)
2323

24-
# Setup based on https://flash.rochester.edu/site/flashcode/user_support/flash_ug_devel/node191.html#SECTION010114000000000000000
24+
# Setup based on example 35.1.4 in https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p8.pdf
2525
r0 = 0.21875 # = 3.5 * smallest dx (for domain length=4 and max-ref=6)
2626
E = 1.0
2727
p0_inner = 3 * (equations.gamma - 1) * E / (4 * pi * r0^2)

examples/structured_1d_dgsem/elixir_euler_sedov.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ equations = CompressibleEulerEquations1D(1.4)
99
"""
1010
initial_condition_sedov_blast_wave(x, t, equations::CompressibleEulerEquations1D)
1111
12-
The Sedov blast wave setup based on Flash
13-
- https://flash.rochester.edu/site/flashcode/user_support/flash_ug_devel/node187.html#SECTION010114000000000000000
12+
The Sedov blast wave setup based on example 35.1.4 from Flash
13+
- https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p8.pdf
1414
"""
1515
function initial_condition_sedov_blast_wave(x, t, equations::CompressibleEulerEquations1D)
1616
# Set up polar coordinates
1717
inicenter = SVector(0.0)
1818
x_norm = x[1] - inicenter[1]
1919
r = abs(x_norm)
2020

21-
# Setup based on https://flash.rochester.edu/site/flashcode/user_support/flash_ug_devel/node187.html#SECTION010114000000000000000
21+
# Setup based on example 35.1.4 in https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p8.pdf
2222
r0 = 0.21875 # = 3.5 * smallest dx (for domain length=4 and max-ref=6)
2323
# r0 = 0.5 # = more reasonable setup
2424
E = 1.0
@@ -40,7 +40,7 @@ initial_condition = initial_condition_sedov_blast_wave
4040
# In the `StepsizeCallback`, though, the less diffusive `max_abs_speeds` is employed which is consistent with `max_abs_speed`.
4141
# Thus, we exchanged in PR#2458 the default wave speed used in the LLF flux to `max_abs_speed`.
4242
# To ensure that every example still runs we specify explicitly `FluxLaxFriedrichs(max_abs_speed_naive)`.
43-
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
43+
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
4444
# `StepsizeCallback` (CFL-Condition) and less diffusion.
4545
surface_flux = FluxLaxFriedrichs(max_abs_speed_naive)
4646
volume_flux = flux_ranocha

examples/structured_2d_dgsem/elixir_euler_sedov.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ equations = CompressibleEulerEquations2D(1.4)
99
"""
1010
initial_condition_sedov_blast_wave(x, t, equations::CompressibleEulerEquations2D)
1111
12-
The Sedov blast wave setup based on Flash
13-
- https://flash.rochester.edu/site/flashcode/user_support/flash_ug_devel/node187.html#SECTION010114000000000000000
12+
The Sedov blast wave setup based on example 35.1.4 from Flash
13+
- https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p8.pdf
1414
"""
1515
function initial_condition_sedov_blast_wave(x, t, equations::CompressibleEulerEquations2D)
1616
# Set up polar coordinates
@@ -19,7 +19,7 @@ function initial_condition_sedov_blast_wave(x, t, equations::CompressibleEulerEq
1919
y_norm = x[2] - inicenter[2]
2020
r = sqrt(x_norm^2 + y_norm^2)
2121

22-
# Setup based on https://flash.rochester.edu/site/flashcode/user_support/flash_ug_devel/node187.html#SECTION010114000000000000000
22+
# Setup based on example 35.1.4 in https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p8.pdf
2323
r0 = 0.21875 # = 3.5 * smallest dx (for domain length=4 and max-ref=6)
2424
E = 1.0
2525
p0_inner = 3 * (equations.gamma - 1) * E / (3 * pi * r0^2)
@@ -43,7 +43,7 @@ initial_condition = initial_condition_sedov_blast_wave
4343
# In the `StepsizeCallback`, though, the less diffusive `max_abs_speeds` is employed which is consistent with `max_abs_speed`.
4444
# Thus, we exchanged in PR#2458 the default wave speed used in the LLF flux to `max_abs_speed`.
4545
# To ensure that every example still runs we specify explicitly `FluxLaxFriedrichs(max_abs_speed_naive)`.
46-
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
46+
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
4747
# `StepsizeCallback` (CFL-Condition) and less diffusion.
4848
surface_flux = FluxLaxFriedrichs(max_abs_speed_naive)
4949
volume_flux = flux_ranocha

examples/structured_2d_dgsem/elixir_euler_sedov_blast_wave_sc_subcell.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ equations = CompressibleEulerEquations2D(gamma)
88
"""
99
initial_condition_sedov_blast_wave(x, t, equations::CompressibleEulerEquations2D)
1010
11-
The Sedov blast wave setup based on Flash
12-
- https://flash.rochester.edu/site/flashcode/user_support/flash_ug_devel/node187.html#SECTION010114000000000000000
11+
The Sedov blast wave setup based on example 35.1.4 from Flash
12+
- https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p8.pdf
1313
"""
1414
function initial_condition_sedov_blast_wave(x, t, equations::CompressibleEulerEquations2D)
1515
# Set up polar coordinates
@@ -18,7 +18,7 @@ function initial_condition_sedov_blast_wave(x, t, equations::CompressibleEulerEq
1818
y_norm = x[2] - inicenter[2]
1919
r = sqrt(x_norm^2 + y_norm^2)
2020

21-
# Setup based on https://flash.rochester.edu/site/flashcode/user_support/flash_ug_devel/node187.html#SECTION010114000000000000000
21+
# Setup based on example 35.1.4 in https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p8.pdf
2222
r0 = 0.21875 # = 3.5 * smallest dx (for domain length=4 and max-ref=6)
2323
# r0 = 0.5 # = more reasonable setup
2424
E = 1.0
@@ -47,7 +47,7 @@ boundary_conditions = (x_neg = boundary_condition,
4747
# In the `StepsizeCallback`, though, the less diffusive `max_abs_speeds` is employed which is consistent with `max_abs_speed`.
4848
# Thus, we exchanged in PR#2458 the default wave speed used in the LLF flux to `max_abs_speed`.
4949
# To ensure that every example still runs we specify explicitly `FluxLaxFriedrichs(max_abs_speed_naive)`.
50-
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
50+
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
5151
# `StepsizeCallback` (CFL-Condition) and less diffusion.
5252
surface_flux = FluxLaxFriedrichs(max_abs_speed_naive)
5353
volume_flux = flux_ranocha

examples/structured_3d_dgsem/elixir_euler_sedov.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ equations = CompressibleEulerEquations3D(1.4)
99
"""
1010
initial_condition_medium_sedov_blast_wave(x, t, equations::CompressibleEulerEquations3D)
1111
12-
The Sedov blast wave setup based on Flash
13-
- https://flash.rochester.edu/site/flashcode/user_support/flash_ug_devel/node187.html#SECTION010114000000000000000
12+
The Sedov blast wave setup based on example 35.1.4 from Flash
13+
- https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p8.pdf
1414
with smaller strength of the initial discontinuity.
1515
"""
1616
function initial_condition_medium_sedov_blast_wave(x, t,
@@ -22,7 +22,7 @@ function initial_condition_medium_sedov_blast_wave(x, t,
2222
z_norm = x[3] - inicenter[3]
2323
r = sqrt(x_norm^2 + y_norm^2 + z_norm^2)
2424

25-
# Setup based on https://flash.rochester.edu/site/flashcode/user_support/flash_ug_devel/node187.html#SECTION010114000000000000000
25+
# Setup based on example 35.1.4 in https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p8.pdf
2626
r0 = 0.21875 # = 3.5 * smallest dx (for domain length=4 and max-ref=6)
2727
E = 1.0
2828
p0_inner = 3 * (equations.gamma - 1) * E / (4 * pi * r0^2)
@@ -45,7 +45,7 @@ initial_condition = initial_condition_medium_sedov_blast_wave
4545
# In the `StepsizeCallback`, though, the less diffusive `max_abs_speeds` is employed which is consistent with `max_abs_speed`.
4646
# Thus, we exchanged in PR#2458 the default wave speed used in the LLF flux to `max_abs_speed`.
4747
# To ensure that every example still runs we specify explicitly `FluxLaxFriedrichs(max_abs_speed_naive)`.
48-
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
48+
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
4949
# `StepsizeCallback` (CFL-Condition) and less diffusion.
5050
surface_flux = FluxLaxFriedrichs(max_abs_speed_naive)
5151
volume_flux = flux_ranocha

examples/t8code_3d_dgsem/elixir_euler_sedov.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ equations = CompressibleEulerEquations3D(1.4)
99
"""
1010
initial_condition_medium_sedov_blast_wave(x, t, equations::CompressibleEulerEquations3D)
1111
12-
The Sedov blast wave setup based on Flash
13-
- https://flash.rochester.edu/site/flashcode/user_support/flash_ug_devel/node187.html#SECTION010114000000000000000
12+
The Sedov blast wave setup based on example 35.1.4 from Flash
13+
- https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p8.pdf
1414
with smaller strength of the initial discontinuity.
1515
"""
1616
function initial_condition_medium_sedov_blast_wave(x, t,
@@ -22,7 +22,7 @@ function initial_condition_medium_sedov_blast_wave(x, t,
2222
z_norm = x[3] - inicenter[3]
2323
r = sqrt(x_norm^2 + y_norm^2 + z_norm^2)
2424

25-
# Setup based on https://flash.rochester.edu/site/flashcode/user_support/flash_ug_devel/node187.html#SECTION010114000000000000000
25+
# Setup based on example 35.1.4 in https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p8.pdf
2626
r0 = 0.21875 # = 3.5 * smallest dx (for domain length=4 and max-ref=6)
2727
E = 1.0
2828
p0_inner = 3 * (equations.gamma - 1) * E / (4 * pi * r0^2)
@@ -45,7 +45,7 @@ initial_condition = initial_condition_medium_sedov_blast_wave
4545
# In the `StepsizeCallback`, though, the less diffusive `max_abs_speeds` is employed which is consistent with `max_abs_speed`.
4646
# Thus, we exchanged in PR#2458 the default wave speed used in the LLF flux to `max_abs_speed`.
4747
# To ensure that every example still runs we specify explicitly `FluxLaxFriedrichs(max_abs_speed_naive)`.
48-
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
48+
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
4949
# `StepsizeCallback` (CFL-Condition) and less diffusion.
5050
surface_flux = FluxLaxFriedrichs(max_abs_speed_naive)
5151
volume_flux = flux_ranocha

examples/tree_1d_dgsem/elixir_euler_positivity.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ equations = CompressibleEulerEquations1D(1.4)
99
"""
1010
initial_condition_sedov_blast_wave(x, t, equations::CompressibleEulerEquations1D)
1111
12-
The Sedov blast wave setup based on Flash
13-
- https://flash.rochester.edu/site/flashcode/user_support/flash_ug_devel/node187.html#SECTION010114000000000000000
12+
The Sedov blast wave setup based on example 35.1.4 from Flash
13+
- https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p8.pdf
1414
"""
1515
function initial_condition_sedov_blast_wave(x, t, equations::CompressibleEulerEquations1D)
1616
# Set up polar coordinates
@@ -19,7 +19,7 @@ function initial_condition_sedov_blast_wave(x, t, equations::CompressibleEulerEq
1919
x_norm = x[1] - inicenter[1]
2020
r = abs(x_norm)
2121

22-
# Setup based on https://flash.rochester.edu/site/flashcode/user_support/flash_ug_devel/node187.html#SECTION010114000000000000000
22+
# Setup based on example 35.1.4 in https://flash.rochester.edu/site/flashcode/user_support/flash4_ug_4p8.pdf
2323
r0 = 0.21875f0 # = 3.5 * smallest dx (for domain length=4 and max-ref=6)
2424
# r0 = 0.5 # = more reasonable setup
2525
E = 1
@@ -41,7 +41,7 @@ initial_condition = initial_condition_sedov_blast_wave
4141
# In the `StepsizeCallback`, though, the less diffusive `max_abs_speeds` is employed which is consistent with `max_abs_speed`.
4242
# Thus, we exchanged in PR#2458 the default wave speed used in the LLF flux to `max_abs_speed`.
4343
# To ensure that every example still runs we specify explicitly `FluxLaxFriedrichs(max_abs_speed_naive)`.
44-
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
44+
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
4545
# `StepsizeCallback` (CFL-Condition) and less diffusion.
4646
surface_flux = FluxLaxFriedrichs(max_abs_speed_naive)
4747
volume_flux = flux_ranocha

0 commit comments

Comments
 (0)