APDL shows 55098 elements. PyDPF shows 52766 elements. There are 2332 elements missing in pyDPF. Why is that?
meshed_region = model.metadata.meshed_region
print(meshed_region.elements.scoping)
This is seen in scoping from Named Selection:
NS_elem_scoping_op = dpf.operators.scoping.on_named_selection(
requested_location = 'elemental',
named_selection_name = NS,
int_inclusive = 0,
streams_container = sc)
NS_elem_scoping = NS_elem_scoping_op.outputs.mesh_scoping()
PyDPF returns 474 elements. Both Mechanical and APDL returns 507 elements. This is carried over my contact pressure results - specifically SMISC #1, #2, #3 and #4 (contact pressure of corned nodes). After some processing, the values calculated from SMISC from pyDPF agrees with Mechanical output. This is true for nodes of elements that are read by pyDPF. However, because some elements are missing, the averaged results do not agree.
Please advise.
If ANY info regarding how Mechanical calculates averaged contact pressure, I would love to see it. I think I am on a right track but pyDPF misses some elements.