Skip to content

Commit 8387c61

Browse files
author
Anand Radhakrishnan
committed
MP_WENO fix
1 parent 4c1f9c3 commit 8387c61

File tree

2 files changed

+224
-447
lines changed

2 files changed

+224
-447
lines changed

examples/2D_shockdroplet/case.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
dx = 0.25/Nx #8.3e-6
2121

2222
time_end = 0.0002#50us
23-
cfl = 0.45
23+
cfl = 0.1
2424

2525
dt = cfl * dx/c_l #5.3E-9
2626
Nt = int(time_end/dt)#10000
@@ -35,14 +35,14 @@
3535
'x_domain%beg' : 0, \
3636
'x_domain%end' : 0.25, \
3737
'y_domain%beg' : 0, \
38-
'y_domain%end' : 0.37,
38+
'y_domain%end' : 0.037,
3939
'm' : int(Nx), \
4040
'n' : int(Ny), \
4141
'p' : 0, \
4242
'dt' : dt, \
4343
't_step_start' : 0, \
44-
't_step_stop' : 12000, \
45-
't_step_save' :300,#(Nt/1000), \
44+
't_step_stop' : 50000, \
45+
't_step_save' : 1000,#(Nt/1000), \
4646
# ==========================================================
4747
\
4848
# Simulation Algorithm Parameters ==========================
@@ -64,10 +64,10 @@
6464
'riemann_solver' : 2, \
6565
'wave_speeds' : 1, \
6666
'avg_state' : 2, \
67-
'bc_x%beg' : -11,#11, \
68-
'bc_x%end' : -8,#12 \
67+
'bc_x%beg' : -6,#11, \
68+
'bc_x%end' : -6,#12 \
6969
'bc_y%beg' : -2, \
70-
'bc_y%end' : -3, \
70+
'bc_y%end' : -6, \
7171
# ==========================================================
7272
\
7373
# Formatted Database Files Structure Parameters ============
@@ -85,9 +85,9 @@
8585
# Patch 1: Background ============================
8686
'patch_icpp(1)%geometry' : 3, \
8787
'patch_icpp(1)%x_centroid' : 0.25/2, \
88-
'patch_icpp(1)%y_centroid' : 0.37/2, \
88+
'patch_icpp(1)%y_centroid' : 0.037/2, \
8989
'patch_icpp(1)%length_x' : 0.25, \
90-
'patch_icpp(1)%length_y' : 0.37, \
90+
'patch_icpp(1)%length_y' : 0.037, \
9191
'patch_icpp(1)%vel(1)' : 0., \
9292
'patch_icpp(1)%vel(2)' : 0.E+00, \
9393
'patch_icpp(1)%pres' : 101325., \
@@ -101,9 +101,9 @@
101101
'patch_icpp(2)%geometry' : 3, \
102102
'patch_icpp(2)%alter_patch(1)' : 'T', \
103103
'patch_icpp(2)%x_centroid' : 0., \
104-
'patch_icpp(2)%y_centroid' : 0.37/2, \
104+
'patch_icpp(2)%y_centroid' : 0.037/2, \
105105
'patch_icpp(2)%length_x' : 0.25-D, \
106-
'patch_icpp(2)%length_y' : 0.37, \
106+
'patch_icpp(2)%length_y' : 0.037, \
107107
'patch_icpp(2)%vel(1)' : vel, \
108108
'patch_icpp(2)%vel(2)' : 0.E+00, \
109109
'patch_icpp(2)%pres' : ps, \

0 commit comments

Comments
 (0)