Namespaces | Variables
dafoam_plot3dtransform.py File Reference

Go to the source code of this file.

Namespaces

 dafoam_plot3dtransform
 

Variables

 mode = sys.argv[1]
 
 inputFileName = sys.argv[2]
 
 outputFileName = sys.argv[3]
 
 scaleX = float(sys.argv[4])
 
 scaleY = float(sys.argv[5])
 
 scaleZ = float(sys.argv[6])
 
 ffd = pyBlock("plot3d", fileName=inputFileName, FFD=True)
 
 vals = ffd.vols[ivol].coef
 
 dX = float(sys.argv[4])
 
 dY = float(sys.argv[5])
 
 dZ = float(sys.argv[6])
 
 axis = str(sys.argv[4])
 
 deg = float(sys.argv[5])
 
float theta = deg * np.pi / 180.0
 
 yRef = vals[i, j, k, 1]
 
 zRef = vals[i, j, k, 2]
 
 xRef = vals[i, j, k, 0]