Create force on line
Hello, i just start to use Tcl script on hypermesh.
I've a script who create a simple geometry and mesh on hypermesh.
And i need to create boundary conditions.
with the commande file I've :
*startnotehistorystate {Created Force }
*createmark nodes 1 1-19 1920-1945 4553-4559
*loadcreateonentity_curve nodes 1 1 1 -0 -0 50 0 0 50 0 0 0 0 0
*endnotehistorystate {Created Force }
The problem is that the nodes are not always the ame (depend on my geometry).
Can I create boundary conditions without the number of the nodes ? Like with lines ?
Something like :
*startnotehistorystate {Created Force }
*createmark nodes 1 Line 3
*loadcreateonentity_curve nodes 1 1 1 -0 -0 50 0 0 50 0 0 0 0 0
*endnotehistorystate {Created Force }
Thanks
Sorry i'm really a beginner with TCL.
Answers
-
yes you can. the correct syntax is:
*createmark nodes 1 'by lines' 3
0 -
Hello,
Perfect it works.
Thanks for your help !
0