Skip to content

Commit 76eb59a

Browse files
committed
RB and TV ICs with small changes
e.g. TV T=3.0 and not 10.0
1 parent 6aa526e commit 76eb59a

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

RKLM_Python/inputs/rising_bubble.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from management.variable import States
99

1010
from physics.low_mach.second_projection import euler_backward_non_advective_impl_part
11+
from management import data
1112

1213
class UserData(object):
1314
NSPEC = 1
@@ -85,6 +86,7 @@ def __init__(self):
8586
self.zmax = 1.0
8687

8788
self.u_wind_speed = 0.0
89+
self.v_wind_speed = 0.0
8890
self.w_wind_speed = 0.0
8991

9092
self.bdry_type = np.empty((3), dtype=object)
@@ -101,8 +103,8 @@ def __init__(self):
101103
# self.dtfixed = 1.9 / self.t_ref
102104

103105
# self.CFL = 1.0
104-
# self.dtfixed0 = 20.0 / self.t_ref
105-
# self.dtfixed = 20.0 / self.t_ref
106+
# self.dtfixed0 = 21.69 / self.t_ref
107+
# self.dtfixed = 21.69 / self.t_ref
106108
# self.dtfixed0 = 0.05
107109
# self.dtfixed = 0.05
108110
self.dtfixed0 = 100.0
@@ -146,7 +148,7 @@ def __init__(self):
146148
if self.continuous_blending == True:
147149
self.output_suffix = "_%i_%i_%.1f" %(self.inx-1,self.iny-1,self.tout[-1])
148150

149-
aux = 'debug_CFLfixed'
151+
aux = 'debug_imbal_CFLfixed'
150152
self.aux = aux
151153
self.output_suffix = "_%i_%i_%.1f_%s" %(self.inx-1,self.iny-1,self.tout[-1],aux)
152154

RKLM_Python/inputs/travelling_vortex_2D.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ def __init__(self):
123123
self.initial_projection = True
124124
self.initial_impl_Euler = False
125125

126-
self.tout = np.arange(0.0,10.05,0.05)[1:]
126+
# self.tout = np.arange(0.0,10.05,0.05)[1:]
127+
self.tout = np.arange(0.0,3.05,0.05)[1:]
127128
self.stepmax = 20000
128129

129130
self.output_base_name = "_travelling_vortex"

0 commit comments

Comments
 (0)