Module containing the common tools for a better usage of the PyDPF-Post module.

Common#

class ansys.dpf.post.common.Grouping#

Provides Enum inheritance.

This class must be used to describe a grouping command when the API allows it.

Examples

>>> from ansys.dpf import post
>>> from ansys.dpf.post import examples
>>> solution = post.load_solution(examples.download_all_kinds_of_complexity())
>>> disp = solution.displacement(grouping=post.grouping.by_el_shape)
class ansys.dpf.post.common.AvailableSimulationTypes#

Contains available simulation types to give the load_simulation() function.