add python script to generate bubble

This commit is contained in:
James McClure committed 2022-03-20 09:30:46 -04:00
1 parent a50d9e9aa6
commit 9e3a07d419
1 file changed
+1 -1
+1 -1
View File
@@ -11,7 +11,7 @@ for i in range(0, 40):
for j in range (0, 40):
for k in range (0,40):
dist = np.sqrt((i-cx)*(i-cx) + (j-cx)*(j-cx) + (k-cz)*(k-cz))
if (dist < 12.5 :
if (dist < 12.5 ) :
D[i,j,k] = 2
D.tofile("bubble_40x40x40.raw")