Skip to content

Mesh refinement of two-dimensional polycrystalline model #810

Closed Answered by rquey
ZJM-19491001 asked this question in Q&A
Discussion options

You must be logged in to vote

You can define the element size using a custom -rcl value. For example, to refine grain 1:

neper -T -n 100 -dim 2 -reg 1
neper -M n100-id1.tess -rcl "((id<=1)?0.2:2)" -pl 10
neper -V n100-id1.tess,n100-id1.msh -dataelt2dedgerad 0.001 -dataelt1drad 0.003 -showelt1d all -print d

Neper only generates triangular elements in 2D, but you should be able to get quads as described in this discussion.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ZJM-19491001
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