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 (mid surface + elements) of CAD in one component and the CAD surfaces in other component. can anyone suggest a code to detect the elements within CAD surfaces with the condition (elements are independent i.e., not on surfaces)
Hello @ATLURI BHARATH KUMAR ,
I have created a script for our models, which will sort the FE-Components to a Part based if the FE-Mesh is within one solid (of one component) of the Part.
Procedure:Create a list with all components that contains solidsCreate a list with all components that contains mesh
Loop through all components with the mesh and pick 50 random nodes (to increase speed) from the mesh. Check with every solid, if a certain percentage of nodes are within a solid (command "set isInSolid [hm_ispointinsidesolid $x $y $z $solidId]"). If there are more then 30% of the nodes part of the solid I will organize the component to the part of the solid.
This takes quiet long to go through a bigger model, but I haven't found any other way so far.
BR
Andreas
But here I have only surfaces not solids. Can you help in this scenario
Haven't tried myself, but I think "hm_getcoordinatesfromnearestsurface" can help you in this case.
https://help.altair.com/hwdesktop/hwd/topics/reference/hm/hm_getcoordinatesfromnearestsurface.htm
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…
Join us for a community conversation to explore how different modeling approaches in Simcenter PSIM can help engineers simulate power electronics systems while balancing accuracy, simulation speed, and design insight. What you'll learn: Power transistor modeling : Thermal and high fidelity models Protection component…