10.158. Write Los Alamos FFT File
Group (Subgroup)
IO (Output)
Description
This filter writes per-Cell data from an Image Geometry to a plain-text file formatted for Ricardo Lebensohn’s FFT-based simulation codes[1]. That code is a full-field micromechanical crystal-plasticity simulation: it predicts how a polycrystalline microstructure deforms by solving the mechanical equations on the voxel grid using a Fast Fourier Transform (FFT) method, with one material point per voxel.
Each line of the output describes a single Cell and combines its crystallographic orientation, its grid location, and its Feature (grain) and phase membership. The orientation is given as three Euler angles — three angles (in the Bunge Z-X-Z convention) that together specify how a crystal is rotated relative to the sample reference frame.
If possible, the filter creates any missing directories along the path to the output file.
The format of the file is an ASCII text file with the following space-delimited information:
Phi1 Phi Phi2 X Y Z Feature_ID Phase_ID
The Euler angles are in degrees. X, Y, Z are integer indices into the Image geometry. Feature ID & Phase ID are the integer values for the feature and phase Starting at One (1).
Required Input Sources
Image Geometry – the voxel grid to export.
Cell Euler Angles – a 3-component, per-cell orientation array (Bunge Z-X-Z, in degrees), typically read from EBSD data via Read EDAX EBSD Data (.ang), Read Oxford Instr. EBSD Data (.ctf), or Read H5EBSD File.
Cell Feature Ids – produced by a segmentation filter such as Segment Features (Scalar).
Cell Phases – a per-cell phase index, read alongside the Euler angles from the EBSD readers above.
Example Output
The output file (columns: Phi1, Phi, Phi2, X, Y, Z, Feature_ID, Phase_ID):
90.000 0.000 0.000 1 1 1 0 1
90.000 0.000 0.000 2 1 1 0 1
90.000 0.000 0.000 3 1 1 0 1
90.000 0.000 0.000 4 1 1 0 1
135.009 55.304 295.274 18 1 1 1742 1
90.000 0.000 0.000 19 1 1 0 1
..
Input Parameter(s)
Parameter Name |
Parameter Type |
Parameter Notes |
Description |
|---|---|---|---|
Output File Path |
FileSystemPath |
The path to the output file |
Input Data Objects
Parameter Name |
Parameter Type |
Parameter Notes |
Description |
|---|---|---|---|
Input Image Geometry |
Geometry Selection |
Image |
The image geometry holding the arrays to write |
Cell Feature Ids |
Array Selection |
Allowed Types: int32 Comp. Shape: 1 |
Data Array that specifies to which Feature each Element belongs |
Cell Euler Angles |
Array Selection |
Allowed Types: float32 Comp. Shape: 3 |
Data Array containing the three angles defining the orientation for each of the Cell in Bunge convention (Z-X-Z) |
Cell Phases |
Array Selection |
Allowed Types: int32 Comp. Shape: 1 |
Data Array that specifies to which Ensemble each Cell belongs |
References
[1] R.A. Lebensohn, 2001. N-site modeling of a 3D viscoplastic polycrystal using Fast Fourier Transform. Acta mater. 49, 2723-2737.
License & Copyright
Please see the description file distributed with this Plugin
DREAM3D-NX Help
If you need help, need to file a bug report or want to request a new feature, please head over to the DREAM3DNX-Issues GitHub site where the community of DREAM3D-NX users can help answer your questions.