Skip to main content

matflow-damask

PyPI version

Matflow extension for the crystal plasticity code DAMASK.

Change Log

[0.1.29] - 2022.10.11

Fixed

  • Fix bug in generate_volume_element_random_voronoi function where supplied orientations are not validated.

[0.1.28] - 2022.09.05

Added

  • Add periodic boolean option (default True) to generate_volume_element tasks.
  • Add modify_volume_element/grid_size method to change VE grid size

[0.1.27] - 2022.08.08

Fixed

  • Fix simulate_volume_element_loading output mapper for reading the single crystal parameter JSON file, which is only written out if the SC parameter are perturbed.

[0.1.26] - 2022.08.08

Added

  • Add spread_orientations method to task modify_volume_element
  • Add generate_volume_element_from_random_voronoi_dual_phase_orientations

Changed

  • Support specifying multiple phases in seeds_from_random
  • Generalise generate_volume_element_random_voronoi to support multiple phase labels
  • Parameter single_crystal_parameter_perturbation in task simulate_volume_element_loading:
    • support specifying a relative standard deviation (std_deviations) of a normal distribution to be sampled.
    • support equal_constraints for setting multiple perturbed values to be equal (e.g. initial and saturated CRSS values)

[0.1.25] - 2022.03.11

Added

  • Add support creating a VE with a multple phases from a microstructure_image.
  • Add option to save a grain map when processing simulation results.

[0.1.24] - 2022.02.15

Changed

  • Support solver and initial_conditions keys in the load YAML file.

[0.1.23] - 2021.12.20

Added

  • Support passing orientations to task generate_volume_element/from_damask_input_files. Orientation in the passed material.yml file will be overwritten by those passed directly in orientations.
  • Add task method: generate_volume_element/single_voxel_grains for generating an RVE that associates each grain with exactly one voxel.

[0.1.22] - 2021.11.09

Added

  • Add saving of VE phases to a VTK file.

[0.1.21] - 2021.09.24

Changed

  • Use quat_component_ordering key in orientations dict.

[0.1.20] - 2021.08.14

Changed

  • Add parameter RNG_seed to task generate_microstructure_seeds/random.

[0.1.19] - 2021.08.12

Added

  • Add task generate_volume_element/dual_phase_ti_alpha_colony.

[0.1.18] - 2021.08.06

Added

  • Add implementation of Taylor simulation task.
  • Add implementation of task sample_texture method from_random.
  • Add implementation of task generate_volume_element method from_damask_input_files

Changed

  • Use new output map options (volume_data, phase_data, field_data and grain_data) for reading results from a simulation.
  • Remove methods that made use of the DAMASK command line scripts.
  • Add orientations_use_max_precision parameter to task/methods: generate_volume_element/random_voronoi, generate_volume_element/random_voronoi_from_orientations, sample_texture/from_random, generate_microstructure_seeds/random and simulate_volume_element_loading/CP_FFT.

[0.1.17] - 2021.05.11

Added

  • Add visualise option to simulate_volume_element_loading output mapper to generate VTK file using DAMASK.

[0.1.16] - 2021.04.10

Added

  • Add implementation of task generate_microstructure_seeds with method random_NEW to use DAMASK library functions instead of command line script which has been removed in DAMASK v3a2.

[0.1.15] - 2020.01.19

Added

  • Add implementation of task modify_volume_element by method add_buffer_zones.

Fixed

  • Include an euler_degrees bool dict item in orientations to signify if the dict item euler_angles is represented in degrees or radians.

[0.1.14] - 2020.01.11

Fixed

  • Use pack=False in DAMASK's geom_obj.to_file to ensure consistent format of geometry file in function main.generate_volume_element_random_voronoi.

[0.1.13] - 2020.01.10

Changed

  • Input and output mapper functions for writing/reading DAMASK microstructure seeds files have been updated to respect the unit_cell_alignment key of orientations.
  • Changed some generate_volume_element task method names:
    • random_voronoi -> random_voronoi_OLD
    • random_voronoi_from_orientations -> random_voronoi_from_orientations_OLD
    • random_voronoi_2 -> random_voronoi
    • random_voronoi_from_orientations_2 -> random_voronoi_from_orientations

Fixed

  • Fix function name used twice for function mappers for generate_volume_element using method random_voronoi_2 and random_voronoi_from_orientations_2.

[0.1.12] - 2020.12.16

Changed

  • Add optional single_crystal_parameter_perturbation parameter to simulate_volume_element_loading task (used for parameter fitting).
  • Change material/numerics.config to material/numerics.yaml.

[0.1.11] - 2020.10.06

Changed

  • Standardise orientations key in microstructure_seeds.

Added

  • Add functions for generate_volume_element (random_voronoi_2 and random_voronoi_from_orientations_2) using DAMASK Python package functions.

[0.1.10] - 2020.09.29

Changed

  • Use write_numerics instead of write_numerics_config.

[0.1.9] - 2020.09.29

Changed

  • Update for changes to damask-parse that support DAMASK v3.

[0.1.8] - 2020.08.25

Fixed

  • Fix bug if numerics not specified in write_damask_numerics input mapper.

[0.1.7] - 2020.08.25

Added

  • Add input mapper for writing the numerics.config file.

[0.1.6] - 2020.08.22

Changed

  • Moved function main.read_damask_hdf5_file to damask-parse as readers.read_HDF5_file.
  • Moved function utils.get_HDF5_incremental_quantity to damask-parse as utils.get_HDF5_incremental_quantity (and fixed use of correct Numpy function for "sum_along_axes" transform.)

[0.1.5] - 2020.08.18

Added

  • Add support for specifying orientation and model coordinate systems with respect to e.g. RD/TD/ND.
  • Add phase label attribute to microstructure_seeds and add phase_labels and grain_phase_label_idx to volume_element.

Changed

  • Function write_damask_material updated to reflect upstream changes.

[0.1.4] - 2020.07.28

Changed

  • Add image_axes argument to function mapper function that generates an RVE via 2D microstructure extrusion: volume_element_from_microstructure_image.

[0.1.3] - 2020.06.26

Added

  • Add function mapper for generating a volume element via extrusion of a 2D microstructure image.

[0.1.2] - 2020.06.09

Fixed

  • Close file properly in get_HDF5_incremental_quantity

[0.1.1] - 2020.05.12

Added

  • Added output mapper for DAMASK HDF5 files: read_damask_hdf5_file.

[0.1.0] - 2020.05.09

  • Initial release.

Metadata

Release files for matflow-damask 0.1.29

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for matflow-damask 0.1.29
File Size Uploaded Provenance
matflow-damask-0.1.29.tar.gz 13.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for matflow-damask 0.1.29
File Interpreter ABI Platform
matflow_damask-0.1.29-py3-none-any.whl Python 3 none any Details

Total release size: 26.7 kB

Release files / matflow-damask-0.1.29.tar.gz

Download URL matflow-damask-0.1.29.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9c892591a06a78b604ab19879e6eb6369dffca541acc5dc1e2daa6389ccfb0f3
BLAKE2b-256 checksum
How to use checksums
ce7842d4559d965475b95d7c53063e296bec234ece7f6397e05453f5bb374faf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0.post20191030 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / matflow_damask-0.1.29-py3-none-any.whl

Download URL matflow_damask-0.1.29-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e186ba9c874102d1c0256d8d2b7560e687198f37a6795f9e652d18f1594a4245
BLAKE2b-256 checksum
How to use checksums
34bd11ac3975e9363b8b123e0b93072ae547126f371542436db45e173947e280
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0.post20191030 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Security for matflow-damask 0.1.29

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.29 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page