Skip to content

Commit 5fa0163

Browse files
committed
minor
1 parent 51db40c commit 5fa0163

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

example_cases/1D_qbmm/input_noqbmm.py

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python3
1+
#!/usr/bin/env python2
22

33
import math
44

@@ -47,7 +47,8 @@
4747
Re_inv = mul0/(rho0*uu*R0ref)
4848

4949
#IC setup
50-
vf0 = 4.E-5
50+
vf0 = 1.E-4
51+
# vf0 = 4.E-5
5152
n0 = vf0/(math.pi*4.E+00/3.E+00)
5253

5354
cact = 1475.
@@ -64,10 +65,10 @@
6465
dt = cfl*dx*c0/cact
6566
Lpulse = 0.3*Ldomain
6667
Tpulse = Lpulse/cact
67-
Tfinal = 0.25*10.*Tpulse*c0/x0
68+
Tfinal = 3*0.25*10.*Tpulse*c0/x0
6869
Nt = int(Tfinal/dt)
6970

70-
dt = dt * 0.1
71+
dt = dt * 0.5
7172
# print('dt: ',dt)
7273

7374
Nfiles = 20.
@@ -113,7 +114,7 @@
113114
'case_dir' : '\'.\'', \
114115
'run_time_info' : 'F', \
115116
'nodes' : 1, \
116-
'ppn' : 1, \
117+
'ppn' : 4, \
117118
'queue' : 'normal', \
118119
'walltime' : '24:00:00', \
119120
'mail_list' : '', \
@@ -128,13 +129,13 @@
128129
'm' : Nx, \
129130
'n' : 0, \
130131
'p' : 0, \
131-
'dt' : 0.002, \
132-
't_tol' : 0.1, \
132+
'dt' : dt, \
133+
# 't_tol' : 0.1, \
133134
't_step_start' : 0, \
134-
't_step_stop' : 8000, \
135+
't_step_stop' : Nt, \
135136
# 't_step_stop' : 4, \
136137
# 't_step_save' : 8000, \
137-
't_step_save' : 8000, \
138+
't_step_save' : Nt, \
138139
# ==========================================================
139140
\
140141
# Simulation Algorithm Parameters ==========================
@@ -145,7 +146,7 @@
145146
'adv_alphan' : 'T', \
146147
'mpp_lim' : 'F', \
147148
'mixture_err' : 'F', \
148-
'time_stepper' : 23, \
149+
'time_stepper' : 3, \
149150
'weno_vars' : 2, \
150151
'weno_order' : 5, \
151152
'weno_eps' : 1.E-16, \
@@ -158,8 +159,8 @@
158159
'avg_state' : 2, \
159160
'commute_err' : 'F', \
160161
'split_err' : 'F', \
161-
'bc_x%beg' : -1, \
162-
'bc_x%end' : -1, \
162+
'bc_x%beg' : -8, \
163+
'bc_x%end' : -8, \
163164
# ==========================================================
164165
\
165166
# Formatted Database Files Structure Parameters ============

0 commit comments

Comments
 (0)