Skip to content

Question about creating a microstructure where only some grains have lamella #829

Closed Answered by rquey
mauroarcidiacono asked this question in Q&A
Discussion options

You must be logged in to vote

The different lamella widths come from the fact that the normals provided in lamnormal.txt are out of plane. For a 2D tess, they should be in-plane to get the expected widths.

Here is what I get with in-plane normals:

awk '{print $1,$2/sqrt($2*$2+$3*$3),$3/sqrt($2*$2+$3*$3),0}' lamnormal.txt > lamnormal.txt2
neper -T -n 100::from_morpho -domain "square(10,10)" -dim 2 -id 4::1 -morpho "gg::lamellar(w=msfile(lamwidth.txt),v=msfile(lamnormal.txt2),pos=optimal)" -group lam -reg 1 -rsel 0.1 -oridescriptor euler-bunge -group lam -statcell "scaleid(1)" -format tess,ori -o polycrystal_laminated

And instead of the "trick", you could use a multiscale cell file (although it will produce the same r…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rquey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants