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
we could not find a way how to obtain following sub results S_max_shear, S_intensity of result stress. According sub results of a result these 2 sub results should be available (see print below). Is there a way to obtain these 2 sub results?
For example other sub-result S1 of result stress we obtain as follows dpf.operators.result.stress_principal_1()
Similarly we do not know to obtain following sub-results for results:
elastic strain - sub results EPEL_eqv, EPEL_max_shear, EPEL_intensity
plastic strain - sub results: EPPL_eqv, EPPL_max_shear, EPPL_intensity
thermal strain - sub results: ETH_max_shear, ETH_intensity
Example:
from pathlib import Path
from ansys.dpf import core as dpf
file_path = Path(r"07_plastic.rst")
model = dpf.Model(file_path)
print(model.metadata.result_info.available_results[2].sub_results)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
we could not find a way how to obtain following sub results
S_max_shear
,S_intensity
of result stress. According sub results of a result these 2 sub results should be available (see print below). Is there a way to obtain these 2 sub results?For example other sub-result
S1
of result stress we obtain as followsdpf.operators.result.stress_principal_1()
Similarly we do not know to obtain following sub-results for results:
EPEL_eqv
,EPEL_max_shear
,EPEL_intensity
EPPL_eqv
,EPPL_max_shear
,EPPL_intensity
ETH_max_shear
,ETH_intensity
Example:
Output:
[{'name': 'X', 'operator name': 'SX', 'description': ' XX normal component (00 component)'}, {'name': 'Y', 'operator name': 'SY', 'description': ' YY normal component (11 component)'}, {'name': 'Z', 'operator name': 'SZ', 'description': ' ZZ normal component (22 component)'}, {'name': 'XY', 'operator name': 'SXY', 'description': ' XY shear component (01 component)'}, {'name': 'YZ', 'operator name': 'SYZ', 'description': ' YZ shear component (12 component)'}, {'name': 'XZ', 'operator name': 'SXZ', 'description': ' XZ shear component (02 component)'}, {'name': 'principal1', 'operator name': 'S1', 'description': ' 1st principal component'}, {'name': 'principal2', 'operator name': 'S2', 'description': ' 2nd principal component'}, {'name': 'principal3', 'operator name': 'S3', 'description': ' 3rd principal component'}, {'name': 'eqv', 'operator name': 'S_eqv', 'description': ' nodal / elemental Mises equivalent'}, {'name': 'max_shear', 'operator name': 'S_max_shear', 'description': ' nodal / elemental max shear'}, {'name': 'intensity', 'operator name': 'S_intensity', 'description': ' nodal / elemental intensity nodal / elemental'}]
As we can see the sub-results are listed, but how to obtain them?
Thank you and best regards,
Petr
Beta Was this translation helpful? Give feedback.
All reactions