Skip to content

Commit

Permalink
add PoiseuilleFlow_y to CI tests (#1849)
Browse files Browse the repository at this point in the history
* add PoiseuilleFlow_y to CI tests

* update list of regression tests in Docs
  • Loading branch information
asalmgren authored Oct 6, 2024
1 parent 0bcaf48 commit 7d7a0e7
Show file tree
Hide file tree
Showing 9 changed files with 290 additions and 73 deletions.
241 changes: 168 additions & 73 deletions Docs/sphinx_doc/RegressionTests.rst

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions Tests/CTestList.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ add_test_r(IVA_NumDiff "RegTests/IsentropicVortex/*/erf_is
add_test_r(MovingTerrain_nosub "DevTests/MovingTerrain/*/erf_moving_terrain.exe" "plt00020")
add_test_r(MovingTerrain_sub "DevTests/MovingTerrain/*/erf_moving_terrain.exe" "plt00010")
add_test_r(PoiseuilleFlow_x "RegTests/Couette_Poiseuille/*/erf_couette_poiseuille.exe" "plt00010")
add_test_r(PoiseuilleFlow_y "RegTests/Couette_Poiseuille/*/erf_couette_poiseuille.exe" "plt00010")
add_test_r(RayleighDamping "RegTests/ScalarAdvDiff/*/erf_scalar_advdiff.exe" "plt00100")
add_test_r(ScalarAdvectionUniformU "RegTests/ScalarAdvDiff/*/erf_scalar_advdiff.exe" "plt00020")
add_test_r(ScalarAdvectionShearedU "RegTests/ScalarAdvDiff/*/erf_scalar_advdiff.exe" "plt00080")
Expand Down Expand Up @@ -157,6 +158,7 @@ add_test_r(IVA_NumDiff "RegTests/IsentropicVortex/erf_isen
add_test_r(MovingTerrain_nosub "DevTests/MovingTerrain/erf_moving_terrain" "plt00020")
add_test_r(MovingTerrain_sub "DevTests/MovingTerrain/erf_moving_terrain" "plt00010")
add_test_r(PoiseuilleFlow_x "RegTests/Couette_Poiseuille/erf_couette_poiseuille" "plt00010")
add_test_r(PoiseuilleFlow_y "RegTests/Couette_Poiseuille/erf_couette_poiseuille" "plt00010")
add_test_r(RayleighDamping "RegTests/ScalarAdvDiff/erf_scalar_advdiff" "plt00100")
add_test_r(ScalarAdvectionUniformU "RegTests/ScalarAdvDiff/erf_scalar_advdiff" "plt00020")
add_test_r(ScalarAdvectionShearedU "RegTests/ScalarAdvDiff/erf_scalar_advdiff" "plt00080")
Expand Down
32 changes: 32 additions & 0 deletions Tests/ERFGoldFiles/PoiseuilleFlow_y/Header
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
HyperCLaw-V1.1
4
density
x_velocity
y_velocity
z_velocity
3
0.0018494041402969683
0
0 0 -1
1 4 1

((0,0,0) (3,31,15) (0,0,0))
10
0.25 0.125 0.125
0
0
0 4 0.0018494041402969683
10
0 1
0 1
-1 1
0 1
1 2
-1 1
0 1
2 3
-1 1
0 1
3 4
-1 1
Level_0/Cell
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
28 changes: 28 additions & 0 deletions Tests/ERFGoldFiles/PoiseuilleFlow_y/Level_0/Cell_H
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
1
1
4
0
(4 0
((0,0,0) (3,7,15) (0,0,0))
((0,8,0) (3,15,15) (0,0,0))
((0,16,0) (3,23,15) (0,0,0))
((0,24,0) (3,31,15) (0,0,0))
)
4
FabOnDisk: Cell_D_00000 0
FabOnDisk: Cell_D_00001 0
FabOnDisk: Cell_D_00002 0
FabOnDisk: Cell_D_00003 0

4,4
1.00000000000000000e+00,0.00000000000000000e+00,1.21093750000000000e-01,0.00000000000000000e+00,
1.00000000000000000e+00,0.00000000000000000e+00,1.21093750000000000e-01,0.00000000000000000e+00,
1.00000000000000000e+00,0.00000000000000000e+00,1.21093750000000000e-01,0.00000000000000000e+00,
1.00000000000000000e+00,0.00000000000000000e+00,1.21093750000000000e-01,0.00000000000000000e+00,

4,4
1.00000000000000000e+00,0.00000000000000000e+00,9.96093750000000000e-01,0.00000000000000000e+00,
1.00000000000000000e+00,0.00000000000000000e+00,9.96093750000000000e-01,0.00000000000000000e+00,
1.00000000000000000e+00,0.00000000000000000e+00,9.96093750000000000e-01,0.00000000000000000e+00,
1.00000000000000000e+00,0.00000000000000000e+00,9.96093750000000000e-01,0.00000000000000000e+00,

60 changes: 60 additions & 0 deletions Tests/test_files/PoiseuilleFlow_y/PoiseuilleFlow_y.i
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# ------------------ INPUTS TO MAIN PROGRAM -------------------
max_step = 10

amrex.fpe_trap_invalid = 1

fabarray.mfiter_tile_size = 1024 1024 1024

# PROBLEM SIZE & GEOMETRY
geometry.prob_lo = 0 0. -1.
geometry.prob_hi = 1. 4. 1.
amr.n_cell = 4 32 16

geometry.is_periodic = 1 1 0

zlo.type = "NoSlipWall"
zhi.type = "NoSlipWall"

# TIME STEP CONTROL
erf.substepping_type = None
erf.cfl = 0.5 # cfl number for hyperbolic system

# DIAGNOSTICS & VERBOSITY
erf.sum_interval = 1 # timesteps between computing mass
erf.v = 1 # verbosity in ERF.cpp
amr.v = 1 # verbosity in Amr.cpp

# REFINEMENT / REGRIDDING
amr.max_level = 0 # maximum level number allowed

# CHECKPOINT FILES
erf.check_file = chk # root name of checkpoint file
erf.check_int = 1000 # number of timesteps between checkpoints

# PLOTFILES
erf.plot_file_1 = plt # prefix of plotfile name
erf.plot_int_1 = 100 # number of timesteps between plotfiles
erf.plot_vars_1 = density x_velocity y_velocity z_velocity

# SOLVER CHOICE
erf.use_gravity = false

erf.alpha_T = 0.0
erf.alpha_C = 0.0

erf.les_type = "None"
erf.rho0_trans = 1.0
erf.molec_diff_type = "Constant"
erf.dynamicViscosity = 0.1

erf.use_coriolis = false
erf.abl_driver_type = "PressureGradient"
erf.abl_pressure_grad = 0. -0.2 0.

erf.init_type = "uniform"

# PROBLEM PARAMETERS
prob.rho_0 = 1.0
prob.T_0 = 300.0

prob.prob_type = 11

0 comments on commit 7d7a0e7

Please sign in to comment.