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.
Greetings,
I would like to query element id from list of node ids.
I know its possible other way around. But can we ask for element id giving list of node ids which make this element ?
Hi @Sai91
Check this thread,
https://support.altair.com/community?id=community_question&sys_id=4f56c8f61b2bd0908017dc61ec4bcb2a
Above thread may be not what @Sai91 wants,
Let's say, you have 4 node IDs and you're sure that there is a quad formed by those. This is a way to find the quad:
proc findElementsFormedByNodes args { set NodeList [join $args] *createmark elems 1 "by node" {*}$NodeList set ElemList {} foreach ElemId [hm_getmark elems 1] ElemNodes [hm_getvalue elems mark=1 dataname=nodes] { if {[lsort $ElemNodes] == [lsort $NodeList]} { lappend ElemList $ElemId } } set ElemList } #test *createmarkpanel nodes 1 "Select nodes of an element:" puts "element(s) with nodes [join [hm_getmark nodes 1] ,] : [findElementsFormedByNodes [hm_getmark nodes 1]]" #other way to call findElementsFormedByNodes : set nid1 5 set nid2 24 set nid3 65 set nid4 32 findElementsFormedByNodes $nid1 $nid2 $nid3 $nid4
Join us for a community conversation to discover the Advanced Iterative Solver(AIS) in Simcenter Feko and its application to electrically large and computationally demanding electromagnetic models. The session will provide a general overview of how iterative solution methods can help improve efficiency of large scale…
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…