Gradient microstructure generation in neper #997
Unanswered
Parthasarathi200127
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
1.The process of generating synthetic microstructures is through distribution of seed points and their weights for obtaining a Voronoi tessellation.
2.Manipulating this a code has been written in python to generate gradient microstructure so that we can obtain the coordinates of the seed points and weights.
3.This seed points and weights can be the input files in Neper.
4.From Neper documentation we can obtain the syntax for using this input files and then we generate a gradient microstructure that is useful in many areas of materials science (welding and so on).
5.We need to understand somethings from the code.
6.Our code is in python and it can be used for generation of 2D gradient microstructures ans 3D columnar gradient microstructures.
7.We have to enter how much grains we require as a first input in the code.
8.For the next input we input the ratio in which we want the grains / seeds in our case to be distributed.
9.Finally we input the ratio of the Area for which each ratio of the grains has to be distributed.
10.After this we get the Coordinates and Weights file as output.
11.Now we have to use syntax from the neper documentation for using this as input files to obtain gradient microstructures.
Thanks!
https://github.com/iamlegend238/Gradient-Microstructure-Generation-using-Neper/blob/58792eab91ae236ad5298f6231326a530920625c/Neper_2D_Custom_Final.ipynb
I have used that code mentioned in the above link and got the output file for coordinates and wights, but I could not find the proper syntax to use those file in neper. I am using this command "neper -T -dim 2 -n form_morpho -domain "square(1,1)" -morpho "file(coordinate.txt,weight.txt)" -o output_micro" in nepper but it is showing failed to read file.
so please help me with the proper command in the napper
Beta Was this translation helpful? Give feedback.
All reactions