Skip to content

Commit

Permalink
Reg test speedup (#1464)
Browse files Browse the repository at this point in the history
* first set of tests to speed up

* change dependent test

* update new test from waves as terrain
  • Loading branch information
mbkuhn authored Jan 28, 2025
1 parent 7353631 commit 0eb2687
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ OceanWaves.label = Wave1
OceanWaves.Wave1.type = LinearWaves
OceanWaves.Wave1.wave_height=2.0
OceanWaves.Wave1.wave_length=40.0
OceanWaves.Wave1.water_depth=400
OceanWaves.Wave1.water_depth=133
OceanWaves.Wave1.relax_zone_gen_length=40.0
OceanWaves.Wave1.relax_zone_out_length=40.0

Expand All @@ -74,15 +74,15 @@ ABL.bndry_output_format = native
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨#
# ADAPTIVE MESH REFINEMENT #
#.......................................#
amr.n_cell = 48 48 96 # Grid cells at coarsest AMRlevel
amr.max_level = 2 # Max AMR level in hierarchy
amr.n_cell = 48 48 64 # Grid cells at coarsest AMRlevel
amr.max_level = 1 # Max AMR level in hierarchy
tagging.labels = static
tagging.static.type = CartBoxRefinement
tagging.static.static_refinement_def = static_box.txt
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨#
# GEOMETRY #
#.......................................#
geometry.prob_lo = 0. 0. -400. # Lo corner coordinates
geometry.prob_lo = 0. 0. -133. # Lo corner coordinates
geometry.prob_hi = 400. 400. 400. # Hi corner coordinates
geometry.is_periodic = 1 1 0 # Periodicity x y z (0/1)
# Boundary conditions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ OceanWaves.label = Wave1
OceanWaves.Wave1.type = LinearWaves
OceanWaves.Wave1.wave_height=2.0
OceanWaves.Wave1.wave_length=40.0
OceanWaves.Wave1.water_depth=400
OceanWaves.Wave1.water_depth=133
OceanWaves.Wave1.relax_zone_gen_length=40.0
OceanWaves.Wave1.relax_zone_out_length=40.0

Expand All @@ -75,15 +75,15 @@ ABL.bndry_output_format = native
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨#
# ADAPTIVE MESH REFINEMENT #
#.......................................#
amr.n_cell = 48 48 96 # Grid cells at coarsest AMRlevel
amr.max_level = 2 # Max AMR level in hierarchy
amr.n_cell = 48 48 64 # Grid cells at coarsest AMRlevel
amr.max_level = 1 # Max AMR level in hierarchy
tagging.labels = static
tagging.static.type = CartBoxRefinement
tagging.static.static_refinement_def = static_box.txt
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨#
# GEOMETRY #
#.......................................#
geometry.prob_lo = 0. 0. -400. # Lo corner coordinates
geometry.prob_lo = 0. 0. -133. # Lo corner coordinates
geometry.prob_hi = 400. 400. 400. # Hi corner coordinates
geometry.is_periodic = 0 1 0 # Periodicity x y z (0/1)
# Boundary conditions
Expand Down
4 changes: 2 additions & 2 deletions test/test_files/abl_waves_terrain/abl_waves_terrain.inp
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ OceanWaves.label = Wave1
OceanWaves.Wave1.type = LinearWaves
OceanWaves.Wave1.wave_height=2.0
OceanWaves.Wave1.wave_length=40.0
OceanWaves.Wave1.water_depth=400
OceanWaves.Wave1.water_depth=133

#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨#
# ADAPTIVE MESH REFINEMENT #
#.......................................#
amr.n_cell = 48 48 48 # Grid cells at coarsest AMRlevel
amr.max_level = 2 # Max AMR level in hierarchy
amr.max_level = 1 # Max AMR level in hierarchy
tagging.labels = static
tagging.static.type = CartBoxRefinement
tagging.static.static_refinement_def = static_box.txt
Expand Down
1 change: 0 additions & 1 deletion test/test_files/inertial_drop/inertial_drop.inp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ io.outputs = density velocity vof
# PHYSICS #
#.......................................#
incflo.use_godunov = 1
incflo.godunov_type = "weno"
transport.model = TwoPhaseTransport
transport.viscosity_fluid1=0.0
transport.viscosity_fluid2=0.0
Expand Down
2 changes: 1 addition & 1 deletion test/test_files/inertial_drop/static_box.refine
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
1
1
0.05 0.05 -0.5 0.4 0.4 0.5
0.0 -0.5 -0.5 0.4 0.5 0.5
10 changes: 5 additions & 5 deletions test/test_files/ow_linear_init_waves/ow_linear_init_waves.inp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ OceanWaves.Wave1.type = LinearWaves
OceanWaves.Wave1.initialize_wave_field = true
OceanWaves.Wave1.wave_height=0.03
OceanWaves.Wave1.wave_length=2.0
OceanWaves.Wave1.water_depth=1
OceanWaves.Wave1.water_depth=1.0
OceanWaves.Wave1.relax_zone_gen_length=1.5
OceanWaves.Wave1.numerical_beach_length=1.5
OceanWaves.Wave1.numerical_beach_length_factor=2.0
Expand All @@ -43,17 +43,17 @@ ICNS.reconstruct_true_pressure = true
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨#
# ADAPTIVE MESH REFINEMENT #
#.......................................#
amr.n_cell = 192 16 32 # Grid cells at coarsest AMRlevel
amr.n_cell = 64 8 16 # Grid cells at coarsest AMRlevel
amr.max_level = 1
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨#
# GEOMETRY #
#.......................................#
geometry.prob_lo = 0.0 -0.3 -1 # Lo corner coordinates
geometry.prob_hi = 7.2 0.3 0.2 # Hi corner coordinates
geometry.prob_lo = 0.0 -0.3125 -1 # Lo corner coordinates
geometry.prob_hi = 5.0 0.3125 0.25 # Hi corner coordinates
geometry.is_periodic = 0 1 0 # Periodicity x y z (0/1)

xlo.type = "wave_generation"
xhi.type = "slip_wall"
xhi.type = "pressure_outflow"

zlo.type = "slip_wall"
zhi.type = "slip_wall"
Expand Down

0 comments on commit 0eb2687

Please sign in to comment.