Skip to content

Commit 73840d6

Browse files
authored
Bug #26: user_guide/accessing_results fixes (#27)
* typo in temperature.py docstring * typos in accessing_results section of documentation
1 parent cd902d2 commit 73840d6

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

ansys/dpf/post/temperature.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
class StructuralTemperature(Scalar):
9-
"""Defines the strctural temperature object, that is a scalar object."""
9+
"""Defines the structural temperature object, that is a scalar object."""
1010
def __init__(self, **kwargs):
1111
super().__init__(**kwargs)
1212
self._operator_name = "BFE"
@@ -19,7 +19,7 @@ def __str__(self):
1919

2020

2121
class ComplexStructuralTemperature(ComplexScalar):
22-
"""Defines the complex strctural temperature object, that is a scalar object."""
22+
"""Defines the complex structural temperature object, that is a scalar object."""
2323
def __init__(self, **kwargs):
2424
super().__init__(**kwargs)
2525
self._operator_name = "BFE"

docs/source/user_guide/accessing_results.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ e.g., the normal y-stresses, access the following subresult:
125125
>>> from ansys.dpf.post import examples
126126
>>> solution = post.load_solution(examples.multishells_rst)
127127
128-
Instantiate the displacement result object
128+
Instantiate the stress result object
129129
130130
>>> stress = solution.stress()
131131
@@ -169,7 +169,7 @@ e.g., shear xy-strains, access the following subresult:
169169
>>> from ansys.dpf.post import examples
170170
>>> solution = post.load_solution(examples.multishells_rst)
171171
172-
Instantiate the displacement result object
172+
Instantiate the elastic strain result object
173173
174174
>>> elastic_strain = solution.elastic_strain()
175175
@@ -199,7 +199,7 @@ The structural (or system) temperature ``Result`` object can be obtained as foll
199199
>>> from ansys.dpf.post import examples
200200
>>> solution = post.load_solution(examples.multishells_rst)
201201
202-
Instantiate the elastic strain result object
202+
Instantiate the structural temperature result object
203203
204204
>>> structural_temperature = solution.structural_temperature()
205205
@@ -213,11 +213,11 @@ To access the temperature scalar field use the following:
213213
>>> from ansys.dpf.post import examples
214214
>>> solution = post.load_solution(examples.multishells_rst)
215215
216-
Instantiate the displacement result object
216+
Instantiate the structural temperature result object
217217
218218
>>> structural_temperature = solution.structural_temperature()
219219
220-
Get the xy elastic strain result data
220+
Get the structural temperature result data
221221
222222
>>> temperature = structural_temperature.scalar
223223
>>> temperature.get_data_at_field()

0 commit comments

Comments
 (0)