Skip to content

Commit 30713fc

Browse files
LasNikasLasNikas
andauthored
remove test steady state interval (#920)
Co-authored-by: LasNikas <niklas.nehe@web.de>
1 parent be4ef3d commit 30713fc

File tree

2 files changed

+0
-35
lines changed

2 files changed

+0
-35
lines changed

test/examples/examples_fluid.jl

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -368,21 +368,6 @@
368368
@test sol.retcode == ReturnCode.Terminated
369369
end
370370

371-
@trixi_testset "fluid/pipe_flow_2d.jl - steady state reached (`interval`)" begin
372-
steady_state_reached = SteadyStateReachedCallback(; interval=1, interval_size=5,
373-
reltol=1e-3)
374-
@trixi_test_nowarn trixi_include(@__MODULE__,
375-
joinpath(examples_dir(), "fluid",
376-
"pipe_flow_2d.jl"),
377-
open_boundary_model=BoundaryModelCharacteristicsLastiwka(),
378-
extra_callback=steady_state_reached, dtmax=2e-3,
379-
tspan=(0.0, 1.5), viscosity_boundary=nothing)
380-
381-
# Make sure that the simulation is terminated after a reasonable amount of time
382-
@test 0.1 < sol.t[end] < 1.0
383-
@test sol.retcode == ReturnCode.Terminated
384-
end
385-
386371
@trixi_testset "fluid/pipe_flow_3d.jl" begin
387372
@trixi_test_nowarn trixi_include(@__MODULE__,
388373
joinpath(examples_dir(), "fluid",

test/examples/gpu.jl

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -389,26 +389,6 @@ end
389389
@test 0.1 < sol.t[end] < 1.0
390390
@test sol.retcode == ReturnCode.Terminated
391391
end
392-
393-
@trixi_testset "fluid/pipe_flow_2d.jl - steady state reached (`interval`)" begin
394-
steady_state_reached = SteadyStateReachedCallback(; interval=1,
395-
interval_size=5,
396-
reltol=1.0f-3)
397-
@trixi_test_nowarn trixi_include_changeprecision(Float32, @__MODULE__,
398-
joinpath(examples_dir(),
399-
"fluid",
400-
"pipe_flow_2d.jl"),
401-
extra_callback=steady_state_reached,
402-
open_boundary_model=BoundaryModelCharacteristicsLastiwka(),
403-
dtmax=2.0f-3,
404-
tspan=(0.0f0, 1.5f0),
405-
parallelization_backend=Main.parallelization_backend,
406-
viscosity_boundary=nothing)
407-
408-
# Make sure that the simulation is terminated after a reasonable amount of time
409-
@test 0.1 < sol.t[end] < 1.0
410-
@test sol.retcode == ReturnCode.Terminated
411-
end
412392
end
413393

414394
@testset verbose=true "Structure" begin

0 commit comments

Comments
 (0)