Next: -gccylinder: A circular cylinder
Up: Geometric primitives
Previous: Geometric primitives
  Contents
A brick is a rectangular box, with its edges parallel
to the cartesian coordinate axes.
##############################################################################
# Flags: nomenu, noprompt, nomessage, #
##############################################################################
# section -brick #
##############################################################################
# material= 1, sloppy= no #
# whichcells= all, taboo= none #
# show= off -- [off|now|later|all] #
# name= brick-000000000 #
# xlow = undefined , ylow = undefined , zlow = undefined #
# xhigh= undefined , yhigh= undefined , zhigh= undefined #
# # # # # #
# volume= (undefined, undefined, undefined, undefined, undefined, undefined) #
##############################################################################
# doit, return, help #
##############################################################################
- material
The material index that shall be assigned to the volume that makes
up the brick.
- sloppy
Possible values are yes, no. If no, meshplanes are enforced
at the borderplanes of the brick.
- whichcells
Possible values are all, or a material-index.
If whichcells= all, all volume inside the brick is assigned
the material-index, provided the former material is not
taboo.
If whichcells is a material-index, only the parts of the
brick that are currently filled with the given index are assigned
the new material-index.
- taboo
Possible values are none, or a material-index.
If taboo= all, all volume inside the brick is assigned
the material-index.
If taboo is a material-index, only the parts of the
brick that are currently filled with another index than the given
index are assigned the new material-index.
- show
If show=now, an outline of the brick is shown.
If show=all, an outline of the brick together with outlines of other
bricks, ggcylinders, gbors and gccylinders is shown.
If show=later, the outline is not shown immediately, but is recorded
to be shown later together with the outlines of other items.
- xlow, xhigh, ylow, yhigh, zlow, zhigh, volume
The coordinates of the bounding planes of the brick.
Alternatively to specifying via xlow.., you can specify the
volume of the brick as
volume= (XL, XH, YL, YH, ZL, ZH).
- doit
Puts the current data into the meshing database.
Example
# /usr/local/gd1/examples-from-the-manual/brick-example.gdf
-general
outfile= /tmp/UserName/example
scratch= /tmp/UserName/scratch
-mesh
pxlow= 0, pxhigh= 1e-2
pylow= 0, pyhigh= 2e-2
pzlow= 0, pzhigh= 1e-2
cxlow= ele, cxhigh= mag
cylow= ele, cyhigh= mag
czlow= ele, czhigh= mag
spacing= 0.5e-3
-brick
material= 1, sloppy= no
xlow= 0.3e-2, xhigh= 0.8e-2
ylow= 0.2e-2, yhigh= 1.3e-2
zlow= 0.2e-2, zhigh= 0.6e-2
doit
-volumeplot
scale= 3
doit
Figure 1.1:
A simple brick
 |
Next: -gccylinder: A circular cylinder
Up: Geometric primitives
Previous: Geometric primitives
  Contents