Subsurface element from a surface element

Options
Ansyslearner
Ansyslearner Member Posts: 12
First Comment

Hi

I know the element ID: 123 (located on the surface of a finite element mesh).
I would like to get the element behind the element 123.

I am trying to see if there is any native commands.

Should I be using at:
dpf.operators.mesh.mesh_extraction() ?

Number of extension layer
https://dpf.docs.pyansys.com/version/0.11/api/ansys.dpf.core.operators.mesh.mesh_extraction.html#ansys.dpf.core.operators.mesh.mesh_extraction.InputsMeshExtraction.mesh_scoping

I see the following method:
.getting element 123 connectivity
.get all the 5 adjacent elements
.create a shell mesh
.calculate normal of the shell at element 123,
.reverse the normal
.get the subsurface element ID (By some means).

Thank you in advance for your attention.

Tagged:

Answers