Skip to content
Discussion options

You must be logged in to vote

The most general approach is to export the cell centroids, and then define the element size based on whether a cell belongs to the inner cylinder or not.

Here is a simple example:

neper -T -n 100 -reg 1 -statcell x,y,z
awk '{if ($3<0.5) {print "0.2"} else {print "1.0"}}' n100-id1.stcell  > rcl
neper -M n100-id1.tess -rcl "file(rcl)"
neper -V n100-id1.tess,n100-id1.msh -print d

rcl can also be defined at the face, edge or vertex level...

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