tigl icon indicating copy to clipboard operation
tigl copied to clipboard

function tiglWingGetMAC runs infinitely long for wings with winglets/multi-element sections

Open rainman110 opened this issue 10 years ago • 4 comments

From [email protected] on April 11, 2014 16:22:57

Version: TIGL 2.1.1, input file: CPACS 2.1.

The function tiglWingGetMAC runs infinitely long and does not return values for configurations with winglets. Possible causes:

  • wing definition contains multiple elements per section
  • winglet is rotated 90 or -90 deg with respect to wing tip

See the zip file for two cpacs versions, one with winglet and one in which the winglet is commented out. The one with winglet produces the problem.

Attachment: wing_withAndWithoutWinglet.zip

Original issue: http://code.google.com/p/tigl/issues/detail?id=105

rainman110 avatar Dec 22 '14 12:12 rainman110

From [email protected] on May 05, 2014 02:42:32

The problem seems to be there for area calculations as well (tiglWingGetSurfaceArea, tiglWingGetReferenceArea).

rainman110 avatar Dec 22 '14 12:12 rainman110

From [email protected] on May 07, 2014 14:37:26

Labels: Milestone-Release2.1.3

rainman110 avatar Dec 22 '14 12:12 rainman110

From [email protected] on August 27, 2014 01:31:12

I can reproduce the error for tiglWingGetSurfaceArea. For tiglWingGetReferenceArea and for tiglWingGetMAC I can't reproduce the error. The error is reproduced in MATLAB. I will investigate the error in our C++ test cases

rainman110 avatar Dec 22 '14 12:12 rainman110

From [email protected] on August 27, 2014 01:39:00

The problem lies in the wing loft creation. Somehow, the BRepOffsetAPI_Thrusection algorithm goes into an infinite loop. As a workaround it might help to model the winglets as separate wings.

rainman110 avatar Dec 22 '14 12:12 rainman110

I am closing this as outdated. Feel free to re-open this issue if it is still relevant.

joergbrech avatar Dec 15 '23 11:12 joergbrech