Demo workflows#

These workflow templates are included in MatFlow as demonstrations. You can copy a demo workflow template to somewhere accessible using the CLI like this:

matflow demo-workflow copy WORKFLOW_NAME DESTINATION

where WORKFLOW_NAME is the name of one of the demo workflows, and DESTINATION is the target copy location, which can be a directory (e.g. "." for the current working directory, or a full file path).

In the Python API, we can copy a demo workflow template file like this:

import matflow as mf

mf.copy_demo_workflow(name, dst)

sample_texture_ODF_mat#

Demonstration of a task to sample texture from an MTEX ODF object stored in a binary .mat file, and produce pole figures of the sampled orientations.

read_tensile_test_CSV#

Read tensile test data from a CSV file.

fit_single_crystal_parameters#

Fit single crystal parameters using an experimental uniaxial tension stress-strain curve and an iterative Levenberg-Marquardt fitting process.

sample_texture_CTF_file#

Demonstration of a task to sample texture from a CTF file using MTEX, and produce pole figures of the sampled orientations.

tension_DAMASK_Al#

A simple crystal plasticity simulation using DAMASK. A volume element generated from a random voronoi tessellation is loaded uniaxially, using aluminium (Al) material parameters.

tension_DAMASK_Mg#

A simple crystal plasticity simulation using DAMASK. A volume element generated from a random voronoi tessellation is loaded uniaxially, using magnesium (Mg) material parameters.

fit_yield_funcs#

A workflow to fit yield functions to crystal plasticity simulations.