Skip to content

Commit

Permalink
add 2d and 3d inputs files for inout testing
Browse files Browse the repository at this point in the history
  • Loading branch information
asalmgren committed Aug 29, 2024
1 parent 697c629 commit dbba564
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test_no_eb_2d/benchmark.inout
Original file line number Diff line number Diff line change
Expand Up @@ -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 #
Expand Down Expand Up @@ -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 #
#.......................................#
Expand Down
77 changes: 77 additions & 0 deletions test_no_eb_3d/benchmark.inout
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit dbba564

Please sign in to comment.