TCL command to Reduce dependent nodes count and update the washer mesh accordingly

sanket_patil
sanket_patil Altair Community Member
edited December 2020 in Community Q&A

Hello All,

I want to reduce number of dependent nodes of rigid to 6 and update the rigid, washer ring mesh and surrounding mesh accordingly.

image

Lets say in above snap, it is having 16 dependent nodes and 4 washer rings. So i want to reduce the dependent node count from 16 to 6 and update rigid. and remove 3 washer rings and update mesh accordingly.

Please guide me to do this using TCL commands.

Thanks in advance.

Regards,

Sanket Patil

Answers

  • sanket_patil
    sanket_patil Altair Community Member
    edited December 2020

    Hello All,

    Can anyone suggest the commands?

    Regards,

    Sanket

  • tinh
    tinh Altair Community Member
    edited December 2020

    Hello,

    You should use Utility>Geom/Mesh>Add Washer...

    It is easy to modify washers shape

    image

  • sanket_patil
    sanket_patil Altair Community Member
    edited December 2020

    Hello Tinh,

    Thank you so much for the help. I have tried it for 6 nodes but i is not changing node count. Please correct me if i am doing something wrong.

    image

    Regards,

    Sanket

     

  • tinh
    tinh Altair Community Member
    edited December 2020

    Did you delete attached rigidlinks prior to modify the washer?

  • sanket_patil
    sanket_patil Altair Community Member
    edited December 2020

    yes. i have tried add washer after deleting rigidlink

  • tinh
    tinh Altair Community Member
    edited December 2020

    Hi,

    they (script's authors) choose original density if it is > new density

    I don't know why they want that!

    But you can pass it by run this command before click on button "Add":

    set ::fepre::AddWasher::params(edgeNodeNum) 6

     

    And if you want to embed the codes into your script, use these commands:

    *createmark nodes 1 $a_node_hole1 $a_node_hole2 ... *createstringarray 2 "layer_number = 1 uniform_layers = 1 hole_density = 6"  "1 $washer_width" *add_multi_washer_elements 1 30 1 2 0 0 1 1
  • sanket_patil
    sanket_patil Altair Community Member
    edited December 2020
    tinh said:

    Hi,

    they (script's authors) choose original density if it is > new density

    I don't know why they want that!

    But you can pass it by run this command before click on button "Add":

    set ::fepre::AddWasher::params(edgeNodeNum) 6

     

    And if you want to embed the codes into your script, use these commands:

    *createmark nodes 1 $a_node_hole1 $a_node_hole2 ... *createstringarray 2 "layer_number = 1 uniform_layers = 1 hole_density = 6"  "1 $washer_width" *add_multi_washer_elements 1 30 1 2 0 0 1 1

    Thank you so much tinh :)..!! it helped me a lot.

     

    Regards,

    Sanket