From dbba564501a9dfbdb083fe1bfb949c40d3dea2c5 Mon Sep 17 00:00:00 2001 From: Ann Almgren Date: Wed, 28 Aug 2024 20:36:29 -0700 Subject: [PATCH] add 2d and 3d inputs files for inout testing --- test_no_eb_2d/benchmark.inout | 6 ++- test_no_eb_3d/benchmark.inout | 77 +++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+), 2 deletions(-) create mode 100644 test_no_eb_3d/benchmark.inout diff --git a/test_no_eb_2d/benchmark.inout b/test_no_eb_2d/benchmark.inout index 7b82584e..e25e914d 100644 --- a/test_no_eb_2d/benchmark.inout +++ b/test_no_eb_2d/benchmark.inout @@ -2,11 +2,10 @@ # SIMULATION STOP # #.......................................# max_step = 10 # Max number of time steps -max_step = 1 # Max number of time steps steady_state = 0 # Steady-state solver? incflo.do_initial_proj = 1 -incflo.initial_iterations = 0 +incflo.initial_iterations = 2 #¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# # TIME STEP COMPUTATION # @@ -61,6 +60,9 @@ xhi.type = "direction_dependent" ylo.type = "sw" # Slip wall yhi.type = "sw" # Slip wall +zlo.type = "sw" # Slip wall +zhi.type = "sw" # Slip wall + #¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# # VERBOSITY # #.......................................# diff --git a/test_no_eb_3d/benchmark.inout b/test_no_eb_3d/benchmark.inout new file mode 100644 index 00000000..e25e914d --- /dev/null +++ b/test_no_eb_3d/benchmark.inout @@ -0,0 +1,77 @@ +#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# +# SIMULATION STOP # +#.......................................# +max_step = 10 # Max number of time steps +steady_state = 0 # Steady-state solver? + +incflo.do_initial_proj = 1 +incflo.initial_iterations = 2 + +#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# +# TIME STEP COMPUTATION # +#.......................................# +incflo.fixed_dt = 0.01 # Use this constant dt if > 0 + +#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# +# INPUT AND OUTPUT # +#.......................................# +amr.plot_int = 50 # Steps between plot files +amr.check_int = 1000 # Steps between checkpoint files +amr.restart = "" # Checkpoint to restart from + +#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# +# PHYSICS # +#.......................................# +incflo.gravity = 0. 0. 0. # Gravitational force (3D) +incflo.ro_0 = 1. # Reference density + +incflo.fluid_model = "newtonian" # Fluid model (rheology) +incflo.mu = 0. # Dynamic viscosity coefficient + +incflo.advect_tracer = 0 + +incflo.advection_type = "Godunov" + +#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# +# ADAPTIVE MESH REFINEMENT # +#.......................................# +amr.n_cell = 64 32 32 # Grid cells at coarsest AMRlevel +amr.max_level = 0 # Max AMR level in hierarchy + +amr.max_grid_size_x = 16 +amr.max_grid_size_y = 16 + +#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# +# GEOMETRY # +#.......................................# +geometry.prob_lo = 0. 0. 0. # Lo corner coordinates +geometry.prob_hi = 2. 1. 1. # Hi corner coordinates + +geometry.is_periodic = 0 0 0 # Periodicity x y z (0/1) + +incflo.delp = 0. 0. 0. # Prescribed (cyclic) pressure gradient + +incflo.probtype = 43 + +# Boundary conditions +xlo.type = "direction_dependent" +xhi.type = "direction_dependent" + +ylo.type = "sw" # Slip wall +yhi.type = "sw" # Slip wall + +zlo.type = "sw" # Slip wall +zhi.type = "sw" # Slip wall + +#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# +# VERBOSITY # +#.......................................# +amr.verbose = 3 # incflo_level +incflo.verbose = 3 # incflo_level +mac_proj.verbose = 1 # MAC Projector +nodal_proj.verbose = 1 # Nodal Projector + +scalar_diffusion.verbose = 0 # DiffusionEquation +tensor_diffusion.verbose = 0 # DiffusionEquation + +amr.plt_ccse_regtest = 1