Hello everyone,
I’m using Ansys Mechanical 2024 R2 and want to calculate the surface area of my mesh via the mesh_skin operator within an ACT Application. However, the resulting mesh_skin includes additional elements (probably due to the contact elements), which leads to double the expected area.
Here is my code:
skin_mesh = dpf.operators.mesh.skin(
mesh=full_mesh,
mesh_scoping=node_scoping
).outputs.mesh.GetData()
area_field = dpf.operators.geo.surface_area(mesh=skin_mesh).outputs.fields_container.GetData()[0]
In node_scoping are all nodes on the area (which is the geometry of interest).
The skin_mesh.ElementCount indicates double the element_faces which should be there. This causes me problems by calculating the area of the element faces and I need the area_field because I do additional calculations with this field and a stress field but the length doesn't match.
Is there a way to get the skin_mesh just for the solid elements?
Regards
Felix