Skip to content

How to generate mixed grains with large size differences? #503

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

You must be logged in to vote

By using -morpho "diameq:custom(mydisturb.txt)" with

mydisturb.txt:
0.09 500
0.3 2.0
0.6 1.0

you are interpolating the grain size data between 0.09, 0.3 and 0.6, which is not what you want. (Plus, Neper expects equally spaced x values.)

To specify two (or more) grain sizes, provide a bimodal (or multimodal) size distribution, as in -morpho "diameq:1*dirac(0.6)+1000*lognormal(0.09,0.02)" - when the grain sizes are very different from each other, -morphooptiini coo:packing helps:

neper -T -n from_morpho -morpho "diameq:1*dirac(0.6)+100*lognormal(0.09,0.02),1-sphericity:lognormal(0.145,0.03)" -morphooptiini coo:packing,weight:radeq -morphooptistop itermax=1 -dim 2 -o d
neper -V d.tess -prin…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@stenpthcurry30
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
2 participants