When the coordinates of the off-body data points are more than two digits, the Python code fails when reading the data in the panair.out file; (In this case, the z-coordinate of the defined line is -115.95)
data_off = Res.get_offbody_data()
in get_offbody_data
return self._output_file.get_offbody_data()
in get_offbody_data
data = self._lines_to_numpy(data_lines)
in _lines_to_numpy
array = [[float(val) for val in line.split()] for line in data_lines]
in <listcomp>
array = [[float(val) for val in line.split()] for line in data_lines]
in <listcomp>
array = [[float(val) for val in line.split()] for line in data_lines]
ValueError: could not convert string to float: '0.00000000-115.95000000
When the coordinates of the off-body data points are more than two digits, the Python code fails when reading the data in the panair.out file; (In this case, the z-coordinate of the defined line is -115.95)