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 an FE inside a CAD. for any FE element, I have to get opposite paired surfaces.
Any solution?
Pls help. @tinh @vipin
Try find closest surf from elem center
@tinh Passing list of all surfaceid to get closest surface makes code slow. Do you know any code without passing surface id list?
Secondly, if its a single surface cad, then i will not get opposite surfaces, instead i get surfaces on same plane using closest surface. How to check this?
yes, hm_getclosestsurface is very slow
using hm_measureshortestdistance is faster
after finding the closest surf, use hm_markremove to remove it from surf mark, and continue searching next closest surf
yes, hm_getclosestsurface is very slow using hm_measureshortestdistance is faster after finding the closest surf, use hm_markremove to remove it from surf mark, and continue searching next closest surf
Ple
@tinh Passing list of all surfaceid to get closest surface makes code slow. Do you know any code without passing surface id list? Secondly, if its a single surface cad, then i will not get opposite surfaces, instead i get surfaces on same plane using closest surface. How to check this?
Clarify abt my second doubt. @tinh
Secondary,...
=> to check it, you can compare normal vector of 2 surfs, in case of single surf cad, 2 normal vectors have same direction
otherwise, they have inversed normals
hm_triplecos may help
@tinh Can you elaborate. Pls.
Once you find the closest surf, find its normal by hm_getsurfacenormalatcoord
@tinh i am using hm_triplecos function. what is happening is sometimes it gives +1 or -1 for opposite surfaces/parallel surfaces both. so, getting opposite surfaces in case of ribs fails in some areas. that is, it may get surface of nearby rib too in case of plastics. what to do?
Unify comps with normal + (red outer)
Then search nearest surface in normal - only, ignore surf with triplecos +1
@tinh how to 'Unify comps with normal + (red outer)?'
Enter panel normals>surfs to adjust it
@tinh, will be helpful in plastic comps with full of ribs?
Please try and if it is not helpful, tell us reason
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…