Creating a ruled mesh automatically.

RAMA ADAIKKALAVAN
RAMA ADAIKKALAVAN Altair Community Member
edited October 2020 in Community Q&A

Hi,

 

I am facing currently issue in the ruled mesh generation between two components.

 

Scenario is shown as in the image .

 

I have the Boundary nodes in a node list.

 

If I tried to generate the ruled using the script TCL. It is not creating properly.

 

   *surfacemode 2
     eval *createlist nodes 1 $outer_nodes (Comment-# Boundary nodes of the Hole green comp)
     eval *createlist nodes 2 $edge_nodes (Comment-# Boundary nodes of the edge red comp)
    *linearsurfacebetweennodes 1 2 1
   *set_meshfaceparams 0 1 2 0 0 1 0.5 1 1
   *set_meshedgeparams 0 $count1 0 0 0 0 0 0 0 (Comment-# count of the outer_nodes)
   *set_meshedgeparams 1 1 0 0 0 0 0 0 0
   *set_meshedgeparams 2 $count2 0 0 0 0 0 0 0 (Comment-# count of the edge_nodes)
   *automesh 0 1 2
   *storemeshtodatabase 0
   *ameshclearsurface
   *endnotehistorystate {Create ruled surface and mesh}

 

 

If I run the script to fill the Blue shaded area,  Mesh is not generating because of the node list ids not in order. I already got the boundary nodes in list.

But if I do it manually node list is arranging in the circular loop automatically. Mesh is generating properly.

 

If anybody can help me to resolve this issue. How to arrange the random node ids in a proper loop and to fill the area. 

 

Please provide any suggestion.

 

Thanks,

Rama Adaikkalavan.

 

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

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited May 2019

    From v17, try available function 'hm_formnodelistfrommark'

  • RAMA ADAIKKALAVAN
    RAMA ADAIKKALAVAN Altair Community Member
    edited May 2019

    Hi Tinh,

     

    Thanks for the reply.

    But I have currently only v14 . Is there any other option.

     

    Thanks,

    Rama Adaikkalavan.

  • tinh
    tinh Altair Community Member
    edited May 2019

    Hi

    I have a tcl proc to do that. But in your case , update v14 with hotfix 14.0.130 to use above function.

    Or install v17

  • RAMA ADAIKKALAVAN
    RAMA ADAIKKALAVAN Altair Community Member
    edited May 2019

    Thanks Tinh,

    I will try this.