Skip to content

microstructure with different grains morphologies #644

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

You must be logged in to vote

I would proceed in several steps to generate the equiaxed grains on one hand and the elongated grains on the other hand, and then put them together.

Here is an example:

neper -T -n 500 -domain "cube(1,1,0.5)" -morpho gg -morphooptistop eps=1e-2 -statseed x,y,z,w -o part1
awk '{print $1,$2,$3}' part1.stseed > part1.coo
awk '{print $4}' part1.stseed > part1.w

neper -T -n 100 -dim 2 -morpho gg -morphooptistop eps=1e-2 -statseed x,y,z,w -o part2
awk '{print $1,$2,0.6}' part2.stseed > part2.coo
awk '{print $4}' part2.stseed > part2.w

cat part1.coo part2.coo > coo
cat part1.w part2.w > w

neper -T -n 600 -morphooptiini "coo:file(coo),weight:file(w)" -o full

neper -V full.tess -print img

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MROHOMAN
Comment options

@rquey
Comment options

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
3 participants