Skip to content

Commit ab322cf

Browse files
authored
update the O/Ne detonation inputs (#3170)
this uses a more robust solve for NSE
1 parent c33bdf5 commit ab322cf

File tree

2 files changed

+20
-7
lines changed

2 files changed

+20
-7
lines changed

Exec/science/Detonation/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ Some important inputs files
4646
* `inputs-collision` : this is the inputs file used for the 1D collision
4747
simulations from Katz & Zingale, 2019, ApJ, 874, 169
4848

49+
* `inputs-det-x.ONe` : this creates an O-Ne detonation. It should be
50+
build with `USE_NSE_NET=TRUE NETWORK_DIR=he-burn/ase-iron`
51+
4952
Inputs files used in the regression test suite:
5053

5154
* `inputs-det-x.test`

Exec/science/Detonation/inputs-det-x.ONe

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# ------------------ INPUTS TO MAIN PROGRAM -------------------
2-
max_step = 20000
3-
stop_time = 0.035
2+
max_step = 4000000000
3+
stop_time = 0.003
44

55
# PROBLEM SIZE & GEOMETRY
66
geometry.is_periodic = 0 0 0
77
geometry.coord_sys = 0 # 0 => cart, 1 => RZ 2=>spherical
88
geometry.prob_lo = 0 0 0
9-
geometry.prob_hi = 4.e7 2500 2500
9+
geometry.prob_hi = 2.0e6 2500 2500
1010
amr.n_cell = 256 16 16
1111

1212

@@ -45,7 +45,7 @@ castro.cfl = 0.2 # cfl number for hyperbolic system
4545
castro.init_shrink = 0.01 # scale back initial timestep
4646
castro.change_max = 1.025 # scale back initial timestep
4747

48-
castro.dtnuc_e = 0.1
48+
#castro.dtnuc_e = 0.1
4949

5050
# DIAGNOSTICS & VERBOSITY
5151
castro.sum_interval = 1 # timesteps between computing mass
@@ -72,10 +72,10 @@ amr.derive_plot_vars = ALL
7272

7373
# problem initialization
7474

75-
problem.T_l = 1.1e9
75+
problem.T_l = 2.5e9
7676
problem.T_r = 1.75e8
7777

78-
problem.dens = 1.1e6
78+
problem.dens = 9.0e7
7979
problem.cfrac = 0.0
8080
problem.nfrac = 0.0
8181
problem.ofrac = 0.5
@@ -109,8 +109,18 @@ integrator.rtol_spec = 1.e-5
109109
integrator.atol_spec = 1.e-5
110110
integrator.rtol_enuc = 1.e-5
111111
integrator.atol_enuc = 1.e-8
112-
integrator.jacobian = 2
112+
integrator.jacobian = 1
113113

114114
integrator.X_reject_buffer = 4.0
115115
network.use_tables = 1
116116

117+
integrator.use_burn_retry = 1
118+
integrator.retry_swap_jacobian = 1
119+
120+
# NSE Things
121+
122+
nse.nse_molar_independent = 0
123+
nse.nse_dx_independent = 0
124+
nse.ase_tol = 0.1
125+
nse.nse_skip_molar = 0
126+
nse.solve_nse_e_mode = 1

0 commit comments

Comments
 (0)