Skip to content

Commit 75ee5ac

Browse files
authored
nova: Adding missed bc (#3040)
1 parent 9e378e7 commit 75ee5ac

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

Exec/science/nova/inputs_nova_t7

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,29 @@
11
# ------------------ INPUTS TO MAIN PROGRAM -------------------
22
#max_step = 2732918
33
stop_time = 1700.0
4+
max_step = 300
45

56
# PROBLEM SIZE & GEOMETRY
67

78
geometry.coord_sys = 0 # 0 => cart, 1 => RZ 2=>spherical
89

10+
# >>>>>>>>>>>>> BC FLAGS <<<<<<<<<<<<<<<<
11+
# 0 = Interior 3 = Symmetry
12+
# 1 = Inflow 4 = SlipWall
13+
# 2 = Outflow 5 = NoSlipWall
14+
# >>>>>>>>>>>>> BC FLAGS <<<<<<<<<<<<<<<<
15+
916
#if AMREX_SPACEDIM == 3
1017

1118
geometry.is_periodic = 1 1 0
1219
geometry.prob_lo = 0 0 0
1320
geometry.prob_hi = 10.240e7 10.240e7 15.360e7
14-
amr.n_cell = 640 640 960
21+
amr.n_cell = 640 640 960
1522

16-
castro.ambient_fill_dir = 2
1723
castro.fill_ambient_bc = 1
18-
24+
castro.ambient_fill_dir = 2
25+
castro.lo_bc = 0 0 3
26+
castro.hi_bc = 0 0 2
1927

2028
# elif AMREX_SPACEDIM == 2
2129

@@ -24,8 +32,10 @@ geometry.coord_sys = 0 # 0 => cart, 1 => RZ 2=>spherical
2432
geometry.prob_hi = 30.720e7 15.360e7
2533
amr.n_cell = 1920 960
2634

27-
castro.ambient_fill_dir = 1
2835
castro.fill_ambient_bc = 1
36+
castro.ambient_fill_dir = 1
37+
castro.lo_bc = 0 3
38+
castro.hi_bc = 0 2
2939

3040
#endif
3141

@@ -57,9 +67,6 @@ castro.retry_small_density_cutoff = 5.0e-5
5767
castro.use_retry = 1
5868
castro.max_subcycles = 16
5969

60-
# castro.state_interp_order = 0
61-
# castro.abundance_failure_rho_cutoff = 1.0e-3
62-
6370
gravity.gravity_type = ConstantGrav
6471
gravity.const_grav = -7.06e8
6572

@@ -86,25 +93,23 @@ amr.v = 1 # verbosity in Amr.cpp
8693
# REFINEMENT / REGRIDDING
8794
amr.max_level = 1 # maximum level number allowed
8895
amr.ref_ratio = 4 2 # refinement ratio
89-
96+
amr.regrid_int = 2 2 # how often to regrid
9097

9198
#if AMREX_SPACEDIM == 3
9299
amr.max_grid_size = 64
93100
amr.blocking_factor = 32
94101
amr.grid_eff = 0.7
95-
amr.regrid_int = 2 2 # how often to regrid
96102
amr.n_error_buf = 4 2 # number of buffer cells in error est
97103
#elif AMREX_SPACEDIM == 2
98104
amr.max_grid_size = 256
99105
amr.blocking_factor = 64
100-
amr.regrid_int = 2 2 # how often to regrid
101106
amr.n_error_buf = 4 2 # number of buffer cells in error est
102107
#endif
103108

104109
# CHECKPOINT FILES
105110
amr.check_file = chk # root name of checkpoint file
106111
amr.check_per = 0.5 # size of timestep between checkpoints
107-
amr.check_int = 10 # number of timesteps between checkpoints
112+
amr.check_int = 100 # number of timesteps between checkpoints
108113

109114
# PLOTFILES
110115
amr.plot_file = plt # root name of plotfile

0 commit comments

Comments
 (0)