The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
I have few nodes (lets say 12 nodes) in circular fashion numbered with known ids (say 1,2,3,.....,12). How to generate mesh from the above nodes in a drag fashion in hypermesh tcl
Some pictures?
Just perform this action in HM and check the command.tcl file. This is the simplest way of getting the commands.
But in this case you need to take care, as the mesh won't be enclosed.
*createlist nodes 1 15 14 13 12 11 10 9 8 7 6 5 4 3 2 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 *createvector 1 0 0 1 *dragnodestoformsurface 1 1 77.777 *set_meshfaceparams 0 1 2 0 0 1 0.5 1 1 *set_meshedgeparams 0 30 0 0 0 0 0 0 0 *set_meshedgeparams 1 8 0 0 0 0 0 0 0 *set_meshedgeparams 2 30 0 0 0 0 0 0 0 *set_meshedgeparams 3 8 0 0 0 0 0 0 0 *automesh 0 1 2
I have used similar script which you suggested, but the script stops running at '*set_meshfaceparams' line. can you please run the script which i provide and tell me if there is any mistake
*startnotehistorystate {Drag and mesh} *createlist nodes 1 1 2 3 4 5 6 7 8 9 10 11 12 *createvector 1 5.48432114e-06 2.64328133 4.50066159e-06 *dragnodestoformsurface 1 1 2.64328133 *set_meshfaceparams 0 1 2 0 0 1 0.5 1 1 *set_meshedgeparams 0 11 0 0 0 0 0 0 0 *set_meshedgeparams 1 1 0 0 0 0 0 0 0 *set_meshedgeparams 2 11 0 0 0 0 0 0 0 *set_meshedgeparams 3 1 0 0 0 0 0 0 0 *automesh 0 1 2 *storemeshtodatabase 0 *ameshclearsurface *endnotehistorystate {Drag and mesh}
I developed this script from tcl file after performing the drag option manually
The dialog box appears as 'Error 0 0' after run. When i searched in google, it is said to be a return value which means TCL OK. But I couldn't understand why the script stopped.
Sorry, company policy issues. can't share. The nodes are in X-Z plane in circular fashion which need to be dragged along Y axis
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…
Join us for a community conversation on accelerating your motor simulation workflow with Simcenter Simlab. In this beginner-friendly session, we'll introduce the platform's automated model-building capabilities and show how easy it is to set up your first electric motor analysis. You'll see the basic steps of geometry…
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…