二/三维晶粒建模软件neper帮助文档学习3

接上一个帖子:二/三维晶粒建模软件neper帮助文档学习2


neper每个模块下的例子命令

4Visualization Module (-V)的例子

Below are some examples of use of neper -V.

1. Print out tessellation n10-id1.tess with cells colored from their identifiers and an image

size of 900 × 450 pixels.

$ neper -V n10-id1.tess -datacellcol id -imagesize 900:450 -print img

2. Print out tessellation n10-id1.tess with cells colored from crystal orientations and semi-

transparency.

$ neper -V n10-id1.tess -datacellcol ori -datacelltrs 0.5 -print img

3. Print out mesh n10-id1.msh with elements colored from scalar values written in file v and

a scale ranging from 0 to 100.

$ neper -V n10-id1.msh -dataeltcol "real:file(v)" -dataeltscale 0:100 \

-print img

4. Print out mesh n10-id1.msh with elements colored from nodal scalar values written in file

v and a scale ranging from 0 to 100.

$ neper -V n10-id1.msh -datanodecol "real:file(v)" -dataeltcol \

from_nodes -dataeltscale 0:100 -print img

5. Print out the 10 first cells of a 100-cell tessellation, colored from their identifiers and semi-

transparency, and with edges shown in red and vertices shown as green spheres of radius

0.01.

$ neper -V n100-id1.tess -showcell "id<=10" \

-datacellcol id -datacelltrs 0.5 \

-showedge cell_shown -showver cell_shown \

-dataverrad 0.01 -dataedgecol red -datavercol green \

-print img

6. Print out the interior element sets of mesh n100-id1.msh and show the 1D elements.

$ neper -V n100-id1.tess,n100-id1.msh -dataelsetcol id \

-showelset ’body>0’ -showelt1d elt3d_shown -print img

7. Print out 3 slices of mesh n100-id1.msh.

$ neper -V n100-id1.msh -dataelsetcol id \

-slicemesh "x=0.5,y=0.5,z=0.5" -print img

8. Print out slices of mesh n100-id1.msh, at z coordinates ranging from 0.1 to 0.9 by step

of 0.1, each slice being printed in a separate file.

$ neper -V n100-id1.msh -dataelsetcol id \

-loop Z 0.1 0.1 0.9 \

-slicemesh "z=Z" -print imgZ \

-endloop

9. Print out a deformed mesh colored by orientations, defined from a simulation directory.

$ neper -V mysim.sim -simstep 10 -datanodecoo coo \

-dataeltcol ori -print img

66 Neper 4.1.2

10. Print out a deformed mesh colored by orientations, defined from a simulation directory;

generate an image at each deformation step.

$ neper -V mysim.sim -loop STEP 0 1 10 -simstep STEP -datanodecoo coo \

-dataeltcol ori -print imgSTEP -endloop

 ##################################################################### 

 

登录后免费查看全文
立即登录
App下载
技术邻APP
工程师必备
  • 项目客服
  • 培训客服
  • 平台客服

TOP

3
7