GiD 16 and #FUNC#(NumEntity) with duplicated nodes

Moderator: GiD Team

Post Reply
JFlock_BE
Posts: 15
Joined: Thu Jul 11, 2019 6:57 am
Location: Liège, Belgium
Contact:

GiD 16 and #FUNC#(NumEntity) with duplicated nodes

Post by JFlock_BE »

Hi Gid Team,

I have an issue with GiD 16 and a condition where there is a question with the particular fields "Id_Line#FUNC#(NumEntity) ". The condtype is over lines and the condmeshtype is over nodes.
For lines with this specific condition, we automatically applied the DuplicateNodes mesh criteria before meshing. After meshing, we use [GiD_Info Condition ... mesh] to get all the data of the condition for each node and we should get the numerical id of the geometric source entity for this specific question.
The problem with GiD 16 is that the numerical id of the geometric source entity returned for duplicated nodes makes no sense (a positive number that is not corresponding to the actual id of the geometric source entity).
With GiD 14, this id for the duplicated nodes was 0 and so we could handle it properly.

Why does the #FUNC#(NumEntity) function not work the same way as with GiD 14?

Thanks!
User avatar
escolano
Posts: 1918
Joined: Sun Sep 05, 1982 10:51 pm

Re: GiD 16 and #FUNC#(NumEntity) with duplicated nodes

Post by escolano »

This is a unwanted bug.
In fact the behavior of GiD 14 that set to 0 this NumEntity of conditions in duplicated nodes is not very good, ideally it must be the number of the line source of both nodes: normal and duplicates
GiD 15 has the same bug as GiD 16, and is set to a unexpected number (is not zero, but also is not the right source geometry number)
We will fix it in next GiD versions
Post Reply