Load a result file#
The Simulation
object is
a central element of PyDPF-Post. This object is the entry point for loading
the contents of a result file.
On Windows#
This code loads a result file on Windows:
>>> from ansys.dpf import post
>>> from ansys.dpf.post import examples
>>> simulation = post.load_simulation('C:/Users/user/file.rst')
On Linux#
This code loads a result file on Linux:
>>> simulation = post.load_simulation('/home/user/file.rst')
For a more detailed example on interacting with the
Simulation
object,
see Get and use a Result object.