Result class#
Result 类可访问不同类型的结果数据。
本代码展示了如何访问位移、应力和弹性应变的结果数据: .. code:: python
>>> 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 为每种支持的结果类型提供了独立的 result 类。有关可用类型及其接口的信息,请参阅 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. |