IPF Visualization and Orientation Reference Frames in DAMASK #81
-
Dear colleagues, I would like to ask for your help in clarifying some aspects of IPF visualization and orientation reference frames in DAMASK. I’ve been focusing on how DAMASK handles crystallographic orientations and texture evolution, particularly in terms of visualization. I came across two different ways to generate the information about inverse pole figures (IPFs): The example on initial IPFs: The add_IPF_color method in the post-processing tools: If I understand correctly, both approaches produce similar visualizations (color-coded according to orientation), with the main difference being that the first is applied during preprocessing and the second during postprocessing. Is this interpretation correct? Additionally, I’m a bit confused about how crystallographic directions like [100] relate to what is shown in ParaView. In a cubic system, can we assume that the [100] direction aligns with the x-axis of the ParaView coordinate system? Or does DAMASK apply some transformation before exporting the data? In essence, my question is: what is the relationship between the "Lab frame" orientation and a specific crystallographic direction? ![]() While exploring the DAMASK documentation further, I came across the article “Consistent representations of and conversions between 3D rotations” (https://iopscience.iop.org/article/10.1088/0965-0393/23/8/083501). Although it does not directly address DAMASK, based on its content and the information available under the "Rotation" section of the DAMASK documentation, it seems that there is some internal relationship between Euler angles and quaternions in DAMASK. However, I’m still unsure how these internal representations relate to the graphical output in ParaView. Finally, regarding hexagonal metals like Ti: how should Miller-Bravais indices be interpreted within the DAMASK–ParaView visualization workflow? I understand that there are equations to convert from the three-index notation [u′ v′ w′] to the four-index notation [uvtw], but I’m still a bit unclear on how to connect this with the orientation data provided in the Lab frame. Any help, clarification, or references you could provide would be greatly appreciated! Thanks in advance. Leo R D |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Dear @LeoDanninger, The essential object that is performing all orientation-related tasks within DAMASK is The What orientation information is used to generate these visualizations (e.g., initial orientations known during preprocessing or evolved orientations known after simulating deformation) does not make a conceptual difference. Hence, your interpretation is correct. Repeating the important fact from above: a Miller and Miller–Bravais indices designate either directions (or plane normals) in the real (or reciprocal) lattice basis. The |
Beta Was this translation helpful? Give feedback.
@LeoDanninger,
Your understanding of the first point is incorrect. There is no "specific color [assigned] to a specific direction of the lab frame". The color is based on what crystal direction is parallel to a fixed lab direction of interest.
I provide a small script that hopefully illustrates this with the example of a cubic lattice. The cube is rotated to match the lattice frame of the orientation, whereas the axes shown in ParaView correspond to the lab frame. The chosen IPF coloring selects the$z$ -axis (i.e. the vector (0,0,1) in the lab frame) as the reference, marked by the gray arrow.