Damask-parse

Latest version: v0.2.24

Safety actively analyzes 629959 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

0.2.12

Fixed

- Fix `read_material` for new geometry format.

0.2.11

Added

- Writing of loadcase defined by a velocity gradient.

Changed

- Allow passing deformation gradient (rate) as a nested list to `writers.write_load_case`.
- Updates for use with latest alpha version of damask (v3a3) - writing yaml load file and vtr geom file.
- Updates to parsing damask simulation results back to a volume element response dict - added new data specification types:
- volume_data - Data from a given field over entire VE with transformations applied (to partly replace incremental_data)
- phase_data - Data from a given field over a single phase of the VE with transformations applied (to partly replace incremental_data)
- field_data - Data from a given field in correct order/shape as the VE dimensions. Can also output a grain and phase map.
- grain_data - Data from a given field averaged over each grain in the VE
All use a consistent definition of the increments to extract from, based on the increment number in the simulation.

Fixed

- Add boolean option `use_max_precision` to orientations dict. If `True`, in `utils.validate_orientations`, cast quaternions to an array of type `np.longdouble` prior to normalisation, and then write out these quaternions (in `writers.write_material` via a new function `utils.prepare_material_yaml_data`) to the largest precision supported by `np.longdouble` on that machine, to ensure maximum precision, and hopefully avoid the DAMASK error: "invalid orientation specified".
- Fix issue where `write_geom` would raise if volume element `size` or `origin` is an array rather than a list.
- Fix issue [15](https://github.com/LightForm-group/damask-parse/issues/15)

0.2.10

Fixed

- Fix bug introduced in v0.2.9 with reshaping orientations in `utils.validate_orientations`.

0.2.9

Fixed

- Allow a single orientation (Euler angle triplet or quaternion) in `utils.validate_orientations`.

0.2.8

Changed

- Revert to `DADF5` class if no `Result` class importable within `readers.read_HDF5_file`.
- Change expected format of `microstructure_image` argument in function `volume_element_from_2D_microstructure`.
- Explicitly track "P" constant in `orientations` dict.
- Add `euler_degrees` boolean dict item to `orientations` dict.
- Support orientation data in `utils.get_HDF5_incremental_quantity`.
- Add argument `homog_label` to `utils.add_volume_element_buffer_zones`.

0.2.7

Fixed

- Fix bug in `unit_cell_alignment` check in `utils.get_volume_element_materials`.

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.