You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/index.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ Dependencies:
30
30
- ``vtkInterface``
31
31
- ``vtk`` (optional)
32
32
33
-
Minimum requirements are numpy to extract results from a results file. To convert the raw data to a VTK unstructured grid, VTK 5.0 or greater must be installed with Python bindings.
33
+
Minimum requirements are numpy to extract results from a results file. To convert the raw data to a VTK unstructured grid, VTK 7.0 or greater must be installed with Python bindings.
34
34
35
35
See `Install VTK <http://vtkinterface.readthedocs.io/en/latest/installation.html>`_ for details instructions for installing VTK.
- Nodal principal stresses (i.e. S1, S2, S3, SEQV, SINT)
8
9
9
10
We're working on adding additional plotting and retrieval functions to the code If you would like us to add an additional result type to be loaded, please open an issue in `GitHub <https://github.com/akaszynski/pyansys>`_ and include result file for the result type you wish to load.
10
11
@@ -84,7 +85,7 @@ The DOF solution for an analysis for each node in the analysis can be obtained u
84
85
# normalized displacement can be plotted by excluding the direction string
85
86
result.PlotNodalResult(0, label='Normalized')
86
87
87
-
Stress can be obtained as well using the below code. The nodal stress is computed in the same manner as ANSYS by averaging the stress evaluated at that node for all attached elements. For now, only component stresses can be displayed.
88
+
Stress can be obtained as well using the below code. The nodal stress is computed in the same manner as ANSYS by averaging the stress evaluated at that node for all attached elements.
88
89
89
90
.. code:: python
90
91
@@ -95,6 +96,10 @@ Stress can be obtained as well using the below code. The nodal stress is comput
95
96
# Display node averaged stress in x direction for result 6
96
97
result.PlotNodalStress(5, 'Sx')
97
98
99
+
# Compute principal nodal stresses and plot SEQV for result 1
0 commit comments