initial upload

This commit is contained in:
2025-12-17 11:00:57 +08:00
parent 2bc7b24a71
commit a09a73537f
4614 changed files with 3478433 additions and 2 deletions

View File

@@ -0,0 +1,67 @@
.. _rzbrick :
&nbsp_place_holder;
> **_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.
**xyz **specifies Cartesian coordinates.
**rtz **specifies cylindrical coordinates.
**rtp **specifies spherical coordinates.
ni,nj,nk number of points to be created in each direction.
xmin,ymin,zmin minimums for coordinates.
xmax,ymax,zmax maximums for coordinates.
iiz,ijz,ikz&nbsp_place_holder; if =0 then mins and maxs are used as cell
centers if =1 then 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.
name name of pset containing starting point number
isym,jsym,ksym symmetry flags - not documented
Warning:&nbsp_place_holder; This command does not create a 2D grid, it has mem
errors.&nbsp_place_holder; **rzbrick**/**xyz/**5,10,1/0. 0. 0./10. 20. 0.
/1,1,1
for 2D this will work:
&nbsp_place_holder; **cmo create **cmo1///quad
&nbsp_place_holder; **quadxy **5 5/ 0. 0. 0. / 20. 0. 0./20. 20. 0. / 0. 20.
0.
&nbsp_place_holder; **rzbrick**/**xyz/**5,5,1/1,0,0/**connect**
&nbsp_place_holder; **dump gmv **quad5x5.gmv
&nbsp_place_holder;
&nbsp_place_holder; FORMAT:
**rzbrick**/**xyz**|**rtz**|**rtp**/ni,nj,nk/xmin,ymin,zmin/xmax,ymax,zmax/
iiz,ijz,ikz/[iirat,ijrat,ikrat/xrz,yrz,zrz/isym,jsym,ksym]
or
**rzbrick/xyz|rtz|rtp/**ni,nj,nk/**pset,get,**name/**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**