Recent Changes - Search:

IndividualOrientationsFromBeartex

Generating individual orientations from Beartex textures

You will need to start from a Beartex texture file, either in YOD or YOS format. From Beratex, you need to create a file with an XOD extension. To do so, choose Convert -> CHBI (converts standard binary ODF). Choose the texture file to convert and select XOD as output format.

Open the XOD file that was created and, on the second line, write 4 spaces, followed by the following string: Mathies --> first letter of this line is read with format (4x,a). The top of your XOD file will look like this

Put a title here                                                               #
    Mathies --> first letter of this line is read with format (4x,a)



     2.461     2.461     3.955    90.000    90.000   120.000   11    1
   0  0 99  0.0 90.0  5.0  0.0360.0  5.0 1 1 1 2 3  100

Create an input file for Pole8, pole8.in. It will look like this

* # of texture files 'ntextfiles' to read below
  1
* path & name of texture files (one per line)
name-of-file.XOD
* 'ipfig': 0 for PF plot, 1 for IPF plot, -1 for *.ODF file, -2 for *.EPF file
 -1
* single crystal unit cell (N/A if ipfig=-2)
unitcell.sx
* number of X-tall poles (PF) or sample axes (IPF) to read (N/A if ipfig=-2)
  3
*Miller indices of poles (N/A if ipfig=-2)
   1   0   0       ! 1   (100) pole
   0   1   0       ! 1   (010) pole
   0   0   1       ! 1   (001) pole

where name-of-file.XOD is the XOD file created by Beartex, unitcell.sx holds information on the crystal unit cell, formatted for Pole8. We choose option -1 because we are reading an ODF.

This will create 3 texture files in your folder, p8tex.FUL, p8tex.RED and pp8tex.RAN.

  • p8tex.FUL: regular texture with a point every 5 degrees, about 46000 grains,
  • p8tex.RED: regular texture with a point every 10 degrees, about 6000 grains,
  • p8tex.RAN: texture with with random grain orientations and the number of grains you asked for.

At the same time, Pole8 creates a texture file file called gridint.out which you can plot with plotPFPole8.py to ensure that the texture you created roughly match what you wanted.