Skip to content

3D tesr meshing with control over discretization per grain #915

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

You must be logged in to vote

It is because the tesr is defined on the default grid of 20 x 20 x 20 voxels. To get 3 x 3 x 3 voxels per grain, use -tesrsize 8*3 (or -tesrsize 24...). See -tesrsize.

neper -T -n from_morpho -morpho 'cube(8,8,8)' -domain 'cube(1,1,1)' -o test9 -tesrsize 8*3 -format tess,tesr
neper -V test9.tesr -datavoxedgerad 0.002 -print img_test9

To get a mesh, use the tess:

neper -M test9.tess -cl "1/(8*3)" -elt hex
neper -V test9.tess,test9.msh -dataelt3dedgerad 0.002 -print img_test9_msh

It is essentially the same data. Only the format is different.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by rquey
Comment options

You must be logged in to vote
0 replies
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