tigl icon indicating copy to clipboard operation
tigl copied to clipboard

Warn user, if airfoil y coordinates are not zero

Open MaloDrougard opened this issue 6 years ago • 5 comments

The y coordinates of airfoil seems to be ignored. For example the two following airfoil definitions have the same result in tiglviewer-3.

<wingAirfoil uID="mdAirfoil2">
      <name>mdAirfoil2</name>
      <pointList>
        <x mapType="vector">1;0;-1;0;1</x>
        <y mapType="vector">0;0;0;0;0</y>
        <z mapType="vector">0;-1;0;1;0</z>
      </pointList>
    </wingAirfoil>


<wingAirfoil uID="mdAirfoilShifted">
      <name>mdAirfoilShifted</name>
      <pointList>
        <x mapType="vector">1;0;-1;0;1</x>
        <y mapType="vector">-10;-10;-10;-10;-10</y>
        <z mapType="vector">0;-1;0;1;0</z>
      </pointList>
    </wingAirfoil>

It's just to make sure that currently tiglviewer only support standard airfoil.

MaloDrougard avatar Apr 17 '18 08:04 MaloDrougard

@MaloDrougard Does this also happen in TiGL 2 or is this a new bug in TiGL 3?

rainman110 avatar Apr 17 '18 09:04 rainman110

It happens also in tiglviewer-2.

MaloDrougard avatar Apr 17 '18 09:04 MaloDrougard

@MaloDrougard We decided a while ago, that we only want to support 2d profiles. Therefore, we ignore the y - coordinate. If you want to shift the profiles, just use the positionings.

rainman110 avatar Apr 17 '18 11:04 rainman110

Ok, thank you for your quick answer! It could be useful to have a warning when a such profile appears.

MaloDrougard avatar Apr 17 '18 11:04 MaloDrougard

@MaloDrougard Good idea! A warning totally makes sense.

rainman110 avatar Apr 17 '18 11:04 rainman110