diff --git a/Flow_class.py b/Flow_class.py index d5dbc9c2954d37a8890279cf09ed7ce726fdc3f2..469003a03e6739bd472edfb1ea09b32518685885 100644 --- a/Flow_class.py +++ b/Flow_class.py @@ -118,8 +118,8 @@ def loadPODres(case): else: # the other POD res files are in npz-format ux = np.load(data_path+"/Ux_POD_DE.npz") - uy = np.load(data_path+"/Ux_POD_DE.npz") - uz = np.load(data_path+"/Ux_POD_DE.npz") + uy = np.load(data_path+"/Uy_POD_DE.npz") + uz = np.load(data_path+"/Udiff_POD_DE.npz") # return ux, uy, uz @@ -248,11 +248,13 @@ class Elbow_profile(): self.regint_ux.append(interpol.RegularGridInterpolator((self.Rk,self.dl,self.dist), coeffs_x[:,:,:,i],bounds_error = False,fill_value=None )) self.regint_uy.append(interpol.RegularGridInterpolator((self.Rk,self.dl,self.dist), coeffs_y[:,:,:,i],bounds_error = False,fill_value=None )) self.regint_uz.append(interpol.RegularGridInterpolator((self.Rk,self.dl,self.dist), coeffs_z[:,:,:,i],bounds_error = False,fill_value=None )) + #self.coeffs_z = coeffs_z del coeffs_x del coeffs_y del coeffs_z # # + #self.pod_z = pod_z del pod_x del pod_y del pod_z diff --git a/GUI_Elbow.py b/GUI_Elbow.py index 806e5dd0f878b72a37df9578c69494bfa11ca4ce..c421816c30fae7cbab4eec1e8b394fac7456373b 100644 --- a/GUI_Elbow.py +++ b/GUI_Elbow.py @@ -1023,7 +1023,7 @@ class Main(wx.Frame): if __name__ == "__main__": # - flow = Elbow_profile('SingleElbow') + flow = Elbow_profile('DoubleElbow') fm = FlowMeter() globdz = 0 #