Index mapping issues when reading existing wake
During pre-processing, a wake is created and attached to any lifting body (see fBody.cpp). At this stage,
- the trailing edge nodes are translated to form the vertex of the wake sheet
- the wake object is created
- the trailing edge nodes are duplicated so that Kutta condition can be later enforced.
The issue occurs when the mesh is read from disk, with an already existing wake sheet and duplicated nodes. The code will then create a wake object, but since the nodes are already duplicated, the identification of TE nodes of the wake (see fWake.cpp) will fail.
The simplest solution is to always recreate a new mesh. A more elegant solution is to change the identification of the TE nodes in the wake, so that it handles the duplicated nodes properly.