Load and manage DREAM.3D EBSD data files for running simulations on reconstructed microstructures.

The EBSDReader user object reads in data from electron backscatter diffraction (EBSD) to set initial conditions for phase field simulations. EBSD identifies the grain and phase structure of a sample, as well as the crystal structure and the crystal orientation. The EBSDReader reads in this information from a specially formatted data file and reconstructs the microstructure. It accomplishes this by setting the initial conditions for all the phase field variables. In addition, it stores the crystal structure and orientation information by use by the phase field and mechanics models.

Note that the EBSDReader does not mesh the microstructure**, but rather sets phase field variable initial conditions. To reconstruct a mesh of the microstructure, we recommend using OOF.

## Input Parameters

• execute_onTIMESTEP_ENDThe list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, FINAL, CUSTOM.

Default:TIMESTEP_END

C++ Type:ExecFlagEnum

Options:NONE INITIAL LINEAR NONLINEAR TIMESTEP_END TIMESTEP_BEGIN FINAL CUSTOM

Description:The list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, FINAL, CUSTOM.

• custom_columns0Number of additional custom data columns to read from the EBSD file

Default:0

C++ Type:unsigned int

Options:

Description:Number of additional custom data columns to read from the EBSD file

### Optional Parameters

• control_tagsAdds user-defined labels for accessing object parameters via control logic.

C++ Type:std::vector

Options:

Description:Adds user-defined labels for accessing object parameters via control logic.

• enableTrueSet the enabled status of the MooseObject.

Default:True

C++ Type:bool

Options:

Description:Set the enabled status of the MooseObject.

• allow_duplicate_execution_on_initialFalseIn the case where this UserObject is depended upon by an initial condition, allow it to be executed twice during the initial setup (once before the IC and again after mesh adaptivity (if applicable).

Default:False

C++ Type:bool

Options:

Description:In the case where this UserObject is depended upon by an initial condition, allow it to be executed twice during the initial setup (once before the IC and again after mesh adaptivity (if applicable).

• use_displaced_meshFalseWhether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.

Default:False

C++ Type:bool

Options:

Description:Whether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.

• force_preauxFalseForces the GeneralUserObject to be executed in PREAUX

Default:False

C++ Type:bool

Options:

Description:Forces the GeneralUserObject to be executed in PREAUX

# EBSD Data File Format

The EBSDReader user object reads in a data file taken from EBSD data. The file should have the following format:



# Date:      19-Jul-2013 00:23:55

#
# Column 1:  Euler angle "phi1" (in radians)

# Column 2:  Euler angle "PHI" (in radians)

# Column 3:  Euler angle "phi2" (in radians)

# Column 4:  x-coordinate (in microns)

# Column 5:  y-coordinate (in microns)

# Column 6:  z-coordinate (in microns)

# Column 7:  grain number (integer)

# Column 8:  phase number (integer)

# Column 9:  symmetry class (from TSL)

#
# Phase 1:   Nickel (symmetry class = 43)

# Number of Grains in Phase 1:  111

#
# X_Min:      0.000000

# X_Max:      32.000000

# X_step:     0.250000

# X_Dim:      128

#
# Y_Min:      0.000000

# Y_Max:      32.000000

# Y_step:     0.250000

# Y_Dim:      128

#
# Z_Min:      0.000000

# Z_Max:      0.000000

# Z_step:     0.000000

# Z_Dim:      0

#
2.48663 1.84098 5.50548 0.12500 0.12500 0.00000 0 1 43
2.48663 1.84098 5.50548 0.12500 0.37500 0.00000 0 1 43
.
.
.


The open source code Dream3D has the option to output in this format using the _"Write INL File"_ filter. Note that the data must be on a square grid rather than a hex grid.

The EBSDReader supports additional custom data columns.