See examples: cartesian and polar.
NREGX, IREGX, GRDPWR(X (Same for Y, Z, T)
NREGX=2
IREGX=1; GRDPWR(X,10,10.0,1.5)
IREGX=2; GRDPWR(X,5,10.0,1.0)
See examples: cartesian and polar.
The Solution Domain is the space in which the Cartesian or polar grid is generated, ie the grid must be contained within the Solution Domain.
The default Solution Domain is a 1 metre cube; the default name of the Solution Domain is "NOTSET". dx, dy and dz must be greater than zero (even for 1- or 2-D grids).
In a polar domain, dx represents the total angle in radians.
The colour index varies from 1 to 15 on a colour screen, the colour range is: 1 for white, 2 for dark blue, ... , 15 for red. On a monocrome screen, the colour index must be 1. Line styles vary from 0 to 4, with 0 for a solid line.
This command is used to define or modify objects. An object can be either a three-dimensional block, or a two-dimensional panel.
Any object must be defined within or on the boundary of the solution domain. Dx, dy and dz must be greater than (or equal to) zero. Region boundaries are automatically created on the boundaries of an object (see GRDPWR, NREGX etc.). Up to 50 objects can be defined.
This command matches a grid with dimension (ni,nj,nk) to the solution domain, taking all objects into account.
Region boundaries in all three directions are automatically defined around objects so that all faces of an object lie on region boundaries.
This command distributes the total number of cells in each direction across regions in the most uniform way. ni must not be less than number of regions in the x-direction, likewise for nj and nk.
RSET(X,...) Cut regions and modify grid in X direction
This command has two functions. The first splits one region into two at a specified position; the second sets the grid distribution inside the specified region.
To split a region, the position must be inside the solution domain, and measured along the x-axis from x=0.
If the position coincides with an existing region boundary, this command has no effect.
This command controls whether or not the Solution Domain and Objects are shown when a GDRAW or VIEW command is issued. When they are shown on the screen, their names also appears. The display colour and line styles are set by RSET(D,... and RSET(B,...
This command sets a uniform time-step distribution over the defined time duration starting at t0.
See example.