Result
class#
The Result
class provides access
to different types of result data.
This code shows how you can access result data for displacements, stresses, and elastic strains:
>>> from ansys.dpf import post
>>> from ansys.dpf.post import examples
>>> solution = post.load_solution(examples.multishells_rst)
Displacement result object
>>> displacement = solution.displacement()
Stress result object
>>> stress = solution.stress()
Elastic strain result object
>>> elastic_strain = solution.elastic_strain()
DPF-Post features separate Result
classes for each supported result type. For information on
the available types and their interfaces, see Access results.
|
Provides the |
|
Defines the displacement object, which is a vector object. |
|
Defines the temperature object for a thermal/electric analysis. |
|
Defines the temperature object for a thermal/electric analysis. |
|
Provides the miscellaneous mecanic result. |
|
Defines the elastic strain object, which is a tensor object. |
|
Defines the plastic strain object, which is a tensor object. |
|
Defines the stress object, which is a tensor object. |
|
Defines the heat flux object, which is a scalar object, for thermal analysis. |
|
Defines the structural temperature object, which is a scalar object. |
|
Defines the temperature object, which is a scalar object, for thermal analysis. |