_The TOP nozzle does not seem to work any more because of some missing path within the library downlodad.
The code I ran is the same example found in this link _
,
Ri = 0.4
Re = 1.2
Rt = 0.2
geom = CD_TOP_Nozzle(Ri, Re, Rt, 0.40, 30, 0.7)
x, y = geom.build_geometry(1000)
and the error I am getting is the following :
File c:\HEAT-local-to-remote\HEAT.venv\lib\site-packages\pygasflow\nozzles\rao_parabola_angles.py:66, in Rao_Parabola_Angles.init(self)
64 # path of the folder containing the data of the plot
65 data_dir = os.path.join(current_dir, "plot-4-16-data")
---> 66 data_files = [os.path.join(data_dir, f) for f in os.listdir(data_dir)
67 if os.path.isfile(os.path.join(data_dir, f))]
69 # substitute "," with "." for decimal separator
70 func = lambda s: float(s.replace(b",", b"."))
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\HEAT-local-to-remote\HEAT\.venv\Lib\site-packages\pygasflow\nozzles\plot-4-16-data'
_The TOP nozzle does not seem to work any more because of some missing path within the library downlodad.
The code I ran is the same example found in this link _ , Ri = 0.4 Re = 1.2 Rt = 0.2 geom = CD_TOP_Nozzle(Ri, Re, Rt, 0.40, 30, 0.7) x, y = geom.build_geometry(1000)
and the error I am getting is the following :
File c:\HEAT-local-to-remote\HEAT.venv\lib\site-packages\pygasflow\nozzles\rao_parabola_angles.py:66, in Rao_Parabola_Angles.init(self) 64 # path of the folder containing the data of the plot 65 data_dir = os.path.join(current_dir, "plot-4-16-data") ---> 66 data_files = [os.path.join(data_dir, f) for f in os.listdir(data_dir) 67 if os.path.isfile(os.path.join(data_dir, f))] 69 # substitute "," with "." for decimal separator 70 func = lambda s: float(s.replace(b",", b"."))
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\HEAT-local-to-remote\HEAT\.venv\Lib\site-packages\pygasflow\nozzles\plot-4-16-data'