Skip to content

Grain size distribution #739

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

You must be logged in to vote

You would typically specify a lognormal grain size distribution of average 0.049 and standard deviation of your choice. It is also a good idea to specify a sphericity distribution:

neper -T -n from_morpho -morpho "diameq:lognormal(0.049,0.015),1-sphericity:lognormal(0.145,0.03)" -domain "cube(0.2,0.2,0.2)"

To exclude values smaller than 49 - 12 and larger than 49 + 12 micrometers, add from and to:

neper -T -n from_morpho -morpho "diameq:lognormal(0.049,0.015,from=0.037,to=0.061),1-sphericity:lognormal(0.145,0.03)" -domain "cube(0.2,0.2,0.2)"
neper -V test.tess -print img

Note that I used a domain of size 0.2 (mm), since 2 mm leads to 100,000+ cells.

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