Load the result file#
The Simulation
object is
a central element of PyDPF-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
>>> simulation = post.load_simulation('C:/Users/user/file.rst')
On Linux You can load the result file with:
>>> simulation = post.load_simulation('/home/user/file.rst')
For a more detailed example on interacting with the
Simulation
object,
see Basic features.