Skip to content

Commit 6ca3367

Browse files
committed
fix frontier bug
1 parent 88741b9 commit 6ca3367

File tree

23 files changed

+66
-65
lines changed

23 files changed

+66
-65
lines changed

examples/1D_brio_wu/case.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
"patch_icpp(1)%vel(2)": 0.0,
5656
"patch_icpp(1)%vel(3)": 0.0,
5757
"patch_icpp(1)%pres": 1.0,
58-
"patch_icpp(1)%B%y": 1.0,
59-
"patch_icpp(1)%B%z": 0.0,
58+
"patch_icpp(1)%By": 1.0,
59+
"patch_icpp(1)%Bz": 0.0,
6060
"patch_icpp(1)%alpha_rho(1)": 1.0,
6161
"patch_icpp(1)%alpha(1)": 1.0,
6262
# Patch 2 Right
@@ -67,8 +67,8 @@
6767
"patch_icpp(2)%vel(2)": 0.0,
6868
"patch_icpp(2)%vel(3)": 0.0,
6969
"patch_icpp(2)%pres": 0.1,
70-
"patch_icpp(2)%B%y": -1.0,
71-
"patch_icpp(2)%B%z": 0.0,
70+
"patch_icpp(2)%By": -1.0,
71+
"patch_icpp(2)%Bz": 0.0,
7272
"patch_icpp(2)%alpha_rho(1)": 0.125,
7373
"patch_icpp(2)%alpha(1)": 1.0,
7474
# Fluids Physical Parameters

examples/1D_brio_wu_hlld/case.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656
"patch_icpp(1)%vel(2)": 0.0,
5757
"patch_icpp(1)%vel(3)": 0.0,
5858
"patch_icpp(1)%pres": 1.0,
59-
"patch_icpp(1)%B%y": 1.0,
60-
"patch_icpp(1)%B%z": 0.0,
59+
"patch_icpp(1)%By": 1.0,
60+
"patch_icpp(1)%Bz": 0.0,
6161
"patch_icpp(1)%alpha_rho(1)": 1.0,
6262
"patch_icpp(1)%alpha(1)": 1.0,
6363
# Patch 2 Right
@@ -68,8 +68,8 @@
6868
"patch_icpp(2)%vel(2)": 0.0,
6969
"patch_icpp(2)%vel(3)": 0.0,
7070
"patch_icpp(2)%pres": 0.1,
71-
"patch_icpp(2)%B%y": -1.0,
72-
"patch_icpp(2)%B%z": 0.0,
71+
"patch_icpp(2)%By": -1.0,
72+
"patch_icpp(2)%Bz": 0.0,
7373
"patch_icpp(2)%alpha_rho(1)": 0.125,
7474
"patch_icpp(2)%alpha(1)": 1.0,
7575
# Fluids Physical Parameters

examples/1D_brio_wu_rmhd/case.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
"patch_icpp(1)%vel(2)": 0.0,
5858
"patch_icpp(1)%vel(3)": 0.0,
5959
"patch_icpp(1)%pres": 1.0,
60-
"patch_icpp(1)%B%y": 1.0,
61-
"patch_icpp(1)%B%z": 0.0,
60+
"patch_icpp(1)%By": 1.0,
61+
"patch_icpp(1)%Bz": 0.0,
6262
"patch_icpp(1)%alpha_rho(1)": 1.0,
6363
"patch_icpp(1)%alpha(1)": 1.0,
6464
# Patch 2 Right
@@ -69,8 +69,8 @@
6969
"patch_icpp(2)%vel(2)": 0.0,
7070
"patch_icpp(2)%vel(3)": 0.0,
7171
"patch_icpp(2)%pres": 0.1,
72-
"patch_icpp(2)%B%y": -1.0,
73-
"patch_icpp(2)%B%z": 0.0,
72+
"patch_icpp(2)%By": -1.0,
73+
"patch_icpp(2)%Bz": 0.0,
7474
"patch_icpp(2)%alpha_rho(1)": 0.125,
7575
"patch_icpp(2)%alpha(1)": 1.0,
7676
# Fluids Physical Parameters

examples/1D_dai_woodward/case.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464
"patch_icpp(1)%vel(2)": 0.01,
6565
"patch_icpp(1)%vel(3)": 0.5,
6666
"patch_icpp(1)%pres": 0.95,
67-
"patch_icpp(1)%B%y": By_left,
68-
"patch_icpp(1)%B%z": Bz_left,
67+
"patch_icpp(1)%By": By_left,
68+
"patch_icpp(1)%Bz": Bz_left,
6969
"patch_icpp(1)%alpha_rho(1)": 1.08,
7070
"patch_icpp(1)%alpha(1)": 1.0,
7171
# Patch 2 (Right State)
@@ -76,8 +76,8 @@
7676
"patch_icpp(2)%vel(2)": 0.0,
7777
"patch_icpp(2)%vel(3)": 0.0,
7878
"patch_icpp(2)%pres": 1.0,
79-
"patch_icpp(2)%B%y": By_right,
80-
"patch_icpp(2)%B%z": Bz_right,
79+
"patch_icpp(2)%By": By_right,
80+
"patch_icpp(2)%Bz": Bz_right,
8181
"patch_icpp(2)%alpha_rho(1)": 1.0,
8282
"patch_icpp(2)%alpha(1)": 1.0,
8383
# Fluids Physical Parameters

examples/1D_dai_woodward_hlld/case.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@
6565
"patch_icpp(1)%vel(2)": 0.01,
6666
"patch_icpp(1)%vel(3)": 0.5,
6767
"patch_icpp(1)%pres": 0.95,
68-
"patch_icpp(1)%B%y": By_left,
69-
"patch_icpp(1)%B%z": Bz_left,
68+
"patch_icpp(1)%By": By_left,
69+
"patch_icpp(1)%Bz": Bz_left,
7070
"patch_icpp(1)%alpha_rho(1)": 1.08,
7171
"patch_icpp(1)%alpha(1)": 1.0,
7272
# Patch 2 (Right State)
@@ -77,8 +77,8 @@
7777
"patch_icpp(2)%vel(2)": 0.0,
7878
"patch_icpp(2)%vel(3)": 0.0,
7979
"patch_icpp(2)%pres": 1.0,
80-
"patch_icpp(2)%B%y": By_right,
81-
"patch_icpp(2)%B%z": Bz_right,
80+
"patch_icpp(2)%By": By_right,
81+
"patch_icpp(2)%Bz": Bz_right,
8282
"patch_icpp(2)%alpha_rho(1)": 1.0,
8383
"patch_icpp(2)%alpha(1)": 1.0,
8484
# Fluids Physical Parameters

examples/1D_exp_tube_phasechange/case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
# save frequency = SF + 1 (because the initial state, 0.dat, is also saved)
8585
SF = 200
8686

87-
# making Nt divisible B%y SF
87+
# making Nt divisible By SF
8888
tendA = (xe - xb) / ss * 0.25
8989

9090
# 1 - ensure NtA is sufficient to go a little beyond tendA

examples/2D_axisym_shockwatercavity/case.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115

116116
# I calculating tend twice; first is an estimate, second is
117117
# the actual value used. This is because I am getting errors in the
118-
# post process part every time I approximate the actual Nt B%y an integer
118+
# post process part every time I approximate the actual Nt By an integer
119119
# number (think of a smarter way).
120120

121121
# dimensionless time
@@ -135,7 +135,7 @@
135135
# Save Frequency. Note that the number of autosaves will be SF + 1, as th IC (0.dat) is also saved
136136
SF = 400
137137

138-
## making Nt divisible B%y SF
138+
## making Nt divisible By SF
139139
# 1 - ensure NtA goes slightly beyond tendA
140140
NtA = int(tendA // dt + 1)
141141

examples/2D_laplace_pressure_jump/case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python3
22
# This case file demonstrates the Laplace pressure jump of a water droplet in air. The laplace pressure jump
3-
# in 2D is given B%y delta = sigma / r where delta is the pressure jump, sigma is the surface tension coefficient,
3+
# in 2D is given By delta = sigma / r where delta is the pressure jump, sigma is the surface tension coefficient,
44
# and r is the radius of the droplet. The results of this simulation agree with theory to well within 1%
55
# relative error.
66

examples/2D_orszag_tang/case.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@
6363
"patch_icpp(1)%vel(2)": 0.0,
6464
"patch_icpp(1)%vel(3)": 0.0,
6565
"patch_icpp(1)%pres": 5.0 / (12 * math.pi),
66-
"patch_icpp(1)%B%x": 0.0,
67-
"patch_icpp(1)%B%y": 0.0,
68-
"patch_icpp(1)%B%z": 0.0,
66+
"patch_icpp(1)%Bx": 0.0,
67+
"patch_icpp(1)%By": 0.0,
68+
"patch_icpp(1)%Bz": 0.0,
6969
"patch_icpp(1)%alpha_rho(1)": 25.0 / (36.0 * math.pi),
7070
"patch_icpp(1)%alpha(1)": 1.0,
7171
# Fluids Physical Parameters

examples/2D_orszag_tang_powell/case.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@
6565
"patch_icpp(1)%vel(2)": 0.0,
6666
"patch_icpp(1)%vel(3)": 0.0,
6767
"patch_icpp(1)%pres": 5.0 / (12 * math.pi),
68-
"patch_icpp(1)%B%x": 0.0,
69-
"patch_icpp(1)%B%y": 0.0,
70-
"patch_icpp(1)%B%z": 0.0,
68+
"patch_icpp(1)%Bx": 0.0,
69+
"patch_icpp(1)%By": 0.0,
70+
"patch_icpp(1)%Bz": 0.0,
7171
"patch_icpp(1)%alpha_rho(1)": 25.0 / (36.0 * math.pi),
7272
"patch_icpp(1)%alpha(1)": 1.0,
7373
# Fluids Physical Parameters

0 commit comments

Comments
 (0)