OpenFAST / openfast

Main repository for the NREL-supported OpenFAST whole-turbine and FAST.Farm wind farm simulation codes.
http://openfast.readthedocs.io
Apache License 2.0
695 stars 459 forks source link

OLAF: some segments have zero lengths #1273

Closed ebranlard closed 2 years ago

ebranlard commented 2 years ago

Bug description When packing panels to segments, some segments end up with zero length. The error was seen under a turbulent simulation.

There are two elements to this report:

  1. In OpenFAST versions prior to this date, segments of zero lengths results in particles with "NaN" positions, which ends up crashing the simulation. This will be fixed in a future pull request
  2. It seems weird that two Lagrangian markers end up at the same location.
ebranlard commented 2 years ago

I've spent some time investigating this, and there does not seem to be an inherent bug regarding point 2 above. Some Lagrangian markers end up at the same location when convected with the turbulence box (even when the induced velocity from the wake is turned off). This was observed with single precision, but not with double precision. Maybe the turbulence box has some strange attractors... I'll close this issue for now, and submit a fix for point 1.