A method of neper.

a microstructure after a phase transformation: Neper’s parent grains cut into lamellae of child variants; MATLAB’s neper.simulateChildGrains

Syntax

grains = nep.simulateChildGrains(10, p2c, odfParent)

10 parent grains, habit plane {111}.

grains = nep.simulateChildGrains(10, p2c, odfParent, habitPlane=Miller(1, 1, 0, p2c.CS), width=0.05)

Another habit plane and width.

grains = nep.simulateChildGrains(10, p2c.variants()[:12], odfParent, rng=np.random.default_rng(0))

The variants to choose from.

Description

The parent orientations are sampled from odfParent, and every parent grain of the tessellation is cut into lamellae normal to its habit plane, the plane turned by the parent orientation. Every lamella takes a child orientation of its parent, a variant chosen at random from those of p2c, but never the variant of the lamella before it, and is turned at random by up to 2 degree. A single relationship gives its first six variants to choose from.

MATLAB calls it on the class, neper.simulateChildGrains; here it is a method of the interface neper.init() returns, and MATLAB’s flag ‘silent’ is verbose=False, the default.

Input

numParents the number of parent grains
p2c orientation, the parent to child orientation relationship, or the variants to choose from
odfParent SO3Fun, the distribution of the parent orientations

Keywords

keyword default description
habitPlane None Miller of the parent, the plane the lamellae lie in, by default {111}
width 0.015 the width of the lamellae
verbose False print Neper’s output
aspectRatio None three lengths, the aspect ratio of the parent grains along x, y and z
rng None numpy.random.Generator of the variants and the random turns

Output

grains grain3d of the child lamellae, with meanOrientation

See also

neper.simulateGrains, neper.simulateTwinGrains, orientation.variants, NeperInterface

MATLAB’s neper.simulateChildGrains

source

Citing this page. This page is part of the documentation of MTEX, a free and open source MATLAB toolbox for analyzing and modeling crystallographic textures. It was written by The MTEX Developers and is published at https://mtex-toolbox.github.io/neper.simulateChildGrains_py.html. If you use MTEX, or reuse text or figures from this page, in your research, please cite

F. Bachmann, R. Hielscher, H. Schaeben: Texture Analysis with MTEX - Free and Open Source Software Toolbox, Solid State Phenomena 160 (2010), 63-68. 10.4028/www.scientific.net/SSP.160.63

BibTeX
@article{bachmann2010mtex,
  author  = {F. Bachmann and R. Hielscher and H. Schaeben},
  title   = {Texture Analysis with MTEX - Free and Open Source Software Toolbox},
  journal = {Solid State Phenomena},
  volume  = {160},
  pages   = {63-68},
  year    = {2010},
  doi     = {10.4028/www.scientific.net/SSP.160.63},
  url     = {https://doi.org/10.4028/www.scientific.net/SSP.160.63}
}

Other papers describing specific MTEX methods are listed under Publications — please cite the one that best fits your application. The MTEX source code is licensed under the GNU General Public License v2.0; the text and figures of this documentation are licensed under CC BY 4.0, which permits reuse — including by automated systems — provided The MTEX Developers and this page are credited.