Skip to content

‘-clface’ seems to be abnormal in some cases #333

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

You must be logged in to vote

You are dealing with real numbers, so, use a tolerance: -clface "(y>9.99)?0.3:1" instead of -clface "(y==10)?0.3:1".

I would also recommend to use -reg 1 in -T (or at least / instead -pl 100 in -M) to avoid the local mesh refinements around small edges.

neper -T -n 200 -domain "cube(10,10,10)" -statcell size,diameq,group,sphericity -o testy10 -reg 1
neper -M testy10.tess -nset faces -faset none \
-clface "(y>9.99)?0.3:1" \
-format inp,msh -o testy10
neper -V testy10.msh -cameracoo 40:60:50 -print testy10

Replies: 1 comment 1 reply

Comment options

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