Skip to content
Snippets Groups Projects
Commit 6fb9e37d authored by noels's avatar noels
Browse files

print voxel

parent 899952c2
No related branches found
No related tags found
No related merge requests found
......@@ -20,9 +20,9 @@ from scipy.spatial import distance
from scipy.optimize import minimize
from mpl_toolkits.mplot3d import Axes3D
from mpl_toolkits.mplot3d.art3d import Poly3DCollection, Line3DCollection
import matplotlib.pyplot as plt
#from mpl_toolkits.mplot2d import Axes3D
#from mpl_toolkits.mplot3d.art3d import Poly3DCollection, Line3DCollection
#import matplotlib.pyplot as plt
import time
import sys
......@@ -585,8 +585,8 @@ Physical Volume(51) ={AllVol()};"""
contents = "".join(contents)
f.write(contents)
f.close()
os.system("rm vox_"+rho+".geo")
os.system("rm phase_map_"+rho+".geo")
#os.system("rm vox_"+rho+".geo")
#os.system("rm phase_map_"+rho+".geo")
return GeoFile, r0
......
......@@ -20,7 +20,7 @@ import os
def voxelized(name, vfr, vfraction, rho, sb, x_cell,y_cell,z_cell,length, width,height, A, B):
######
# Create voxelized mesh -- CALCULATES VOLUME FRACTION
print("Create voxelized mesh -- CALCULATES VOLUME FRACTION")
######
#####Voxelized mesh#####
#number of voxels in the unit cell
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment