Program Library

- Provenance of code.
- Purpose of code.
- Specification.
- Description of subroutine's operation.
- References.
- Parameter descriptions.
- Error indicators.
- Accuracy estimate.
- Any additional information.
- Example of code
- Auxiliary subroutines required.
- Keywords.
- Download source code.
- Links.

Saurabh Kundu and H. K. D. H. Bhadeshia

Materials Science and Metallurgy, University of Cambridge, U. K.

E-mail: saurabhkn@yahoo.com

Added to MAP: May, 2007.

Calculation of orientation relationship matrices in a polycrystalline austenite sample with a texture. It is possible therefore, to mathematically create polycrystalline austenite containing a non-random crystallographic-distribution of grains. Examples are the Copper or Cube textured austenite.

Language: | FORTRAN |

The parallel directions in sample and crystal axes are taken as input in the program.

- This program calculates the coordinate transformation matrices between two given reference frames.
- the transformation matrix is obtained as MatB-J-MatA (GRAIN J SAMPLE).
- This way orientation relationship matrix in a polycrystalline material can be obtained which has a bias, for example Cu or Cube texture.

INPUT direction of crystal A (sample axis):

1 0 0

INPUT direction of crystal B (crystal axis) which is parallel to A:

0 0 1

INPUT direction of crystal A (sample axis):

0 0 1

INPUT direction of crystal B (crystal axis) which is parallel to A:

1 0 0

INPUT number of grains

500

Which pole you want to print: 100, 110 or 111

100

WHICH HEMISPHERE: UPPER = 1 LOWER = 0 BOTH = 2

0

compile example :

g77 crystal_bias_texture.for -o name.out

- S. Kundu,
*PhD Thesis*, University of Canbridge. - H. K. D. H. Bhadeshia,
*Worked examples in the geometry of crystals*, University of Canbridge.

**MAT_A#**- Double precision array of dimension 3X3.**MAT_B#**- Double precision array of dimension 3X3.**IN_MATA#**Double precision array of dimension 3X3.**CONV_MAT#**Double precision array of dimension 3X3.**ROTATION_MAT#**Double precision array of dimension 3X3.-
### Error Indicators

None.

### Accuracy

No information.

### Further Comments

None.

### Example

#### 1. Program Compile

g77 [sourcecode name] -o [executable file name]

#### 2. Program menu

#### 3. Program data

Auto generated.

#### 4. Program results

### Auxiliary Routines

No auxiliary routines

### Keywords

Transformation strain, martensite, steels, crystallography

### Download

**MAP originated from a joint project of the National Physical Laboratory and the University of Cambridge.**