Skip to content

0.5.2b1

Pre-release
Pre-release
Compare
Choose a tag to compare
@anslpa anslpa released this 28 Jul 07:22
· 762 commits to master since this release

v0.5.2b1 Release Notes

pydpf-core 0.5.2b1 pre-release (beta version) for Ansys 2022 R2

What's Changed

Enhancements

  • Three server configurations are available. PyDPF can communicate either in Process or via gRPC with DPF C++ core server.

    • InProcessServer: Loads DPF's binaries in Process and shares memory with DPF's data. Performance is greatly improved.
    • GrpcServer: Uses gRPC communication through DPF gRPC CLayer Ans.Dpf.GrpcClient.
    • LegacyGrpcServer: Uses gRPC communication through the Python module ansys.grpc.dpf (the default configuration for the beta release).
  • Enhanced DPF capabilities by creating custom Python operators. See the Create Custom Operators documentation.

  • You can now use RuntimeClientConfig (commit) and RuntimeCoreConfig to parametrize DPF.
    RuntimeClientConfig (commit) allows you to:

    • Set the streaming_buffer_size while streaming data through gRPC server configurations.
    • Choose whether to stream float or double values while streaming FIeld data through gRPC server configurations.
    • Choose whether to return numpy arrays by default (for scoping's ids, field's data_pointer), default is now True.

    RuntimeCoreConfig allows you to set the number of threads used (on the server side) for operators that enable multi-threaded data computation.

  • Parallelized pre and post processing workflows with remote operators.

  • Added new operators in the ansys.dpf.core.operators module, such as logic.ascending_sort(), logic.ascending_sort_fc(), logic.descending_sort(), logic.descending_sort_fc(), serialization.data_tree_to_json(), serialization.json_to_data_tree(), mesh.meshes_provider(), and so on. See the PyDPF documentation related to operators to learn how to use them.

  • Warped mesh in plotter: Enable data visualization on a deformed mesh.

Continuous Integration

  • ansys-dpf-gate is a new dependency of ansys-dpf-core.
  • tqdm replaces progressbar2 as the third party module for progress bars.
  • Backward compatibility workflow running on Ansys 2022 R1.
  • Examples workflow running documentation examples for different server configurations.
  • protobuf breaking change is not supported, supported versions are <=3.20.1.
  • Added Dependabot to CI.
  • Added dependency on packaging module

Bug fixes

  • Fixed circular references between DPF objects.

Documentation fixes

Full Changelog: 0.4.2...0.5.2b1

What's Changed

New Contributors

Full Changelog: https://github.com/pyansys/pydpf-core/commits/0.5.2b1