Error in renumbering when merge 2 meshes
Hello, I think when you merge 2 meshes (ex 2 BDF meshes) the renumbering is ok for the nodes, but not for the elements. The PIDs are preserved but the numbers of the elements can be duplicate. Example:
bdf1 contains GRID 1 0 0.00E+000.0300000.010000 GRID 2 0 0.00E+000.0303000.010000 GRID 3 0 0.00E+000.0300000.010300 CTRIA3 31 1801 1 2 3
bdf2 contains GRID 1 0 -0.00458-0.039680.036400 GRID 2 0 -0.00544-0.039620.036400 GRID 3 0 -0.00458-0.039680.034400 CTRIA3 31 0 -0.00544-0.039620.032400
the merge operation will result in a renumbering of the GRID objects, but the CTRIA3 objects are not renumbered: there will be two "CTRIA3 31" lines in the final file (one with PID 0 and the other one with PID 1801). This is not the desired behavior, there should be one single "CTRIA3 31" (the second one should be renumbered, ex CTRIA3 32).
This problem is blocking for some applications where the complexity makes the use of 'sed' unpractical.
I hope this helps, S.