Skip to content

Releases: ansys/pydpf-core

v0.7.2

20 Dec 12:55
Compare
Choose a tag to compare

v0.7.2 Release Notes

pydpf-core 0.7.2 release for DPF Server 2023.2.pre0
Some new functionalities may only be available for use with DPF Server 2023.2.pre0.

What's Changed

Enhancements

Bug fixes

  • Temporarily pin numpy dependency due to deprecated np.int and np.float by @PProfizi in #704

Documentation

CI/CD

  • Reduce the number of ignored words for Codespell by @PProfizi in #654
  • Force doc style check with Vale before building the doc by @PProfizi in #689

Maintenance

New Contributors

Full Changelog: v0.7.1...v0.7.2

v0.7.1

13 Dec 09:53
Compare
Choose a tag to compare

v0.7.1 Release Notes

pydpf-core 0.7.1 release for DPF Server 2023.2.pre0

This release introduces DPF Server 2023.2.pre0 and explains how to use it.
For more information, see the Getting started with DPF Server section in the PyDPF-Core documentation.

To use DPF Server 2023.2.pre0, follow the instructions for updating your Python environment.

Some new functionalities may only be available for use with DPF Server 2023.2.pre0.

What's Changed

Enhancements

  • Expose LS-DYNA result extraction and post-treatment (2023.2.pre0) by @rafacanton in #567
  • Improve the "operator not found" error message with potential causes by @cbellot000 in #659

Bug fixes

  • Do not force the use of a specific Ansys version when starting DPF with PyPIM by @plule-ansys in #666
  • Fix the parsing of server version for DPF Server installations by @anslpa in #673
  • Fix the server-to-Ansys gRPC DPF version because Packaging 22.0 did not recognize the "*" character by @anslpa in #676
  • Map server version 6.1 to 2023 R2 by @cbellot000 in #679

Documentation

  • Fix the Getting started section by @cbellot000 in #642
  • Update the Compatibility section by @PProfizi in #650
  • Add instructions on how to update a Python environment when installing a new Ansys version by @anslpa in #652
  • Add Entry- and Premium-specific operator sections by @anslpa in #646
  • Add Server context, Server context, and Getting started with DPF Server sections by @anslpa in #637
  • Add an example for calculating the number of cycles to fatigue failure from @mcMunich by @PProfizi in #591
  • Refactor Concepts into its own top section by @PProfizi in #661
  • Improve the Getting started with DPF Server section by @anslpa in #675
  • Add links to the DPF Server page on the Ansys Customer Portal by @anslpa in #671
  • Refactor and update the examples to clarify Entry and Premium operator capabilities by @PProfizi in #674
  • Add details about the DPF Preview License Agreement by @anslpa in #682

CI/CD

  • Remove concurrency on CI when not a PR by @PProfizi in #647
  • Enable use of custom wheels shipped with the server by @cbellot000 in #665
  • Allow choosing the DPF Server branch when releasing by @PProfizi in #681

Maintenance

New Contributors

Full Changelog: v0.7.0...v0.7.1

v0.7.0

25 Nov 15:47
Compare
Choose a tag to compare

v0.7.0 Release Notes

pydpf-core 0.7.0 release for DPF Server 2023.2.pre0

This release is in preparation for the release of DPF Server 2023.2.pre0.

Some of the new functionalities may only be available for use with DPF Server 2023.2.pre0.

What's Changed

Enhancements

Documentation

CI/CD

Maintenance

Full Changelog: v0.6.2...v0.7.0

v0.6.2

26 Oct 14:53
Compare
Choose a tag to compare

v0.6.2 Release Notes

pydpf-core 0.6.2 release for Ansys 2023 R1
Some of the new functionalities may only be available for use with ANSYS 2023 R1.

What's Changed

Enhancements

  • Use getters for example paths to enable automatic upload of example files on servers by @cbellot000 in #568
  • Add CustomTypeField, a Field of custom data type (int8, int32, float32...) for optimized memory usage (with ANSYS 2023 R1) by @cbellot000 in #532

Documentation

Bug fixes

  • Fix deformation in FieldsContainer.animate by @PProfizi in #582
  • Fix FieldsContainer.animate behavior on Linux by @PProfizi in #585

Maintenance

New Contributors

Full Changelog: v0.6.1...v0.6.2

v0.6.1

19 Oct 13:27
Compare
Choose a tag to compare

v0.6.1 Release Notes

pydpf-core 0.6.1 release for Ansys 2023 R1
Some of the new functionalities may only be available for use with ANSYS 2023 R1.

What's Changed

Enhancements

Bug fixes

Documentation

CI/CD

Maintenance

New Contributors

Full Changelog: v0.6.0...v0.6.1

v0.6.0

02 Sep 14:51
Compare
Choose a tag to compare

v0.6.0 Release Notes

pydpf-core 0.6.0 release for Ansys 2023 R1
This release starts supporting the next ANSYS 2023 R1.
Some of the new functionalities may only be available for use with ANSYS 2023 R1.

What's Changed

Enhancements

  • Correct the "Mecanic" typo in physics type to "Mechanical" (with ANSYS 2023 R1).
  • Add operators to read VTU format (with ANSYS 2023 R1).
  • Add the StringField class to describe string data (such as names) scoped on entities (with ANSYS 2023 R1).
  • Add the Generic Support class as an implementation of the base class Support (with ANSYS 2023 R1). The Generic Support enables to support properties by Fields, PropertyFields and/or StringFields.
  • Add common getters for all implementations of Support (TimeFreqSupport and GenericSupport) (with ANSYS 2023 R1).
  • ResultInfo qualifiers (with ANSYS 2023 R1): available Results can come with qualifiers specifying available subparts of the Result (ie: specific phase, species...).

Documentation

  • Add Example for distributed averaging (with ANSYS 2023 R1)

Bug fixes

CI/CD

  • Remove restriction on protobuf by @PProfizi in #398
  • Ci/dependabot configuration by @PProfizi in #407
  • Add explicit testing of all supported Python versions by @PProfizi in #403
  • Test on ubuntu-latest as 18.04 is deprecated. by @PProfizi in #419
  • Add a Draft Release job and a releaser.yml workflow to the CI by @PProfizi in #434

Maintenance

New Contributors

Full Changelog: v0.5.2...v0.6.0

v0.5.2

10 Aug 12:40
Compare
Choose a tag to compare

v0.5.2 Release Notes

pydpf-core 0.5.2 release 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. Now the default configuration.
    • GrpcServer: Uses gRPC communication through DPF gRPC CLayer Ans.Dpf.GrpcClient.
    • LegacyGrpcServer: Uses gRPC communication through the Python module ansys.grpc.dpf.
  • 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). The 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. Example here.

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

New Contributors

Full Changelog: 0.4.2...v0.5.2

0.5.2b1

28 Jul 07:22
Compare
Choose a tag to compare
0.5.2b1 Pre-release
Pre-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

0.4.2

15 Jun 13:09
Compare
Choose a tag to compare

What's Changed

Enhancements

  • PyPIM has been integrated. In an environment configured for PIM, PyDPF-Core is now able to start a remote instance of a DPF server and connect to it.
  • Scalar bars now show the unit of the data represented.
  • Plotting methods now return the result of the pyvista.Plotter.show method.
  • The ANSYS_PATH environment variable is now available to force the use of a specific ANSYS version and its installation folder.
  • Added an example for plotting the stress gradient on a path normal to a selected surface node.
  • Added a check to verify the presence of the server executable before trying to launch a server.

Continuous Integration

  • Added coverage reports and merging criteria via CodeCov. A Pull request now cannot decrease the global coverage ratio.
  • The badges in the Readme.md have been improved.
  • Added a concurrency criterion to the test pipeline. The latest commit to a PR will now cancel the jobs for the previous commits before running one.

Bug fixes

  • Fixed an error in the previously added feature for node labeling. The label now reports the correct data value for the node.
  • Fixed plot behavior when using PyVista kwargs such as screenshot, off_screen, notebook, show_axes, stitle or scalar_bar_args.

Documentation fixes

  • Fixed typo in example 02/04
  • Fixed typo in example 06/03
  • Fixed the support email address in Contributing.
  • Improved the Compatibility section.

Pull requests

Full Changelog: 0.4.1...0.4.2

0.4.1

14 Apr 08:39
Compare
Choose a tag to compare

What's Changed

Enhancements

  • Add nodal labels on plots.
  • Improve the warning for server-client compatibility issues.
  • Add one more try if first connection timed-out, with doubled waiting time.
  • Path input support extended to all path-like objects.

Continuous Integration

  • Fix documentation deployment at release.
  • Update git clone build actions in accordance with changes in GitHub policy.
  • Pipelines now use action pyansys/pydpf-actions/install-dpf-server@v1 for installing and testing a dpf server.

Bug fixes

Documentation fixes

Pull requests

  • fix release doc with environment variables PowerShell #173
  • added min max label boolean #158
  • Plotter: enable using **kwargs for DpfPlotter.show() method #144
  • Ci/use pydpf action #183
  • Doc: fix Contributing - cloning commands snippet #190
  • Fix/issue#186 path like support #191
  • Corrected wrong link for Scooby page in Pypi #184
  • Ci/fix/issue195 build actions failing due to new GitHub policy #196
  • Fix/timeout server 2tries #198
  • Fix/timeout server 2tries #199
  • Fix a typo in the data exchange example #205
  • Added image and updated intro. #204
  • Added DPF XML File content #207
  • Improve ImportWarning in check_ansys_grpc_dpf_version #208
  • Doc/operators reference only cpython #206
  • Removed word based on comment from DPF-POST pull request #209
  • Doc/update post processing examples #211

New Contributors

Full Changelog: 0.4.0...0.4.1