File tree Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change 1- #!/usr/bin/env python3
1+ #!/usr/bin/env python2
22
33import math
44
4747Re_inv = mul0 / (rho0 * uu * R0ref )
4848
4949#IC setup
50- vf0 = 4.E-5
50+ vf0 = 1.E-4
51+ # vf0 = 4.E-5
5152n0 = vf0 / (math .pi * 4.E+00 / 3.E+00 )
5253
5354cact = 1475.
6465dt = cfl * dx * c0 / cact
6566Lpulse = 0.3 * Ldomain
6667Tpulse = Lpulse / cact
67- Tfinal = 0.25 * 10. * Tpulse * c0 / x0
68+ Tfinal = 3 * 0.25 * 10. * Tpulse * c0 / x0
6869Nt = int (Tfinal / dt )
6970
70- dt = dt * 0.1
71+ dt = dt * 0.5
7172# print('dt: ',dt)
7273
7374Nfiles = 20.
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' : '' , \
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 ==========================
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 , \
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 ============
You can’t perform that action at this time.
0 commit comments