Skip to content

RVE with multiple small grains embedded in a big grain #549

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

You must be logged in to vote

What is your -morpho?

What I would probably do is generate the tessellation with grain 1 undersized, and then recompute the tessellation in a larger domain:

neper -T -n 100 -domain "circle(0.3):translate(-0.15,-0.15)" -dim 2 -o tess1
neper -T -n 100 -domain "square(1,1):translate(-0.5,-0.5)" -dim 2 -morphooptiini "file(tess1.tess)" -o tess2
neper -V tess1.tess -dataedgerad 0.002 -cameracoo x:y:2.5 -imagesize 800:800 -print img1
neper -V tess2.tess -dataedgerad 0.002 -datacellcol "int:((x*x+y*y>0.1*0.1)?0:id)" -cameracoo x:y:2.5 -imagesize 800:800 -print img2


Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@mkasemer
Comment options

@danishTUE
Comment options

@rquey
Comment options

Comment options

You must be logged in to vote
3 replies
@danishTUE
Comment options

@danishTUE
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