We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f608955 commit 75ca8a1Copy full SHA for 75ca8a1
ansys/dpf/core/results.py
@@ -649,7 +649,7 @@ def stress(self):
649
>>> stress = stress.on_last_time_freq.on_named_selection("_CONSTRAINEDNODES")
650
>>> last_time_disp = stress.eval()
651
"""
652
- return super().__result__("elastic_strain")
+ return super().__result__("stress")
653
654
@property
655
def structural_temperature(self):
tests/test_model.py
@@ -206,6 +206,7 @@ def test_result_not_dynamic(plate_msup):
206
assert np.allclose(
207
fc.time_freq_support.time_frequencies.data, np.array([0.115, 0.125])
208
)
209
+ assert fc[0].unit == "Pa"
210
dis = model.results.displacement().eval()
211
dpf.core.settings.set_dynamic_available_results_capability(True)
212
0 commit comments