Releases: ansys/pydpf-core
0.4.0
v0.4.0 Release Notes
pydpf-core 0.4.0 released for Ansys 2022 R1
What's Changed
Enhancements
- Verify ansys-grpc-dpf module's version on server start and connection and raise a helpful error message if the wrong version is used
- Add native remote workflows capability: Workflows and Operators instantiated on different servers can be connected together transparently to create distributed pre and post processing workflows. Workflows created on a given server can be moved to other servers.
- Print optional progress bar when Operators or Workflows are evaluated. This uses the new Session API through grpc.
- Evaluate Operators or Workflows asynchronously to fetch progress in the meanwhile
- Start automatically server on Docker Container with, either the environment variable DPF_DOCKER or either the parameter
docker_name
of the functionstart_local_server
set to the name of the docker. Unit tests can be run on Docker Container - Implement Integral Collection to connect and get output data as int, double or string arrays more efficiently from Operators and Workflows
- Create generic calls to get and set field properties from and to the MeshedRegion
- Identify DPF entities in grpc databases by their entity IDs and their DataBase IDs to allow for better communication between servers
- Add capability to generate operators python code client side
- Read the mesh by default when a displacement is requested (can be disabled with
model.mesh_by_default = False
) - Support new operators to average elemental centroids results
- Improve handling of MAPDL coupled analysis
- Create path_utilities to offer helpers on path depending on the server os
- Add capability to connect TimeFreqSupport to Operators or Workflows is added
Continuous Integration
- Move CI/CD pipelines to github actions (unit testing on windows and documentation build for Ansys 2022R1)
Bug fixes
- Fix automatic code generation for
model.results....
so that it works for results with scripting names having " ", "/", "", ".", ":", ";", ",", "(", ")" characters. - "Wrap" decorator
server_meet_version
so that call stacks when exception are raised are correct - Fetch named selections from the MeshedRegion only when it's specifically required to improve performances
- Properly release memory server side when time/frequencies are requested by the TimeFreqSupport
- Add more unary calls in ResultInfo service
Documentation fixes
- README.md references pydpf-core instead of DPF-Core
- Improve spelling
Pull requests
- Update ci for release 0.4.0 #168
- Create actions for release 0.4.0 #170
- Merge ansys-dpf-core 0.4.0 from private repository to GitHub #167
- Check ansys-grpc-dpf on server start and connection #171
- Connect time frequency support to operators and workflows #172
Full Changelog: 0.3.4...0.4.0
0.3.5
What's Changed
Enhancements
- Speed up python script exit with ansys-dpf-core module imported
- Enhance the time frequency scoping factory
- Improve links in documentation
Pull requests
- Server shutdown improvement #148
- doc/edits to some basic example files #149
- Scoping on all times #151
- Version/ansys grpc dpf 0.3.0 #169
Full Changelog: 0.3.4...0.3.5
0.3.4
What's Changed
Enhancements
- Add manipulable DpfPlotter object that allows multiple mesh/field plotting
- Enhance documentation
Pull requests
- Plotter: multiple mesh enhancement #130
- Documentation: add troubleshooting section related to the model #139
- Plotter: return_cpos (kwargs) updates with a field display #141
Full Changelog: 0.3.3...0.3.4
0.3.3
What's Changed
Enhancements
- Enhance documentation and examples
- Enhance CommonResults and Model
Pull requests
- static CommonResults should be returned when the available results couldn't be loaded #135
- custom title for mesh.plot(field) #131
- local data updates only when modified #133
- Make model more permissive #132
- safe print dpf entity #125
- fix typo CommonResults #129
- Add linux doc build #122
- add docstrings to settings module #124
- Doc/add troubleshooting #109
- add new examples to expose fields containers capabilities #123
Thank you @cbellot000, @jleonatti, @TheGoldfish01 for contributing !
Full Changelog: 0.3.2...0.3.3
0.3.2
What's Changed
Enhancements
- Implement cache: add @class_handling_cache decorator to reduce the number of server requests #107
- Improve performances for data to server upload and as_local_field usage. Allow disabling property evalution by jedi #108
Pull requests
- Remove operator name in result info print #119
- add capability to disable dynamic result property creation #115
- update plotting getting started in the documentation #118
- Improve performances #108
- add description in pypi #112
- Add link to logo #110
- Temporary fix: vtk version #111
- add automatic completion for model's results #99
- implement cache #107
- fix pyansys logo #106
- deep copy of field definition #92
Thank you @germa89 and @cbellot000 for contributing!
Full Changelog: 0.3.1...0.3.2
0.3.1
What's Changed
Enhancements
- Enhance and format documentation
- Add ansys.dpf.core.Operator.eval() method
- Enable connection of Result instance to operator
Pull requests
- fix field creation documentation #100
- add Doctest in pipelines #103
- enable connection of Result instance to operator #102
- add compatibility info in doc #94
- update setup to show more info #93
- Mention link to doc in readme #80
- Fix line lengths for comments and docstrings #78
- Remove unused imports #77
- Format examples and misc files #76
- Format test files #75
- Format core files with black #74
- Doc/basic example edits #70
- Add flake8 checks #71
- Remove assert isinstance(cpos, CameraPosition) for plotting tests #73
- Doc/edits from result info to end #69
- Doc/edits starting with model py #68
- Doc/edits starting with field definition #67
- fix add, minus and multiplication operators when server are specified #64
- Doc/edits per cb review #66
- Doc/edits to py files from d to field_base.py #61
- Doc/edits py files in root of core folder documentation#60
- Feature: element descriptor bug enhancement #51
- Fix: dimensionality misspelling #56
- Operator eval method #43
- Doc/edits dpf core intro and misc documentation#52
- Plotter issue occurs while a fields container contains several fields but that some are empty and ElementalNodal #47
Thank you @cbellot000, @jleonatti, @PipKat, @akaszynski, @rlagha for contributing !
Full Changelog: 0.3.0...0.3.1
0.3.0
v0.3.0 Release Notes
PyDPF-Core is now compatible with Ansys 2021 R2 with ansys-dpf-core v0.3.0 release.
What's Changed
Enhancements
- Add new operators
- Add CyclicSupport class
- Add MeshesContainer class
- Enhance documentation and examples
- Add Field, FieldsContainer, Mesh Scoping and TimeFreq Scoping factories
Pull requests
Full Changelog: 0.2.1...0.3.0