Get DPF MeshScoping from APDL component name
Mike.Thompson
Member, Employee Posts: 361
✭✭✭✭
How can I get a mesh scoping object in DPF given an APDL component name. Use case is for Mechanical post processing where I have the APDL component name defined in a command snippet, and I want to use those node and/or element values in dpf post processing.
Tagged:
0
Answers
-
Mike, have you tried the on_named_selection scoping operator (https://dpf.docs.pyansys.com/version/stable/api/ansys.dpf.core.operators.scoping.on_named_selection.html#module-ansys.dpf.core.operators.scoping.on_named_selection) ?
just make sure you pass the name of your selection in upper capital, as this is the way they are stored in the RST file. The requested_location parameter is also helpful if you want to convert from nodes to elements or vice versa.
5