-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a resolution to the nse_test convergence (#2693)
allow for 3 different convergence orders
- Loading branch information
Showing
7 changed files
with
173 additions
and
49 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
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
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
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
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,74 @@ | ||
# ------------------ INPUTS TO MAIN PROGRAM ------------------- | ||
max_step = 15000 | ||
stop_time = 0.032 | ||
|
||
# PROBLEM SIZE & GEOMETRY | ||
geometry.is_periodic = 1 1 1 | ||
geometry.coord_sys = 0 # 0 => cart, 1 => RZ 2=>spherical | ||
geometry.prob_lo = 0 0 0 | ||
geometry.prob_hi = 2.e7 2.e7 2.e7 | ||
amr.n_cell = 32 32 32 | ||
|
||
|
||
# >>>>>>>>>>>>> BC FLAGS <<<<<<<<<<<<<<<< | ||
# 0 = Interior 3 = Symmetry | ||
# 1 = Inflow 4 = SlipWall | ||
# 2 = Outflow 5 = NoSlipWall | ||
# >>>>>>>>>>>>> BC FLAGS <<<<<<<<<<<<<<<< | ||
castro.lo_bc = 0 0 0 | ||
castro.hi_bc = 0 0 0 | ||
|
||
# WHICH PHYSICS | ||
castro.do_hydro = 1 | ||
castro.do_react = 1 | ||
|
||
castro.ppm_type = 1 | ||
castro.ppm_temp_fix = 0 | ||
|
||
castro.use_flattening = 1 | ||
|
||
castro.riemann_solver = 0 | ||
|
||
castro.small_temp = 1.e7 | ||
|
||
# TIME STEP CONTROL | ||
castro.cfl = 0.8 # cfl number for hyperbolic system | ||
castro.init_shrink = 1.0 # scale back initial timestep | ||
castro.change_max = 1.1 # scale back initial timestep | ||
castro.fixed_dt = 4.e-4 | ||
|
||
# DIAGNOSTICS & VERBOSITY | ||
castro.sum_interval = 1 # timesteps between computing mass | ||
castro.v = 1 # verbosity in Castro.cpp | ||
amr.v = 1 # verbosity in Amr.cpp | ||
#amr.grid_log = grdlog # name of grid logging file | ||
|
||
# REFINEMENT / REGRIDDING | ||
amr.max_level = 0 # maximum level number allowed | ||
amr.ref_ratio = 2 2 2 2 # refinement ratio | ||
amr.regrid_int = 2 2 2 2 # how often to regrid | ||
amr.blocking_factor = 8 # block factor in grid generation | ||
amr.max_grid_size = 64 | ||
amr.n_error_buf = 2 2 2 2 # number of buffer cells in error est | ||
|
||
# CHECKPOINT FILES | ||
amr.checkpoint_files_output = 0 | ||
amr.check_file = nse_test_32_chk # root name of checkpoint file | ||
amr.check_int = 300 # number of timesteps between checkpoints | ||
|
||
# PLOTFILES | ||
amr.plot_file = nse_test_32_plt # root name of plotfile | ||
amr.plot_per = 0.24 | ||
amr.derive_plot_vars = ALL | ||
|
||
# problem initialization | ||
|
||
problem.T0 = 5.e9 | ||
problem.dT_fact = 0.2 | ||
problem.rho0 = 1.e9 | ||
problem.L_pert = 2.e7 | ||
problem.nse_tol = 1.e2 | ||
|
||
# microphysics | ||
|
||
network.nse_table_interp_linear = 0 |
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
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