Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plot Nodal stress Error #263

Open
2 tasks done
sulei27 opened this issue May 30, 2023 · 1 comment
Open
2 tasks done

Plot Nodal stress Error #263

sulei27 opened this issue May 30, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@sulei27
Copy link

sulei27 commented May 30, 2023

🔍 Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

🐞 Description of the bug

mapdl.post_processing.nodal_eqv_stress()

2023-05-30_134925

📝 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_nodal_result
_, 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

Pyansys


IDE : Pycharm
@sulei27 sulei27 added the bug Something isn't working label May 30, 2023
@mikerife
Copy link

mikerife commented Jun 1, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants