Skip to content
Snippets Groups Projects
Commit 1e96458d authored by Malte Nyhuis's avatar Malte Nyhuis
Browse files

fix consistent use of angles in extract_geo_paras. using y-axis as reference...

fix consistent use of angles in extract_geo_paras. using y-axis as reference for camber_angle as it is intended by the according test-function
parent e4393cb3
Branches
Tags
No related merge requests found
......@@ -287,7 +287,7 @@ def extract_geo_paras(points, alpha, verbose=False):
camber = np.stack((xmids[0] - xmids[-1], ymids[0] - ymids[-1], 0)).T[::-1]
beta_leading = vecAngle(vk_tangent, np.array([0, 1, 0])) / np.pi * 180
beta_trailing = vecAngle(hk_tangent, np.array([0, 1, 0])) / np.pi * 180
camber_angle = vecAngle(camber, np.array([1, 0, 0])) / np.pi * 180
camber_angle = vecAngle(camber, np.array([0, 1, 0])) / np.pi * 180
if verbose:
p = pv.Plotter()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment