In PyAnsys how can I extract the list of node IDs from a strain field of a nonlinear analysis?
pg
Member Posts: 1 **
I can extract the data from the field using the .data attribute but I am not able to find which is the attribute for listing the node IDs from the same field. However, when i print that field the node Ids are there.
Simplified code example:
model = dpf.Model(path) my_ns = model.metadata.named_selection("FOO") el_op = dpf.operators.result.elastic_strain( time_scoping=[80], mesh_scoping=my_ns, data_sources=model, bool_rotate_to_global=False, requested_location="Nodal", ) res_elastic = el_op.eval() epel = res_elastic[0].data
0
Answers
-
@Ramdane and @Paul Profizi - another DPF question looking for your talents!
0