Skip to content

Commit 68cf1b3

Browse files
committed
...
1 parent 61734ef commit 68cf1b3

File tree

4 files changed

+18
-227
lines changed

4 files changed

+18
-227
lines changed

examples/1D_reactive_shocktube/case.py

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
u_r = -487.34
3838

3939
L = 0.12
40-
Nx = 100 * args.scale
40+
Nx = 400 * args.scale
4141
dx = L / Nx
4242
dt = dx / abs(u_r) * 0.02
4343
Tend = 230e-6
@@ -50,20 +50,16 @@
5050
# Logistics
5151
"run_time_info": "T",
5252
# Computational Domain Parameters
53-
"x_domain%beg": -L / 2,
54-
"x_domain%end": L / 2,
55-
"stretch_x": "T",
56-
"a_x": 20,
57-
"x_a": -L / 8,
58-
"x_b": L / 8,
53+
"x_domain%beg": 0,
54+
"x_domain%end": L,
5955
"m": Nx,
6056
"n": 0,
6157
"p": 0,
6258
"dt": float(dt),
6359
"t_step_start": 0,
64-
"t_step_stop": 1,
65-
"t_step_save": 1,
66-
"t_step_print": 1,
60+
"t_step_stop": NT,
61+
"t_step_save": NS,
62+
"t_step_print": NS,
6763
"parallel_io": "F" if args.mfc.get("mpi", True) else "F",
6864
# Simulation Algorithm Parameters
6965
"model_eqns": 2,
@@ -100,7 +96,7 @@
10096
"patch_icpp(1)%alpha(1)": 1,
10197
"patch_icpp(1)%alpha_rho(1)": sol_L.density,
10298
"patch_icpp(2)%geometry": 1,
103-
"patch_icpp(2)%x_centroid": -L / 4,
99+
"patch_icpp(2)%x_centroid": 3 * L / 4,
104100
"patch_icpp(2)%length_x": L / 2,
105101
"patch_icpp(2)%vel(1)": u_r,
106102
"patch_icpp(2)%pres": sol_R.P,

tests/54BEE3ED/golden-metadata.txt

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/D54F258B/golden-metadata.txt

Lines changed: 0 additions & 149 deletions
This file was deleted.

0 commit comments

Comments
 (0)