rzbrick

 

Builds a brick mesh and generates a nearest neighbor connectivity matrix. This command is similar to the rz command format except here we have symmetry flags to input. A second format specifies that a mesh be created and connected.

Format

rzbrick / geom / ni, nj, nk / xmin, ymin, zmin / xmax, ymax, zmax / iiz, ijz, ikz / [iirat, ijrat, ikrat / xrz, yrz, zrz / isym, jsym, ksym]

rzbrick / geom / ni, nj, nk / pset, get, name / connect

rzbrick / interp / relative / 0 / pset, get, p1 /, p2 / cmo_new [ / pset, get, pset_path / pset, get, pset_rotation pset, get

rzbrick Parameters

Parameters

Type/Value

Description/Default

geom

xyz

Specifies Cartesian coordinates.

 

rtz

Specifies cylindrical coordinates.

 

rtp

Specifies spherical coordinates.

ni, nj, nk

integers

Number of points to be created in each direction.

xmin, ymin, zmin

reals

Minimums for coordinates.

xmax, ymax, zmax

reals

Maximums for coordinates.

iiz, ijz, ikz

0, 0, 0

mins and maxs are used as cell centers.

 

1, 1, 1

mins and maxs are used as cell vertices.

iirat, ijrat, ikrat

 

Ratio zoning switches.

 

0

off

 

1

on

xrz, yrz, zrz

 

Ratio zoning value - distance is multiplied by the value for each subsequent point.

isym, jsym, ksym

 

Symmetry flags.

pset, get name

 

Starting point

connect

connect

Use this option with quadxyz to connect logically rectangular grids.

Example

rzbrick / xyz / 3, 2, 3 / 0., 0., 0. / 1., 1. ,1. / 1, 1 ,1

creates a hex grid 2x1x2 cells in the unit cube

quadxyz / 5, 7, 5 / 0., 0., 0. / 1., 0. ,0. / 1.5, 0.5, 2.0 / .5, .2, 2.5 / -1., 1.5, 0. / 2. 0, 0., 0.0 / 2.1, 1.9, 2.4 / -0.2, 1.8, 2.3

setpts

rzbrick / xyz / 5, 7, 5 / 1 ,0, 0 / connect

creates a hex grid inside the hexahedral specified by the 8 corners passed to quadxyz