65
start_val, end_val = le_tools.GetAverageRange(X_ns, 0.2, domainheight)
65
start_val, end_val, tf = le_tools.GetAverageRange(X_ns, 0.2, domainheight)
66
66
results_head_speed.append(numpy.average(U_ns[start_val:end_val]))
68
start_val, end_val = le_tools.GetAverageRange(X_fs, 0.25, domainheight)
68
start_val, end_val, tf = le_tools.GetAverageRange(X_fs, 0.25, domainheight)
69
69
results_head_speed.append(numpy.average(U_fs[start_val:end_val]))
71
71
results_head_speed.append(abs(results_head_speed[0]-hartel_no_slip_head_speed))