Skip to content

Commit

Permalink
Tighten amr-wind tolerances in reg tests (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
marchdf authored Jan 22, 2025
1 parent 704821b commit 9da888e
Show file tree
Hide file tree
Showing 15 changed files with 62 additions and 15 deletions.
5 changes: 5 additions & 0 deletions test/test_files/abl-bndry-input/abl-amr-bndry-input.inp
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,8 @@ zhi.temperature = 0.0
# VERBOSITY #
#.......................................#
incflo.verbose = 0 # incflo_level

nodal_proj.mg_rtol = 1.0e-12
nodal_proj.mg_atol = 1.0e-12
mac_proj.mg_rtol = 1.0e-12
mac_proj.mg_atol = 1.0e-12
4 changes: 4 additions & 0 deletions test/test_files/abl-bndry-output/abl-amr-bndry-output.inp
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,7 @@ zhi.temperature = 0.0
# VERBOSITY #
#.......................................#
incflo.verbose = 0 # incflo_level
nodal_proj.mg_rtol = 1.0e-12
nodal_proj.mg_atol = 1.0e-12
mac_proj.mg_rtol = 1.0e-12
mac_proj.mg_atol = 1.0e-12
6 changes: 4 additions & 2 deletions test/test_files/amr-nalu-cylinder-motion/cylinder-amr.inp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ amrex.signal_handling = 0

mac_proj.verbose = 0
nodal_proj.verbose = 0
nodal_proj.mg_rtol = 1.0e-6
nodal_proj.mg_atol = 1.0e-10
nodal_proj.mg_rtol = 1.0e-12
nodal_proj.mg_atol = 1.0e-12
mac_proj.mg_rtol = 1.0e-12
mac_proj.mg_atol = 1.0e-12
nodal_proj.num_pre_smooth = 10
nodal_proj.num_post_smooth = 10
6 changes: 4 additions & 2 deletions test/test_files/amr-nalu-cylinder/cylinder-amr.inp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ amrex.signal_handling = 0

mac_proj.verbose = 0
nodal_proj.verbose = 0
nodal_proj.mg_rtol = 1.0e-6
nodal_proj.mg_atol = 1.0e-10
nodal_proj.mg_rtol = 1.0e-12
nodal_proj.mg_atol = 1.0e-12
mac_proj.mg_rtol = 1.0e-12
mac_proj.mg_atol = 1.0e-12
nodal_proj.num_pre_smooth = 10
nodal_proj.num_post_smooth = 10
6 changes: 4 additions & 2 deletions test/test_files/ctv/ctv-amr1.inp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ CTV.activate_pressure = 1
CTV.error_log_file = "ctv1.log"
incflo.verbose=4
nodal_proj.verbose = 0
nodal_proj.mg_rtol = 1.0e-6
nodal_proj.mg_atol = 1.0e-10
nodal_proj.mg_rtol = 1.0e-12
nodal_proj.mg_atol = 1.0e-12
mac_proj.mg_rtol = 1.0e-12
mac_proj.mg_atol = 1.0e-12
nodal_proj.num_pre_smooth = 10
nodal_proj.num_post_smooth = 10
6 changes: 4 additions & 2 deletions test/test_files/ctv/ctv-amr2.inp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ CTV.activate_pressure = 1
CTV.error_log_file = "ctv2.log"
incflo.verbose=4
nodal_proj.verbose = 0
nodal_proj.mg_rtol = 1.0e-6
nodal_proj.mg_atol = 1.0e-10
nodal_proj.mg_rtol = 1.0e-12
nodal_proj.mg_atol = 1.0e-12
mac_proj.mg_rtol = 1.0e-12
mac_proj.mg_atol = 1.0e-12
nodal_proj.num_pre_smooth = 10
nodal_proj.num_post_smooth = 10
6 changes: 4 additions & 2 deletions test/test_files/ctv/ctv-amr3.inp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ CTV.activate_pressure = 1
CTV.error_log_file = "ctv3.log"
incflo.verbose=4
nodal_proj.verbose = 0
nodal_proj.mg_rtol = 1.0e-6
nodal_proj.mg_atol = 1.0e-10
nodal_proj.mg_rtol = 1.0e-12
nodal_proj.mg_atol = 1.0e-12
mac_proj.mg_rtol = 1.0e-12
mac_proj.mg_atol = 1.0e-12
nodal_proj.num_pre_smooth = 10
nodal_proj.num_post_smooth = 10
4 changes: 4 additions & 0 deletions test/test_files/dam-break-block/dam-break-block-amr.inp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ transport.viscosity_fluid1=1.e-5
transport.viscosity_fluid2=1.e-5
turbulence.model = Laminar

nodal_proj.mg_rtol = 1.0e-12
nodal_proj.mg_atol = 1.0e-12
mac_proj.mg_rtol = 1.0e-12
mac_proj.mg_atol = 1.0e-12
nodal_proj.max_coarsening_level = 0
mac_proj.max_coarsening_level = 2

Expand Down
6 changes: 5 additions & 1 deletion test/test_files/flat-surface/flat-surface-amr.inp
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,8 @@ yhi.type = "slip_wall"
zlo.type = "slip_wall"
zhi.type = "slip_wall"

incflo.verbose = 0 # incflo_level
incflo.verbose = 0 # incflo_level
nodal_proj.mg_rtol = 1.0e-12
nodal_proj.mg_atol = 1.0e-12
mac_proj.mg_rtol = 1.0e-12
mac_proj.mg_atol = 1.0e-12
6 changes: 4 additions & 2 deletions test/test_files/hybrid-multi-cylinder/cylinder-amr.inp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ amrex.signal_handling = 0

mac_proj.verbose = 0
nodal_proj.verbose = 0
nodal_proj.mg_rtol = 1.0e-6
nodal_proj.mg_atol = 1.0e-10
nodal_proj.mg_rtol = 1.0e-12
nodal_proj.mg_atol = 1.0e-12
mac_proj.mg_rtol = 1.0e-12
mac_proj.mg_atol = 1.0e-12
nodal_proj.num_pre_smooth = 10
nodal_proj.num_post_smooth = 10
4 changes: 4 additions & 0 deletions test/test_files/linear-waves/linear-waves-amr.inp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ incflo.initial_iterations = 0
incflo.do_initial_proj = false

incflo.diffusion_type = 0
nodal_proj.mg_rtol = 1.0e-12
nodal_proj.mg_atol = 1.0e-12
mac_proj.mg_rtol = 1.0e-12
mac_proj.mg_atol = 1.0e-12
nodal_proj.max_coarsening_level = 2
mac_proj.max_coarsening_level = 6

Expand Down
4 changes: 4 additions & 0 deletions test/test_files/sloshing-tank/sloshing-tank-amr.inp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ transport.viscosity_fluid1=1e-5
transport.viscosity_fluid2=1e-5
turbulence.model = Laminar

nodal_proj.mg_rtol = 1.0e-12
nodal_proj.mg_atol = 1.0e-12
mac_proj.mg_rtol = 1.0e-12
mac_proj.mg_atol = 1.0e-12
mac_proj.max_coarsening_level = 2
nodal_proj.max_coarsening_level = 2

Expand Down
6 changes: 4 additions & 2 deletions test/test_files/sphere/sphere-amr.inp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ amrex.signal_handling = 0

mac_proj.verbose = 0
nodal_proj.verbose = 0
nodal_proj.mg_rtol = 1.0e-6
nodal_proj.mg_atol = 1.0e-10
nodal_proj.mg_rtol = 1.0e-12
nodal_proj.mg_atol = 1.0e-12
mac_proj.mg_rtol = 1.0e-12
mac_proj.mg_atol = 1.0e-12
nodal_proj.num_pre_smooth = 10
nodal_proj.num_post_smooth = 10
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ ICNS.source_terms = GravityForcing
ICNS.use_perturb_pressure = true
ICNS.reconstruct_true_pressure = true

nodal_proj.mg_rtol = 1.0e-12
nodal_proj.mg_atol = 1.0e-12
mac_proj.mg_rtol = 1.0e-12
mac_proj.mg_atol = 1.0e-12
mac_proj.num_pre_smooth = 8
mac_proj.num_post_smooth = 8
mac_proj.bottom_solver = hypre
Expand Down
4 changes: 4 additions & 0 deletions test/test_files/zalesak/zalesak-amr.inp
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,7 @@ geometry.is_periodic = 1 1 1 # Periodicity x y z (0/1)
#.......................................#
incflo.verbose = 0 # incflo_level
MultiPhase.verbose = 1
nodal_proj.mg_rtol = 1.0e-12
nodal_proj.mg_atol = 1.0e-12
mac_proj.mg_rtol = 1.0e-12
mac_proj.mg_atol = 1.0e-12

0 comments on commit 9da888e

Please sign in to comment.