Load the result file#

The DpfSolution object is a central element of DPF-Post. This object is the entry point for browsing the contents of a result file.

On Windows

You can load the result file with:

>>> from ansys.dpf import post
>>> from ansys.dpf.post import examples
>>> solution = post.load_solution('C:/Users/user/file.rst')

On Linux You can load the result file with:

>>> solution = post.load_solution('/home/user/file.rst')

For a more detailed example on interacting with the DpfSolution object, see Basic features.