what is node number a particular result extracted in ansys.dpf.post (pyansys) in python?

246 Views Asked by At

I have extracted the elastic strain energy density at each node in python from an ansys .rst file using ansys dpf post (solution.misc.nodal_elastic_strain_energy_density) but dont know the information about the nodes at which the results are extracted. I think the results are extracted in a random node manner. So can anyone suggest me to get the results according to the node format that was given in ansys mechanical Or atleast know the node number at the result in python.

Thank you.

1

There are 1 best solutions below

2
On

In my opinion the docs are a bit thin but I think you can explicitly specify the nodes you are interested in with a keyword:

nodal_elastic_strain_energy_density_scoped = solution.misc.nodal_elastic_strain_energy_density(
    location=post.locations.nodal, node_scoping=[1, 2, 3])