renumber nodes by path with tcl

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hi everybody,

 

I created a tube and now I would like to renumber the circumferencial nodes in a specific way. (picture attached)

 

To find and select the node where I want to start my renumbering I can take the 'hm_getclosestnode' command.

This will work pretty good, but I don't know the command which I have to use to select the other circumferencial nodes ...

 

Should be something like this:

1. automatically select node on position 1

1.2. renumber it starting with ID=1

1.3 automatically select the next node (on position 2) and renumber it with ID=2 (and so one with increment 1)

2. after first loop automatically select node on position 201 and renumber the node with 201 and so on with inc. 1

...

 

thanks in advance

0815

 

<?xml version="1.0" encoding="UTF-8"?>Q.PNG

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited July 2018

    Don't do that.

    Your mesh is very regular, if you create the mesh by 'ruled' panel, i think node numbering will follow your expection

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2018

    ok, thanks @tinh for your support, I'll try by using the 'by ruled' mesh creation.

     

    regards

    0815