forked from AMReX-Fluids/incflo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Hua Tan
committed
Sep 19, 2024
1 parent
b403956
commit 1789530
Showing
1 changed file
with
83 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# SIMULATION STOP # | ||
#.......................................# | ||
stop_time = 8.1 # Max (simulated) time to evolve | ||
max_step = 1 # Max number of time steps | ||
steady_state = 0 # Steady-state solver? | ||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# TIME STEP COMPUTATION # | ||
#.......................................# | ||
#incflo.fixed_dt = .1 # Use this constant dt if > 0 | ||
incflo.cfl = 0.1 # CFL factor | ||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# INPUT AND OUTPUT # | ||
#.......................................# | ||
amr.plot_int = 40 # Steps between plot files | ||
amr.check_int = 1000 # Steps between checkpoint files | ||
amr.restart = "" # Checkpoint to restart from | ||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# PHYSICS # | ||
#.......................................# | ||
incflo.gravity = 0. 0. # Gravitational force (3D) | ||
incflo.ro_0 = 1.0 # Reference density | ||
incflo.ntrac = 1 | ||
incflo.fluid_model = "newtonian" # Fluid model (rheology) | ||
incflo.mu = 1.e-3 # Dynamic viscosity coefficient | ||
incflo.vof_advect_tracer= 1 | ||
incflo.mu_s = 1.0 | ||
incflo.ro_s = 1000.0 | ||
incflo.sigma = 10. | ||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# ADAPTIVE MESH REFINEMENT # | ||
#.......................................# | ||
amr.n_cell = 16 16 # Grid cells at coarsest AMRlevel | ||
amr.max_level = 0 # Max AMR level in hierarchy | ||
amr.max_grid_size = 64 64 | ||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# GEOMETRY # | ||
#.......................................# | ||
geometry.prob_lo = 0. 0. # Lo corner coordinates | ||
geometry.prob_hi = 1. 1. # Hi corner coordinates | ||
geometry.is_periodic = 1 1 # Periodicity x y z (0/1) | ||
|
||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# INITIAL CONDITIONS # | ||
#.......................................# | ||
incflo.probtype = 1109 # | ||
incflo.ic_u = 1. | ||
incflo.ic_v = 1. | ||
incflo.ic_w = 0. | ||
# Boundary conditions | ||
#ylo.type = "po" | ||
#ylo.pressure = 0. | ||
#yhi.type = "po" | ||
#yhi.pressure = 0. | ||
#xlo.type = "po" | ||
#xlo.pressure = 0. | ||
#xhi.type = "po" | ||
#xhi.pressure = 0.0 | ||
#zlo.type = "po" | ||
#zlo.pressure = 0. | ||
#zhi.type = "po" | ||
#zhi.pressure = 0.0 | ||
|
||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# NUMERICAL PARAMETERS # | ||
#.......................................# | ||
incflo.steady_state_tol = 1.e-5 # Tolerance for steady-state | ||
amrex.fpe_trap_invalid = 1 # Trap NaNs | ||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# VERBOSITY # | ||
#.......................................# | ||
incflo.verbose = 2 # incflo_level | ||
incflo.vof_init_with_eb = 1 | ||
amrex.fpe_trap_overflow=1 | ||
amrex.fpe_trap_zero=1 |