🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to build a lattice structure from a mesh file or some coordinate of beams?

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Hello 

 

If there is a mesh file(like obj or stl files)or coordinates of beams,just like the pic below,how can i build a lattice structure(replace each edge of mesh with a cylindrical beam) in the OptiStruct quickly?

 

I thank you in advance for your help!

 

 

<?xml version="1.0" encoding="UTF-8"?>1.png

Find more posts tagged with

Sort by:
1 - 8 of 81
    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Hi,

     

    You can extract lines from the edges of mesh and use the same for meshing with beams. 

     

    I hope this helps. 

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Hi,

     

    You can extract lines from the edges of mesh and use the same for meshing with beams. 

     

    I hope this helps. 

    Is there any codes or any tutorials can help me do this thing? Thank you very much! 

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Goto Geom page>> Surface>> Extract surface from FE. This should extract surfaces.

     

    You can also use Lines option to extract lines using nodes. 

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Goto Geom page>> Surface>> Extract surface from FE. This should extract surfaces.

     

    You can also use Lines option to extract lines using nodes. 

    Thanks for yours nice answer, and I have one more question 'How to do this things by tcl codes instead of interactive operation?'.Is there any examples or tutorials can help me do this thing? Thank you very much again! 

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Moving to customization thread. 

    User: "tinh"
    Altair Community Member
    Updated by tinh

    If you had coordinate of beams. I will give an example script

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    If you had coordinate of beams. I will give an example script

    Yes, I only have coordinates of beams.Could you please send me your script.Thank you very much!

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Try

    set ElemList {}

    *createnode $x1 $y1 $z1

    *createnode $x2 $y2 $z2

    *createlist nodes 1 -1 -2

    *createelement 2 1 1 1

    lappend ElemList [hm_latestentityid elems]

    #.... => repeat with other x, y, z coordinates

    eval *createmark elems 1 $ElemList

    *equivalence elems 1 0.1 1 0 0

    eval *createmark elems 1 $ElemList

    *configedit 1 bar2