Load plugin

This example shows how to load a plugin that is not automatically loaded.

Import dpf module

from ansys.dpf import core as dpf

Create a base service that allows to load a plugin

dpf.core.load_library('Ans.Dpf.Math.dll', 'math_operators')


'math_operators successfully loaded'

Math operators are now loaded and accessible in ansys.dpf.core.operators

from ansys.dpf.core import operators as ops
math_op = ops.math.fft_eval()

Total running time of the script: ( 0 minutes 0.782 seconds)

Gallery generated by Sphinx-Gallery