-
-
September 27, 2024 at 6:09 pmqczhSubscriber
Hi everyone,
Â
I am currently working on a project in ANSYS Mechanical and looking for a way to automate the selection of mesh element faces, followed by creating named selections. Specifically, I have a series of repetitive mesh regions, and I would like to avoid manually clicking each element face.
Is there a way to script this process, perhaps by using the coordinates or element numbers to automatically select mesh faces and then apply named selections? Any guidance or examples would be greatly appreciated!
Â
Thank you in advance for your help!
-
September 30, 2024 at 6:48 amErik KostsonAnsys Employee
Hi
It could very possibly and likely be automated. Have in mind that you have 1 M elements on top surface one will end up with many NS which will not be handled well as the Tree will become very large.
What is that you want to do with all these faces?
Thank you
Erik
-
September 30, 2024 at 7:03 ammohan.ursAnsys Employee
Hey, check out this scripting examples from Ansys help. Combining some of these should help you solve your problem.
https://ansyshelp.ansys.com/public//Views/Secured/corp/v242/en/act_script/act_script_examples_select_geom_or_mesh.html
https://ansyshelp.ansys.com/public//Views/Secured/corp/v242/en/act_script/act_script_examples_create_named_selection_faces.html
https://ansyshelp.ansys.com/public//Views/Secured/corp/v242/en/act_script/act_script_examples_create_selection_based_on_Location_of_nodes_in_Y.html
Thanks,
Mohan
-
- You must be logged in to reply to this topic.
-
461
-
230
-
200
-
183
-
162
© 2024 Copyright ANSYS, Inc. All rights reserved.