Skip to content

Commit 28e7312

Browse files
Everything is compiling
1 parent d897574 commit 28e7312

File tree

6 files changed

+111
-7
lines changed

6 files changed

+111
-7
lines changed

examples/2D_acoustic_pulse/case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"patch_icpp(1)%alpha_rho(1)": rho_inf,
7676
"patch_icpp(1)%alpha(1)": 1.0,
7777
# Patch 2
78-
"patch_icpp(2)%geometry": 7,
78+
"patch_icpp(2)%geometry": 2,
7979
"patch_icpp(2)%x_centroid": 0,
8080
"patch_icpp(2)%y_centroid": 0,
8181
"patch_icpp(2)%radius": 1.0,

examples/2D_isentropicvortex/case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
"omega_wrt(3)": "T",
9797
"fd_order": 2,
9898
# Patch 1
99-
"patch_icpp(1)%geometry": 7,
99+
"patch_icpp(1)%geometry": 3,
100100
"patch_icpp(1)%x_centroid": 0,
101101
"patch_icpp(1)%y_centroid": 0,
102102
"patch_icpp(1)%length_x": 10.0,

examples/2D_zero_circ_vortex/case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"patch_icpp(1)%alpha_rho(1)": 1,
7878
"patch_icpp(1)%alpha(1)": 1.0,
7979
# Patch 2
80-
"patch_icpp(2)%geometry": 7,
80+
"patch_icpp(2)%geometry": 2,
8181
"patch_icpp(2)%x_centroid": 0,
8282
"patch_icpp(2)%y_centroid": 0,
8383
"patch_icpp(2)%radius": 1.0,

examples/3D_TaylorGreenVortex/case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"parallel_io": "T",
7979
# I will use 1 for WATER properties, and 2 for AIR properties
8080
# Patch 1: Background (AIR - 2)
81-
"patch_icpp(1)%geometry": 13,
81+
"patch_icpp(1)%geometry": 9,
8282
"patch_icpp(1)%x_centroid": 0,
8383
"patch_icpp(1)%y_centroid": 0,
8484
"patch_icpp(1)%z_centroid": 0,

src/pre_process/include/2dHardcodedIC.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
case (280)
165165
! This is patch is hard-coded for test suite optimization used in the
166166
! 2D_zero_circ_vortex case:
167-
! This analytic patch used geometry 2
167+
! This analytic patch uses geometry 2
168168
if (patch_id == 1) then
169169
q_prim_vf(E_idx)%sf(i, j, 0) = 1d0*(1d0 - (1d0/1d0)*(5d0/(2d0*3.141592653589793))*(5d0/(8d0*1d0*(1.4 + 1d0)*3.141592653589793))*exp(2d0*1d0*(1d0 - (x_cc(i) - patch_icpp(1)%x_centroid)**2d0- (y_cc(j) - patch_icpp(1)%y_centroid)**2d0)))**(1.4 + 1d0)
170170
q_prim_vf(contxb + 0)%sf(i, j, 0) = 1d0*(1d0 - (1d0/1d0)*(5d0/(2d0*3.141592653589793))*(5d0/(8d0*1d0*(1.4 + 1d0)*3.141592653589793))*exp(2d0*1d0*(1d0 - (x_cc(i) - patch_icpp(1)%x_centroid)**2d0- (y_cc(j) - patch_icpp(1)%y_centroid)**2d0)))**1.4
@@ -175,7 +175,7 @@
175175
case (281)
176176
! This is patch is hard-coded for test suite optimization used in the
177177
! 2D_acoustic_pulse case:
178-
! This analytic patch used geometry 2
178+
! This analytic patch uses geometry 2
179179
if (patch_id == 2) then
180180
q_prim_vf(E_idx)%sf(i, j, 0) = 101325*(1 - 0.5*(1.4 - 1)*(0.4)**2*exp(0.5*(1 - sqrt(x_cc(i)**2 + y_cc(j)**2))))**(1.4 / (1.4 - 1))
181181
q_prim_vf(contxb + 0)%sf(i, j, 0) = 1*(1 - 0.5*(1.4 - 1)*(0.4)**2*exp(0.5*(1 - sqrt(x_cc(i)**2 + y_cc(j)**2))))**(1 / (1.4 - 1))

0 commit comments

Comments
 (0)