@@ -629,38 +629,75 @@ grain_file = "grains.txt"
629
629
avg_elastic_strain_fname = " avg_elastic_strain.txt"
630
630
631
631
# ===== Crystal Orientation Analysis (Light-Up) =====
632
- # Tracks which crystals are favorably oriented for slip
633
- # Useful for: texture evolution, identifying active grains
632
+ # Tracks which crystals are favorably oriented for slip across all crystal systems
633
+ # Supports cubic, hexagonal, trigonal, rhombohedral, tetragonal, orthorhombic, monoclinic, triclinic
634
+ # Useful for: texture evolution, identifying active grains, powder diffraction simulation
634
635
[[PostProcessing .light_up ]]
635
636
# Enable this analysis
636
637
enabled = true
637
638
638
639
# Which material to analyze (must match Materials.material_name)
639
640
material_name = " aluminum_alloy"
641
+
642
+ # Crystal system type - determines symmetry operations and lattice parameter requirements
643
+ # Supported values: 'CUBIC', 'HEXAGONAL', 'TRIGONAL', 'RHOMBOHEDRAL',
644
+ # 'TETRAGONAL', 'ORTHORHOMBIC', 'MONOCLINIC', 'TRICLINIC'
645
+ laue_type = ' CUBIC'
640
646
641
647
# Crystal directions to monitor [h,k,l]
642
648
# These are Miller indices in crystal coordinates
643
- # Example: [1,1,1] = octahedral slip, [1,1,0] = prismatic
649
+ # Examples: [1,1,1] = octahedral planes, [1,0,0] = cube faces, [1,1,0] = cube edges
650
+ # For hexagonal: [1,0,0] = basal, [0,0,1] = c-axis, [1,1,0] = prismatic
644
651
hkl_directions = [[1 , 1 , 1 ], [1 , 0 , 0 ], [1 , 1 , 0 ]]
645
652
646
653
# Angular tolerance in radians
647
- # Grains within this angle of target are "lit up "
648
- # 0.0873 radians ≈ 5 degrees
654
+ # Grains within this angle of target direction are considered "in-fiber "
655
+ # 0.0873 radians ≈ 5 degrees, 0.1745 radians ≈ 10 degrees
649
656
distance_tolerance = 0.0873
650
657
651
658
# Sample direction in lab coordinates [x,y,z]
652
- # Used as reference for orientation analysis
653
- # [0,0,1] = Z direction (loading direction)
659
+ # Used as reference for orientation analysis and lattice strain calculations
660
+ # [0,0,1] = Z direction (typical loading direction)
661
+ # [1,0,0] = X direction, [0,1,0] = Y direction
654
662
sample_direction = [0.0 , 0.0 , 1.0 ]
655
663
656
- # Crystal lattice parameters [a, b, c] in Angstroms
657
- # For cubic: a=b=c, for hexagonal: a=b≠c
658
- # Used for crystallographic calculations
659
- lattice_parameters = [3.6 , 3.6 , 3.6 ]
664
+ # Crystal lattice parameters - requirements vary by crystal system:
665
+ # CUBIC: [a] (lattice parameter in Angstroms)
666
+ # HEXAGONAL: [a, c] (basal and c-axis parameters in Angstroms)
667
+ # TRIGONAL: [a, c] (basal and c-axis parameters in Angstroms)
668
+ # RHOMBOHEDRAL: [a, alpha] (lattice parameter in Angstroms, angle in radians)
669
+ # TETRAGONAL: [a, c] (basal and c-axis parameters in Angstroms)
670
+ # ORTHORHOMBIC: [a, b, c] (three lattice parameters in Angstroms)
671
+ # MONOCLINIC: [a, b, c, beta] (three lattice parameters in Angstroms, monoclinic angle in radians)
672
+ # TRICLINIC: [a, b, c, alpha, beta, gamma] (three lattice parameters in Angstroms, three angles in radians)
673
+ lattice_parameters = [3.6 ] # Cubic aluminum: a = 3.6 Angstroms
660
674
661
675
# Base name for output files
662
- # Creates files like: lattice_avg_111.txt, lattice_avg_100.txt
676
+ # Creates files like: lattice_avg_directional_stiffness.txt, lattice_avg_dpeff.txt, lattice_avg_strains.txt...
677
+ # File naming automatically includes region number as well as quantity related to it
663
678
lattice_basename = " lattice_avg_"
679
+
680
+ # Example: Hexagonal crystal system (e.g., titanium, zinc)
681
+ # [[PostProcessing.light_up]]
682
+ # enabled = true
683
+ # material_name = "titanium_alloy"
684
+ # laue_type = 'HEXAGONAL'
685
+ # hkl_directions = [[1, 0, 0], [0, 0, 1], [1, 1, 0]] # basal, c-axis, prismatic
686
+ # distance_tolerance = 0.0873
687
+ # sample_direction = [0.0, 0.0, 1.0]
688
+ # lattice_parameters = [2.95, 4.68] # a = 2.95 Å, c = 4.68 Å for Ti
689
+ # lattice_basename = "ti_lattice_"
690
+
691
+ # Example: Rhombohedral crystal system (e.g., some ceramics, bismuth)
692
+ # [[PostProcessing.light_up]]
693
+ # enabled = true
694
+ # material_name = "rhombohedral_ceramic"
695
+ # laue_type = 'RHOMBOHEDRAL'
696
+ # hkl_directions = [[1, 1, 1], [1, 0, 0], [1, 1, 0]]
697
+ # distance_tolerance = 0.0873
698
+ # sample_direction = [0.0, 0.0, 1.0]
699
+ # lattice_parameters = [4.75, 1.0472] # a = 4.75 Å, alpha = 60° = 1.0472 radians
700
+ # lattice_basename = "rhombo_lattice_"
664
701
665
702
# ===== Field Projections =====
666
703
# Projects integration point data to nodes for visualization
0 commit comments