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.
Hi ,gd evening,
How to get nearest nodes to user selected node.any command available.
Thank you in advace
Hi Raj,
You can use the below APIs:
hm_getclosestnode x y z ?elem_mark? ?node_mark?
::hwat::core::GetClosestNodeByDistance x y z n_nodeList n_exemptNodes
::hwat::utils::GetClosestNode x y z [d_tolerance] [assemname] [n_exemptNodes]
To get x y z of the user selected nodeID use:
hm_nodevalue $nodeID
For more info refer help or search the commands in Altair Connect.
Hi livil,
Thank you for quick response.
My requirement is I want to get 10 first order nodes only for example (number will varies)near to the selected node.
I am getting one node by busing this .
Can I get some idea on it.
Thank you
set node_list
# we are getting closest node at (0 0 0) for {set i 0} {$i < 10} {incr i} \ {
*createmark elements 1 all; eval *createmark nodes 1 $node_list; set id [hm_getclosestnode 0 0 0 1 1] *clearmark node 1 *clearmark elems 1 lappend node_list $id
}
puts $node_list
Hi thank you pandurang
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…