Skip to content

rmcell command is buggy #568

Answered by rquey
anujyadav0693 asked this question in Q&A
Sep 24, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Related: #569.

Yes, rmcell is buggy. As a workaround, you can use -meshpoly (or -meshface, in 2D), with the complementary logical expression, to mesh only the grains matching that expression. For example:

neper -T -n from_morpho -morpho "diameq:lognormal(0.1,0.02)+0.5*lognormal(0.02,0.004),1-sphericity:lognormal(0.1,0.03)" -dim 2 -reg 1 -o d
neper -M d.tess -meshface "diameq>0.05"
neper -V d.msh -dataelt1drad 0.003 -dataelt2dedgerad 0.001 -showelt1d all -print img

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@anujyadav0693
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
2 participants