Open sulei27 opened 1 year ago
Hi @sulei27 It looks like there are no element nodal stresses in the result file to plot. To double check print the result object:
print(result)
Which will produce a listing like shown here:
https://reader.docs.pyansys.com/user_guide/loading_results.html#result-properties
ENS should not show up (i.e. not available)...can you confirm.
Mike
š Before submitting the issue
š Description of the bug
mapdl.post_processing.nodal_eqv_stress()
š Steps to reproduce
When I am trying to plot Nodal Stress using the commands: "result.plot_nodal_stress(0)" or "mapdl.post_processing.nodal_eqv_stress()" it gives me the following Error.!
ERROR: CRITICAL - - logging - handle_exception - Uncaught exception Traceback (most recent call last): File "C:\Users\dell\PycharmProjects\pythonProject15\gf.py", line 178, in
result.plot_nodal_stress(0, comp='x')
File "E:\python3.10\lib\site-packages\ansys\mapdl\reader\rst.py", line 3433, in plot_nodal_stress
return self._plot_nodal_result(
File "E:\python3.10\lib\site-packages\ansys\mapdl\reader\rst.py", line 4894, in _plot_nodalresult
, result = self._nodal_result(rnum, result_type)
File "E:\python3.10\lib\site-packages\ansys\mapdl\reader\rst.py", line 3707, in _nodal_result
raise ValueError(
ValueError: Result Nodal stresses (ENS) is not available in this result file.
Process finished with exit code 1
š» Which operating system are you using?
Windows
š Which ANSYS version are you using?
2021 R2
š Which Python version are you using?
3.10
š¦ Installed packages