Integrate DPF in a project
To use DPF in a C++ project, you must have access to the following files of the AWP_ROOT251/dpf/include folder (AWP_ROOT251 being an environment variable defining the root of the Ansys Inc or DPF Server product). The following lines must be added on top of the C++ file to add DPF capabilities in:Instantiate a DataSources
DataSources provides information regarding the files in which analysis results can be found. To instantiate a DataSources from RST file path, use the following code, for example in the “main” method:Read a displacement field with DPF
To read a displacement result field, use the following code, for example in the “main” method:Read a mesh with DPF
To read a mesh, use the following code, for example in the “main” method:Display displacement result
To display the resultsField values previsouly computed on the computed meshedRegion, use the following code: