Skip to content

Commit f1b6fb7

Browse files
Formatting
1 parent 876f16a commit f1b6fb7

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

examples/2D_tumbling_rectangle/case.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
"y_domain%beg": 0.0e00,
2121
"y_domain%end": 6.0e-03,
2222
"cyl_coord": "F",
23-
"m": 300,
24-
"n": 300,
23+
"m": 200,
24+
"n": 200,
2525
"p": 0,
2626
"dt": 6.0e-6,
2727
"t_step_start": 0,
28-
"t_step_stop": 10000,
28+
"t_step_stop": 2500, # 10000,
2929
"t_step_save": 250,
3030
# Simulation Algorithm Parameters
3131
# Only one patches are necessary, the air tube
@@ -90,12 +90,12 @@
9090
"patch_ib(1)%slip": "F",
9191
"patch_ib(1)%moving_ibm": 1,
9292
"patch_ib(1)%vel(1)": -0.05,
93-
"patch_ib(1)%angles(1)": 0.0, # x-axis rotation in radians
94-
"patch_ib(1)%angles(2)": 0.0, # y-axis rotation
95-
"patch_ib(1)%angles(3)": 0.78539816339, # z-axis rotation
96-
"patch_ib(1)%angular_vel(1)": 0.0, # x-axis rotational velcoity in radians per second
97-
"patch_ib(1)%angular_vel(2)": 0.0, # y-axis rotation
98-
"patch_ib(1)%angular_vel(3)": 100.0, # z-axis rotation
93+
"patch_ib(1)%angles(1)": 0.0, # x-axis rotation in radians
94+
"patch_ib(1)%angles(2)": 0.0, # y-axis rotation
95+
"patch_ib(1)%angles(3)": 0.78539816339, # z-axis rotation
96+
"patch_ib(1)%angular_vel(1)": 0.0, # x-axis rotational velcoity in radians per second
97+
"patch_ib(1)%angular_vel(2)": 0.0, # y-axis rotation
98+
"patch_ib(1)%angular_vel(3)": 100.0, # z-axis rotation
9999
# Fluids Physical Parameters
100100
"fluid_pp(1)%gamma": 1.0e00 / (gam_a - 1.0e00), # 2.50(Not 1.40)
101101
"fluid_pp(1)%pi_inf": 0,

examples/3D_rotating_sphere/case.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
"z_domain%beg": 0.0e00,
2121
"z_domain%end": 6.0e-03,
2222
"cyl_coord": "F",
23-
"m": 99,
24-
"n": 99,
25-
"p": 99,
23+
"m": 49,
24+
"n": 49,
25+
"p": 49,
2626
"dt": 6.0e-6,
2727
"t_step_start": 0,
28-
"t_step_stop": 1000,
28+
"t_step_stop": 250,
2929
"t_step_save": 25,
3030
# Simulation Algorithm Parameters
3131
# Only one patches are necessary, the air tube
@@ -95,12 +95,12 @@
9595
"patch_ib(1)%slip": "F",
9696
"patch_ib(1)%moving_ibm": 1,
9797
"patch_ib(1)%vel(1)": 0.0,
98-
"patch_ib(1)%angles(1)": 0.0, # x-axis rotation in radians
99-
"patch_ib(1)%angles(2)": 0.0, # y-axis rotation
100-
"patch_ib(1)%angles(3)": 0.0, # z-axis rotation
101-
"patch_ib(1)%angular_vel(1)": 0.0, # x-axis rotational velcoity in radians per second
102-
"patch_ib(1)%angular_vel(2)": 0.0, # y-axis rotation
103-
"patch_ib(1)%angular_vel(3)": 100.0, # z-axis rotation
98+
"patch_ib(1)%angles(1)": 0.0, # x-axis rotation in radians
99+
"patch_ib(1)%angles(2)": 0.0, # y-axis rotation
100+
"patch_ib(1)%angles(3)": 0.0, # z-axis rotation
101+
"patch_ib(1)%angular_vel(1)": 0.0, # x-axis rotational velcoity in radians per second
102+
"patch_ib(1)%angular_vel(2)": 0.0, # y-axis rotation
103+
"patch_ib(1)%angular_vel(3)": 100.0, # z-axis rotation
104104
# Fluids Physical Parameters
105105
"fluid_pp(1)%gamma": 1.0e00 / (gam_a - 1.0e00), # 2.50(Not 1.40)
106106
"fluid_pp(1)%pi_inf": 0,

0 commit comments

Comments
 (0)