How to build a lattice structure from a mesh file or some coordinate of beams?
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!
Answers
-
Hi,
You can extract lines from the edges of mesh and use the same for meshing with beams.
I hope this helps.
0 -
Altair Forum User said:
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!
0 -
Goto Geom page>> Surface>> Extract surface from FE. This should extract surfaces.
You can also use Lines option to extract lines using nodes.
0 -
Altair Forum User said:
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!
0 -
Moving to customization thread.
0 -
If you had coordinate of beams. I will give an example script
0 -
Altair Forum User said:
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!
0 -
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
0