0.5.2b1
Pre-releasev0.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
- Improved user guide. Added section on custom operators, usage of DPF XML file, documentation on main entities, and DPF concepts.
- New example: ASME Section VIII Division 2: pressure vessels, by @jviqueg
- Automatically generate Graphviz in documentation examples.
Full Changelog: 0.4.2...0.5.2b1
What's Changed
- Example/asme 10 by @jviqueg in #265
- Temporary fix due to breaking change with protobuf >=4.* by @PProfizi in #271
- Rename ANSYS_PATH env as ANSYS_DPF_PATH by @PProfizi in #270
- Update extras require. by @akaszynski in #273
- Removing deprecated Docker files by @PProfizi in #267
- Add Dependabot to the repository by @PProfizi in #275
- Build and Test using pydpf-actions - generate wheelhouse by @PProfizi in #292
- Ignore dependabot automatic PRs for style check by @PProfizi in #290
- Dependabot ignores VTK by @PProfizi in #291
- Bump codespell from 2.0.0 to 2.1.0 by @dependabot in #287
- Feat/plot warped mesh by @PProfizi in #269
- Bump pyvista from 0.34.2 to 0.35.1 by @dependabot in #295
- Feat/new setters for nodes elements and meshedregion by @PProfizi in #294
- Bump actions/setup-python from 4.0.0 to 4.1.0 by @dependabot in #302
- Bump coverage from 6.4.1 to 6.4.2 by @dependabot in #306
- Bump sphinx-notfound-page from 0.8 to 0.8.3 by @dependabot in #308
- Collect dependencies under a requirements/ directory by @jorgepiloto in #307
- Merge/0.5.dev2 code fixes to remove warnings by @cbellot000 in #311
- Bump imageio from 2.19.3 to 2.19.5 by @dependabot in #312
- Add a retrocompatibility workflow by @PProfizi in #310
- Remove not existing compute_elastic_strain* operator files that does not correspond to any operator by @anslpa in #318
- Prepare pipelines for v222 and fix doctests by @PProfizi in #300
- Merge/doc 0.5.dev2 fix and improve doc by @cbellot000 in #319
- Update unit tests: test_launcher retrocompatibility, test_busy_port and test_list on Linux by @anslpa in #323
- License: update (2022) by @anslpa in #333
- Bump sphinx from 5.0.2 to 5.1.0 by @dependabot in #329
- Bump scooby from 0.5.12 to 0.6.0 by @dependabot in #328
- Merge/0.5.dev2 fix 2022R2 pipelines by @cbellot000 in #325
- Bump imageio from 2.19.5 to 2.20.0 by @dependabot in #338
- Merge/retro/refactor actions grpc by @cbellot000 in #339
- Bump pyvista from 0.35.1 to 0.35.2 by @dependabot in #313
- Fix a typo in the user guide by @PProfizi in #330
- Merge/retro/0.5.dev2 fix workflow by @cbellot000 in #344
- Release of pydpf-core for server's version Ansys 2022R2 (DPF Server's version 0.4) by @cbellot000 in #297
- Fix circular ref between mesh and nodes and elements by @cbellot000 in #350
- Bump sphinx-gallery from 0.10.1 to 0.11.0 by @dependabot in #348
- Add wheelhouse generation for CI by @PProfizi in #351
- Bump enum-tools[sphinx] from 0.9.0 to 0.9.0.post1 by @dependabot in #349
- add Pipeline running examples with/without gatebin by @cbellot000 in #342
- Doc/fix graphviz by @cbellot000 in #354
- Bug/add missing package by @cbellot000 in #358
New Contributors
- @jviqueg made their first contribution in #265
- @jorgepiloto made their first contribution in #307
Full Changelog: https://github.com/pyansys/pydpf-core/commits/0.5.2b1