rzs

 

Builds a sphere by generating coordinates of points and also modifies zoning by ratio-zoning point distributions.

Format

rzs / itype / nr / npt / xirad, xorad / xcen, ycen, zcen / iz / irat,rz

rzs Parameters

Parameters

Type/Value

Description/Default

itype

 

Defines what type of sphere will be generated.

 

1

Generates a sphere by gridding the faces of a cube and then projecting the vertices onto a sphere. The number of nodes per shell is of the form 6*i**2. Call connect to generate connectivity information.

 

2

Generates a sphere by subdividing an icosahedron placed on the surface of a sphere. Call connect to generate connectivity information.

 

diamond

Generates the points for one diamond of the icosahedron. Call connect to generate connectivity information.

Icosahedralm gridding is made up of 10 diamonds per shell. Each diamond is made up of n**2 nodes (where n must be of the form 2**i+1). There are 2 nodes (the poles of the sphere) at which 5 diamonds meet and 10 nodes where 3 diamonds meet; hence there are a minimum of 12 nodes per shell. The number of nodes per shell can be 12, 42, 162, 642,...

nr

integer

The number of radial shells.

npt

integer

The upper limit of the number of points in a shell.

xirad, xorad

reals

The inner and outer radii of the sphere. For itype=8 reverse inner and outer radii.

xcen, ycen, zcen

reals

Coordinates of the center of the sphere.

iz

0

mins and maxs are used as cell centers.

 

1

then mins and maxs are used as cell vertices.

irat

0

Ratio zoning off.

 

1

Ratio zoning on.

rz

real

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

Examples

rzs / 8 / 5 / 162 / 1.0, 0.5 / 0., 0., 0. / 1, 0, 0.0

rzs / 2 / 5 / 162 / 0.5, 1.0 / 0., 0., 0. / 1, 0, 0.0

rzs / diamond / 5 / 162 / 1 ,.5 / 0, 0, 0 / 1, 0, 0