Example 4: creatpts in a rectangular geometry that includes a material interface

The objective is to create  a rectangular mesh using the createpts/brick command. A rectangular geometry is defined that contains a cut-plane defining the boundary between two materials. The createpts/brick command is used to create a point distribution within the geometry and a nearest neighbor connectivity list. The output consists of one gmv file.

 

 

Images of GMV output

“168” “158”](image/image4a.gif”> [View A](image/image4a.gif”> “174”](image/image4b.gif”> [View B](image/image4b.gif”>

Input file

TEST createpts/brick (lagrit_input_createbrick)

*

*

*

cmo/create/cmo/ / / hex

surface/cube/reflect/box/0.0,0.0,0.0/1.0,1.0,1.0/

surface/cutplane/intrface/plane/0.,0.,.1/1.,0.,.5/1.,1.,.8

mregion/mattop/le cube and gt cutplane/

mregion/matbot/le cube and lt cutplane

creatpts/brick/xyz/21,5,41/0.,0.,0./1.,1.,1./1 1 1

*rzbrick/xyz/21,5,41/0.,0.,0./1.,1.,1./1 1 1

setpts

settets

dump/gmv/output_createbrick.gmv

cmo/status

cmo/printatt//-all-/minmax

quality